/* ─── Base & Typography ─── */
:root {
    --gold: #C9A84C;
    --gold-light: #F5D68A;
    --burgundy: #8B1A3A;
    --burgundy-deep: #3D0C1A;
    --bg-dark: #0D0608;
    --bg-card: #1A0A10;
    --text-light: #F5EDE6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* ─── Navbar ─── */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(13, 6, 8, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

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

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

.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--gold-light);
}

/* ─── Hero Particles ─── */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite ease-in-out;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 85%; animation-delay: 2s; }
.particle-3 { top: 40%; left: 50%; animation-delay: 4s; }
.particle-4 { top: 80%; left: 20%; animation-delay: 1s; }
.particle-5 { top: 15%; left: 70%; animation-delay: 3s; }
.particle-6 { top: 70%; left: 40%; animation-delay: 5s; }

@keyframes float-particle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    25% {
        opacity: 0.6;
        transform: translateY(-30px) scale(1.2);
    }
    50% {
        opacity: 0.3;
        transform: translateY(-60px) scale(0.8);
    }
    75% {
        opacity: 0.5;
        transform: translateY(-30px) scale(1.1);
    }
}

/* ─── Service Cards ─── */
.service-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.08);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Gold Divider Animation ─── */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ─── Button Hover Glow ─── */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* ─── Input Focus ─── */
input:focus, textarea:focus {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ─── Image Hover ─── */
.relative.overflow-hidden img {
    transition: transform 0.6s ease;
}

.relative.overflow-hidden:hover img {
    transform: scale(1.03);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ─── Selection ─── */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: var(--gold-light);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.2rem;
    }
}
