/* Menu Page Styles */
/* B&B The Butter and Batter House */
/* Note: Include common.css before this file */

/* Header */
.menu-header {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  /* position: sticky; */
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(218, 159, 91, 0.2);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(218, 159, 91, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--gold);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.nav-links a:hover {
  background: rgba(218, 159, 91, 0.2);
}

/* Menu Container */
.menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Section */
.menu-section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(218, 159, 91, 0.2);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-title i {
  font-size: 1.2rem;
  color: var(--gold-light);
}

.size-legend {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.size-tag {
  background: rgba(218, 159, 91, 0.08);
  border: 1px solid rgba(218, 159, 91, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Menu Card */
.menu-card {
  padding: 1.5rem;
}

.menu-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.item-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: #fff;
  margin: 0;
}

.item-number {
  background: var(--gold);
  color: var(--dark);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.item-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price-tag {
  background: rgba(218, 159, 91, 0.15);
  border: 1px solid rgba(218, 159, 91, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-size {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.price-amount {
  color: var(--gold);
  font-weight: 600;
}

.single-price {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
}

/* Includes List */
.includes-list {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Shared label style */
.includes-title,
.flavors-title {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.includes-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.include-tag {
  background: rgba(218, 159, 91, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Flavors */
.flavors-wrap {
  margin-bottom: 1rem;
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.flavor-tag {
  background: linear-gradient(
    135deg,
    rgba(218, 159, 91, 0.2) 0%,
    rgba(218, 159, 91, 0.1) 100%
  );
  border: 1px solid rgba(218, 159, 91, 0.2);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--cream);
}

/* Item Options (Size & Egg) */
.item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(218, 159, 91, 0.15);
}

.option-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-label {
  font-size: 0.7rem;
  color: rgba(218, 159, 91, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.option-tags {
  display: flex;
  gap: 0.4rem;
}

.size-opt-tag,
.egg-tag {
  background: linear-gradient(
    135deg,
    rgba(218, 159, 91, 0.2) 0%,
    rgba(218, 159, 91, 0.1) 100%
  );
  border: 1px solid rgba(218, 159, 91, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* Seasonal Banner */
.seasonal-banner {
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.seasonal-banner::after {
  opacity: 0.7;
}

.seasonal-banner:hover {
  transform: translateY(-5px);
}

/* Sparkle emoji */
.seasonal-sparkle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.seasonal-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.seasonal-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.seasonal-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.variant-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.variant-badge {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  color: var(--cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.variant-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(218, 159, 91, 0.25) 0%,
    rgba(218, 159, 91, 0.15) 100%
  );
  border-color: rgba(218, 159, 91, 0.4);
  transform: translateY(-2px);
}

.seasonal-prices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.seasonal-price-tag {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(218, 159, 91, 0.15) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(218, 159, 91, 0.35);
  padding: 0.6rem 1.5rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.seasonal-price-tag:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(218, 159, 91, 0.2);
  border-color: rgba(218, 159, 91, 0.5);
}

.seasonal-price-tag .size {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seasonal-price-tag .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(218, 159, 91, 0.3);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 4rem;
  color: var(--gold);
}

.loading i {
  font-size: 3rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    text-align: center;
  }

  .size-legend {
    margin-left: 0;
    justify-content: center;
  }

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

  .seasonal-content {
    grid-template-columns: 1fr;
  }

  .seasonal-prices {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================================
   Custom Cakes Banner
================================ */
.custom-cakes-banner {
  border-radius: 24px;
  padding: 2rem;
  margin-top: 2rem;
  background: linear-gradient(
    135deg,
    rgba(218, 159, 91, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(218, 159, 91, 0.1) 100%
  );
}

.custom-cakes-banner::after {
  opacity: 0.8;
}

.custom-cakes-banner:hover {
  transform: translateY(-5px);
}

.custom-cakes-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.custom-cakes-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.custom-cakes-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-cakes-info h3 i {
  font-size: 1.4rem;
}

.custom-cakes-info p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.custom-cakes-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-badge {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.feature-badge i {
  color: var(--gold);
  font-size: 0.9rem;
}

.feature-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(218, 159, 91, 0.25) 0%,
    rgba(218, 159, 91, 0.15) 100%
  );
  border-color: rgba(218, 159, 91, 0.4);
  transform: translateY(-2px);
}

.custom-cakes-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25d366 0%, #128c4e 100%);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.cta-button i {
  font-size: 1.3rem;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  color: #fff;
}

.cta-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Custom Cakes Responsive */
@media (max-width: 768px) {
  .custom-cakes-banner {
    padding: 1.5rem;
  }

  .custom-cakes-icon {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  .custom-cakes-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .custom-cakes-info h3 {
    justify-content: center;
    font-size: 1.5rem;
  }

  .custom-cakes-info p {
    font-size: 0.95rem;
  }

  .custom-cakes-features {
    justify-content: center;
  }

  .feature-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .custom-cakes-cta {
    align-items: center;
  }

  .cta-button {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}
