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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(123, 67, 151, 0.2);
    color: #3e214e;
}

/* === NAVBAR === */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-blur: 20px;
    border-bottom: 1px solid rgba(123, 67, 151, 0.08);
    box-shadow: 0 1px 20px rgba(62, 33, 78, 0.06);
}

#navbar.scrolled .font-serif {
    color: #4f2a62 !important;
}

#navbar.scrolled a:not(.bg-plum-600) {
    color: #7b4397 !important;
}

#navbar.scrolled a:not(.bg-plum-600):hover {
    color: #3e214e !important;
}

/* === FLOATING CARDS === */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-blue-ridge {
    animation-delay: 0s;
}

.floating-card.card-mountain {
    animation-delay: -2s;
}

.floating-card.card-location {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

/* === MOBILE MENU === */
.mobile-link {
    display: block;
}

.mobile-link:hover {
    color: #7b4397;
}

/* === FORM === */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(123, 67, 151, 0.1);
}

/* === BUTTON HOVER GLOW === */
button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* === IMAGE HOVER === */
img {
    display: block;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
