/* ========================================
   SAVEUR Restaurant - Premium Editorial Design
   Refactored & Optimized for Performance & Animation
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Sophisticated Color Palette */
    --bg-cream: #FDFBF7;
    --bg-warm: #F8F5F0;
    --bg-subtle: #F3EDE4;
    --text-primary: #1A1A18;
    --text-secondary: #4A4A45;
    --text-muted: #8A8A82;
    --accent: #C45C3E;
    --accent-hover: #A84832;
    --accent-light: rgba(196, 92, 62, 0.08);
    --border-light: rgba(26, 26, 24, 0.08);
    --border-medium: rgba(26, 26, 24, 0.12);

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-padding: clamp(24px, 5vw, 80px);

    /* Transitions & Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-smooth: 0.6s var(--ease-out);
    --transition-fast: 0.3s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: white;
}

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

ul {
    list-style: none;
}

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

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-tag {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section-title .highlight {
    color: var(--accent);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ========================================
   Components
   ======================================== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--text-primary);
    color: var(--bg-cream);
    padding: 18px 36px;
    border-radius: 2px;
}

.btn--primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 92, 62, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 18px 0;
}

.btn--ghost::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.btn--ghost:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Badges */
.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bg-cream);
    padding: 6px 12px;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    z-index: 2;
}

.card-badge.bestseller {
    background: var(--accent);
    color: white;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-cream);
    padding: 20px 28px;
    border-radius: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s var(--ease-out);
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* ========================================
   Layout: Header
   ======================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s var(--ease-out);
}

#header.scrolled {
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 48px;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-cream);
    padding: 12px 24px;
    border-radius: 2px;
}

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

.nav-cta:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* ========================================
   Layout: Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: clamp(40px, 5vw, 120px);
    padding: 140px var(--container-padding) 80px;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-tag::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 85vh;
    min-height: 500px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--border-light);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 2s var(--ease-out);
}

.hero-visual.visible .hero-image {
    transform: scale(1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05) !important;
    transition: transform 0.8s var(--ease-out);
}

.hero-image-overlay {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--bg-cream);
    padding: 32px;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.hero-image-overlay p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ========================================
   Layout: About Section
   ======================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.image-card {
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s var(--ease-out);
}

.image-card.image-1 {
    top: 0;
    left: 0;
    width: 55%;
    height: 70%;
    z-index: 2;
}

.image-card.image-2 {
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    z-index: 1;
}

.about-images:hover .image-card.image-1 {
    transform: translateY(-10px);
}

.about-images:hover .image-card.image-2 {
    transform: translateY(10px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-cream);
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ========================================
   Layout: Menu Section
   ======================================== */
.menu-section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.category-btn {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    border: 1px solid var(--border-medium);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
}

.menu-card {
    background: var(--bg-warm);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.menu-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

.menu-card:hover .dish-image {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 32px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.dish-name {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.dish-price {
    font-weight: 600;
    color: var(--accent);
}

.dish-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.dish-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border-radius: 2px;
}

/* ========================================
   Layout: Order Section (Premium)
   ======================================== */
.order-section {
    padding: var(--section-padding) 0;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}

/* Background element for decoration */
.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(253, 251, 247, 0.5));
    pointer-events: none;
}

.order-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    position: relative;
    z-index: 2;
}

.order-form {
    background: white;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-medium);
    display: flex;
    align-items: baseline;
    gap: 16px;
    color: var(--text-primary);
}

.section-number {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f0ebe4;
    /* Darker warm gray for better visibility */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    font-family: var(--font-sans);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(196, 92, 62, 0.08);
}

/* Payment Options Grid */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.payment-option {
    cursor: pointer;
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--border-medium);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    background: white;
    height: 100%;
}

.payment-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.payment-option input:checked+.payment-card {
    border-color: var(--accent);
    background: rgba(196, 92, 62, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(196, 92, 62, 0.1);
}

.payment-option input:checked+.payment-card .payment-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.payment-card span:last-child {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.payment-option input:checked+.payment-card span:last-child {
    color: var(--accent);
}

.btn-submit {
    margin-top: 2rem;
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-cream);
    padding: 24px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 92, 62, 0.2);
}

/* Sidebar & Promo */
.order-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.promo-card {
    background: var(--text-primary);
    color: var(--bg-cream);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
}

