/* 
 * JC Green Developers | Luxury Construction
 * Custom Styles
 */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    /* Color Palette */
    --color-bg-main: #06110A;
    /* Very dark rich green */
    --color-bg-dark: #0A1C11;
    --color-bg-darker: #040D07;

    --color-gold: #C5A059;
    --color-gold-light: #DFBF82;
    --color-gold-dark: #A37F3B;

    --color-text-light: #F4F7F5;
    --color-text-muted: #A8B8AF;
    --color-white: #FFFFFF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(6px);

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --section-pad-y: 140px;
    /* Increased for luxury feel */
    --container-max: 1300px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-white);
}

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

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: var(--section-pad-y) 0;
    }
}

.bg-dark {
    background-color: var(--color-bg-dark);
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

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

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.justify-center {
    justify-content: center !important;
}

.nowrap {
    white-space: nowrap;
}

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

/* =========================================
   Typography
   ========================================= */
.section-subtitle {
    display: block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.section-title span {
    font-style: italic;
    color: var(--color-gold);
}

/* =========================================
   Buttons & Inputs
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 4px;
    gap: 0.5rem;
}

.btn-gold {
    background: #06110A;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.btn-gold:hover {
    background: #0A1C11;
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-main);
}

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--color-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1.5rem; /* Slightly taller for better usability */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    margin-bottom: 1.25rem; /* Tighter consistently spaced fields */
}

.form-trust {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1rem;
    opacity: 0.8;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C5A059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
}

select.form-control option {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

/* =========================================
   Glassmorphism Utility
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    transition: var(--transition-slow);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

/* Navbar Styles */
.navbar-transparent {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-transparent .nav-link,
.navbar-transparent .menu-toggle i {
    color: #FFFFFF !important;
}

.navbar-transparent.scrolled {
    background: #F7F2E8 !important;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}

.navbar-transparent.scrolled .nav-link,
.navbar-transparent.scrolled .menu-toggle i {
    color: #06110A !important;
}

/* Premium Gradient Button */
.btn-gold-gradient {
    background: linear-gradient(135deg, #DFBF82 0%, #C5A059 50%, #A37F3B 100%) !important;
    color: #06110A !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(163, 127, 59, 0.3);
}

.btn-gold-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 127, 59, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .brand-logo {
    height: 80px;
    width: auto;
    transition: var(--transition-slow);
}

.navbar.scrolled .brand-logo {
    height: 55px;
}

.nav-links {
    display: none;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    position: relative;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .btn {
    display: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: #06110A;
    /* Using signature green as baseline */
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
}

/* Mobile Navigation Drawer Refinement */
/* ===============================
   MENU BACKDROP (FIXED)
================================= */
.menu-backdrop {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    /* NO blur → avoids rendering bug */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ===============================
   MOBILE MENU (DRAWER)
================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 80%;
    max-width: 380px;
    height: 100vh;

    background: #0F1F14;
    border-left: 1px solid rgba(197, 160, 89, 0.4);

    z-index: 2000;

    display: flex;
    flex-direction: column;

    padding: 7rem 2.5rem 3rem;

    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}


/* ===============================
   CLOSE BUTTON
================================= */
.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;

    width: 50px;
    height: 50px;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);

    background: rgba(255, 255, 255, 0.1);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
    cursor: pointer;

    transition: 0.3s ease;
}

.close-menu:hover {
    background: var(--color-gold);
    color: var(--color-bg-main);
}


/* ===============================
   MENU LINKS
================================= */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-link {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;

    color: #fff;
    text-transform: uppercase;

    padding: 1rem 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    transition: 0.3s ease;
}

.mobile-link:hover {
    color: var(--color-gold);
    padding-left: 8px;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }

    .nav-actions .btn {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Elevated positioning with a subtle horizontal shift to avoid bright building highlights */
    justify-content: flex-start;
    align-items: center;
    padding-top: 22vh;
    padding-bottom: 20vh;
    overflow: hidden;
}

/* Subtle horizontal shift to align text in the darker negative space of the imagery 
.hero-content {
    transform: translateX(-40px);
} */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Luxury vertical gradient: Anchors the layout with deeper contrast at edges */
    background: linear-gradient(to bottom,
            rgba(4, 13, 7, 0.42) 0%,
            rgba(4, 13, 7, 0.38) 45%,
            rgba(4, 13, 7, 0.38) 55%,
            rgba(4, 13, 7, 0.82) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: scale(1.05);
    filter: brightness(0.95);
    animation: slowZoom 25s infinite alternate linear;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(6, 17, 10, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin: 0 auto 2rem;
    max-width: 880px;
    line-height: 1.25;
    letter-spacing: 0.015em;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.75);
}

.hero-title span {
    font-style: italic;
    color: var(--color-gold);
    text-shadow: 0 0 25px rgba(197, 160, 89, 0.45);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #F0E5D3;
    margin: 0 auto 3rem;
    max-width: 580px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero & General Mobile Refinements */
@media (max-width: 991px) {
    .container {
        padding: 0 1.25rem;
        /* Slightly tighter container for mobile */
    }

    .hero {
        padding-top: 22vh;
        padding-bottom: 10vh;
        text-align: center;
    }

    .hero-content {
        transform: none !important;
        padding: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 2.6rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        line-height: 1.5;
    }

    /* Scaling Button Size Down for Mobile */
    .btn {
        padding: 0.85rem 1.5rem;
        /* Reduced from 1rem 2rem */
        font-size: 0.9rem;
        /* Reduced from 1rem */
    }

    .btn-large {
        padding: 0.85rem 1.5rem;
        /* Reduced from 1.25rem 2.5rem */
        font-size: 1rem;
        /* Reduced from 1.1rem */
    }

    .hero-cta {
        width: 100%;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: auto;
        min-width: 220px;
        max-width: 100%;
    }


    /* Contact Form Mobile Refinement */
    .contact-container {
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.25rem;
        /* Significantly reduced from 3rem */
        margin: 0 -0.5rem;
        /* Slight negative margin to maximize internal space */
    }

    .form-control {
        padding: 0.85rem 1.25rem;
        /* Slightly tighter internal padding */
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }

    .form-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
}

/* =========================================
   About Section
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.about-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    /* High-end editorial leading */
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
}

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 4px;
    z-index: 2;
    position: relative;
}

.about-img-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 80%;
    height: 80%;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-img-accent {
        right: 0;
        bottom: -2rem;
    }
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

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

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 3.5rem 2.5rem; /* Increased padding for luxury feel */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px); /* Minimal, elegant uplift */
}

.service-icon {
    font-size: 2.75rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.service-title {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px; /* Enhanced readability */
    margin-bottom: 0;
    flex-grow: 1;
}

/* =========================================
   Projects Section
   ========================================= */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.container-projects {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.projects-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 2rem;
}

@media (min-width: 600px) {
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .projects-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 5rem 3rem;
    }
}

.project-item {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.project-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-darker);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.project-item:hover .project-img {
    transform: scale(1.05);
    /* Slightly more pronounced zoom */
    filter: brightness(0.9);
    /* Subtler darkening */
}

.project-info {
    padding: 2rem 0 0;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    /* Balanced font size */
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.project-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   Why Us Section
   ========================================= */
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .why-us-layout {
        grid-template-columns: 1.15fr 0.85fr; /* Optimal split for text-image balance */
        gap: 6rem;
        align-items: start; /* Essential for sticky element starting position */
    }
}

.why-us .section-title {
    margin-bottom: 1.25rem;
}

.why-us .section-title span {
    font-size: 0.85em; /* Refined proportion for the emphasized phrase */
    display: inline-block;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-us-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 720px; /* Optimized for text-heavy content balance */
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* Tighter spacing for a cleaner list appearance */
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.6rem;
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.08);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.feature-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.03em;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.why-us-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5; /* Consistent proportions on mobile */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
    .why-us-image-container {
        position: sticky;
        top: 120px; /* Aligns with nav offset */
        max-height: 85vh; /* Prevents overflow into viewport fold */
        margin-top: 1rem; /* Aligned with text block starting baseline */
    }
}

