/* Menu Section Specific Styles */
.menu {
  overflow: hidden;
  cursor: grab;
  width: 100%;
  position: relative;
  z-index: 1;
  height: 40vh;
  background: #ffffff;
  margin: 0;
  padding: 4rem 0;
}

.menu.is-dragging {
  cursor: grabbing;
}

.menu--wrapper {
  counter-reset: count;
  display: flex;
  position: absolute;
  z-index: 1;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 2rem;
}

.menu--item {
  counter-increment: count;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 30vw;
  height: 100%;
  padding: 0 1.5vw;
  overflow: hidden;
}

/* Removed the numbers display */
/* .menu--item:nth-child(n+10):before {
  content: counter(count);
} */

.menu--item figure {
  position: absolute;
  z-index: 1;
  display: block;
  user-select: none;
  -webkit-appearance: none;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform-origin: center;
}

.menu--item figure img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  transform-origin: center;
}

/* Removed the numbers display */
/* .menu--item figure:before {
  position: absolute;
  z-index: 2;
  bottom: 1vw;
  left: 1vw;
  display: inline-block;
  content: "0" counter(count);
  color: #ffffff;
  font-size: 3vw;
  font-family: 'Playfair Display', cursive;
} */

.version {
  display: inline-block;
  position: fixed;
  text-align: center;
  z-index: 1;
  text-decoration: none;
  background: #333;
  font-family: sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2);
  top: -30px;
  right: -50px;
  bottom: auto;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  border-radius: 0;
  padding: 8px 30px;
  font-size: 11px;
}

.version:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100px;
  bottom: 0;
  right: 0%;
  background: transparent;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .menu {
    height: 27vh !important;
    min-height: unset !important;
    margin-bottom: 0 !important;
  }
  .menu--wrapper {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .menu--item {
    position: static !important;
    width: 70vw !important;
    min-width: 180px !important;
    max-width: 240px !important;
    height: auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }
  .menu--item figure {
    position: relative !important;
    height: 48vw !important;
    min-height: 180px !important;
    max-height: 220px !important;
    display: block !important;
  }
  .menu--item figure img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .version {
    transform: scale(.6) rotate(45deg);
    right: -100px;
  }
  .menu-text-overlay {
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.82) 0%, rgba(59, 130, 246, 0.78) 100%);
    padding: 0.45rem 0.75rem;
    border-radius: 0 0 8px 8px;
    z-index: 2;
  }
} 

/* Menu Text Overlays */
.menu--item figure {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.menu--item figure:hover {
  transform: scale(1.02);
}

.menu-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%);
  color: white;
  padding: 1rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(5px);
  z-index: 2;
}

.menu-text-overlay h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-text-overlay p {
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive menu text */
@media (max-width: 768px) {
  .menu-text-overlay {
    padding: 0.75rem 1rem;
  }
  
  .menu-text-overlay h3 {
    font-size: 1rem;
  }
  
  .menu-text-overlay p {
    font-size: 0.8rem;
  }
} 

@media (max-width: 767px) {
  .menu-text-overlay {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.65) 0%, rgba(59, 130, 246, 0.6) 100%);
    padding: 0.35rem 0.75rem;
    border-radius: 0 0 8px 8px;
  }
  .menu-text-overlay h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.15rem 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  }
  .menu-text-overlay p {
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  }
} 