/* ============================================
   MAKEUP BY TARA KHAMO - Editorial Bridal Style
   Design: Light editorial, rose gold accents
   Distinctive: Split layouts, asymmetric grids, bridal elegance
   Sydney Bridal & Event Makeup Artist
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    /* Primary - Rose Gold */
    --color-primary: #C8A087;
    --color-primary-light: #D4B199;
    --color-primary-dark: #A8856D;

    /* Secondary - Deep Rose */
    --color-secondary: #B8847A;
    --color-secondary-light: #CDA096;
    --color-secondary-dark: #9A6A60;

    /* Accent - Cream Gold */
    --color-accent: #E8D5C4;
    --color-accent-light: #F5EBE0;
    --color-accent-dark: #D4C0AD;

    /* Background - Warm Cream */
    --color-bg: #FAF7F4;
    --color-bg-elevated: #FFFFFF;
    --color-bg-dark: #1A1816;
    --color-surface: #F5F0EB;

    /* Text */
    --color-text: #1A1816;
    --color-text-secondary: #3A3634;
    --color-text-dim: #6A6460;
    --color-text-muted: #9A9490;
    --color-text-light: #FAF7F4;

    /* Borders */
    --border-subtle: rgba(26, 24, 22, 0.08);
    --border-default: rgba(26, 24, 22, 0.12);
    --border-dark: rgba(250, 247, 244, 0.15);

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 140px;
    --container-max: 1400px;

    /* Transitions */
    --ease-elegant: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.4s var(--ease-elegant);
    --transition-slow: 0.6s var(--ease-dramatic);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Page Loader ---------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease-elegant), visibility 0.8s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.loader-logo span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    margin-top: 12px;
}

.loader-bar {
    width: 80px;
    height: 1px;
    background: rgba(250, 247, 244, 0.2);
    margin: 32px auto 0;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 30%;
    height: 100%;
    background: var(--color-primary);
    animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-base);
}

/* DEFAULT: Light text for dark hero */
.nav-logo-main,
.nav-link,
.nav-mobile-toggle span {
    color: var(--color-text-light);
    transition: var(--transition-base);
}

.nav-logo-sub {
    color: var(--color-primary-light);
    transition: var(--transition-base);
}

.nav-cta {
    background: var(--color-text-light);
    color: var(--color-bg-dark);
    transition: var(--transition-base);
}

/* SCROLLED: Dark text for light bg */
.nav.scrolled {
    background: rgba(250, 247, 244, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 0 var(--border-subtle);
}

.nav.scrolled .nav-logo-main,
.nav.scrolled .nav-link,
.nav.scrolled .nav-mobile-toggle span {
    color: var(--color-text);
}

.nav.scrolled .nav-logo-sub {
    color: var(--color-primary-dark);
}

.nav.scrolled .nav-cta {
    background: var(--color-text);
    color: var(--color-text-light);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo-main {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nav-logo-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: var(--transition-base);
}

@media (hover: hover) {
    .nav-link:hover::after {
        width: 100%;
    }
}

.nav-cta {
    padding: 12px 28px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (hover: hover) {
    .nav-cta:hover {
        transform: translateY(-2px);
    }
    .nav.scrolled .nav-cta:hover {
        background: var(--color-primary-dark);
    }
}

/* Mobile Nav */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: var(--transition-base);
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0 24px;
    }
    .nav-links {
        display: none;
    }
    .nav-mobile-toggle {
        display: flex;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links.active .nav-link,
    .nav-links.active .nav-cta {
        color: var(--color-text);
    }
    .nav-links.active .nav-cta {
        background: var(--color-text);
        color: var(--color-text-light);
        text-align: center;
    }
}

/* ---------- Hero Section - SPLIT EDITORIAL ---------- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1457972729786-0411a3b2b626?w=1200&q=80') center/cover;
    filter: brightness(0.95) grayscale(30%);
    transition: var(--transition-slow);
}

@media (hover: hover) {
    .hero:hover .hero-image::before {
        filter: brightness(0.95) grayscale(0%);
        transform: scale(1.03);
    }
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-bg-dark) 0%, transparent 40%);
}

/* Hero multi-layer overlays */
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(200, 160, 135, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 60%, rgba(184, 132, 122, 0.1) 0%, transparent 60%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 120px 60px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeIn 1s var(--ease-dramatic) 0.2s both;
}

.hero-badge-line {
    width: 40px;
    height: 1px;
    background: var(--color-primary);
}

.hero-badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--color-text-light);
    margin-bottom: 24px;
    animation: fadeIn 1s var(--ease-dramatic) 0.3s both;
}

.hero-title em {
    font-style: italic;
    color: var(--color-primary-light);
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(250, 247, 244, 0.6);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 48px;
    animation: fadeIn 1s var(--ease-dramatic) 0.4s both;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(250, 247, 244, 0.1);
    animation: fadeIn 1s var(--ease-dramatic) 0.5s both;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.hero-meta-value {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    animation: fadeIn 1s var(--ease-dramatic) 0.6s both;
}

.hero-cta-btn {
    padding: 16px 36px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--color-text-light);
    color: var(--color-bg-dark);
    transition: var(--transition-base);
}

