/* Category Page Styles */
.navbar {
  position: relative !important;
}
/* Category Header */
.category-header {
  background: linear-gradient(135deg, #f7a608 0%, #e6940a 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  z-index: 1;
}

.category-header .container {
  position: relative;
  z-index: 2;
}

.category-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-header p {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #666;
  background-color: transparent;
  border: 1px solid #666;
}

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

.breadcrumb a:hover {
  color: #f7a608;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

/* Category Menu */
.category-menu {
  padding: 40px 0 80px;
}

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

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

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

.item-image {
  position: relative;
  /* height: 250px; */
  overflow: hidden;
}

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

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

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 166, 8, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-item:hover .item-overlay {
  opacity: 1;
}

.view-details {
  background: white;
  color: #f7a608;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.menu-item:hover .view-details {
  transform: translateY(0);
}

.view-details:hover {
  background: #e6940a;
  color: white;
  transform: translateY(-2px);
}

.item-content {
  padding: 1.5rem;
}

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

.item-header h2,
.item-header h3,
.item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c1810;
  margin: 0;
  flex: 1;
  line-height: 1.25;
}

.item-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #7a1b0c;
  margin-left: 1rem;
}

.item-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.item-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: #f0f0f0;
  color: #666;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.feature-tag:first-child {
  background: #d4af37;
  color: white;
}

.item-actions {
  display: flex;
  gap: 1rem;
}

.add-to-cart {
  background: #d4af37;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart:hover {
  background: #b8941f;
  transform: translateY(-2px);
}

/* Category Info */
.category-info {
  padding: 80px 0;
  background: white;
}

.info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.info-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c1810;
  margin-bottom: 1.5rem;
}

.info-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.info-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.info-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.info-feature i {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 0.5rem;
}

.info-feature span {
  font-weight: 600;
  color: #2c1810;
}

.info-image {
  position: relative;
}

.info-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

  /* Category Menu */
  .category-menu {
    padding: 0;
  }
  .category-header h1 {
    font-size: 2.5rem;
  }

  .category-header p {
    font-size: 1rem;
  }

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

  .menu-item {
    margin: 0 1rem;
  }
  .item-header {
    margin-bottom: 0;
  }

  .item-header h2,
  .item-header h3,
  .item-title {
    flex: none;
  }

  .item-price {
    margin-left: 0;
    margin-bottom: 0;
  }

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

  .info-text h2 {
    font-size: 2rem;
  }

  .info-features {
    justify-content: space-around;
    gap: 1rem;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }
  .faq-section {
    padding: 50px 0;
  }
  .faq-question {
    padding: 20px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }
}

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

  .menu-item {
    margin: 0 0.5rem;
  }

  .item-content {
    padding: 1rem;
  }

  .info-features {
    flex-direction: column;
    gap: 1.5rem;
  }

  .info-feature {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .info-feature i {
    margin-bottom: 0;
    margin-right: 1rem;
  }
}

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

.fade-in.delay-1 {
  animation-delay: 0.1s;
}
.fade-in.delay-2 {
  animation-delay: 0.2s;
}
.fade-in.delay-3 {
  animation-delay: 0.3s;
}

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

/* Loading States */
.menu-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.menu-item.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
