/* MENU PAGE STYLES */

/* Background */
body {
  background: #ffffff;
}

/* Override nav for menu page - visible from start */
nav {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

nav .nav-brand {
  color: var(--text) !important;
}

nav .nav-brand small {
  color: rgba(0, 0, 0, 0.7) !important;
}

nav .nav-links a {
  color: var(--text-muted) !important;
}

nav .nav-cta {
  color: var(--text) !important;
  border-color: var(--primary) !important;
}

nav .hamburger span {
  background: var(--text) !important;
}

/* MENU HERO */
.menu-hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%), url('../images/2.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 10rem 2rem 6rem;
  text-align: center;
  margin-top: 80px;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.8));
}

.menu-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.menu-hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 300;
  max-width: 600px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* MENU CONTAINER */
.menu-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* MENU SECTION */
.menu-section {
  margin-bottom: 6rem;
  animation: fadeInUp 0.6s ease;
}

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

/* MENU HEADER */
.menu-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.menu-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: 2px;
}

.menu-subtitle {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.menu-description {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* MENU DIVIDER */
.menu-divider {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #D62828, transparent);
  margin: 2rem auto 0;
  border-radius: 2px;
}

/* MENU GRID - Premium Overlay Cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* MENU CARD - Overlay Style Design */
.menu-card {
  position: relative;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  group: menu-card;
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* Background Image */
.card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.menu-card:hover .card-bg-img {
  transform: scale(1.08);
}

/* Gradient Overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.2) 40%, 
    rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
  transition: var(--transition);
}

.menu-card:hover .card-overlay {
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.3) 40%, 
    rgba(0, 0, 0, 0.8) 100%);
}

/* Card Content - Positioned at bottom */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  color: white;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.menu-card:hover .card-tag {
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  letter-spacing: 0.5px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.8rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.menu-card:hover .card-desc {
  opacity: 1;
  transform: translateY(0);
}

.card-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.menu-card:hover .card-price {
  opacity: 1;
  transform: translateY(0);
}

/* MENU ITEMS LIST */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem 3rem;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.menu-items-two-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  gap: 1.5rem;
}

.menu-item:hover {
  transform: translateX(8px);
}

.menu-item:hover .item-name {
  color: var(--primary);
}

.menu-item:last-child {
  border-bottom: none;
}

.item-name {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  flex: 1;
  transition: color 0.3s ease;
  text-align: left;
}

.item-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* MENU CTA SECTION */
.menu-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #b01f1f 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin: 5rem auto;
  border-radius: 16px;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.menu-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.menu-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

.menu-cta .btn {
  background: white;
  color: var(--primary);
  padding: 1rem 3rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.menu-cta .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* FOOTER */
footer {
  background: var(--text);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-section p,
.footer-section ul {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .menu-container {
    padding: 3.5rem 1.5rem;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }

  .menu-card {
    height: 380px;
  }

  .card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .menu-hero {
    padding: 6rem 1.5rem 4rem;
    margin-top: 60px;
  }

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

  .menu-container {
    padding: 2.5rem 1.25rem;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .menu-card {
    height: 340px;
  }

  .card-content {
    padding: 2rem 1.5rem;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-tag {
    font-size: 0.65rem;
  }

  .card-desc {
    font-size: 0.85rem;
  }

  .card-price {
    font-size: 1.3rem;
  }

  .menu-section {
    margin-bottom: 4rem;
  }

  .menu-header {
    margin-bottom: 2.5rem;
  }

  .menu-items {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
  }

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

  .menu-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .item-name {
    font-size: 0.95rem;
  }

  .item-price {
    text-align: left;
  }

  .menu-cta {
    padding: 3.5rem 1.5rem;
    margin: 3rem 1rem;
  }

  .menu-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .menu-hero {
    padding: 5rem 1rem 3rem;
    min-height: 30vh;
  }

  .menu-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

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

  .menu-title {
    font-size: 1.5rem;
  }

  .menu-subtitle {
    font-size: 1rem;
  }

  .menu-description {
    font-size: 0.9rem;
  }

  .menu-container {
    padding: 1.5rem 1rem;
  }

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

  .menu-card {
    height: 300px;
  }

  .card-content {
    padding: 1.5rem 1rem;
  }

  .card-tag {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .card-desc {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .card-price {
    font-size: 1.1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section p {
    font-size: 0.85rem;
  }

  .menu-cta {
    padding: 2.5rem 1rem;
    margin: 2rem 0;
  }

  .menu-cta h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .menu-cta .btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }
}
