/* Base & Utilities */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: #f9d0d9;
    color: #6c2430;
}

/* Navbar transition */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 252, 249, 0.97);
    backdrop-blur-md;
    box-shadow: 0 2px 20px rgba(163, 53, 72, 0.08);
    padding: 0;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

    .gallery-item img {
        transition: transform 0.5s ease;
    }
}

/* Mobile menu */
.mobile-link {
    display: block;
}

/* Smooth focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a33548;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fffcf9;
}
::-webkit-scrollbar-thumb {
    background: #f3a8b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a33548;
}
