/* Menu Page Specific Styles */
.navbar {
  position: relative !important;
}
/* Page Header */
.page-header {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
    url("../images/menu-header-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 150px 0 80px;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.breadcrumb a {
  color: #f7a608;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  opacity: 0.7;
}
.categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #f7a608, #e6940a);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}
/* Menu Categories */
.menu-categories {
  padding: 3rem 0;
}

.menu-category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  width: 100%;
}

.menu-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(247, 166, 8, 0.9),
    rgba(230, 148, 10, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-category-card:hover .category-overlay {
  opacity: 1;
}

.menu-category-card:hover .category-info {
  transform: translateY(0);
}

.menu-category-card:hover .category-title {
  opacity: 0;
}

/* Category title always visible */
.category-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  font-family: var(--font-bebas);
  z-index: 0;
}

.category-title h3 {
  font-size: 50px;
  font-weight: 600;
  margin: 0;
  color: white;
  text-shadow: 1px 1px 1px black;
}
.category-title .cta-line {
  border-top: 1px solid;
  border-color: white;
  margin: 1rem 0 0;
}

.category-info {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.menu-category-card:hover .category-info {
  transform: translateY(0);
}

.category-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.category-info p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0.9;
  line-height: 1.5;
}

.category-btn {
  background: white;
  color: #f7a608;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.category-btn:hover {
  background: #2c3e50;
  color: white;
  transform: translateY(-2px);
}

/* Popular Items */
.popular-items {
  padding: 5rem 0;
  background: #f8f9fa;
}

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

.popular-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.popular-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.item-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.popular-item:hover .item-image img {
  transform: scale(1.05);
}

.item-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f7a608;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.item-content {
  padding: 1.5rem;
}

.item-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.item-content p {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.item-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7a608;
  margin-bottom: 1rem;
}

.item-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.item-link:hover {
  color: #f7a608;
  gap: 1rem;
}

.item-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.item-link:hover::after {
  transform: translateX(5px);
}

/* Menu Features */
.menu-features {
  padding: 5rem 0;
  background: white;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #f8f9fa;
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #f7a608, #e6940a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* Menu CTA */
.menu-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .menu-category-card {
    height: 250px;
  }

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

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .menu-category-card {
    height: 300px;
  }

  .category-title h3 {
    font-size: 40px;
  }

  .category-info h3 {
    font-size: 1.5rem;
  }

  .item-content {
    padding: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading States */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
