/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Event Card Rotation Classes with higher specificity */
.event-card.event-card-rotate-1 {
  transform: rotate(0.8deg) !important;
  transition: transform 0.3s ease;
}

.event-card.event-card-rotate-2 {
  transform: rotate(-0.6deg) !important;
  transition: transform 0.3s ease;
}

.event-card.event-card-rotate-3 {
  transform: rotate(0.3deg) !important;
  transition: transform 0.3s ease;
}

.event-card.event-card-rotate-1:hover,
.event-card.event-card-rotate-2:hover,
.event-card.event-card-rotate-3:hover {
  transform: rotate(0deg) scale(1.02) translateY(-3px) !important;
  z-index: 10;
}

:root {
  --primary-blue: #1e40af;
  --electric-blue: #3b82f6;
  --vibrant-red: #dc2626;
  --bright-red: #ef4444;
  --pure-white: #ffffff;
  --light-gray: #f8fafc;
  --dark-gray: #1f2937;
  --text-dark: #111827;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
  --border-radius-sm: 12px;
  
  /* Formiga Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-bold: 700;
  --font-black: 900;
}

body {
  font-family: "formiga", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: #e30613;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: url('../../new_index_land/numbers-pattern.png') no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 800px;
}



.scrolling-text {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.scrolling-content {
  display: inline-block;
  animation: scroll-horizontal 12s linear infinite;
  white-space: nowrap;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-33.33%);
  }
}



.banner-phrase {
  height: 3.5rem;
  margin: 0 1.5rem;
  object-fit: contain;
  display: inline-block;
}

.scrolling-content .banner-phrase:not(:first-child) {
  margin-left: 0;
}

/* Zigzag Borders */
.zigzag-border {
  height: 160px;
  background-image: url('../../new_index_land/triangles.png');
  background-repeat: no-repeat;
  background-size: 200% auto;
  background-position: center;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  margin: -40px 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.zigzag-bottom {
  transform: rotate(180deg);
}





/* Hero Content - Base Layout */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  text-align: center;
  min-height: 60vh;
}

/* Logo */
.logo {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}

.logo-image {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

/* Main Text */
.main-text {
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.cta-text {
  max-width: 600px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(220, 38, 38, 0.3));
}

/* Burger Container */
.burger-container {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger-img {
  width: 32rem;
  height: 23rem;
  object-fit: contain;
  animation: pulse 3s infinite;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Arrows */
.arrows-container {
  margin-bottom: 0.5rem;
  margin-top: -6vh;
}

.arrows {
  width: 22rem;
  height: 11rem;
  object-fit: contain;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}



.footer-content {
  text-align: center;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transform: rotate(180deg);
}

.footer-text {
  height: 3.5rem;
  object-fit: contain;
}

/* Hero Layout Containers - Base */
.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}



.logo-image.small {
  width: 80px;
  height: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 1rem 0.5rem;
}

.logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: var(--font-bold);
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-line {
  display: block;
  line-height: 0.9;
}

.title-line.highlight {
  color: var(--bright-red);
  text-shadow:
    -2px -2px 0 var(--pure-white),
    2px -2px 0 var(--pure-white),
    -2px 2px 0 var(--pure-white),
    2px 2px 0 var(--pure-white),
    4px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--pure-white);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  z-index: 1;
}

.burger-img {
  width: 100%;
  height: 100%;

}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--light-gray);
  clip-path: polygon(0 50%, 100% 80%, 100% 100%, 0% 100%);
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.icon {
  font-size: 2.5rem;
}

/* Location Section */
.location-section {
  padding: 1rem 0;
  background: #e30613;
}

.location-card {
  background: var(--pure-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  position: relative;
}

.session-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.session-badge.lunch {
  background: #fef3c7;
  color: #92400e;
}

.session-badge.dinner {
  background: #e0e7ff;
  color: #3730a3;
}

.session-badge.general {
  background: #d1fae5;
  color: #065f46;
}

.session-badge.special {
  background: #fce7f3;
  color: #be185d;
}

.location-card.active {
  border-color: var(--electric-blue);
  background: linear-gradient(135deg, var(--pure-white) 0%, #f0f9ff 100%);
}

.location-card.inactive {
  text-align: center;
  padding: 2rem 2rem;
  background: linear-gradient(135deg, var(--pure-white) 0%, #fef2f2 100%);
  border: 3px solid #fecaca;
  position: relative;
  overflow: hidden;
}




.location-card.inactive .no-location {
  position: relative;
  z-index: 2;
}

.location-card.inactive .no-location-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}



.location-card.inactive h3 {
  font-size: 1.6rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-card.inactive p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
  font-weight: var(--font-regular);
}







/* Responsive adjustments for inactive card */
@media (max-width: 768px) {
  .location-card.inactive {
    padding: 2rem 1.5rem;
  }
  
  .location-card.inactive .no-location-icon {
    font-size: 3rem;
  }
  
  .location-card.inactive h3 {
    font-size: 1.5rem;
  }
  
  .location-card.inactive p {
    font-size: 1rem;
  }
}






.location-card.upcoming {
  border-color: #fbbf24;
  background: linear-gradient(135deg, var(--pure-white) 0%, #fffbeb 100%);
  opacity: 0.9;
  text-align: center;
}

/* Specific styles for upcoming cards on index page */
.location-card.upcoming.index-location-card {
  text-align: center;
}

.location-card.upcoming.index-location-card .location-info {
  text-align: center;
}

.location-card.upcoming.index-location-card .location-address {
  text-align: left;
}

.location-card.upcoming.index-location-card .location-time {
  justify-content: center !important;
}

/* Different rotations for multiple upcoming cards */
.location-card.upcoming.index-location-card:nth-child(1) {
  transform: rotate(0.8deg);
}

.location-card.upcoming.index-location-card:nth-child(2) {
  transform: rotate(-0.6deg);
}

.location-card.upcoming.index-location-card:nth-child(3) {
  transform: rotate(0.3deg);
}

.location-card.upcoming.index-location-card:nth-child(4) {
  transform: rotate(-0.9deg);
}

.location-card.upcoming.index-location-card:nth-child(5) {
  transform: rotate(0.5deg);
}

.location-card.upcoming.index-location-card:nth-child(6) {
  transform: rotate(-0.7deg);
}

/* Hide time-text for upcoming cards since it's redundant */
.location-card.upcoming.index-location-card .time-text {
  display: none !important;
}

/* Style notes for upcoming cards - left aligned between title and time */
.location-card.upcoming.index-location-card .location-notes {
  text-align: left !important;
  margin: 0rem 0rem 1rem 0rem !important;
  padding: 0 !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}



.upcoming-sessions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--light-gray);
}

/* Future Days Navigation */
.future-days-navigation {
  margin-top: 3rem !important;
  padding-top: 3rem !important;
  border-top: 3px solid rgba(255, 255, 255, 0.3) !important;
  position: relative !important;
}

.future-days-navigation::before {
  content: '📅';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.future-days-navigation h3 {
  font-size: 1.8rem !important;
  font-weight: var(--font-black) !important;
  color: var(--pure-white) !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  transform: rotate(-1deg) !important;
}

.future-days-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--vibrant-red) transparent;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  
  /* Desktop scroll with mouse */
  cursor: grab;
  user-select: none;
}

.future-days-container:active {
  cursor: grabbing;
}

.future-days-container::-webkit-scrollbar {
  height: 8px;
}

.future-days-container::-webkit-scrollbar-track {
  background: transparent;
}

.future-days-container::-webkit-scrollbar-thumb {
  background: var(--vibrant-red);
  border-radius: 4px;
}

.future-days-container::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Scroll indicators - show when there's more content */
.future-days-container {
  --show-left-indicator: 1;
  --show-right-indicator: 1;
}

/* Help text for desktop users */


.future-day-card {
  width: 200px;
  min-width: 200px;
  background: linear-gradient(135deg, var(--pure-white) 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Different rotations for each card */
.future-day-card:nth-child(1) { transform: rotate(0.8deg); }
.future-day-card:nth-child(2) { transform: rotate(-0.6deg); }
.future-day-card:nth-child(3) { transform: rotate(0.3deg); }
.future-day-card:nth-child(4) { transform: rotate(-0.9deg); }
.future-day-card:nth-child(5) { transform: rotate(0.5deg); }
.future-day-card:nth-child(6) { transform: rotate(-0.7deg); }
.future-day-card:nth-child(7) { transform: rotate(0.2deg); }
.future-day-card:nth-child(8) { transform: rotate(-0.4deg); }
.future-day-card:nth-child(9) { transform: rotate(0.6deg); }
.future-day-card:nth-child(10) { transform: rotate(-0.8deg); }
.future-day-card:nth-child(11) { transform: rotate(0.1deg); }
.future-day-card:nth-child(12) { transform: rotate(-0.5deg); }
.future-day-card:nth-child(13) { transform: rotate(0.7deg); }
.future-day-card:nth-child(14) { transform: rotate(-0.3deg); }

.future-day-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--vibrant-red);
  z-index: 2;
}

/* Add subtle animation to show cards are scrollable */
.future-day-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.future-day-card:hover {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.future-day-card.selected-day {
  border-color: var(--vibrant-red) !important;
  box-shadow: 
    0 8px 25px rgba(220, 38, 38, 0.3),
    0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

.future-day-card.selected-day::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  animation: selectedCardGlow 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes selectedCardGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* Maintain rotations for selected cards */
.future-day-card:nth-child(1).selected-day { transform: rotate(0.8deg) scale(1.02) !important; }
.future-day-card:nth-child(2).selected-day { transform: rotate(-0.6deg) scale(1.02) !important; }
.future-day-card:nth-child(3).selected-day { transform: rotate(0.3deg) scale(1.02) !important; }
.future-day-card:nth-child(4).selected-day { transform: rotate(-0.9deg) scale(1.02) !important; }
.future-day-card:nth-child(5).selected-day { transform: rotate(0.5deg) scale(1.02) !important; }
.future-day-card:nth-child(6).selected-day { transform: rotate(-0.7deg) scale(1.02) !important; }
.future-day-card:nth-child(7).selected-day { transform: rotate(0.2deg) scale(1.02) !important; }
.future-day-card:nth-child(8).selected-day { transform: rotate(-0.4deg) scale(1.02) !important; }
.future-day-card:nth-child(9).selected-day { transform: rotate(0.6deg) scale(1.02) !important; }
.future-day-card:nth-child(10).selected-day { transform: rotate(-0.8deg) scale(1.02) !important; }
.future-day-card:nth-child(11).selected-day { transform: rotate(0.1deg) scale(1.02) !important; }
.future-day-card:nth-child(12).selected-day { transform: rotate(-0.5deg) scale(1.02) !important; }
.future-day-card:nth-child(13).selected-day { transform: rotate(0.7deg) scale(1.02) !important; }
.future-day-card:nth-child(14).selected-day { transform: rotate(-0.3deg) scale(1.02) !important; }

.future-day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.future-day-date {
  font-size: 1.2rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.future-day-count {
  font-size: 0.8rem;
  color: #6b7280;
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: var(--font-medium);
}

.future-day-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.future-day-session {
  background: var(--vibrant-red);
  color: var(--pure-white);
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
}

.future-day-time {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: var(--font-medium);
}

/* Styling for days without events - same style but different colors */
.future-day-card.no-events {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: #cbd5e1;
  opacity: 0.8;
}

.future-day-card.no-events .future-day-name {
  color: #64748b;
}

.future-day-card.no-events .future-day-date {
  color: #64748b;
}

.future-day-card.no-events .future-day-count.no-events {
  background: #e2e8f0;
  color: #64748b;
}

.future-day-card.no-events .future-day-session.no-events {
  background: #94a3b8;
  color: #f8fafc;
}

.future-day-card.no-events .future-day-time.no-events {
  color: #64748b;
}

/* Hover effects for no-events cards */
.future-day-card.no-events:hover {
  transform: rotate(0.5deg) translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #94a3b8;
  opacity: 1;
}

/* Index-specific future days navigation */


.index-future-days-navigation::before {
  background: var(--pure-white) !important;
  color: var(--vibrant-red) !important;
  border: 2px solid var(--vibrant-red) !important;
}

.index-future-days-navigation h3 {
  color: var(--pure-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments for future days navigation */
@media (max-width: 768px) {
    .upcoming-sessions-header {
    flex-direction: column;
    text-align: center;
  }
  
  .future-days-navigation {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .future-days-container {
    gap: 0.75rem;
    padding: 0.25rem;
  }
  
  .future-day-card {
    width: 180px;
    min-width: 180px;
    padding: 0.75rem;
  }
  
  .future-day-date {
    font-size: 1.1rem;
  }
  
  .future-day-session {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
  
  .future-day-time {
    font-size: 0.8rem;
  }
  
  /* Maintain rotations on mobile */
  .future-day-card:nth-child(1) { transform: rotate(0.8deg); }
  .future-day-card:nth-child(2) { transform: rotate(-0.6deg); }
  .future-day-card:nth-child(3) { transform: rotate(0.3deg); }
  .future-day-card:nth-child(4) { transform: rotate(-0.9deg); }
  .future-day-card:nth-child(5) { transform: rotate(0.5deg); }
  .future-day-card:nth-child(6) { transform: rotate(-0.7deg); }
  .future-day-card:nth-child(7) { transform: rotate(0.2deg); }
  .future-day-card:nth-child(8) { transform: rotate(-0.4deg); }
  .future-day-card:nth-child(9) { transform: rotate(0.6deg); }
  .future-day-card:nth-child(10) { transform: rotate(-0.8deg); }
  .future-day-card:nth-child(11) { transform: rotate(0.1deg); }
  .future-day-card:nth-child(12) { transform: rotate(-0.5deg); }
  .future-day-card:nth-child(13) { transform: rotate(0.7deg); }
  .future-day-card:nth-child(14) { transform: rotate(-0.3deg); }
}

.upcoming-sessions h3 {
  font-size: 1.3rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.time-badge.upcoming {
  background: #fbbf24;
  color: #92400e;
}

.location-info h3 {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.location-time {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.time-badge {
  background: var(--vibrant-red);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
}

.location-notes {
  color: #6b7280;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Closing time emphasis */
.closing-time {
  font-weight: 700;
  font-style: normal; /* override italic from parent */
  display: inline-block;
  margin-top: 6px; /* small spacing from notes */
  transform: rotate(1deg); /* slight inclination */
}

.navigate-btn {
  background: linear-gradient(135deg, var(--vibrant-red) 0%, var(--bright-red) 100%);
  color: var(--pure-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-weight: var(--font-bold);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.navigate-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.navigate-btn.full-width {
  width: 100%;
  justify-content: center;
}

.nav-icon {
  font-size: 1.2rem;
}

.no-location {
  text-align: center;
}

.no-location-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.no-location h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: var(--font-bold);
}

.no-location p {
  color: #6b7280;
}



/* Menu Preview */
.menu-preview {
  padding: 4rem 0;
  background: var(--pure-white);
}

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

.menu-item {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-content h3 {
  font-size: 1.3rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.menu-item-content p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--vibrant-red);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
}

.contact-section .section-title {
  color: var(--pure-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--pure-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.contact-text {
  font-weight: var(--font-bold);
  font-size: 1.1rem;
}

/* Bottom Sheet */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pure-white);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 100; /* Reduced to stay below header */
  max-height: 80vh;
  overflow-y: auto;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  margin: 1rem auto;
}

.sheet-content {
  padding: 0 2rem 2rem;
}

/* Admin Styles */
.admin-body {
  background: var(--light-gray);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-card {
  background: var(--pure-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 400px;
  width: 100%;
}



.login-card h1 {
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-input {
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.admin-input:focus {
  outline: none;
  border-color: var(--electric-blue);
}

.admin-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-weight: var(--font-bold);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Disabled state */
.admin-btn:disabled,
.admin-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(10%);
}

.admin-btn.primary {
  background: var(--electric-blue);
  color: var(--pure-white);
}

.admin-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.admin-btn.full-width {
  width: 100%;
}

.admin-btn.secondary {
  background: #10b981;
  color: var(--pure-white);
}

.admin-btn.secondary:hover {
  background: #059669;
}

/* Delete button - keep original blue color */
.admin-btn.delete {
  background: var(--electric-blue);
  color: var(--pure-white);
}

.admin-btn.delete:hover {
  background: #2563eb;
}



.admin-header {
  background: var(--pure-white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: relative;
  z-index: 99999; /* Very high z-index to stay above everything */
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 99999; /* Very high z-index to stay above everything */
}



.admin-nav h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
}

.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.history-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: var(--font-regular);
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
}

.history-link:hover {
  background: var(--light-gray);
  color: var(--text-dark);
}



/* ========================================
   HISTORY PAGE STYLES
   ======================================== */

.history-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-black);
  color: var(--vibrant-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: var(--font-regular);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--pure-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.event-item:hover {
  border-color: var(--vibrant-red);
  box-shadow: var(--shadow);
}

.event-item.past {
  border-color: #9ca3af;
  background: #f9fafb;
}

.event-item.today {
  border-color: var(--vibrant-red);
  background: #fef2f2;
}

.event-item.future {
  border-color: #10b981;
  background: #f0fdf4;
}

.event-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.event-status {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
}

.event-status.past {
  background: #9ca3af;
  color: white;
}

.event-status.today {
  background: var(--vibrant-red);
  color: white;
}

.event-status.future {
  background: #10b981;
  color: white;
}

.event-details h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
  font-weight: var(--font-bold);
}

.event-details p {
  margin: 0.25rem 0;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 120px;
}

.event-archived {
  padding: 0.5rem;
  background: #9ca3af;
  color: white;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  text-align: center;
  font-weight: var(--font-medium);
}



.error-message {
  color: var(--vibrant-red);
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--border-radius);
}

.admin-nav h1 {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
}

.logout-btn {
  background: var(--vibrant-red);
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: var(--font-bold);
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: var(--bright-red);
}

.admin-content {
  padding: 1rem 0;
}

.admin-card {
  background: var(--pure-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.admin-card h2 {
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.update-position-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--light-gray);
}

.update-position-section h3 {
  font-size: 1.2rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.update-position-section p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.position-status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
}

.position-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.position-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

.position-status.loading {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
  display: block;
}

.location-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-weight: var(--font-bold);
  color: var(--text-dark);
}

.form-group small {
  color: #6b7280;
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-input[type="textarea"] {
  min-height: 100px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  position: relative;
}

input[type="checkbox"]:checked + .checkmark {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
}

input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--pure-white);
  font-weight: bold;
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-item {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-item.inactive {
  opacity: 0.6;
}

.location-details h3 {
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
}

.session-type-badge {
  display: inline-block;
  padding: 0.25rem 0.25rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.session-type-badge.lunch {
  background: #fef3c7;
  color: #92400e;
}

.session-type-badge.dinner {
  background: #e0e7ff;
  color: #3730a3;
}

.session-type-badge.general {
  background: #d1fae5;
  color: #065f46;
}

.session-type-badge.special {
  background: #fce7f3;
  color: #be185d;
}

.location-details p {
  color: #6b7280;
  font-size: 0.9rem;
}

.location-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  font-size: 1.1rem;
}

.loading {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ======================================== */

/* General Responsive Rules */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .location-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}



/* Base Mobile Styles (0px - 767px) */
/* All base styles are already defined above */

/* Small Mobile (0px - 479px) */
@media (max-width: 479px) {
  .hero-content {
    padding: 0.125rem;
    min-height: 40vh;
    gap: 0.5rem;
  }

  .logo-image {
    width: 90vw;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1;
  }

  .cta-text {
    width: 85vw;
    max-width: 320px;
    height: auto;
  }

  .burger-img {
    width: 80vw;
    max-width: 20rem;
    height: auto;
    aspect-ratio: 4/3;
  }

  .arrows {
    width: 70vw;
    max-width: 16rem;
    height: auto;
    aspect-ratio: 2/1;
  }

  .banner-phrase {
    height: 2.2rem;
    margin: 0 0.25rem;
  }

  .footer-text {
    height: 2.2rem;
  }

  .zigzag-border {
    background-size: 180% auto;
  }

  .scrolling-text {
    position: relative;
    z-index: 20;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  .arrows-container {
    margin-top: -6vh;
  }
}

/* Medium Mobile/Tablet (480px - 1023px) - Blocca dimensioni */
@media (min-width: 480px) and (max-width: 1023px) {
  .logo-image {
    width: auto;
    max-width: 120px;
    height: auto;
    aspect-ratio: 1;
  }

  .cta-text {
    width: auto;
    max-width: 320px;
    height: auto;
  }

  .burger-img {
    width: auto;
    max-width: 20rem;
    height: auto;
    aspect-ratio: 4/3;
  }

  .arrows {
    width: auto;
    max-width: 16rem;
    height: auto;
    aspect-ratio: 2/1;
  }

  .banner-phrase {
    height: 2.2rem;
    margin: 0 0.25rem;
  }

  .footer-text {
    height: 2.2rem;
  }

  .zigzag-border {
    background-size: 180% auto;
  }

  .scrolling-text {
    position: relative;
    z-index: 20;
  }

  .logo {
    margin-bottom: 0.5rem;
  }

  .arrows-container {
    margin-top: -6vh;
  }

  /* Zigzag come desktop per tablet grandi (630px+) */
  @media (min-width: 630px) {
    .zigzag-border {
      background-size: 120% auto;
      background-position: center bottom;
      height: 220px;
      margin: -110px 0;
    }

    .scrolling-text {
      margin-top: 74px;
    }

    .footer-content {
      margin-bottom: -20px;
    }

    .footer-text {
      margin-bottom: 130px;
      height: 3.5rem;
    }

    .banner-phrase {
      height: 3.5rem;
      margin: 0 1.5rem;
    }
  }
}

/* Small Mobile with Low Height - Hide Arrows */
@media (max-width: 479px) and (max-height: 500px) {
  .arrows-container {
    display: none !important;
  }
}

/* Small Mobile with Medium Height - Hide Arrows */
@media (max-width: 479px) and (max-height: 790px) {
  .arrows-container {
    display: none !important;
  }
}









/* Small Desktop and above (1024px+) */
@media (min-width: 1024px) {
  .hero-content {
    padding: 0.75rem 1.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    min-height: 65vh;
    max-width: 100%;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-main-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
    max-width: 100%;
  }

  .logo {
    margin-bottom: 0;
    max-width: 100%;
  }

  .arrows-container {
    display: none;
  }

  .logo-image {
    width: 160px;
    max-width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: -10vh;
  }

  .cta-text {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .burger-img {
    width: 28rem;
    max-width: 28rem;
    height: 21rem;
    object-fit: contain;
  }

  .banner-phrase {
    height: 3.5rem;
    margin: 0 1.5rem;
  }

  .footer-text {
    height: 3.5rem;
  }

  .zigzag-border {
    background-size: 120% auto;
    background-position: center bottom;
    height: 220px;
    margin: -80px 0;
  }

  .scrolling-text {
    margin-top: 51px;
  }

  .footer-content {
    margin-bottom: -20px;
  }

  .footer-text {
    margin-bottom: 75px;
    height: 3.5rem;
  }
}

/* Medium Desktop (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
  .hero-content {
    padding: 1rem 2rem;
    gap: 2.5rem;
    min-height: 70vh;
  }

  .logo-image {
    width: 200px;
    height: 200px;
    margin-bottom: -10vh;
  }

  .cta-text {
    max-width: 650px;
  }

  .burger-img {
    width: 35rem;
    height: 26.25rem;
  }

  .banner-phrase {
    height: 4.5rem;
    margin: 0 2.5rem;
  }

  .footer-text {
    height: 4.5rem;
  }

  .zigzag-border {
    height: 240px;
    margin: -90px 0;
  }

  .scrolling-text {
    margin-top: 60px;
  }

  .footer-text {
    margin-bottom: 90px;
  }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .hero-content {
    padding: 1.25rem 2.5rem;
    gap: 3rem;
    min-height: 75vh;
  }

  .logo-image {
    width: 240px;
    margin-bottom: -10vh;
  }

  .cta-text {
    max-width: 700px;
  }

  .burger-img {
    width: 45rem;
    height: 33.75rem;
    max-width: 33rem;
  }

  .banner-phrase {
    height: 4.5rem;
    margin: 0 2.5rem;
  }

  .footer-text {
    height: 4.5rem;
  }

  .zigzag-border {
    height: 260px;
    margin: -100px 0;
  }

  .scrolling-text {
    margin-top: 70px;
  }

  .footer-text {
    margin-bottom: 100px;
  }
}







/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 100vh;
  }

  .hero-content {
    min-height: 35vh;
    padding: 0.125rem;
    gap: 0.25rem;
  }

  .logo-image {
    width: 15vw;
    max-width: 80px;
    height: auto;
    aspect-ratio: 1;
  }

  .cta-text {
    width: 20vw;
    max-width: 300px;
    height: auto;
  }

  .burger-img {
    width: 25vw;
    max-width: 16rem;
    height: auto;
    aspect-ratio: 4/3;
  }

  .arrows {
    width: 20vw;
    max-width: 12rem;
    height: auto;
    aspect-ratio: 2/1;
  }

  .banner-phrase {
    height: 1.8rem;
    margin: 0 0.25rem;
  }

  .footer-text {
    height: 1.8rem;
  }

  .zigzag-border {
    height: 50px;
    background-size: 140% auto;
  }

  .scrolling-text,
  .footer-content {
    height: auto;
  }

  .logo {
    margin-bottom: 0.25rem;
  }

  .arrows-container {
    margin-top: 0.25rem;
    display: none !important;
  }

  .scrolling-text {
    position: relative;
    z-index: 20;
  }
}



/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-image,
  .burger-img,
  .arrows,
  .banner-phrase,
  .footer-text {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Very Low Height Screens */
@media (max-height: 400px) {
  .hero-content {
    min-height: 30vh;
    gap: 0.125rem;
  }

  .logo-image {
    width: 12vw;
    max-width: 70px;
    height: auto;
    aspect-ratio: 1;
  }

  .cta-text {
    width: 18vw;
    max-width: 250px;
    height: auto;
  }

  .burger-img {
    width: 22vw;
    max-width: 14rem;
    height: auto;
    aspect-ratio: 4/3;
  }

  .arrows {
    width: 18vw;
    max-width: 10rem;
    height: auto;
    aspect-ratio: 2/1;
  }

  .banner-phrase {
    height: 1.4rem;
    margin: 0 0.125rem;
  }

  .footer-text {
    height: 1.4rem;
  }

  .zigzag-border {
    background-size: 120% auto;
  }

  .logo {
    margin-bottom: 0.125rem;
  }

  .arrows-container {
    margin-top: 0.125rem;
    display: none !important;
  }

  .scrolling-text {
    position: relative;
    z-index: 20;
  }
}

/* Print Styles */
@media print {
  .hero {
    background: white !important;
    color: black !important;
  }

  .scrolling-text,
  .footer-content {
    display: none;
  }
}

/* ========================================
   TIME VALIDATION STYLES
   ======================================== */

.admin-input.invalid-time {
  border-color: #ef4444;
  background-color: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-warning {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: var(--font-regular);
}

.validation-warning.time-warning {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.validation-warning.session-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}

.validation-warning.auto-fill-notification {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  position: relative;
}

.notification-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: #065f46;
  font-size: 1.2rem;
  font-weight: var(--font-bold);
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.notification-close:hover {
  background: rgba(6, 95, 70, 0.1);
  color: #064e3b;
}

.notification-close:active {
  transform: scale(0.95);
}

/* ========================================
   ADMIN LOGO SPECIFIC STYLES
   ======================================== */

/* Admin Logo Container */
.admin-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  position: relative;
  overflow: visible;
}

/* Admin Logo Image */
.admin-logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  position: relative;
  display: block;
  transition: transform 0.3s ease;
}

.admin-logo-image:hover {
  transform: scale(1.05);
}

/* Admin Login Card Logo */
.login-card .admin-logo {
  margin-bottom: 2rem;
}

.login-card .admin-logo-image {
  width: 80px;
  height: 80px;
}

/* Admin Navigation Logo */
.admin-nav .admin-logo {
  margin: 0;
}

.admin-nav .admin-logo-image {
  width: 60px;
  height: 60px;
}

/* ========================================
   ADMIN LOCATIONS GROUPED BY DATE STYLES
   ======================================== */

/* Locations Header */
.locations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.locations-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  color: var(--text-dark);
}

.date-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.date-selector label {
  font-size: 0.9rem;
  font-weight: var(--font-medium);
  color: var(--text-dark);
  white-space: nowrap;
}

.date-selector input {
  min-width: 150px;
}

/* Date Navigation */
.date-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  background: var(--electric-blue);
  color: var(--pure-white);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  font-weight: var(--font-bold);
}

.nav-btn:hover {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.date-navigation .date-count {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: var(--font-medium);
  background: #f8fafc;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

/* Date Group Container */


/* Locations Container */
.locations-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Enhanced Location Item */
.location-item {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  background: var(--pure-white);
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-item:hover {
  border-color: var(--electric-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 200px;
}

.location-header > * {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.session-type-badge {
  background: linear-gradient(135deg, var(--electric-blue) 0%, #1d4ed8 100%);
  color: var(--pure-white);
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 32px;
  margin: 0;
}

.location-time {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: var(--font-medium);
  background: #f8fafc;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 32px;
  margin: 0;
}



.location-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.location-content h4 {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.location-notes {
  font-size: 0.8rem;
  color: #64748b;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  opacity: 0.9;
  font-style: italic;
}

.location-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.location-actions .admin-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  height: 44px; /* Force consistent height between buttons */
  line-height: 1; /* Avoid line-height affecting computed height */
  margin: 0;
}

.location-actions .admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Desktop badge width */
@media (min-width: 769px) {
  .session-type-badge {
    min-width: 100px;
    width: 100px;
  }
}

/* Add Location Page Styles */

/* Message Styles */
.message {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  font-weight: var(--font-medium);
}

.message-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.message-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .locations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .date-selector {
    width: 100%;
    justify-content: space-between;
  }
  
  .date-selector input {
    min-width: 120px;
  }
  
  .date-navigation {
    gap: 0.5rem;
  }
  
  .nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .date-navigation .date-count {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .location-item {
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    min-height: auto;
  }
  
  .location-header {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-width: auto;
    margin-bottom: 0.5rem;
  }
  
  .session-type-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    height: auto;
  }
  
  .location-time {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    height: auto;
  }
  
  .location-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .location-item p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
  
  .location-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .location-notes {
    margin-left: 0 !important;
  }
  
  .location-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }
  
  .location-actions .admin-btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  

}

/* ========================================
   INSIDE FOOD INDEX - DYNAMIC STYLE OVERRIDES
   ======================================== */

/* Dynamic Location Section for Index */
.index-location-section {
  position: relative;
  overflow: hidden;
}

/* Dynamic Location Cards for Index */
.index-location-card {
  background: linear-gradient(135deg, var(--pure-white) 0%, #f8fafc 100%) !important;
  border-radius: 25px !important;
  padding: 2.5rem !important;
  margin-bottom: 2.5rem !important;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Responsive margins for mobile */
@media (max-width: 768px) {
  .index-location-card {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .index-location-card {
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
  }
}

.index-location-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 25px;
  z-index: -1;
  animation: indexBorderGlow 3s ease-in-out infinite alternate;
}



.index-location-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}



/* Dynamic Session Badges for Index */
.index-session-badge {
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  padding: 0.5rem 1rem !important;
  border-radius: 25px !important;
  font-size: 0.9rem !important;
  font-weight: var(--font-black) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  transform: rotate(3deg) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  animation: indexBadgeFloat 2s ease-in-out infinite !important;
  z-index: 100 !important;
}

@keyframes indexBadgeFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-3px); }
}

.index-session-badge.lunch {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  color: #92400e !important;
  border: 2px solid #f59e0b !important;
}

.index-session-badge.dinner {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe) !important;
  color: #3730a3 !important;
  border: 2px solid #6366f1 !important;
}

.index-session-badge.general {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
  color: #065f46 !important;
  border: 2px solid #10b981 !important;
}

.index-session-badge.special {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8) !important;
  color: #be185d !important;
  border: 2px solid #ec4899 !important;
}

/* Dynamic Active Cards for Index */
.index-location-card.active {
  background: linear-gradient(135deg, var(--pure-white) 0%, #f0f9ff 50%, #e0f2fe 100%) !important;
  transform: rotate(-1deg) scale(1.02) !important;
}

.index-location-card.active::before {
  background: url(../../new_index_land/numbers-pattern.png) repeat;
}


/* Dynamic Upcoming Cards for Index */
.index-location-card.upcoming {
  background: linear-gradient(135deg, var(--pure-white) 0%, #fffbeb 50%, #fef3c7 100%) !important;
}

.index-location-card.upcoming::before {
  background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24, #f59e0b) !important;
}

/* Dynamic Upcoming Sessions for Index */
.index-upcoming-sessions {
  margin-top: 3rem !important;
  padding-top: 3rem !important;
  border-top: 3px solid rgba(255, 255, 255, 0.3) !important;
  position: relative !important;
}

.upcoming-sessions-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upcoming-sessions-header h3 {
  margin: 0;
}

.upcoming-sessions-content {
  position: relative;
  overflow: visible;
  width: 100%;
  height: auto;
}

/* Smooth scroll behavior for the entire page */
html {
  scroll-behavior: smooth;
}

/* Events Display Area - Notebook Style */
.events-display-area {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  border: 2px solid var(--electric-blue);
}

.events-header {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.events-header h3 {
  color: var(--primary-blue);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.5rem;
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
}

.events-header h3:hover {
  transform: rotate(-0.8deg) scale(1.02);
}

.events-header h4 {
  color: var(--primary-blue);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  text-align: center;
}

/* Notebook Card Style */
.notebook-card {
  background: var(--pure-white);
  border: 2px solid var(--electric-blue);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.notebook-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  right: 20px;
  height: 8px;
  background: var(--electric-blue);
  border-radius: 4px 4px 0 0;
}

.notebook-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-gray);
}

.notebook-icon {
  font-size: 1.5rem;
}

.notebook-title {
  font-weight: var(--font-bold);
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.notebook-content p {
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* Event Cards in Future Days Style */
.event-card {
  width: 100%;
  background: linear-gradient(135deg, var(--pure-white) 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--vibrant-red);
  z-index: 2;
}

/* Event card rotations are now handled by JavaScript classes */

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.event-type {
  background: var(--vibrant-red);
  color: var(--pure-white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: var(--font-bold);
}

.event-time {
  color: var(--vibrant-red);
  font-weight: var(--font-bold);
  font-size: 0.9rem;
}

.event-address {
  font-weight: var(--font-bold);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.event-notes {
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* No Day Selected State */
.no-day-selected {
  text-align: center;
  padding: 2rem;
}

.no-day-selected .notebook-card {
  max-width: 400px;
  margin: 0 auto;
}





.no-events-day {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  border: 2px solid #f59e0b !important;
  color: #92400e !important;
}

.no-events-day .session-badge.no-events {
  background: #f59e0b !important;
  color: #92400e !important;
}

/* Standardized no-events-today styling */
.no-events-today {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  border: 2px solid #f59e0b !important;
  color: #92400e !important;
}

.no-events-today .session-badge.no-events {
  background: #f59e0b !important;
  color: #92400e !important;
}

.index-upcoming-sessions::before {
  content: '⏰';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.index-upcoming-sessions h3 {
  font-size: 1.8rem !important;
  font-weight: var(--font-black) !important;
  color: var(--pure-white) !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  transform: rotate(-1deg) !important;
}

/* Dynamic Time Badges for Index */
.index-time-badge {
  background: linear-gradient(135deg, var(--vibrant-red), var(--bright-red)) !important;
  color: var(--pure-white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px !important;
  font-size: 0.9rem !important;
  font-weight: var(--font-black) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  animation: indexTimePulse 2s ease-in-out infinite !important;
}

@keyframes indexTimePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.index-time-badge.upcoming {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #92400e !important;
  border: 2px solid #d97706 !important;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
}

.session-badge.no-events {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #92400e !important;
  border: 2px solid #d97706 !important;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
}

/* Dynamic Location Info for Index */
.index-location-info {
  position: relative !important;
}

.index-location-info::before {
  content: 'aaaa' !important;
  display: block !important;
  width: 4rem !important;
  height: 1rem !important;
  background: rgba(255, 0, 0, 0.3) !important;
  border: 2px dashed red !important;
  float: right !important;
  clear: right !important;
  opacity: 0 !important;
}

.index-location-info h3,
.index-location-info h4 {
  font-size: 2rem !important;
  font-weight: var(--font-black) !important;
  color: white;
  margin-bottom: 1.1rem !important;
  transform: rotate(-1deg) !important;
  text-shadow: -3px 3px 0px var(--vibrant-red) !important;
}

.index-location-info h4 {
  font-size: 1.8rem !important;
}

/* Dynamic Location Time for Index */
.index-location-time {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.5rem !important;
  transform: rotate(-0.5deg) !important;
}

/* Remove background and border for all location time */
.index-location-time {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Style for the time text (not the badge) */
.index-location-time .time-text {
  background: var(--pure-white) !important;
  color: var(--text-dark) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 12px !important;
  font-weight: var(--font-bold) !important;
  transform: rotate(1.5deg) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  display: inline-block !important;
  height: 2.5rem !important;
  line-height: 1rem !important;
  vertical-align: middle !important;
  margin-top: 3px;
}

/* Responsive adjustments for narrow screens - gap reduction with nowrap */
@media (max-width: 480px) and (min-width: 411px) {
  .index-location-time {
    gap: 0.75rem !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  
  .index-location-time .time-badge,
  .index-location-time .time-text {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
}

/* Very narrow screens - allow wrap to prevent ugly compression */
@media (max-width: 410px) {
  .index-location-time {
    gap: 0.5rem !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  
  .index-location-time .time-badge,
  .index-location-time .time-text {
    flex-shrink: 0 !important;
    min-width: auto !important;
  }
}

/* Dynamic Location Notes for Index */
.index-location-notes {
  color: white !important;
  font-style: italic !important;
padding: 1rem 0rem;
  border-radius: 15px !important;
  transform: rotate(-0.5deg) !important;
}

/* Dynamic Navigate Button for Index */
.index-navigate-btn {
  background: linear-gradient(135deg, var(--vibrant-red) 0%, var(--bright-red) 100%) !important;
  color: var(--pure-white) !important;
  border: none !important;
  padding: 1.25rem 2.5rem !important;
  border-radius: 25px !important;
  font-family: inherit !important;
  font-weight: var(--font-black) !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 
    0 8px 25px rgba(220, 38, 38, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.2) !important;
  transform: rotate(-1deg) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  position: relative !important;
  overflow: hidden !important;
}

.index-navigate-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.index-navigate-btn:hover::before {
  left: 100%;
}

.index-navigate-btn:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.05) !important;
  box-shadow: 
    0 15px 35px rgba(220, 38, 38, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.index-navigate-btn:active {
  transform: rotate(0deg) translateY(-2px) scale(1.02) !important;
}

.index-navigate-btn.full-width {
  width: 100% !important;
  justify-content: center !important;
}

/* Dynamic Nav Icon for Index */
.index-nav-icon {
  font-size: 1.4rem !important;
  animation: indexCompassSpin 3s linear infinite !important;
}

@keyframes indexCompassSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dynamic No Location for Index */
.index-no-location {
  text-align: center !important;
  transform: rotate(-1deg) !important;
}

.index-no-location-icon {
  font-size: 5rem !important;
  margin-bottom: -0.5rem !important;
  display: block !important;
  animation: indexSleepBounce 2s ease-in-out infinite !important;
}

@keyframes indexSleepBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

.index-no-location h3 {
  font-size: 2rem !important;
  margin-bottom: 1rem !important;
  color: var(--text-dark) !important;
  font-weight: var(--font-black) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.index-no-location p {
  color: #6b7280 !important;
  font-size: 1.1rem !important;
  font-weight: var(--font-regular) !important;
}



/* Dynamic Bottom Sheet for Index */
.index-bottom-sheet {
  background: linear-gradient(135deg, var(--pure-white) 0%, #f8fafc 100%) !important;
  border-radius: 25px 25px 0 0 !important;
  box-shadow: 
    0 -20px 40px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(255, 255, 255, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  border-top: 4px solid #e30613 !important;
}

.index-sheet-handle {
  width: 60px !important;
  height: 6px !important;
  background: linear-gradient(90deg, #e30613, #ff1744, #e30613) !important;
  border-radius: 3px !important;
  margin: 1.5rem auto !important;
  position: relative !important;
  transition: all 0.3s ease !important;
}

.index-sheet-handle:hover {
  transform: scaleX(1.2) !important;
  box-shadow: 0 2px 10px rgba(227, 6, 19, 0.4) !important;
}

.index-sheet-content {
  padding: 0 2.5rem 2.5rem !important;
}

.index-sheet-content h3 {
  font-size: 1.8rem !important;
  font-weight: var(--font-black) !important;
  color: var(--text-dark) !important;
  margin-bottom: 1.5rem !important;
  text-align: center !important;
  transform: rotate(-1deg) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.index-sheet-content p {
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
  padding: 1rem !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 15px !important;
  border-left: 4px solid #e30613 !important;
  transform: rotate(-0.5deg) !important;
}





/* Custom tooltip content styling */
.hours-tooltip-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.hours-tooltip-title {
  font-size: 1.5rem;
  font-weight: var(--font-black);
  color: var(--pure-white);
  margin-bottom: 0.25rem;
  transform: rotate(-1deg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hours-tooltip-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-regular);
}

.hours-tooltip-schedule {
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.tooltip-schedule-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border-left: 3px solid #e30613;
  transform: rotate(-0.5deg);
  transition: all 0.3s ease;
}

.tooltip-schedule-day:hover {
  transform: rotate(0deg) translateX(3px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tooltip-schedule-day.today {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left-color: #f59e0b;
  transform: rotate(0deg) scale(1.02);
}

.tooltip-day-name {
  font-weight: var(--font-bold);
  color: var(--text-dark);
  font-size: 0.9rem;
}

.tooltip-day-hours {
  font-weight: var(--font-regular);
  color: #6b7280;
  font-size: 0.8rem;
}

.hours-tooltip-footer {
  text-align: center;
  margin-top: 1rem;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.hours-tooltip-note {
  background: rgba(227, 6, 19, 0.1);
  color: #e30613;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 1rem;
  border-left: 3px solid #e30613;
}

.hours-tooltip.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px) scale(0.9);
  pointer-events: none;
}

.hours-tooltip::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #e30613, #ff1744, #e30613, #ff1744);
  border-radius: 20px;
  z-index: -1;
  animation: indexBorderGlow 3s ease-in-out infinite alternate;
}

.hours-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--pure-white);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hours-tooltip-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.hours-tooltip-title {
  font-size: 1.5rem;
  font-weight: var(--font-black);
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  transform: rotate(-1deg);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hours-tooltip-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: var(--font-regular);
}

.hours-tooltip-schedule {
  margin-bottom: 1rem;
}

.tooltip-schedule-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border-left: 3px solid #e30613;
  transform: rotate(-0.5deg);
  transition: all 0.3s ease;
}

.tooltip-schedule-day:hover {
  transform: rotate(0deg) translateX(3px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tooltip-schedule-day.today {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left-color: #f59e0b;
  transform: rotate(0deg) scale(1.02);
}

.tooltip-day-name {
  font-weight: var(--font-bold);
  color: var(--text-dark);
  font-size: 0.9rem;
}

.tooltip-day-hours {
  font-weight: var(--font-regular);
  color: #6b7280;
  font-size: 0.8rem;
}

.hours-tooltip-footer {
  text-align: center;
  margin-top: 1rem;
}

.hours-tooltip-note {
  background: rgba(227, 6, 19, 0.1);
  color: #e30613;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 1rem;
  border-left: 3px solid #e30613;
}

.close-hours-tooltip {
  background: linear-gradient(135deg, var(--vibrant-red) 0%, var(--bright-red) 100%);
  color: var(--pure-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-family: inherit;
  font-weight: var(--font-bold);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.close-hours-tooltip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* Responsive tooltip */
@media (max-width: 768px) {
  .hours-tooltip {
    max-width: 280px;
    padding: 1.25rem;
  }
  
  .hours-tooltip-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hours-tooltip {
    max-width: 260px;
    padding: 1rem;
    top: -110px;
  }
  
  .hours-tooltip-title {
    font-size: 1.2rem;
  }
  
  .tooltip-schedule-day {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

/* Responsive Location Info for Index */
@media (max-width: 768px) {
  .index-location-info::before {
    width: 4rem !important;
    height: 0 !important;
  }
}

@media (max-width: 480px) {
  .index-location-info::before {
    width: 4rem !important;
    height: 0 !important;
  }
}
