:root {
    /* Color Palette */
    --color-obsidian: #0a0a0a;
    --color-pearl: #fcfcfc;
    --color-charcoal: #1c1c1c;
    --color-greige: #F5F5F7;
    --color-gold-muted: #D4AF37;
    /* Subtle metallic accent */

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-obsidian);
    color: var(--color-pearl);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.italic-serif {
    font-style: italic;
    font-weight: 400;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.body-text {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 500px;
    margin-bottom: var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    /* Ensures visibility on light/dark */
}

.logo {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 4rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--color-pearl);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.nav-links li a:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    mix-blend-mode: exclusion;
    /* Cool effect for text over image, maintains legibility and luxury feel */
}

.hero-content h1 {
    font-size: 6rem;
    /* Increased size for impact */
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Start centered */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    /* Behind text */
    pointer-events: none;
    /* Let clicks pass through to potential background interactions */
}

.main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the frame completely */
    /* Darkened and lower opacity to highlight text */
    opacity: 0.35;
    filter: brightness(0.5) grayscale(20%);
    transition: all 0.5s ease;
}

.main-hero-img:hover {
    filter: grayscale(0%) contrast(100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.scroll-indicator .line {
    width: 50px;
    height: 1px;
    background-color: var(--color-pearl);
}

/* Experience Section */
.experience-section {
    padding: var(--spacing-xl) 4rem;
    background-color: var(--color-charcoal);
    position: relative;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.experience-visual img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%);
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 4rem;
    background-color: var(--color-obsidian);
    /* Contrast with charcoal */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-visual img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter 0.5s ease;
}

.about-visual img:hover {
    filter: grayscale(0%);
}

.about-text .section-title {
    font-size: 2.5rem;
    /* Slightly smaller than main titles for personal name */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        /* Reverse order on mobile so text comes first if desired, or keep as is */
    }

    .about-visual {
        order: -1;
        /* Image first on mobile */
        margin-bottom: 2rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-xl) 4rem;
    background-color: var(--color-obsidian);
}

.gallery-track {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 4rem 0;
}

.gallery-item {
    width: 300px;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.gallery-title {
    color: var(--color-pearl);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    /* Clean look for labels */
    font-weight: 300;
}

/* Footer */
.footer-section {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.copyright {
    margin-top: auto;
    padding-bottom: 2rem;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* Buttons */
.btn-luxury {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-pearl);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-luxury:hover {
    background-color: var(--color-pearl);
    color: var(--color-obsidian);
    border-color: var(--color-pearl);
}

.btn-white {
    background-color: var(--color-pearl);
    color: var(--color-obsidian);
    border-color: var(--color-pearl);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--color-pearl);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-animation-slow {
    animation: float 8s ease-in-out infinite reverse;
}

/* Scroll & Load Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-section {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        padding-top: 8rem;
        text-align: center;
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto;
        margin-bottom: 2rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .main-hero-img {
        width: 100%;
        height: 100vh;
        /* Full screen height on mobile */
        max-height: 100vh;
        object-fit: cover;
        object-position: center top;
        /* Focus on face for mobile portrait */
    }

    .scroll-indicator {
        display: none;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-section {
        padding: 4rem 2rem;
    }

    .gallery-track {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .gallery-item {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin-top: 0 !important;
    }

    .footer-title {
        font-size: 2.5rem;
    }
}