/* =========================================================================
   VARIABLES & THEMING
   ========================================================================= */
:root {
    --bg-dark: #0a0a0c;
    --bg-surface: #141417;
    --bg-surface-elevated: #1e1e23;
    
    --text-primary: #f0f0f2;
    --text-secondary: #9aa0a6;
    --accent: #5e6ad2;
    --accent-hover: #7b88ff;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================================================
   RESET & GLOBAL
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* =========================================================================
   BUTTONS & BADGES
   ========================================================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 106, 210, 0.4);
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(94, 106, 210, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   GALLERY SECTION
   ========================================================================= */
.gallery-section {
    padding: 6rem 5%;
    background-color: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.masonry-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
}

.masonry-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-surface-elevated);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item-category {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-category {
    transform: translateY(0);
}

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1010;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    max-width: 90vw;
    max-height: 90vh;
}

@media (min-width: 900px) {
    .lightbox-content {
        flex-direction: row;
        background: var(--bg-surface);
        border-radius: 12px;
        overflow: hidden;
    }
}

.lightbox-content img {
    max-width: 100vw;
    max-height: 80vh;
    object-fit: contain;
}

@media (min-width: 900px) {
    .lightbox-content img {
        max-width: 70vw;
        max-height: 85vh;
    }
}

.lightbox-info {
    padding: 2rem;
    flex-grow: 1;
    min-width: 300px;
}

.lightbox-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.lightbox-info p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-section {
    padding: 8rem 5%;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

.artist-portrait-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg-surface-elevated);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer-section {
    background-color: var(--bg-surface-elevated);
    text-align: center;
    padding: 6rem 5% 2rem;
}

.footer-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.footer-content p {
    margin-bottom: 2.5rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}