.promo-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
    animation: rotateSlow 10s linear infinite;
    box-shadow: 0 0 20px rgba(196, 92, 62, 0.4);
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.promo-card h3 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.promo-code {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.promo-code:hover {
    border-radius: 4px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-align: left;
}

/* Experience Card */
.experience-card {
    background: var(--text-primary);
    color: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    /* Increased height as requested */
}

.exp-content {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.exp-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.experience-card h3 {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.separator-small {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 24px;
}

.experience-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.exp-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-features li:last-child {
    border-bottom: none;
}

.exp-icon {
    color: var(--accent);
    font-size: 1rem;
}

.exp-image-container {
    flex-grow: 1;
    position: relative;
    min-height: 200px;
}

.exp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    opacity: 0.6;
    transition: opacity 0.8s var(--ease-out);
}

.experience-card:hover .exp-image {
    opacity: 0.8;
}

.exp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--text-primary) 0%, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-warm);
    padding: 48px 32px;
    border-radius: 4px;
    transition: transform 0.4s var(--ease-out);
}

.testimonial-card:hover {
    text-transform: translateY(-8px);
}

.testimonial-card.featured {
    background: var(--text-primary);
    color: var(--bg-cream);
}

.testimonial-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-card.featured .author-name {
    color: white;
}

.stars {
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text-primary);
    color: var(--bg-cream);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    animation: pulseLogo 2s infinite ease-in-out;
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* ========================================
   ANIMATIONS (The "Incredible" Part)
   ======================================== */

/* Utility Classes for JS Observer */
.animate-on-scroll {
    opacity: 0;
    transition: all 1s var(--ease-out);
    will-change: transform, opacity;
}

/* Fade Up */
.animate-on-scroll.fade-up {
    transform: translateY(40px);
}

.animate-on-scroll.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left */
.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

.animate-on-scroll.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right */
.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

.animate-on-scroll.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up */
.animate-on-scroll.scale-up {
    transform: scale(0.9);
}

.animate-on-scroll.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays (CSS driven) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Modal Animation */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-cream);
    padding: 60px;
    border-radius: 4px;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--ease-out);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}


/* ========================================
   Layout: Hours & Location
   ======================================== */
.hours-section {
    padding: var(--section-padding) 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-cream) 0%, var(--bg-warm) 100%);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

/* Left Content */
.hours-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.hours-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.4s var(--ease-out);
    transform-origin: bottom;
}

.hours-item:hover {
    transform: translateX(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.hours-item:hover::before {
    transform: scaleY(1);
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-info .day {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hours-info .time {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border-radius: 100px;
    min-width: 100px;
    text-align: center;
}

.status.open {
    background: rgba(196, 92, 62, 0.08);
    color: var(--accent);
}

.status.special {
    background: var(--text-primary);
    color: var(--bg-cream);
}

/* Right Content: Location Card */
.location-card {
    background: var(--text-primary);
    color: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 24px 24px 0 rgba(196, 92, 62, 0.1);
    transition: transform 0.6s var(--ease-out);
}

.location-card:hover {
    transform: translateY(-8px);
}

.map-placeholder {
    height: 280px;
    background: #232320;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abstract Topographic Pattern */
.map-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background:
        radial-gradient(circle at 100% 50%, transparent 20%, rgba(255, 255, 255, 0.05) 21%, rgba(255, 255, 255, 0.05) 34%, transparent 35%, transparent),
        radial-gradient(circle at 0% 50%, transparent 20%, rgba(255, 255, 255, 0.05) 21%, rgba(255, 255, 255, 0.05) 34%, transparent 35%, transparent) 0 -50px;
    background-size: 75px 100px;
}

.map-icon {
    font-size: 2.5rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(196, 92, 62, 0.6));
    animation: floatMap 3s ease-in-out infinite;
}

@keyframes floatMap {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.location-info {
    padding: 48px;
    position: relative;
    z-index: 2;
}

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.location-info .address {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

.contact-item:hover {
    color: white;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        order: 2;
        margin: 0 auto;
    }

    .hero-visual {
        order: 1;
        height: 50vh;
        margin-bottom: 2rem;
    }

    .hero-tag,
    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-tag::before {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        gap: 24px;
    }

    .about-grid,
    .order-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        height: 500px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-cream);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s var(--ease-out);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    /* Mobile Fixes */
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .payment-options {
        grid-template-columns: 1fr;
        /* Stack payment methods vertically on mobile */
    }

    .hero-title {
        font-size: 2.5rem;
        /* Smaller title on mobile */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-images {
        height: auto;
        min-height: 400px;
        margin-bottom: 40px;
    }

    .image-card.image-1 {
        width: 80%;
        height: 300px;
        position: relative;
        left: 0;
        top: 0;
    }

    .image-card.image-2 {
        width: 80%;
        height: 300px;
        position: absolute;
        bottom: -40px;
        right: 0;
        z-index: 10;
    }

    .promo-card h3 {
        font-size: 2.5rem;
    }
}