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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #7B2D3B;
    color: #F4D9C4;
}

/* ========== NAVIGATION ========== */
.nav-fixed {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F4D9C4;
    transition: all 0.2s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

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

/* Mobile menu */
.mobile-menu {
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

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

.mobile-nav-link {
    transition: all 0.2s ease;
}

/* ========== HERO ========== */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: #F4D9C4;
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: #F4D9C4;
    bottom: -50px;
    left: 10%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: #F4D9C4;
    top: 40%;
    right: 15%;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: #F4D9C4;
    border-radius: 24px;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    opacity: 0.05;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-rect-2 {
    width: 80px;
    height: 80px;
    background: #F4D9C4;
    border-radius: 16px;
    bottom: 25%;
    right: 5%;
    transform: rotate(20deg);
    opacity: 0.06;
    animation: float-slow 14s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #F4D9C4;
    top: 30%;
    right: 8%;
    opacity: 0.04;
    animation: float-slow 16s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

/* Scroll dot animation */
.scroll-dot {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* ========== CTA BUTTONS ========== */
.cta-primary {
    display: inline-flex;
    align-items: center;
    background: #F4D9C4;
    color: #5C1F2B;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(244, 217, 196, 0.3);
}

.cta-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 217, 196, 0.4);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #F4D9C4;
    padding: 14px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(244, 217, 196, 0.4);
    transition: all 0.25s ease;
}

.cta-secondary:hover {
    border-color: #F4D9C4;
    background: rgba(244, 217, 196, 0.1);
    transform: translateY(-2px);
}

/* ========== DRINK CARDS ========== */
.drink-card {
    perspective: 1000px;
}

.drink-card a {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* ========== EVENT ITEMS ========== */
.event-item {
    transition: all 0.25s ease;
    cursor: default;
}

.event-item:hover {
    transform: translateX(4px);
}

/* ========== CONTACT FORM ========== */
.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 45, 59, 0.4);
}

/* ========== REVEAL ANIMATIONS ========== */
/* Default: all elements visible (no JS required) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Progressive enhancement: hide and animate on scroll (only if JS runs & user prefers motion) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }

    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }

    .shape-circle-3,
    .shape-rect-1,
    .shape-rect-2,
    .shape-triangle {
        display: none;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.5rem;
    }
}
