/* ============================================
   MELANGE RESTAURANT – DESIGN SYSTEM
   Deep Green & Gold Tropical Elegance
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
    /* Primary palette – deep forest greens */
    --green-950: #0a1f15;
    --green-900: #0f2e1f;
    --green-800: #14412b;
    --green-700: #1a5438;
    --green-600: #1f6844;
    --green-500: #2d8a5e;
    --green-400: #3aad76;
    --green-300: #5ec997;

    /* Gold / Accent */
    --gold-500: #c9a84c;
    --gold-400: #d4b862;
    --gold-300: #e0ca82;
    --gold-200: #ecdaa5;

    /* Neutrals */
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d2;
    --text-dark: #1a1a18;
    --text-body: #3d3d38;
    --text-muted: #6b6b63;
    --text-light: #a3a39a;

    /* Surfaces */
    --surface-dark: #0c1f14;
    --surface-card: rgba(255,255,255,0.04);
    --surface-card-light: rgba(255,255,255,0.08);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a,
button,
.lang-select {
    -webkit-tap-highlight-color: transparent;
}

/* Dynamic viewport height for mobile browsers */
@supports (min-height: 100dvh) {
    .hero {
        min-height: 100dvh;
    }
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--cream);
    background: var(--green-950);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ----- Container ----- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right, 0px));
}

/* ----- Section ----- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(10, 31, 21, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 55px;
    width: auto;
    color: var(--gold-400);
    transition: color 0.3s;
}

.nav-logo:hover .logo-svg {
    color: var(--gold-300);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin-left: auto;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 1.5px;
    background: var(--gold-400);
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--gold-300);
}

.nav-link.active {
    color: var(--gold-400);
}

.nav-cta {
    background: var(--gold-500) !important;
    color: var(--green-950) !important;
    font-weight: 500;
    border-radius: 6px;
    margin-left: 8px;
    transition: all 0.3s var(--ease-out) !important;
    animation: ctaGlow 3.2s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.35); }
    50%      { box-shadow: 0 0 16px 2px rgba(201, 168, 76, 0.45); }
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    animation: none;
    background: var(--gold-300) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

/* Language selector */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.lang-select {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 26px;
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--gold-400);
    color: var(--gold-300);
}

.lang-select option {
    background: var(--green-900);
    color: var(--cream);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s var(--ease-out);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(10, 31, 21, 0.6) 0%, 
            rgba(10, 31, 21, 0.3) 40%, 
            rgba(10, 31, 21, 0.5) 70%, 
            rgba(10, 31, 21, 0.85) 100%),
        linear-gradient(90deg, 
            rgba(10, 31, 21, 0.7) 0%, 
            transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 clamp(20px, 5vw, 60px);
    animation: fadeInUp 1.2s var(--ease-out) 0.3s both;
}

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

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    padding: 8px 20px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s var(--ease-out) 0.5s both;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line-1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--cream);
    animation: fadeInUp 1.2s var(--ease-out) 0.6s both;
}

.hero-line-2 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--gold-400);
    font-weight: 600;
    font-style: italic;
    animation: fadeInUp 1.2s var(--ease-out) 0.8s both;
}

.hero-line-3 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--cream);
    animation: fadeInUp 1.2s var(--ease-out) 1s both;
}

.hero-line-3 em {
    color: var(--gold-300);
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(245, 240, 232, 0.75);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s var(--ease-out) 1.1s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s var(--ease-out) 1.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 6px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--green-950);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-22deg);
    transition: left 0.7s var(--ease-out);
}

.btn-primary:hover::before {
    left: 140%;
}

.btn-primary:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.btn-outline {
    border: 1.5px solid rgba(245, 240, 232, 0.4);
    color: var(--cream);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1.2s var(--ease-out) 1.8s both;
}

.hero-scroll span {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.5);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-label span:not(.label-line) {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--gold-500);
}

.section-label-center {
    justify-content: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 20px;
}

.section-title-center {
    text-align: center;
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 60px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-about {
    background: var(--green-950);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text-col {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold-500);
    border-radius: 12px;
    transform: translate(16px, 16px);
    pointer-events: none;
    opacity: 0.4;
    transition: all 0.5s var(--ease-out);
}

.about-image-wrapper:hover .about-image-accent {
    transform: translate(10px, 10px);
    opacity: 0.7;
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 24px 30px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold-400);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

.about-lead {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text em {
    color: var(--gold-400);
    font-style: italic;
}

.about-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
}

.signature-line {
    width: 40px;
    height: 2px;
    background: var(--gold-500);
}

.about-signature span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-300);
}

/* ============================================
   MENU SECTION
   ============================================ */
.section-menu {
    background: linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 50%, var(--green-950) 100%);
}

.menu-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 168, 76, 0.35) transparent;
    -webkit-overflow-scrolling: touch;
}

.menu-tabs::-webkit-scrollbar {
    height: 4px;
}

.menu-tabs::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.35);
    border-radius: 4px;
}

.menu-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.menu-tab {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s var(--ease-out);
}

