/* =========================================
   MENU PAGE — Casa del Sol
   ========================================= */

/* Menu Hero */
.menu-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/frontbanner.jpg');
  background-size: cover;
  background-position: center;
}

.menu-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    170deg,
    rgba(106, 20, 35, 0.8) 0%,
    rgba(139, 26, 43, 0.7) 40%,
    rgba(74, 55, 40, 0.6) 100%
  );
}

.menu-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: heroFadeIn 1s var(--ease-out) both;
}

.menu-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.menu-hero-sub {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 248, 240, 0.8);
  max-width: 480px;
  margin: 0 auto;
}

/* Menu Navigation Bar */
.menu-nav-bar {
  position: sticky;
  top: 72px;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 2px 12px rgba(44, 36, 32, 0.05);
}

.menu-nav-links {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-nav-links::-webkit-scrollbar {
  display: none;
}

.menu-nav-link {
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-light);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
  border-bottom: 3px solid transparent;
}

.menu-nav-link:hover {
  color: var(--red);
}

.menu-nav-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Menu Page Layout */
.menu-page {
  min-height: 100vh;
}

/* Menu Sections */
.menu-section {
  padding: 72px 0;
}

.menu-section-alt {
  background: var(--cream-dark);
}

.menu-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.menu-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  margin-bottom: 16px;
}

.menu-section-line {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* Menu Items Grid */
.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Full Menu Items (Appetizers & Plates) */
.menu-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--sand);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.menu-item-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.6;
}

/* Simple Items (Sides & Beverages) */
.menu-items-compact {
  gap: 0 48px;
}

.menu-item-simple {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 0;
  border-bottom: none;
}

.menu-item-simple .menu-item-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal);
  flex-shrink: 0;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 2px dotted var(--sand);
  min-width: 20px;
  margin-bottom: 4px;
}

.menu-item-simple .menu-item-price {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Order CTA */
.menu-order-cta {
  padding: 80px 0;
  background: var(--red-deep);
  text-align: center;
}

.menu-order-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.menu-order-inner p {
  font-size: 1.05rem;
  color: rgba(255, 248, 240, 0.75);
  margin-bottom: 32px;
}

.menu-order-inner strong {
  color: var(--gold-light);
}

/* Active nav link */
.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .menu-nav-link {
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .menu-hero {
    height: 30vh;
    min-height: 220px;
  }

  .menu-section {
    padding: 48px 0;
  }

  .menu-item-header {
    flex-direction: column;
    gap: 4px;
  }
}