.menu-tabs-section {
  background-color: #004aad;
  padding: 60px 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.menu-tabs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.section-title-tabs-section {
  font-family: 'Ultra', serif;
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 30px 0 50px 0;
}

/* Custom Tab Styling */
.nav-tabs {
  border: none;
  justify-content: center;
  margin-bottom: 30px;
}

.nav-tabs .nav-link {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  margin: 0 10px;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.9);
  color: #357abd;
  border-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Menu Item Styling - Circular Layout */
.menu-items-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 20px;
}

.menu-item {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
}

.menu-item:hover {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.menu-item-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-item-name {
  color: #ffc400;
  font-family: 'Ultra', serif;
  font-size: 12px;
  margin-top: 10px;
  text-transform: capitalize;
}

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

/* Flipping Animation */
.menu-item.flip-in {
  animation: flipIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item.flip-out {
  animation: flipOut 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flipIn {
  0% {
    transform: rotateY(-90deg) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: rotateY(-45deg) scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes flipOut {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotateY(90deg) scale(0.8);
    opacity: 0;
  }
}

/* Staggered animation delays */
.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;
}
.menu-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Tab Content Animation */
.tab-pane {
  animation: fadeInUp 0.5s ease-out;
}

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

/* Auto-switch indicator */
.tab-indicator {
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  background: #357abd;
  transition: width 0.1s linear;
  border-radius: 2px;
}

.nav-link {
  position: relative;
  overflow: hidden;
}

/* Order Button */
.order-btn {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(45deg, #f7931e, #ff6b35);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .menu-item {
    width: 120px;
    height: 120px;
  }

  .menu-items-container {
    gap: 15px;
    padding: 30px 15px;
  }

  .nav-tabs .nav-link {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .menu-tabs-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

.section-title-tabs-section {
  font-size: 2rem;
  font-weight: 100;
  margin: 30px 0 50px 0;
}

  .menu-item {
    width: 100px;
    height: 100px;
  }

  .menu-items-container {
    gap: 10px;
    padding: 20px 10px;
  }
}