@media (hover: hover) {
    .hero-cta-btn:hover {
        background: var(--color-primary);
        transform: translateY(-2px);
    }
}

.hero-cta-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 247, 244, 0.6);
    position: relative;
    padding-bottom: 4px;
}

.hero-cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

@media (hover: hover) {
    .hero-cta-link:hover {
        color: var(--color-text-light);
    }
    .hero-cta-link:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }
}

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

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: 55vh auto;
    }
    .hero-image {
        order: -1;
    }
    .hero-image::after {
        background: linear-gradient(180deg, transparent 50%, var(--color-bg-dark) 100%);
    }
    .hero-content {
        padding: 60px 24px 80px;
    }
}

/* ---------- Experience Bar ---------- */
.experience-bar {
    background: var(--color-surface);
    padding: 48px 48px;
    position: relative;
    overflow: hidden;
}

.experience-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.03;
    z-index: 0;
}

.experience-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 160, 135, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(184, 132, 122, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.experience-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
}

.experience-item:not(:last-child) {
    border-right: 1px solid var(--border-default);
}

.experience-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.experience-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.experience-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
}

.experience-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

@media (max-width: 900px) {
    .experience-bar {
        padding: 32px 24px;
    }
    .experience-container {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
    .experience-item {
        flex: 1 1 40%;
        justify-content: center;
        padding: 12px 16px;
    }
    .experience-item:not(:last-child) {
        border-right: none;
    }
}

@media (max-width: 500px) {
    .experience-item {
        flex: 1 1 100%;
    }
}

/* ---------- Section Base ---------- */
.section {
    padding: var(--section-padding) 48px;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 100px 24px;
    }
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--color-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-text);
}

.section-title em {
    font-style: italic;
}

/* ---------- About Section - EDITORIAL ASYMMETRIC ---------- */
.about {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale bridal background */
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.04;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.about::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(200, 160, 135, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(184, 132, 122, 0.06) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
}

.about-image-main {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

@media (hover: hover) {
    .about-image:hover img {
        filter: grayscale(0%);
    }
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 250px;
    background: var(--color-primary);
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-quote {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-style: italic;
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: 32px;
    position: relative;
    padding-left: 32px;
}

.about-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 1;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-surface);
    border-left: 3px solid var(--color-primary);
    margin-top: 40px;
}

.about-highlight-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    color: var(--color-primary);
}

.about-highlight-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 2px;
}

.about-highlight-text span {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-image-accent {
        display: none;
    }
}

/* ---------- Services Section - ELEGANT CARDS ---------- */
.services {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale bridal background */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1487412912498-0447578fcca8?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%);
    opacity: 0.04;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 20%, rgba(200, 160, 135, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 80%, rgba(184, 132, 122, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.services .section-label {
    color: var(--color-primary-light);
}

.services .section-label::before {
    background: var(--color-primary-light);
}

.services .section-title {
    color: var(--color-text-light);
}

.services-header {
    max-width: var(--container-max);
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-base);
}

@media (hover: hover) {
    .service-card:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(200, 160, 135, 0.3);
        transform: translateY(-4px);
    }
    .service-card:hover::before {
        width: 100%;
    }
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 160, 135, 0.1);
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(250, 247, 244, 0.6);
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 32px 24px;
    }
}

