/* ========== BASE & RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #FDF8F0;
    color: #1a1a1a;
    overflow-x: hidden;
}

::selection {
    background-color: #C4623A;
    color: #FDF8F0;
}

/* ========== NAVIGATION ========== */
#navbar {
    background: rgba(253, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 98, 58, 0.1);
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-sub-text {
    transition: color 0.3s ease;
}

/* ========== HERO ========== */
#hero {
    position: relative;
}

.hero-shape {
    animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 10s;
}

.hero-shape:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 12s;
}

.hero-shape:nth-child(4) {
    animation-delay: -1s;
    animation-duration: 9s;
}

.hero-shape:nth-child(5) {
    animation-delay: -3s;
    animation-duration: 11s;
}

.hero-content {
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-scroll {
    animation: fadeIn 1s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ========== SECTION REVEALS ========== */
.menu-reveal,
.about-text-reveal,
.about-img-reveal,
.vibe-reveal,
.vibe-img-reveal,
.visit-reveal,
.visit-card-reveal,
.contact-text-reveal,
.contact-form-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-reveal.revealed,
.about-text-reveal.revealed,
.about-img-reveal.revealed,
.vibe-reveal.revealed,
.vibe-img-reveal.revealed,
.visit-reveal.revealed,
.visit-card-reveal.revealed,
.contact-text-reveal.revealed,
.contact-form-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.vibe-img-reveal {
    transition-delay: 0s;
}

/* ========== FLOATING ANIMATIONS ========== */
.about-float {
    animation: float 6s ease-in-out infinite;
}

.vibe-float {
    animation: float 7s ease-in-out infinite;
}

.contact-float {
    animation: float 5s ease-in-out infinite;
}

/* ========== KEYFRAMES ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(2deg);
    }
    66% {
        transform: translateY(8px) rotate(-1deg);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== MOBILE MENU ========== */
#mobile-menu {
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

#mobile-menu.closed {
    max-height: 0;
    opacity: 0;
}

.mobile-link {
    display: block;
    padding: 8px 0;
    font-size: 1.1rem;
}

/* ========== MENU CARDS ========== */
.menu-card-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========== BUTTON HOVER EFFECTS ========== */
a, button {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== INPUT FOCUS ========== */
input:focus,
select:focus,
textarea:focus {
    border-color: #C4623A !important;
    box-shadow: 0 0 0 4px rgba(196, 98, 58, 0.1);
}

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

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

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

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

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    #hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
