/* === BASE === */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background-color: #fdf2f4;
    color: #3d0812;
}

::selection {
    background-color: rgba(110, 28, 49, 0.15);
    color: #3d0812;
}

/* === NAV === */
.nav-light { display: block; }
.nav-dark { display: none; }
.nav-text { color: #6e1c31; }
.nav-link { color: rgba(110, 28, 49, 0.7); }
.nav-icon { color: #6e1c31; }

#navbar.scrolled .nav-light { display: none; }
#navbar.scrolled .nav-dark { display: block; }
#navbar.scrolled .nav-text { color: #fff; }
#navbar.scrolled .nav-link { color: rgba(255, 255, 255, 0.7); }
#navbar.scrolled .nav-icon { color: #fff; }

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(110, 28, 49, 0.08);
}

/* === MOBILE MENU === */
.mobile-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* === REVEAL ANIMATIONS === */
.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);
}

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

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

/* === FORM === */
input:focus,
textarea:focus {
    border-color: #bc2a4b !important;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

/* === MAP === */
iframe {
    filter: saturate(0.7) contrast(1.05);
    transition: filter 0.4s ease;
}

iframe:hover {
    filter: saturate(1) contrast(1);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #f9cfd9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ea6e8f;
}
