/* Nicole Baker Design — Multi-Page Global Production Styles */
:root {
    --bg-base: #fbfbfc;
    --bg-card: #ffffff;
    --text-dark: #121212;
    --text-muted: #5a5d66;
    --text-light: #8e929a;
    --accent-gold: #c5b095;
    --accent-gold-hover: #b09b80;
    --border: rgba(18, 18, 18, 0.08);
    --border-heavy: rgba(18, 18, 18, 0.15);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--bg-base); }
body {
    background: var(--bg-base);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
}

/* ===== PREMIUM LUXURY CURSOR ===== */
.luxury-cursor {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--text-dark); border-radius: 50%; pointer-events: none;
    z-index: 2147483647; transform: translate3d(-100px, -100px, 0);
    will-change: transform; transition: width 0.3s var(--transition), height 0.3s var(--transition), background 0.3s var(--transition);
}
.luxury-cursor-ring {
    position: fixed; top: 0; left: 0; width: 40px; height: 40px;
    border: 1px solid var(--accent-gold); border-radius: 50%; pointer-events: none;
    z-index: 2147483646; transform: translate3d(-100px, -100px, 0);
    will-change: transform; transition: transform 0.04s linear, width 0.3s var(--transition), height 0.3s var(--transition), border-color 0.3s var(--transition);
}
.hover-state .luxury-cursor { width: 4px; height: 4px; background: var(--accent-gold); }
.hover-state .luxury-cursor-ring { width: 60px; height: 60px; border-color: var(--text-dark); background: rgba(197, 176, 149, 0.05); }

/* ===== TYPEWRITER ===== */
.typewriter-cursor {
    display: inline-block; width: 2px; height: 1em; background: var(--accent-gold);
    margin-left: 3px; animation: blink 0.9s step-end infinite; vertical-align: text-bottom;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 6%; background: rgba(251, 251, 252, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); z-index: 100; transition: padding 0.4s var(--transition);
}
nav.scrolled { padding: 18px 6%; }
.logo-container {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-container img {
    max-height: 70px;
    width: auto;
    display: block;
}
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a {
    font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--text-dark); text-decoration: none; position: relative; padding: 5px 0; transition: color 0.3s ease;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--accent-gold); transition: width 0.3s var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.cta-nav { background: var(--text-dark); color: #ffffff !important; padding: 10px 22px !important; border-radius: 2px; font-size: 0.7rem !important; font-weight: 500 !important; transition: background 0.3s ease, transform 0.3s var(--transition) !important; }
.cta-nav:hover { background: var(--accent-gold); transform: translateY(-1px); }
.cta-nav::after { display: none !important; }

/* ===== LAYOUT ===== */
.page-container { padding-top: 100px; min-height: calc(100vh - 350px); }
.section-header-center { text-align: center; max-width: 650px; margin: 80px auto 60px; padding: 0 20px; }
.section-header-center .label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent-gold); }
.section-header-center h1, .section-header-center h2 { font-family: var(--font-serif); font-size: 3rem; font-weight: 300; margin-top: 14px; margin-bottom: 20px; }
.section-header-center p { font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer { background: var(--text-dark); color: #ffffff; padding: 80px 6% 40px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 100px; }
.footer-main-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 0.6fr); gap: 50px; margin-bottom: 60px; }
.footer-brand h3 { font-family: var(--font-sans); font-size: 1rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 12px; }
.footer-brand p { font-size: 0.8rem; color: #a2a5ad; font-weight: 300; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-gold); margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.8rem; color: #a2a5ad; text-decoration: none; transition: color 0.2s ease; font-weight: 300; }
.footer-col ul li a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-copy { font-size: 0.72rem; color: #72757d; font-weight: 300; }

/* ===== NAV DROPDOWN (Portfolio Subtabs) ===== */
.nav-item.dropdown { position: relative; }
.dropdown-toggle { display: inline-block; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    min-width: 220px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    background: rgba(251, 251, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    padding: 10px 0;
    margin: 0;
    list-style: none;
    border-radius: 6px;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { margin: 0; padding: 0; }
.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover {
    background: rgba(197, 176, 149, 0.18);
    color: var(--accent-gold);
}

/* ===== Portfolio Project CTA Button ===== */
.project-see-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 18px;
    border: 1px solid var(--border-heavy);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    background: rgba(255,255,255,0.92);
    border-radius: 4px;
    transition: transform 0.25s var(--transition), border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.project-see-more-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(197, 176, 149, 0.9);
    color: var(--accent-gold);
    background: #ffffff;
}

/* ===== MOBILE NAVIGATION & ACCESSIBILITY ===== */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 9999;
    min-height: 48px;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    background: rgba(197, 176, 149, 0.15);
    outline: none;
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #121212;
    transition: all 0.3s ease-in-out;
    border-radius: 1px;
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .luxury-cursor, .luxury-cursor-ring { display: none !important; }
    nav { padding: 20px 5%; }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 320px;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 0 40px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.12);
        transition: right 0.4s var(--transition);
        z-index: 9998;
        overflow-y: auto;
        gap: 0;
    }

    .nav-links.is-active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links > li:last-child {
        border-bottom: none;
        margin-top: auto;
        padding: 20px;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 14px 24px !important;
        font-size: 0.85rem;
        width: 100%;
    }

    .cta-nav {
        justify-content: center;
        margin-top: 10px;
    }

    .nav-item.dropdown {
        position: relative;
    }

    .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-toggle::after {
        content: '+';
        font-size: 1.3rem;
        font-weight: 300;
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .nav-item.dropdown.is-open .dropdown-toggle::after {
        content: '−';
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--accent-gold);
        background: rgba(251, 251, 252, 0.6);
        padding: 0;
        margin: 0;
        border-radius: 0;
        display: none;
    }

    .nav-item.dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 24px 12px 36px !important;
        font-size: 0.8rem;
        min-height: 44px;
    }

    a, button, input, select, textarea, .portfolio-item, .service-card, 
    .diff-card, .process-node, .review-card, .project-see-more-btn,
    .album-grid img, .ba-slider-input, .lightbox-nav, .lightbox-close {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-links a, .footer-col a, .project-see-more-btn, 
    .btn-luxury-primary, .btn-luxury-secondary, .btn-booking-submit,
    .services-cta a, .back-to-portfolio {
        padding: 12px 16px;
    }

    .input-wrapper input, .input-wrapper select, .input-wrapper textarea {
        min-height: 48px;
        font-size: 16px;
        padding: 14px 16px;
    }

    .input-wrapper textarea {
        min-height: 120px;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 75vh;
        padding: 10px;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 20px;
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-prev { left: 1%; }
    .lightbox-next { right: 1%; }

    .lightbox-close {
        top: 10px;
        right: 10px;
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
    }

    .album-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .album-grid img {
        height: 200px;
    }

    .footer-main-grid { grid-template-columns: 1fr; gap: 35px; }
}