/* ------------------------------
   RESET & GLOBAL
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fefcf5;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    color: #1f2937;
}

/* ------------------------------
   HERO SECTION (100vh, background image)
------------------------------ */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('https://images.unsplash.com/photo-1560461697-46fe9ca19ec5?q=80&w=870&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 90%;
    padding: clamp(1rem, 5vw, 2rem);
}

.hero-content h1 {
    font-size: clamp(1.5rem, 10vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: clamp(0.75rem, 3vw, 1.5rem);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.6rem, 2vw, 0.9rem) clamp(1.2rem, 4vw, 2rem);
    border-radius: 60px;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.hero-btn-primary {
    background: #b45309;
    border-color: #b45309;
    color: white;
}

.hero-btn-primary:hover {
    background: #9b3e07;
    transform: scale(1.02);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.02);
}

.hero-icon {
    width: clamp(18px, 4vw, 24px);
    height: auto;
}

/* ------------------------------
   STICKY CATEGORY NAVIGATION
------------------------------ */
.category-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.category-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.category-scroll {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    min-width: max-content;
}

.category-btn {
    background: #f3f4f6;
    border: none;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.75rem);
    border-radius: 100px;
    font-size: clamp(0.85rem, 3vw, 1rem);
    font-weight: 500;
    color: #2d3e50;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-btn.active {
    background: #b45309;
    color: white;
}

/* ------------------------------
   MENU CONTAINER (below sticky)
------------------------------ */
.menu-container {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.layout-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.layout-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.layout-btn.active {
    background: #b45309;
    border-color: #b45309;
    color: white;
}

/* ------------------------------
   TABLE LAYOUT (two columns)
------------------------------ */
.menu-table {
    max-width: 900px;
    margin: 0 auto;
    /*margin-bottom: 2.5rem;*/
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.menu-table-inner {
    display: flex;
    flex-direction: column;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border-bottom: 1px solid #f0ede8;
    transition: background 0.2s;
    gap: 2rem;
}

.menu-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 2;
}

.menu-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.menu-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-name {
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.15rem);
}

.menu-desc {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: #6b5b4e;
}
.menu-serving {
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #b45309;
    white-space: nowrap;
}

.menu-price {
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #b45309;
    white-space: nowrap;
}

/* ------------------------------
   CARD LAYOUT
------------------------------ */
.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.menu-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.card-info{
    text-align: left;
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1rem 0.5rem;
}

.card-price-serving-row {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.card-serving {
    font-size: 0.75;
    color: #b45309;
    font-weight: 500;
    display: block;
}

.card-price {
    font-weight: 700;
    color: #b45309;
}

.card-description {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: #6c5a48;
}

/* Layout toggle */
.menu-table { display: block; }
.menu-cards { display: none; }
body.card-layout .menu-table { display: none; }
body.card-layout .menu-cards { display: grid; }

/* Responsive tweaks */
@media (max-width: 640px) {
    .menu-row {
        flex-wrap: wrap;
    }
    .menu-info {
        flex: 1 1 100%;
    }
    .menu-price {
        text-align: right;
        width: 100%;
        padding-left: 0;
    }
    .menu-thumbnail {
        width: 64px;
        height: 64px;
    }
    .menu-serving, .menu-price {
        white-space: normal;
        text-align: left;
        width: auto;
    }
    .menu-serving{
        order: 1;
    }
    .menu-price{
        order: 2;
    }
    .layout-toolbar {
        justify-content: center;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-price-serving-row{
        align-items: flex-start;
        margin-top: 0.25rem
    }
}

/* Reset & Container Setup */
    .contact-menu-container {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 9999;
    }

    /* Primary Floating Action Trigger Button */
    .menu-trigger-btn {
      width: 60px;
      height: 60px;
      background-color: #b45309; /* Vibrant orange matching the layout */
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      cursor: pointer;
      border: none;
      outline: none;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .menu-trigger-btn:hover {
      transform: scale(1.05);
      background-color: #f44336;
    }

    /* Hamburger/Cross Icon Styling */
    .menu-trigger-btn svg {
      width: 24px;
      height: 24px;
      fill: #FFF;
      transition: transform 0.3s ease;
    }

    /* Rotate the cross/plus icon when menu opens */
    .contact-menu-container.menu-open .menu-trigger-btn svg {
      transform: rotate(135deg);
    }

    /* Popup Options Card Wrapper */
    .contact-options-panel {
      position: absolute;
      bottom: 75px;
      right: 0;
      background-color: #FFF;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
      width: 220px;
      padding: 12px 0;
      display: flex;
      flex-direction: column;
      
      /* Hidden State by default */
      opacity: 0;
      visibility: hidden;
      transform: translateY(15px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    /* Little Speech Bubble Arrow at the Bottom */
    .contact-options-panel::after {
      content: "";
      position: absolute;
      bottom: -8px;
      right: 22px;
      border-width: 8px 8px 0;
      border-style: solid;
      border-color: #FFF transparent;
      display: block;
      width: 0;
    }

    /* Visible State Managed by JavaScript Toggle Class */
    .contact-menu-container.menu-open .contact-options-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    /* Individual Option List Row Styles */
    .contact-option-item {
      display: flex;
      align-items: center;
      padding: 12px 20px;
      text-decoration: none;
      color: #333;
      font-size: 16px;
      font-weight: 500;
      transition: background-color 0.15s ease;
    }

    .contact-option-item:hover {
      background-color: #F5F5F5;
    }

    /* Option Icons Styling */
    .contact-option-item svg {
      width: 28px;
      height: 28px;
      margin-right: 15px;
      flex-shrink: 0;
    }

    /* Individual Color Branded Classes */
    .icon-whatsapp { fill: #25D366; }
    .icon-sms { fill: #1E88E5; }
    .icon-call { fill: #4CAF50; }
