/* ===========================
   Menu Page - Saffron Theme with Tabs
   =========================== */

.menu-hero {
  text-align: center;
  padding: 120px 20px 70px;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  margin-top: 70px;
}

.menu-hero h1 {
  color: #d97706;
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.menu-hero p {
  color: #6e6456;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.menu-hero .seo-intro {
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 20px auto 10px;
  color: #6e6456;
}

.menu-hero .hero-locations {
  color: #d97706;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  padding: 10px 20px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 25px;
  display: inline-block;
}

/* Menu Anchor Navigation */
.menu-anchor-nav {
  background: white;
  padding: 20px;
  border-bottom: 2px solid #fef3c7;
  position: sticky;
  top: 70px;
  z-index: 49;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.menu-anchor-nav .container {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-anchor-nav a {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background: rgba(251, 191, 36, 0.1);
  color: #d97706;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(251, 191, 36, 0.2);
}

.menu-anchor-nav a:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Menu Tabs */
.menu-tabs-section {
  padding: 40px 20px;
  background: white;
  border-bottom: 2px solid #fef3c7;
  top: 140px;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.tab {
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  background: #f9fafb;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #6e6456;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
  background: #fffbeb;
}

.tab.active {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
  color: white;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
}

/* Menu Content */
.menu-content-wrapper {
  padding: 60px 20px;
  background: white;
  min-height: 600px;
}

.menu-content {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}

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

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

.menu-category {
  margin-bottom: 50px;
}

.menu-category h2 {
  color: #d97706;
  font-size: 2.2rem;
  margin-bottom: 35px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.menu-category h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d);
  border-radius: 2px;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.menu-item {
  background: rgba(255, 247, 237, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 16px;
  border: 2px solid rgba(251, 191, 36, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  transition: height 0.4s ease;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.2);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(251, 191, 36, 0.4);
}

.menu-item:hover::before {
  height: 100%;
}

.menu-item h3 {
  color: #d97706;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.menu-item p {
  color: #6e6456;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.menu-description {
  color: #8a7f73;
  font-size: 0.9rem;
}

/* Category List (for Full Menu) */
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.category-block {
  background: linear-gradient(
    135deg,
    rgba(255, 247, 237, 0.8),
    rgba(255, 251, 235, 0.6)
  );
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 16px;
  border: 2px solid rgba(251, 191, 36, 0.2);
  transition: all 0.4s ease;
}

.category-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.2);
  border-color: rgba(251, 191, 36, 0.5);
}

.category-block h3 {
  color: #d97706;
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.category-block p {
  color: #6e6456;
  line-height: 1.7;
  margin: 0;
}

/* Note */
.note {
  font-size: 0.95rem;
  color: #8a7f73;
  margin-top: 30px;
  padding: 20px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 12px;
  border-left: 4px solid #fbbf24;
  font-style: italic;
  text-align: center;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

.cta-buttons .btn-secondary {
  background: white;
  color: #d97706;
  padding: 16px 40px;
  border: 2px solid #fbbf24;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease;
  display: inline-block;
}

.cta-buttons .btn-secondary:hover {
  background: #fffbeb;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
}

/* Menu Note Section */
.menu-note {
  padding: 50px 20px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border-top: 2px solid #fef3c7;
}

.menu-note .service-coverage {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.menu-note .service-coverage h3 {
  color: #d97706;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.menu-note .service-coverage > p {
  color: #6e6456;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
}

.location-tag {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(251, 191, 36, 0.15);
  color: #d97706;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
}

.location-tag:hover {
  background: rgba(251, 191, 36, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.menu-note .contact-info {
  text-align: center;
  color: #6e6456;
  font-size: 1.05rem;
  max-width: 900px;
  margin: 30px auto 0;
  line-height: 1.8;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-note p {
  text-align: center;
  color: #6e6456;
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.menu-note strong {
  color: #d97706;
}

/* Full Menu Sidebar Layout */
.full-menu-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.full-menu-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.menu-sidebar {
  position: sticky;
  top: 140px;
  align-self: flex-start;
  background: linear-gradient(
    135deg,
    rgba(255, 247, 237, 0.95),
    rgba(255, 251, 235, 0.92)
  );
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-tab {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(251, 191, 36, 0.2);
  color: #6e6456;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-tab:hover {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.18);
  transform: translateY(-1px);
}

.sidebar-tab.active {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.4);
}

.menu-panels {
  min-height: 420px;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@media (max-width: 1100px) {
  .full-menu-layout {
    grid-template-columns: 280px 1fr;
  }

  .menu-sidebar {
    top: 120px;
  }
}

@media (max-width: 900px) {
  .full-menu-layout {
    grid-template-columns: 1fr;
  }

  .menu-sidebar {
    position: relative;
    top: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 8px;
    padding: 10px 12px;
    max-height: none;
  }

  .sidebar-tab {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    font-size: 0.9rem;
    padding: 11px 12px;
  }
}

@media (max-width: 600px) {
  .sidebar-tab {
    min-width: 0;
    width: 100%;
    padding: 10px 11px;
    font-size: 0.88rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .menu-hero {
    padding: 100px 15px 50px;
  }

  .menu-hero h1 {
    font-size: 2rem;
  }

  .menu-hero p {
    font-size: 1rem;
  }

  .menu-hero .seo-intro {
    font-size: 0.95rem;
  }

  .menu-hero .hero-locations {
    font-size: 0.85rem;
    padding: 8px 15px;
  }

  .menu-anchor-nav {
    padding: 15px 10px;
    top: 60px;
  }

  .menu-anchor-nav a {
    padding: 8px 15px;
    margin: 3px;
    font-size: 0.85rem;
  }

  .menu-tabs-section {
    padding: 20px 10px;
    top: 110px;
  }

  .menu-tabs {
    gap: 8px;
  }

  .tab {
    padding: 10px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .menu-content-wrapper {
    padding: 40px 15px;
  }

  .menu-category h2 {
    font-size: 1.6rem;
  }

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

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

  .menu-item p {
    font-size: 0.9rem;
  }

  .category-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .category-block {
    padding: 20px;
  }

  .category-block h3 {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    padding: 14px 30px;
    font-size: 1rem;
  }

  .menu-note {
    padding: 35px 15px;
  }

  .menu-note .service-coverage h3 {
    font-size: 1.4rem;
  }

  .menu-note .service-coverage > p {
    font-size: 0.95rem;
  }

  .location-tags {
    gap: 8px;
  }

  .location-tag {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .menu-note .contact-info,
  .menu-note p {
    font-size: 0.95rem;
    padding: 15px;
  }
}

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

  .menu-hero .hero-locations {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .menu-category h2 {
    font-size: 1.4rem;
  }

  .note {
    font-size: 0.85rem;
  }

  .location-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
