/* ─── Base & Reset ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    overflow-x: hidden;
}

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

/* ─── Hero Gradient ─── */
.hero-gradient {
    background: linear-gradient(135deg, 
        #2a0f19 0%, 
        #4b1f32 20%, 
        #722e49 40%, 
        #a85574 60%, 
        #d97706 80%, 
        #f59e0b 100%
    );
}

/* ─── Hero Animations ─── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Scroll Reveal ─── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ─── Divider Lines ─── */
.divider-line {
    transition: opacity 0.3s ease;
}

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

#navbar.scrolled {
    background: rgba(250, 245, 247, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(168, 85, 116, 0.08);
}

#navbar.scrolled .font-serif {
    color: #5c263c;
}

#navbar.scrolled a:not([href^="tel"]) {
    color: #722e49;
}

#navbar.scrolled a:not([href^="tel"]):hover {
    color: #4b1f32;
}

#navbar.scrolled .border {
    border-color: #722e49;
    color: #722e49;
}

#navbar.scrolled .border:hover {
    background: #722e49;
    color: white;
}

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(168, 85, 116, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ─── Menu Hover Lines ─── */
#menu li {
    position: relative;
}

#menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(217, 119, 6, 0.2));
    transition: width 0.4s ease;
}

#menu li:hover::after {
    width: 100%;
}

/* ─── Decorative Lines ─── */
.hero-line {
    transition: opacity 0.6s ease;
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ─── Selection ─── */
::selection {
    background: rgba(168, 85, 116, 0.15);
    color: #4b1f32;
}

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

::-webkit-scrollbar-track {
    background: #faf5f7;
}

::-webkit-scrollbar-thumb {
    background: #d9adba;
    border-radius: 3px;
}

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

/* ─── Print ─── */
@media print {
    #navbar, .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-gradient {
        background: #4b1f32 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
