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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== CUSTOM PROPERTIES ========== */
:root {
    --nav-height: 72px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== NAVBAR ========== */
#navbar {
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(44, 36, 32, 0.06);
}

#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    box-shadow: 0 1px 20px rgba(44, 36, 32, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C2704E;
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 1px;
}

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

/* Mobile menu */
.menu-line {
    transition: all 0.3s var(--ease-out-expo);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #C2704E;
    transition: width 0.3s var(--ease-out-expo);
}

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

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-expo);
}

/* ========== HERO ========== */
#hero {
    position: relative;
    background: linear-gradient(135deg, #FFF8F0 0%, #FDF0DA 50%, #FB E0D4 100%);
}

.hero-text {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    animation: heroImageReveal 0.8s var(--ease-out-expo) 0.4s forwards;
}

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

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

/* Floating card animation */
.floating-card {
    animation: float 4s ease-in-out infinite;
}

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

/* Scroll line animation */
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.animate-scroll-line {
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* ========== GEOMETRIC SHAPES ========== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: rgba(194, 112, 78, 0.06);
    top: -100px;
    right: -100px;
    animation: drift 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: rgba(232, 176, 106, 0.08);
    bottom: 10%;
    left: -50px;
    animation: drift 15s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    pointer-events: none;
    border-radius: 24px;
}

.geo-square--1 {
    width: 120px;
    height: 120px;
    background: rgba(194, 112, 78, 0.08);
    top: 20%;
    left: 5%;
    transform: rotate(15deg);
    animation: spin 25s linear infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
}

.geo-triangle--1 {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 176, 106, 0.1);
    bottom: 20%;
    right: 5%;
    animation: drift 18s ease-in-out infinite;
    transform-origin: center;
}

.geo-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-dot--1 {
    width: 16px;
    height: 16px;
    background: #C2704E;
    top: 30%;
    left: 12%;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.geo-dot--2 {
    width: 24px;
    height: 24px;
    background: #E8B06A;
    bottom: 30%;
    right: 15%;
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite 1s;
}

.geo-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #C2704E 0px,
        #C2704E 40px,
        transparent 40px,
        transparent 60px
    );
    opacity: 0.4;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(3deg); }
    50% { transform: translate(-10px, 10px) rotate(-2deg); }
    75% { transform: translate(20px, 15px) rotate(2deg); }
}

@keyframes spin {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

/* ========== FEATURE PILLS ========== */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    border: 1px solid rgba(44, 36, 32, 0.08);
    border-radius: 100px;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2C2420;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(44, 36, 32, 0.04);
}

.feature-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 36, 32, 0.1);
    border-color: #C2704E;
    color: #C2704E;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #FB E0D4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C2704E;
    transition: background 0.3s;
}

.feature-pill:hover .feature-icon {
    background: #C2704E;
    color: white;
}

/* ========== LABELS ========== */
.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C2704E;
    background: rgba(194, 112, 78, 0.08);
    border: 1px solid rgba(194, 112, 78, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

.label-light {
    color: #FDEBD4;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========== MENU CARDS ========== */
.menu-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(194,112,78,0.2), rgba(232,176,106,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s;
}

.menu-card:hover::before {
    background: linear-gradient(135deg, rgba(194,112,78,0.5), rgba(232,176,106,0.3), transparent);
}

.menu-card-inner {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 24px rgba(44, 36, 32, 0.06);
    transition: all 0.4s var(--ease-out-expo);
    border: 1px solid rgba(44, 36, 32, 0.05);
}

.menu-card:hover .menu-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.12);
}

.menu-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.menu-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #C2704E;
    background: rgba(194, 112, 78, 0.08);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
}

.menu-card-emoji {
    font-size: 2rem;
    line-height: 1;
}

/* ========== GALLERY ========== */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,36,32,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 16px;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== FORM ========== */
.input-field {
    border: 1.5px solid rgba(44, 36, 32, 0.12);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #2C2420;
    background: #FFF8F0;
    transition: all 0.3s;
    outline: none;
}

.input-field::placeholder {
    color: rgba(44, 36, 32, 0.35);
}

.input-field:hover {
    border-color: rgba(194, 112, 78, 0.3);
}

.input-field:focus {
    border-color: #C2704E;
    background: white;
    box-shadow: 0 0 0 3px rgba(194, 112, 78, 0.1);
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.visible {
    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; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .hero-image {
        order: -1;
    }

    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        display: inline-flex;
    }

    .geo-circle--1 {
        width: 250px;
        height: 250px;
    }

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

    .geo-square--1 {
        width: 60px;
        height: 60px;
    }

    .menu-card-inner {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }

    .feature-pill {
        font-size: 0.75rem;
        padding: 0.5rem 0.9rem;
    }

    .about-images {
        order: -1;
    }
}
