/* ========== 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 {
    overflow-x: hidden;
}

::selection {
    background-color: #A8D5BA;
    color: #0A2342;
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10, 35, 66, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #A8D5BA;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #7FB892 !important;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(168, 213, 186, 0.15);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:hover {
    color: #7FB892;
    padding-left: 0.75rem;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ========== HERO ========== */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s ease forwards;
    animation-delay: 0.3s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(40px);
}

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

.reveal-left {
    transform: translateX(-40px);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ========== FLAVOR CARDS ========== */
.flavor-card {
    position: relative;
    overflow: hidden;
}

.flavor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.flavor-card:hover::before {
    opacity: 1;
}

/* ========== BUTTONS ========== */
button, a[type="submit"] {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #A8D5BA;
    outline-offset: 2px;
}

/* ========== FORM STYLES ========== */
input::placeholder,
textarea::placeholder {
    color: rgba(10, 35, 66, 0.3);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #7FB892;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .font-serif {
        line-height: 1.15;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h1 {
        font-size: 2.25rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

/* ========== PRINT ========== */
@media print {
    #navbar,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
    
    body {
        background: white;
    }
}
