/* ── Base & Typography ── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(155, 28, 62, 0.15);
    color: #3a0a17;
}

/* ── Scroll Reveal (progressive enhancement) ── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .js-enabled .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .js-enabled .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .js-enabled .reveal.delay-1 { transition-delay: 0.1s; }
    .js-enabled .reveal.delay-2 { transition-delay: 0.2s; }
    .js-enabled .reveal.delay-3 { transition-delay: 0.3s; }
    .js-enabled .reveal.delay-4 { transition-delay: 0.4s; }
}

/* ── Navbar ── */
.nav-fixed {
    background: rgba(253, 248, 246, 0);
    backdrop-filter: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(125, 26, 55, 0.08), 0 4px 24px rgba(125, 26, 55, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7d1a37;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(125, 26, 55, 0.08);
}

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

/* ── Hero ── */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 248, 246, 0.97) 0%, rgba(252, 238, 232, 0.9) 50%, rgba(253, 242, 244, 0.85) 100%);
    z-index: 0;
}

#hero > .relative {
    position: relative;
    z-index: 1;
}

/* ── Buttons ── */
a[href^="tel:"] {
    text-decoration: none;
}

/* ── Cards ── */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

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

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

/* ── Print ── */
@media print {
    .nav-fixed, #mobile-menu-btn {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