.why-us-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .why-us-img {
        min-height: 500px;
    }
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials-carousel-wrapper {
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    /* Optional: fade edges slightly */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

body {
    overflow-x: hidden;
}

.testimonials-track {
    display: flex;
    width: max-content;
    animation: scrollTrack 20s linear infinite;
}

/* Mobile */
@media (max-width: 768px) {
    .testimonials-track {
        animation: scrollTrack 14s linear infinite;
    }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTrack {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 380px;
    flex-shrink: 0;
    margin-right: 2rem;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(197, 160, 89, 0.2);
    /* Faded gold */
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 0rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle separator */
    padding-top: 1.5rem;
}

/* Avatars removed for minimal look */

.author-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.1rem;
}

.author-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .contact-container {
        grid-template-columns: 1.15fr 0.85fr; /* Provides more space for heading wrapping */
        gap: 6rem;
    }
}

.contact-info .section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.05; /* Denser line spacing for a cohesive architectural block */
    max-width: none;
    margin-bottom: 1.75rem;
}

.contact-info .section-title span {
    font-size: 0.92em;
    display: inline-block;
}
.contact-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.glass-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.glass-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold);
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-gold);
}

.method-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.method-value {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-white);
}

.social-link:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg-main);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    padding: 1.25rem;
}

.form-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    border-radius: 4px;
    text-align: center;

    /* Animation setup */
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.4s ease;
}

.form-success.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #F0E5D3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 2rem;
    width: 100%;
    height: 80px;
    /* Defined height */
    object-fit: contain;
    /* Don't stretch */
    object-position: left;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #06110A;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #06110A;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #06110A;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer .social-link {
    color: #06110A;
    border-color: rgba(6, 17, 10, 0.1);
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(6, 17, 10, 0.6);
    padding-top: 2rem;
    border-top: 1px solid rgba(6, 17, 10, 0.1);
    line-height: 1.6;
}

.luxury-credit {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.luxury-credit:hover {
    color: var(--color-gold);
}

/* =========================================
   Floating Contact
   ========================================= */
.floating-contact {
    position: fixed;
    bottom: 2.5rem;
    right: 1.5rem; /* Reduced from 2.5rem for closer alignment with screen edge */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 90;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-gold);
    background: rgba(6, 17, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--color-gold);
    color: var(--color-bg-main);
    border-color: var(--color-gold);
    box-shadow: 0 12px 40px rgba(197, 160, 89, 0.4);
}

.float-btn.whatsapp {
    font-size: 1.9rem;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 1rem;
        right: 1rem;
        transform: scale(0.8);
        transform-origin: bottom right;
    }
}

/* =========================================
   Animations
   ========================================= */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes scrollDrop {
    0% {
        top: -30%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

* {
    max-width: 100%;
}