/* 1. FONT & ROOT DEFINITIONS */
:root {
    --gold: #C5A059;
    --gold-light: #E2C285;
    --dark: #0A0A0A;
    --gray-bg: #F9F9F9;
    --white: #FFFFFF;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. CORE RESET & SMOOTH SCROLL (LENIS) */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
}

/* 3. NAVIGATION CUSTOM STYLES */
.nav-link {
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.4s ease;
}

.nav-link:hover::after, 
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--dark) !important;
    font-weight: 700;
}

/* 4. COMPONENT: ARCHITECTURAL ACCORDION (FAQ) */
.faq-item {
    transition: background-color 0.3s ease;
}

.faq-item.active .vertical-line {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* 5. IMAGE OPTIMIZATION: PARALLAX & LAZY LOAD */
.parallax-container {
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

.parallax-container img {
    height: 130%; /* Extra height for the parallax movement */
    width: 100%;
    object-fit: cover;
    margin-top: -15%; /* Centering the oversized image */
    will-change: transform;
}

.lazy-load {
    transition: filter 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1s ease;
    filter: blur(20px);
}

.lazy-load.blur-0 {
    filter: blur(0);
}

/* 6. UI ELEMENTS: TESTIMONIALS & CARDS */
.reveal-card {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.8s ease;
}

.reveal-card:hover {
    transform: translateY(-10px);
}

.gold-gradient-text {
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 7. CUSTOM LIGHTBOX (PROJECT DETAILS) */
.lightbox-active {
    overflow: hidden;
}

#lightboxImg {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* 8. ANIMATION REVEALS (SCROLLREVEAL) */
.reveal-line {
    width: 0%;
    opacity: 0;
    transition: width 2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
}

.reveal-line.visible {
    width: 100%;
    opacity: 1;
}

/* 9. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .pt-56 { pt-32; }
    .text-7xl { font-size: 3.5rem; }
    .px-12 { px-6; }
}