/* ---------- Portfolio Gallery - MASONRY EDITORIAL ---------- */
.portfolio {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale bridal background */
.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1519699047748-de8e457a634e?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.03;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.portfolio::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200, 160, 135, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(184, 132, 122, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.portfolio-header {
    max-width: var(--container-max);
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

.portfolio-item:nth-child(2) {
    grid-column: span 4;
}

.portfolio-item:nth-child(3) {
    grid-column: span 3;
}

.portfolio-item:nth-child(4) {
    grid-column: span 3;
}

.portfolio-item:nth-child(5) {
    grid-column: span 4;
}

.portfolio-item:nth-child(6) {
    grid-column: span 5;
}

.portfolio-item:nth-child(7) {
    grid-column: span 4;
}

.portfolio-item:nth-child(8) {
    grid-column: span 4;
}

.portfolio-item:nth-child(9) {
    grid-column: span 4;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
    aspect-ratio: 4/5;
}

.portfolio-item:nth-child(1) img {
    aspect-ratio: auto;
    height: 100%;
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 24, 22, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text-light);
    transform: translateY(10px);
    transition: var(--transition-base);
}

@media (hover: hover) {
    .portfolio-item:hover img {
        filter: grayscale(0%);
        transform: scale(1.05);
    }
    .portfolio-item:hover .portfolio-item-overlay {
        opacity: 1;
    }
    .portfolio-item:hover .portfolio-item-title {
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .portfolio-item:nth-child(1) {
        grid-column: span 2;
    }
}

@media (max-width: 500px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item:nth-child(n) {
        grid-column: span 1;
    }
}

/* ---------- Studio Section ---------- */
.studio {
    background: var(--color-surface);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale background */
.studio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1562322140-8baeececf3df?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.04;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.studio::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(200, 160, 135, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184, 132, 122, 0.04) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.studio-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.studio-content {
    max-width: 400px;
}

.studio-image {
    position: relative;
}

.studio-image-main {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.studio-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-slow);
}

@media (hover: hover) {
    .studio-image:hover img {
        filter: grayscale(0%);
    }
}

.studio-location {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--color-bg-elevated);
    border-left: 3px solid var(--color-primary);
}

.studio-location-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.studio-location-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.studio-location-text span {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .studio-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .studio-content {
        max-width: 100%;
    }
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale bridal background */
.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%);
    opacity: 0.04;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.testimonials::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(200, 160, 135, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 70% 70%, rgba(184, 132, 122, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.testimonials .section-label {
    color: var(--color-primary-light);
}

.testimonials .section-label::before {
    background: var(--color-primary-light);
}

.testimonials .section-title {
    color: var(--color-text-light);
}

.testimonials-header {
    max-width: var(--container-max);
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    line-height: 1;
}

@media (hover: hover) {
    .testimonial-card:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(200, 160, 135, 0.2);
    }
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(250, 247, 244, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-bg-dark);
}

.testimonial-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.75rem;
    color: rgba(250, 247, 244, 0.5);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        padding: 32px 24px;
    }
}

/* ---------- Contact Section ---------- */
.contact {
    background: var(--color-bg-elevated);
    position: relative;
    overflow: hidden;
}

/* Layer 1: Grayscale bridal background */
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=1920&q=80') center/cover no-repeat;
    filter: grayscale(100%) brightness(1.1);
    opacity: 0.03;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Layer 2: Radial gradients */
.contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 30%, rgba(200, 160, 135, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(184, 132, 122, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.contact-title em {
    font-style: italic;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--color-text);
    color: var(--color-text-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-base);
    margin-bottom: 48px;
}

@media (hover: hover) {
    .contact-cta:hover {
        background: var(--color-primary-dark);
        transform: translateY(-3px);
    }
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-text-dim);
    transition: var(--transition-base);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

@media (hover: hover) {
    .contact-link:hover {
        color: var(--color-text);
    }
}

@media (max-width: 500px) {
    .contact-links {
        flex-direction: column;
        gap: 20px;
    }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-bg);
    padding: 48px 48px 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .footer {
        padding: 32px 24px;
    }
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ---------- Scroll Reveal - Cinematic ---------- */

/* Base reveal - 3D rotation + lift */
.reveal {
    opacity: 0;
    transform: perspective(1000px) rotateX(25deg) translateY(100px) scale(0.9);
    filter: blur(12px);
    transform-origin: center bottom;
    transition:
        opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

/* Stagger delays - slower cascade */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal:nth-child(4) { transition-delay: 0.45s; }
.reveal:nth-child(5) { transition-delay: 0.6s; }
.reveal:nth-child(6) { transition-delay: 0.75s; }
.reveal:nth-child(7) { transition-delay: 0.9s; }
.reveal:nth-child(8) { transition-delay: 1.05s; }
.reveal:nth-child(9) { transition-delay: 1.2s; }
.reveal:nth-child(10) { transition-delay: 1.35s; }

/* About image - dramatic slide from left with rotation */
.about-image.reveal {
    opacity: 0;
    transform: perspective(1200px) rotateY(15deg) translateX(-120px) scale(0.85);
    filter: blur(15px);
    transform-origin: right center;
    transition:
        opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image.revealed {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
    filter: blur(0);
}

/* About content - slide from right */
.about-content.reveal {
    opacity: 0;
    transform: perspective(1200px) rotateY(-10deg) translateX(80px);
    filter: blur(10px);
    transform-origin: left center;
    transition:
        opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
        transform 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
        filter 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.about-content.revealed {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0);
    filter: blur(0);
}

/* Portfolio items - rise up with 3D tilt */
.portfolio-item.reveal {
    opacity: 0;
    transform: perspective(800px) rotateX(35deg) translateY(120px) scale(0.8);
    filter: blur(15px) brightness(0.7);
    transform-origin: center bottom;
    transition:
        opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item.revealed {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0) brightness(1);
}

/* Service cards - slide up with stagger */
.service-card.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.92);
    filter: blur(10px);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Testimonial cards - slide up with stagger */
.testimonial-card.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(8px);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Headers & containers - elegant fade with lift */
.portfolio-header.reveal,
.testimonials-header.reveal,
.studio-container.reveal,
.contact-container.reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition:
        opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-header.revealed,
.testimonials-header.revealed,
.studio-container.revealed,
.contact-container.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Experience bar items */
.experience-item.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Utilities ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
