/* ── Base & Typography ─────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f5f0f6;
}

/* ── Scroll Reveal ─────────────────────────────────────────────────── */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Floating Stat Cards ──────────────────────────────────────────── */
.stat-card {
    animation: floatCard 4s ease-in-out infinite;
    backdrop-filter: blur(12px);
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1.3s; }
.stat-card:nth-child(3) { animation-delay: 2.6s; }

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

/* ── Service Cards ─────────────────────────────────────────────────── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A853, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* ── Navbar ────────────────────────────────────────────────────────── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(20, 12, 20, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(93, 58, 90, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Mobile Menu ───────────────────────────────────────────────────── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ── Hamburger ─────────────────────────────────────────────────────── */
.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #D4A853;
    transition: all 0.3s ease;
}

.menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Testimonial Cards ─────────────────────────────────────────────── */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── Gallery Images ────────────────────────────────────────────────── */
.gallery-img {
    transition: transform 0.7s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ── Decorative Divider ────────────────────────────────────────────── */
.divider-amber {
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4A853, transparent);
}

/* ── Input Focus States ────────────────────────────────────────────── */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.3);
}

/* ── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #130c14;
}

::-webkit-scrollbar-thumb {
    background: #5D3A5A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4A853;
}
