/* Menu page specific styles */

/* Menu Hero Slider */
.menu-hero-slider {
  height: 580px;
  position: relative;
  overflow: hidden;
}

.menu-hero-slider .slides {
  height: 100%;
  width: 100%;
  position: relative;
}

.menu-hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: var(--bg);
  opacity: 0;
  transition: opacity 800ms ease;
}

.menu-hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.menu-hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  display: grid;
  place-items: center;
  text-align: center;
}

.menu-title {
  font-family: "Jaymont Personal", "Spartan", system-ui, sans-serif;
  font-size: 114px;
  font-weight: 400;
  color: #efead8;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1;
}

/* Menu Categories Section */
.menu-categories {
  background: #fffbef;
  padding: 80px 0 0;
  min-height: 40vh;
}

.menu-categories .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.categories-row {
  display: flex;
  gap: 19px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Green double line at the bottom of buttons */
.menu-categories .container::after {
  content: "";
  display: block;
  width: 100%;
  height: 12px;
  background: linear-gradient(
    to bottom,
    #465430 0%,
    #465430 3px,
    transparent 3px,
    transparent 6px,
    #465430 6px,
    #465430 9px,
    transparent 9px,
    transparent 12px
  );
  margin-top: 60px;
}

.category-btn {
  background: #465430;
  color: #fffbef;
  text-decoration: none;
  font-family: "Jaymont Personal", "Spartan", system-ui, sans-serif;
  font-weight: 400;
  font-size: 33px;
  letter-spacing: 0;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 300ms ease;
  box-shadow: 0 4px 12px rgba(70, 84, 48, 0.2);
  border: 2px solid transparent;
  height: 53.46px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Brunch button with purple border (selected state) */
.category-btn[href="#brunch"] {
  border: 2px solid #9acd32;
  width: 158.46px;
  padding: 0;
}

.category-btn:hover {
  background: #3a4528;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 84, 48, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-btn:focus-visible {
  outline: 2px solid #fffbef;
  outline-offset: 2px;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Menu Content Section */
.menu-content {
  background: #fffbef;
  padding: 60px 0;
  display: none;
}

.menu-content.active {
  display: block;
}

.menu-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.menu-section-title {
  font-family: "Jaymont Personal", "Spartan", system-ui, sans-serif;
  font-size: 86px;
  font-weight: 700;
  color: #465430;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: 0;
  line-height: auto;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 60px;
}

.item-title {
  font-family: "Spartan", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #7c2532;
  margin: 0 0 12px 0;
  letter-spacing: 0;
  text-align: center;
}

.item-description {
  font-family: "Times New Roman", "Times", serif;
  font-size: 18px;
  color: #666;
  line-height: auto;
  margin: 0;
  text-align: center;
  letter-spacing: 0;
}

.item-price {
  font-family: "Spartan", system-ui, sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: #7c2532;
  margin-top: 4px;
  text-align: center;
  letter-spacing: 0;
}

.pax-text {
  font-size: 14px;
  font-weight: 600;
}

.menu-decoration {
  width: 44.5px;
  height: 36px;
  margin-left: 8px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .menu-title {
    font-size: 80px;
  }

  .menu-decoration {
    display: none;
  }
}

.menu-section-subtitle {
  font-family: "Jaymont Personal", "Spartan", system-ui, sans-serif;
  font-size: 51px;
  font-weight: 700;
  color: #465430;
  text-align: center;
  margin: 0 0 38px 0;
  letter-spacing: 0;
}

/* Menu Footer */
.menu-footer {
  background: #465430;
  height: 117px;
  display: flex;
  align-items: center;
}

.menu-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background: #ffffff;
  border-radius: 13.5px;
  color: #465430;
  text-decoration: none;
  transition: all 300ms ease;
  border: 1px solid #000;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.copyright p {
  color: #ffffff;
  font-family: "Spartan", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: auto;
  margin: 0;
  text-align: center;
}

/* Menu Slider Dots */
.menu-hero-slider .dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 5;
  justify-content: center;
  align-items: center;
}

.menu-hero-slider .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 200ms ease;
  display: block;
}

.menu-hero-slider .dot.active {
  background: #fff;
  transform: scale(1.2);
  border-color: #fff;
}

.menu-hero-slider .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.menu-hero-slider .dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .categories-grid {
    gap: 19px;
  }

  .categories-row {
    gap: 19px;
  }

  .categories-row.top-row {
    flex-wrap: wrap;
  }

  .categories-row.bottom-row {
    flex-wrap: wrap;
  }

  .category-btn {
    padding: 16px 20px;
    font-size: 24px;
    min-width: 140px;
  }

  .menu-hero-slider .dots {
    gap: 14px;
    bottom: 30px;
  }

  .menu-hero-slider .dot {
    width: 14px;
    height: 14px;
  }

  .menu-items {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .menu-section-title {
    font-size: 64px;
  }
}

@media (max-width: 480px) {
  .menu-title {
    font-size: 60px;
  }

  .menu-categories {
    padding: 60px 0;
  }

  .menu-categories .container {
    padding: 0 20px;
  }

  .categories-grid {
    gap: 19px;
  }

  .categories-row {
    flex-direction: column;
    gap: 19px;
    align-items: center;
  }

  .category-btn {
    padding: 14px 18px;
    font-size: 20px;
    min-width: 120px;
  }

  .menu-hero-slider .dots {
    gap: 12px;
    bottom: 25px;
  }

  .menu-hero-slider .dot {
    width: 12px;
    height: 12px;
  }

  .menu-content {
    padding: 40px 0;
  }

  .menu-content .container {
    padding: 0 20px;
  }

  .menu-section-title {
    font-size: 48px;
    margin-bottom: 50px;
  }

  .menu-items {
    gap: 20px;
  }

  .menu-column {
    gap: 0;
  }

  .item-title {
    font-size: 24px;
  }

  .item-description {
    font-size: 16px;
  }

  .item-price {
    font-size: 24px;
  }

  .menu-item {
    margin-bottom: 60px;
  }

  .pax-text {
    font-size: 12px;
  }

  .menu-decoration {
    width: 38px;
    height: 30px;
    margin-left: 6px;
  }

  .menu-section-subtitle {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .menu-footer {
    height: 100px;
  }

  .footer-content {
    gap: 8px;
  }

  .social-icons {
    gap: 16px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
    border-radius: 12px;
  }

  .social-icon svg {
    width: 14px;
    height: 14px;
  }

  .copyright p {
    font-size: 14px;
  }
}
