/* Menu Page Styles */

/* Menu Hero Section */
.menu-hero {
  background: linear-gradient(135deg, rgba(209,165,91,0.08) 0%, rgba(127,85,57,0.06) 100%);
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 6vw, 6rem);
  margin-top: 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.menu-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(209,165,91,0.03) 0%, transparent 80%);
  pointer-events: none;
}

.menu-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(209,165,91,0.2) 20%,
    rgba(209,165,91,0.2) 80%,
    transparent 100%);
}

.menu-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.menu-hero h1 {
  margin-bottom: 1.5rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.menu-hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Venues Selection */
.venues-selection {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--bg-alt);
  position: relative;
}

.venues-selection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(209,165,91,0.15) 20%,
    rgba(209,165,91,0.15) 80%,
    transparent 100%);
}

.venues-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.venues-header h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.venues-header p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.venue-card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(209,165,91,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}

.venue-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(209,165,91,0.2);
  border-color: var(--primary);
}

.venue-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(209,165,91,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.venue-card:hover::before {
  opacity: 1;
}

.venue-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.venue-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.venue-card:hover .venue-image img {
  transform: scale(1.1);
}

.venue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(209,165,91,0.3) 0%, rgba(127,85,57,0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.venue-card:hover .venue-overlay {
  opacity: 1;
  background: linear-gradient(135deg, rgba(209,165,91,0.4) 0%, rgba(127,85,57,0.4) 100%);
}

.venue-overlay svg {
  color: white;
  background: rgba(0,0,0,0.8);
  padding: 1.5rem;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.4s ease;
  transform: scale(0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.venue-card:hover .venue-overlay svg {
  transform: scale(1);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Legacy support for old venue-icon class */
.venue-icon {
  font-size: 3rem;
  background: rgba(0,0,0,0.7);
  color: var(--primary);
  padding: 1rem;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.venue-content {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--card);
  transition: all 0.3s ease;
  border-radius: 0 0 24px 24px;
}

.venue-content h3 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.venue-card:hover .venue-content h3 {
  color: var(--primary-600);
  transform: translateY(-2px);
}

.venue-content p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 400;
  transition: color 0.3s ease;
}

.venue-card:hover .venue-content p {
  color: var(--text);
}

.venue-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.venue-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.venue-card:hover .venue-btn::before {
  left: 100%;
}

/* Menu Display Section */
.menu-display {
  padding: clamp(4rem, 6vw, 6rem) 0;
  background: var(--bg);
  min-height: 80vh;
}

.menu-display-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(209,165,91,0.2);
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.back-btn:hover {
  background: var(--primary);
  color: var(--bg);
}

.current-venue-info h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.current-venue-info p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Menu Sections */
.menu-section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.menu-section.alt {
  background: var(--bg-alt);
}

.menu-header {
  text-align: center;
  margin-bottom: 2rem;
}

.menu-header h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.menu-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.menu-category {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(209,165,91,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-category h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  border-bottom: 2px solid rgba(209,165,91,0.2);
  padding-bottom: 0.5rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.menu-item-header h4 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Special styling for multi-language menu items */
.menu-item-header h4:contains('/') {
  font-size: 1rem;
  line-height: 1.5;
}

/* Pizza menu specific styling */
.menu-category h3:contains('პიცა') + .menu-items .menu-item-header h4 {
  font-size: 0.95rem;
  line-height: 1.6;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.description {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Pre-order Menus */
.preorder-menus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.preorder-menu-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(209,165,91,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preorder-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.menu-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  padding: 1.5rem;
  text-align: center;
  color: var(--bg);
}

.menu-card-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.per-person {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.menu-card-content h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.menu-list li {
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  padding-left: 1.5rem;
}

.menu-list li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

/* Menu CTA */
.menu-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  padding: clamp(5rem, 8vw, 7rem) 0;
  text-align: center;
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.menu-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--bg);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn {
  min-width: 220px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.cta-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 3vw, 2.5rem);
  }

  .venues-selection {
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .venues-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .venue-card {
    margin: 0 1rem;
    border-radius: 20px;
  }

  .venue-image {
    height: 220px;
  }

  .venue-content {
    padding: 2rem 1.5rem;
    border-radius: 0 0 20px 20px;
  }

  .venue-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .venue-content p {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .menu-display-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .back-btn {
    align-self: flex-start;
  }

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

  .menu-category {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .preorder-menus {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .menu-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 2vw, 2rem);
  }
  
  .menu-section {
    padding: clamp(2rem, 3vw, 2.5rem) 0;
  }
  
  .menu-category {
    padding: 1rem;
  }
  
  .menu-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .price {
    align-self: flex-end;
  }
  
  /* Mobile adjustments for multi-language menu items */
  .menu-item-header h4 {
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
  }
}

/* Smooth scrolling for menu navigation */
html {
  scroll-behavior: smooth;
}

/* Animation for menu items */
.menu-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }

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

/* Pre-order menu cards animation */
.preorder-menu-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.preorder-menu-card:nth-child(1) { animation-delay: 0.1s; }
.preorder-menu-card:nth-child(2) { animation-delay: 0.2s; }
.preorder-menu-card:nth-child(3) { animation-delay: 0.3s; }
.preorder-menu-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for menu items */
.menu-item:hover {
  background: rgba(209,165,91,0.05);
  border-radius: 8px;
  padding: 1rem;
  margin: 0 -1rem;
}

/* Active menu navigation indicator */
.menu-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Loading animation for menu sections */
.menu-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.menu-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Venue cards animation */
.venue-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.venue-card:nth-child(1) { animation-delay: 0.1s; }
.venue-card:nth-child(2) { animation-delay: 0.2s; }
.venue-card:nth-child(3) { animation-delay: 0.3s; }
.venue-card:nth-child(4) { animation-delay: 0.4s; }

/* Menu display animation */
.menu-display {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
