/* ─── CSS Custom Properties ─── */
:root {
    --plum-950: #2a0f1b;
    --plum-900: #4b1f35;
    --plum-800: #5e2643;
    --amber-500: #eab308;
    --amber-600: #ca8a04;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { min-height: 100vh; overflow-x: hidden; }

/* ─── Section Labels & Titles ─── */
.section-label {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
}

/* ─── Nav ─── */
.nav {
    background: rgba(42, 15, 27, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(168, 78, 130, 0.15);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
    background: rgba(42, 15, 27, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* ─── Hero ─── */
.hero {
    position: relative;
}
.hero-bg {
    will-change: transform;
}
.hero-img {
    transform: scale(1.1);
    transition: transform 0.8s ease;
}
.hero-content {
    opacity: 1;
}
.hero-badge {
    animation: fadeInDown 0.8s ease both;
}
.hero-headline {
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-subtitle {
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-ctas {
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-scroll {
    animation: fadeInUp 0.8s ease 1s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Buttons ─── */
.cta-primary {
    box-shadow: 0 4px 20px rgba(202, 138, 4, 0.3);
    position: relative;
    overflow: hidden;
}
.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-primary:hover::before { opacity: 1; }
.cta-primary:hover {
    box-shadow: 0 8px 32px rgba(202, 138, 4, 0.4);
    transform: translateY(-2px);
}
.cta-primary:active { transform: translateY(0); }

.cta-secondary {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.cta-secondary:hover {
    box-shadow: 0 4px 20px rgba(202, 138, 4, 0.2);
    transform: translateY(-2px);
}

/* ─── Service Cards ─── */
.service-card {
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(202, 138, 4, 0.15);
}

/* ─── Gallery ─── */
.gallery-item {
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Testimonials ─── */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

/* ─── Contact Form ─── */
.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(202, 138, 4, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.1) !important;
}

/* ─── Mobile Menu ─── */
#mobile-menu {
    max-height: 0;
}
#mobile-menu.open {
    max-height: 400px;
}
.mobile-nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(168, 78, 130, 0.15);
}
.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ─── Accessibility ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4rem;
    }
}
