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

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

body {
    overflow-x: hidden;
}

/* Hero entrance animations */
.hero-subtitle {
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-desc {
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal (progressive enhancement — only applies when JS runs and motion is preferred) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 247, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(112, 49, 71, 0.08);
}

.nav-scrolled .nav-logo {
    color: #4e2534 !important;
}

.nav-scrolled nav a:not(.nav-logo):not([href^="tel:"]) {
    color: #5c2a3c !important;
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Subtle line decorations */
section h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: #eab308;
    margin-top: 20px;
}

/* Menu item hover */
#menu .border-b {
    transition: border-color 0.3s ease;
}

#menu .border-b:hover {
    border-color: #eab308;
}

/* Image hover containers */
overflow-hidden {
    position: relative;
}

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

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

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

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

/* Selection color */
::selection {
    background: #d9a8b8;
    color: #2a111a;
}
