/* ========================================
   MENU SECTION STYLES
   ======================================== */

.menu {
  background: var(--black);
}

.menu-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
}

.menu-card {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--gray) 100%);
  padding: 40px;
  border-radius: 25px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(212, 175, 55, 0.05),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.menu-card:hover::before {
  transform: translateX(100%);
}

.menu-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.4);
}

.menu-card-image {
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.menu-card:nth-child(1) .menu-card-image {
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80");
}

.menu-card:nth-child(2) .menu-card-image {
  background-image: url("https://images.unsplash.com/photo-1547595628-c61a29f496f0?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80");
}

.menu-card:nth-child(3) .menu-card-image {
  background-image: url("https://images.unsplash.com/photo-1546567379-1af2e0d527e8?q=80&w=1942&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.menu-card:hover .menu-card-image {
  transform: scale(1.05);
}

.menu-card h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
  text-align: left;
}

.menu-card p {
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
  color: #cbcbcb;
}

/* Menu Card Special Effects */
.menu-card:nth-child(1) {
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    var(--dark-gray) 100%
  );
}

.menu-card:nth-child(2) {
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    var(--dark-gold) 100%
  );
}

.menu-card:nth-child(3) {
  background: linear-gradient(
    135deg,
    var(--dark-gray) 0%,
    var(--dark-gray) 100%
  );
}

/* ========================================
   MOBILE MENU STYLES
   ======================================== */

/* Menu Toggle Button - Initially hidden */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 9999;
  position: relative;
  width: 30px;
  height: 30px;
  justify-content: space-between;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 2px;
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay - Initially hidden */
.nav-links.mobile-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(35, 35, 35, 0.98) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.9);
}

.nav-links.mobile-active.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* Mobile Menu Items */
.nav-links.mobile-active li {
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links.mobile-active.show li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation */
.nav-links.mobile-active.show li:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-links.mobile-active.show li:nth-child(2) {
  transition-delay: 0.2s;
}
.nav-links.mobile-active.show li:nth-child(3) {
  transition-delay: 0.3s;
}
.nav-links.mobile-active.show li:nth-child(4) {
  transition-delay: 0.4s;
}
.nav-links.mobile-active.show li:nth-child(5) {
  transition-delay: 0.5s;
}
.nav-links.mobile-active.show li:nth-child(6) {
  transition-delay: 0.6s;
}

.nav-links.mobile-active a {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  padding: 20px 40px;
  margin: 10px 0;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-width: 250px;
  border: 1px solid transparent;
}

.nav-links.mobile-active a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-links.mobile-active a:hover::before {
  left: 100%;
}

.nav-links.mobile-active a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.nav-links.mobile-active a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Menu Background Animation */
.nav-links.mobile-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.8s ease;
  animation: pulse 4s ease-in-out infinite;
}

.nav-links.mobile-active.show::before {
  transform: translate(-50%, -50%) scale(3);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Logo in mobile menu */
.mobile-menu-logo {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease 0.7s;
}

.nav-links.mobile-active.show .mobile-menu-logo {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-logo img {
  height: 60px;
  filter: brightness(0.8);
}

/* Prevent body scroll when menu is open */
.body-no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Menu Responsive */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-card {
    min-height: 350px;
    padding: 35px;
  }

  .menu-card-image {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
  }

  .menu-card h3 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 15px;
  }

  .menu-card p {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Show mobile menu toggle */
  .menu-toggle {
    display: flex;
  }

  /* Hide desktop navigation */
  nav .nav-links:not(.mobile-active) {
    display: none;
  }
}

@media (max-width: 480px) {
  .menu-card {
    padding: 30px 25px;
    min-height: 320px;
    border-radius: 20px;
  }

  .menu-card-image {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 12px;
  }

  .menu-card h3 {
    font-size: 1.5rem;
  }

  .menu-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .nav-links.mobile-active a {
    font-size: 2rem;
    padding: 15px 30px;
    min-width: 200px;
  }

  .mobile-menu-logo {
    bottom: 30px;
  }

  .mobile-menu-logo img {
    height: 50px;
  }
}
