/*
 * Diana Court Banquet Facilities — Custom Styles
 * Forest green + off-white editorial design
 */

/* ---------- Typography ---------- */
html {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---------- Smooth scroll for anchor links ---------- */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ---------- Selection color ---------- */
::selection {
    background: #45703a;
    color: #faf9f5;
}

/* ---------- Focus visible ---------- */
:focus-visible {
    outline: 2px solid #45703a;
    outline-offset: 2px;
}

/* ---------- Navbar transition states ---------- */
#navbar.scrolled {
    background: rgba(250, 249, 245, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(28, 51, 25, 0.08), 0 4px 20px rgba(28, 51, 25, 0.06);
}

#navbar.scrolled .nav-link {
    color: #1c3319;
}

#navbar.scrolled .nav-link::after {
    background: #45703a;
}

#navbar.scrolled .font-serif,
#navbar.scrolled .text-forest-800 {
    color: #1c3319;
}

/* ---------- Hero parallax feel (subtle) ---------- */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: -1;
}

/* ---------- Stat card animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    .stat-card {
        animation: float 6s ease-in-out infinite;
    }

    .stat-card:nth-child(2) {
        animation-delay: -2s;
    }

    .stat-card:nth-child(3) {
        animation-delay: -4s;
    }

    .stat-card:nth-child(4) {
        animation-delay: -1s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-8px); }
    }
}

/* ---------- Service card image wrapper ---------- */
.service-card .h-56 {
    overflow: hidden;
}

.service-card .h-56 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Testimonial quote mark ---------- */
.testimonial-card blockquote {
    position: relative;
}

/* ---------- Form textarea ---------- */
.form-input {
    resize: vertical;
    min-height: 48px;
}

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

/* ---------- Mobile menu transitions ---------- */
#mobileMenu {
    will-change: transform;
}

#menuOverlay {
    will-change: opacity;
}

/* ---------- Gallery item aspect ratios ---------- */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- CTA parallax ---------- */
.cta-bg {
    background-attachment: fixed;
}

@media (max-width: 767px) {
    .cta-bg {
        background-attachment: scroll;
    }
}

/* ---------- Utility ---------- */
.text-balance {
    text-wrap: balance;
}

/* ---------- Print styles ---------- */
@media print {
    #navbar, .mobile-menu, #menuOverlay {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .stat-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