.menu-tab:hover {
    color: var(--cream);
    border-color: rgba(255,255,255,0.2);
}

.menu-tab.active {
    background: var(--gold-500);
    color: var(--green-950);
    border-color: var(--gold-500);
    font-weight: 500;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.25);
}

.menu-panel {
    display: none;
    animation: fadeIn 0.5s var(--ease-out);
}

.menu-panel.active {
    display: block;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
    max-width: 950px;
    margin: 0 auto;
}

.menu-item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s var(--ease-out);
}

.menu-item:hover {
    transform: translateX(6px);
}

.menu-item-header {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 8px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.2;
}

.menu-item-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255,255,255,0.15);
    min-width: 20px;
    margin-bottom: 4px;
}

.menu-item-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-400);
    white-space: nowrap;
}

.menu-item-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

.menu-subheading {
    grid-column: 1 / -1;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    padding: 18px 0 6px;
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    margin-top: 12px;
}

.menu-note {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 50px;
    letter-spacing: 0.02em;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.section-gallery {
    background: var(--green-950);
    padding-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 6px;
    padding: 0 6px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 31, 21, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

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

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--cream);
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    background: linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 100%);
    padding-top: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s var(--ease-out);
}

.contact-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateX(6px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 10px;
    color: var(--gold-400);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 4px;
}

.contact-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 14px;
    padding-top: 10px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--cream);
    transition: all 0.4s var(--ease-out);
}

.social-link:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
    background: rgba(201, 168, 76, 0.1);
    transform: translateY(-3px);
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.map-wrapper iframe {
    border-radius: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--green-900);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    height: 50px;
    width: auto;
    color: var(--gold-500);
    opacity: 0.8;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

/* ============================================
   RESPONSIVE & MOBILE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: 50px;
    }

    .menu-grid {
        gap: 20px 40px;
    }

    .gallery-grid {
        grid-auto-rows: 240px;
    }
}

@media (max-width: 768px) {
    /* Nav mobile */
    .nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .lang-switch {
        order: 3;
        margin-left: 10px;
        margin-right: 2px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 340px);
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 31, 21, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 60px 40px;
        padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
        transition: right 0.5s var(--ease-out);
    }

    .nav-links.open {
        right: 0;
        box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    }

    .nav-links.open .nav-link {
        animation: navIn 0.45s var(--ease-out) both;
    }

    .nav-links.open .nav-link:nth-child(1) { animation-delay: 0.06s; }
    .nav-links.open .nav-link:nth-child(2) { animation-delay: 0.12s; }
    .nav-links.open .nav-link:nth-child(3) { animation-delay: 0.18s; }
    .nav-links.open .nav-link:nth-child(4) { animation-delay: 0.24s; }
    .nav-links.open .nav-link:nth-child(5) { animation-delay: 0.30s; }
    .nav-links.open .nav-link:nth-child(6) { animation-delay: 0.36s; }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        padding: 14px 30px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        aspect-ratio: 4/3;
    }

    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item-large {
        grid-column: span 2;
    }

    .gallery-overlay {
        opacity: 1;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 350px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@keyframes navIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 64px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 7px 16px;
        margin-bottom: 22px;
    }

    .hero-line-1 {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .hero-line-2 {
        font-size: clamp(3rem, 18vw, 4.5rem);
    }

    .hero-line-3 {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-scroll {
        bottom: 24px;
    }

    .section-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .menu-item-header {
        gap: 8px;
    }

    .menu-item-name {
        font-size: 1.05rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }

    .menu-item-desc {
        font-size: 0.82rem;
    }

    .gallery-grid {
        grid-auto-rows: 200px;
    }

    .contact-card {
        padding: 18px;
        gap: 14px;
    }

    .contact-card-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .map-wrapper {
        height: 300px;
    }

    .about-stats {
        gap: 16px;
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    /* Prevent iOS focus zoom on the language selector */
    .lang-select {
        font-size: 16px;
        padding: 6px 26px 6px 10px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .about-stats {
        flex-direction: column;
        text-align: center;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .menu-tabs {
        gap: 6px;
    }

    .menu-tab {
        padding: 10px 18px;
        font-size: 0.78rem;
    }
}

@media (max-width: 380px) {
    .logo-svg {
        height: 42px;
    }

    .nav-container,
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-links {
        padding: 50px 28px;
    }

    .hero-line-2 {
        font-size: 2.7rem;
    }

    .hero-badge {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .menu-tab {
        padding: 9px 14px;
        font-size: 0.74rem;
    }

    .menu-item-name {
        font-size: 1rem;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Small-height phones / tablets in landscape */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-scroll {
        display: none;
    }

    .hero-content {
        padding-top: 70px;
    }

    .section {
        padding: 56px 0;
    }
}

/* Touch devices: comfortable tap targets */
@media (hover: none) {
    .btn {
        min-height: 50px;
    }

    .menu-tab {
        min-height: 44px;
    }

    .nav-toggle {
        min-width: 46px;
        min-height: 46px;
        justify-content: center;
        align-items: center;
    }

    .social-link {
        width: 52px;
        height: 52px;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
