/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --bg-primary: #1F1F1F;
  --bg-secondary: #262626;
  --text-primary: #F3F3F3;
  --text-secondary: #CFCFCF;
  --accent-pink: #F6B6CF;
  --accent-yellow: #F7D56A;
  --accent-cream: #FDEEDB;
  
  /* Typography */
  --font-heading: 'Chewy', cursive;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 1rem;
  --card-padding: 2rem;
  
  /* Smooth Transitions */
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elastic: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Optimize for smooth scrolling */
* {
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn:focus {
  outline: 3px solid var(--accent-pink);
  outline-offset: 2px;
}

.btn-yellow {
  background-color: var(--accent-yellow);
  color: var(--bg-primary);
}

.btn-yellow:hover {
  background-color: #f5d055;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 213, 106, 0.3);
}

/* Override for hero buttons to prevent conflicts */
.hero-btn-animate.btn-yellow:hover {
  background-color: #f5d055 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 30px rgba(247, 213, 106, 0.4) !important;
}

.btn-pink {
  background-color: var(--accent-pink);
  color: var(--bg-primary);
}

.btn-pink:hover {
  background-color: #f4a8c5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(246, 182, 207, 0.3);
}

/* Override for hero buttons to prevent conflicts */
.hero-btn-animate.btn-pink:hover {
  background-color: #f4a8c5 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 30px rgba(246, 182, 207, 0.4) !important;
}

.btn-full {
  width: 100%;
}

/* Enhanced submit button styling for forms */
.order-form .btn-full {
  background: linear-gradient(135deg, 
    var(--accent-pink) 0%, 
    rgba(246, 182, 207, 0.9) 50%,
    var(--accent-yellow) 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1.5rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--bg-primary) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  box-shadow: 
    0 8px 25px rgba(246, 182, 207, 0.4),
    0 0 0 1px rgba(246, 182, 207, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative !important;
  overflow: hidden !important;
}

.order-form .btn-full::before {
  content: '🧁 ';
  font-size: 1.2rem;
  margin-right: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.order-form .btn-full:hover {
  background: linear-gradient(135deg, 
    var(--accent-yellow) 0%, 
    rgba(247, 213, 106, 0.9) 50%,
    var(--accent-pink) 100%) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 
    0 12px 35px rgba(247, 213, 106, 0.5),
    0 0 0 1px rgba(247, 213, 106, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.order-form .btn-full:active {
  transform: translateY(-1px) scale(1.01) !important;
  box-shadow: 
    0 4px 15px rgba(246, 182, 207, 0.4),
    0 0 0 1px rgba(246, 182, 207, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(31, 31, 31, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(207, 207, 207, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
}

.logo {
  height: 80px;
  width: auto;
  background: transparent;
  border: none;
  outline: none;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

/* Animated underline effect */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-yellow));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Shimmer effect */
.nav-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(246, 182, 207, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  border-radius: 25px;
}

.nav-link:hover {
  color: var(--accent-pink);
  background-color: rgba(246, 182, 207, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 182, 207, 0.2);
}

.nav-link:hover::before {
  width: calc(100% - 1rem);
}

.nav-link:hover::after {
  left: 100%;
}

.nav-link.active {
  color: var(--accent-pink);
  background-color: rgba(246, 182, 207, 0.15);
  box-shadow: 0 2px 8px rgba(246, 182, 207, 0.3);
  transform: translateY(-1px);
}

.nav-link.active::before {
  width: calc(100% - 1rem);
  background: var(--accent-pink);
}

/* Bounce animation for active link */
.nav-link.active {
  animation: navBounce 0.6s ease-out;
}

@keyframes navBounce {
  0% { transform: translateY(-1px) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
  100% { transform: translateY(-1px) scale(1); }
}

.nav-link:focus {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

/* Add a subtle glow effect on hover */
.nav-link:hover {
  text-shadow: 0 0 8px rgba(246, 182, 207, 0.5);
}

/* Social link styling */
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(246, 182, 207, 0.1), rgba(247, 213, 106, 0.1));
  border: 1px solid rgba(246, 182, 207, 0.2);
}

.social-link:hover {
  background: linear-gradient(135deg, rgba(246, 182, 207, 0.2), rgba(247, 213, 106, 0.2));
  border-color: var(--accent-pink);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(246, 182, 207, 0.3);
}

.social-icon {
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-link:hover .social-icon {
  transform: rotate(15deg) scale(1.1);
  color: var(--accent-pink);
}

.social-text {
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover .social-text {
  color: var(--accent-pink);
  text-shadow: 0 0 8px rgba(246, 182, 207, 0.5);
}

/* Special shimmer effect for social link */
.social-link::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(246, 182, 207, 0.4),
    rgba(247, 213, 106, 0.4),
    transparent
  );
}

/* Pulse animation for social link */
@keyframes socialPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 182, 207, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(246, 182, 207, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(246, 182, 207, 0);
  }
}

.social-link:hover {
  animation: socialPulse 1.5s ease-out infinite;
}

/* Facebook link special styling */
.facebook-link {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(66, 103, 178, 0.1));
  border: 1px solid rgba(24, 119, 242, 0.2);
}

.facebook-link:hover {
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(66, 103, 178, 0.2));
  border-color: #1877f2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.facebook-link:hover .social-icon {
  color: #1877f2;
  transform: rotate(-5deg) scale(1.1);
}

.facebook-link:hover .social-text {
  color: #1877f2;
  text-shadow: 0 0 8px rgba(24, 119, 242, 0.5);
}

/* Facebook-specific shimmer effect */
.facebook-link::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(24, 119, 242, 0.4),
    rgba(66, 103, 178, 0.4),
    transparent
  );
}

/* Facebook pulse animation */
@keyframes facebookPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 119, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
  }
}

.facebook-link:hover {
  animation: facebookPulse 1.5s ease-out infinite;
}

/* Stagger animation delays for nav links */
.nav-links li:nth-child(1) .nav-link { animation-delay: 0s; }
.nav-links li:nth-child(2) .nav-link { animation-delay: 0.1s; }
.nav-links li:nth-child(3) .nav-link { animation-delay: 0.2s; }
.nav-links li:nth-child(4) .nav-link { animation-delay: 0.3s; }
.nav-links li:nth-child(5) .nav-link { animation-delay: 0.4s; }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: 
    radial-gradient(circle at 30% 70%, rgba(246, 182, 207, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(247, 213, 106, 0.15) 0%, transparent 50%),
    var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== MENU SECTION ===== */
.menu {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure even distribution of 4 cards in 2x2 grid */
.menu-grid .menu-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.menu-grid .menu-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.menu-grid .menu-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.menu-grid .menu-card:nth-child(4) { grid-column: 2; grid-row: 2; }

.menu-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(38, 38, 38, 0.95) 100%);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  transform: translateY(0) scale(1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(246, 182, 207, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.menu-card::after {
  content: '✨';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  opacity: 0.6;
  z-index: 2;
  animation: sparkle 2s ease-in-out infinite;
}

.menu-card:hover,
.menu-card.hovered {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(246, 182, 207, 0.4);
  border-color: var(--accent-pink);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-card:hover::before,
.menu-card.hovered::before {
  opacity: 1;
}

.menu-card:hover::after,
.menu-card.hovered::after {
  animation: sparkle 1s ease-in-out infinite;
  opacity: 1;
}

@keyframes sparkle {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 0.6; 
  }
  50% { 
    transform: scale(1.2) rotate(180deg); 
    opacity: 1; 
  }
}

.card-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-pink);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
}

.flavor-group {
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(246, 182, 207, 0.2);
}

.flavor-line-title {
  font-weight: 600;
  color: var(--accent-yellow);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flavor-line-title::before {
  content: '👻';
  font-size: 1.1rem;
}

.flavor-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.flavor-list li {
  color: var(--text-primary);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 6px;
  font-weight: 500;
  will-change: transform, background-color;
  backface-visibility: hidden;
}

.flavor-list li:hover {
  background: rgba(246, 182, 207, 0.1);
  transform: translateX(4px);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.flavor-list li::before {
  content: '✨';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  animation: sparkle 3s ease-in-out infinite;
}

.flavor-note {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

.pricing {
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 182, 207, 0.2);
  position: relative;
  z-index: 3;
}

.card-price {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.price-highlight {
  font-weight: 800;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
  animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
  0% { 
    filter: drop-shadow(0 0 5px rgba(246, 182, 207, 0.3)); 
  }
  100% { 
    filter: drop-shadow(0 0 15px rgba(246, 182, 207, 0.6)); 
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-qty {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.price-amount {
  font-weight: 600;
  color: var(--accent-cream);
  font-size: 1.1rem;
}

.custom-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
}

/* ===== ORDER SECTION ===== */
.order {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.order-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.order-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Form groups containing dropdowns get higher z-index when dropdowns are open */
.form-group:has(.custom-dropdown.open) {
  z-index: 9997;
}

/* Fallback for browsers that don't support :has() */
.form-group.dropdown-open {
  z-index: 9997;
}

/* Ensure submit button has low z-index */
.order-form .btn-full {
  position: relative;
  z-index: 1;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: 1rem;
  border: 2px solid rgba(207, 207, 207, 0.2);
  border-radius: 12px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* ===== CUSTOM SELECT DROPDOWN ===== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.custom-select {
  position: relative;
  width: 100%;
  z-index: 1001;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 2px solid rgba(207, 207, 207, 0.2);
  border-radius: 12px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  position: relative;
}

.custom-select-trigger:hover {
  border-color: var(--accent-pink);
  background-color: rgba(38, 38, 38, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 182, 207, 0.15);
}

.custom-select-trigger:focus,
.custom-select.open .custom-select-trigger {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(246, 182, 207, 0.2);
}

.custom-select-text {
  flex: 1;
  text-align: left;
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border: 2px solid var(--accent-pink);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(207, 207, 207, 0.1);
  position: relative;
  z-index: 10000;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background-color: var(--accent-pink);
  color: var(--bg-primary);
}

.custom-option.selected {
  background-color: rgba(246, 182, 207, 0.2);
  color: var(--accent-pink);
  font-weight: 600;
}

.custom-option.highlighted {
  background-color: rgba(246, 182, 207, 0.1);
  color: var(--accent-pink);
}

.custom-option.disabled {
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.5;
}

.custom-option.disabled:hover {
  background-color: transparent;
  color: var(--text-secondary);
}

/* Scrollbar styling for dropdown */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: rgba(207, 207, 207, 0.1);
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--accent-pink);
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(246, 182, 207, 0.8);
}

/* Custom Dropdown Styling - Spooky Theme */
.custom-dropdown {
  position: relative;
  width: 100%;
  z-index: 1;
}

.custom-dropdown.open {
  z-index: 9998;
}

.custom-dropdown-trigger {
  background: linear-gradient(135deg, 
    rgba(38, 38, 38, 0.9) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(38, 38, 38, 0.9) 100%);
  border: 2px solid rgba(246, 182, 207, 0.3);
  border-radius: 16px;
  padding: 1.2rem 3.5rem 1.2rem 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(246, 182, 207, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.custom-dropdown-trigger:hover {
  border-color: var(--accent-pink);
  background: linear-gradient(135deg, 
    rgba(246, 182, 207, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(247, 213, 106, 0.1) 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(246, 182, 207, 0.3),
    0 0 0 1px rgba(246, 182, 207, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.custom-dropdown.open .custom-dropdown-trigger {
  border-color: var(--accent-yellow);
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(246, 182, 207, 0.1) 100%);
  box-shadow: 
    0 0 0 3px rgba(247, 213, 106, 0.3),
    0 8px 25px rgba(247, 213, 106, 0.2),
    0 0 20px rgba(247, 213, 106, 0.1);
  transform: translateY(-1px) scale(1.01);
}

.dropdown-arrow {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  transform: rotate(0deg);
}

.custom-dropdown.open .dropdown-arrow {
  transform: rotate(180deg) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(247, 213, 106, 0.6));
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  border: 2px solid var(--accent-pink);
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(246, 182, 207, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 9999;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  backdrop-filter: blur(10px);
}

.custom-dropdown.open .custom-dropdown-options {
  display: block;
  animation: dropdownAppear 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes dropdownAppear {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-option {
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, 
    rgba(38, 38, 38, 0.9) 0%, 
    rgba(46, 46, 46, 0.95) 100%);
  border-bottom: 1px solid rgba(246, 182, 207, 0.1);
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 10000;
}

.custom-option:hover {
  background: linear-gradient(135deg, 
    var(--accent-pink) 0%, 
    rgba(246, 182, 207, 0.9) 50%,
    var(--accent-yellow) 100%);
  color: var(--bg-primary);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transform: translateX(5px) scale(1.02);
  box-shadow: 
    inset 0 0 20px rgba(255, 255, 255, 0.1),
    0 0 15px rgba(246, 182, 207, 0.3);
}

.custom-option.selected {
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.8) 0%, 
    rgba(246, 182, 207, 0.6) 100%);
  color: var(--bg-primary);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.custom-option:last-child {
  border-bottom: none;
  border-radius: 0 0 14px 14px;
}

.custom-option:first-child {
  opacity: 0.7;
  font-style: italic;
}

/* Special styling for flavor dropdown */
#flavorDropdown .custom-dropdown-trigger {
  border-color: var(--accent-yellow);
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(246, 182, 207, 0.1) 100%);
  box-shadow: 
    0 4px 12px rgba(247, 213, 106, 0.2),
    0 0 0 1px rgba(247, 213, 106, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#flavorDropdown .custom-dropdown-options {
  border-color: var(--accent-yellow);
  box-shadow: 
    0 15px 35px rgba(247, 213, 106, 0.3),
    0 0 0 1px rgba(247, 213, 106, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 10001;
}

#flavorDropdown.open {
  z-index: 9999;
}

/* Custom Select Dropdown Styling */
select.form-select,
.form-select {
  /* Reset all browser defaults */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  
  /* Spooky gradient background */
  background: linear-gradient(135deg, 
    rgba(38, 38, 38, 0.9) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(38, 38, 38, 0.9) 100%) !important;
  
  /* Custom spooky arrow */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23F6B6CF' viewBox='0 0 16 16'%3e%3cpath d='M8 13.1l4.2-4.2L11 7.7 8 10.7 5 7.7 3.8 8.9z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  
  /* Enhanced styling with spooky effects */
  padding: 1.2rem 3.5rem 1.2rem 1.5rem !important;
  border: 2px solid rgba(246, 182, 207, 0.3) !important;
  border-radius: 16px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  
  /* Spooky glow effects */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(246, 182, 207, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  
  /* Smooth transitions */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  
  /* Subtle animation for the arrow */
  position: relative !important;
}

/* Remove IE/Edge default arrow */
select.form-select::-ms-expand,
.form-select::-ms-expand {
  display: none !important;
}

/* Hover state - Enhanced spooky effects */
select.form-select:hover,
.form-select:hover {
  border-color: var(--accent-pink) !important;
  background: linear-gradient(135deg, 
    rgba(246, 182, 207, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(247, 213, 106, 0.1) 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 
    0 8px 25px rgba(246, 182, 207, 0.3),
    0 0 0 1px rgba(246, 182, 207, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  
  /* Animate the arrow on hover */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23F7D56A' viewBox='0 0 16 16'%3e%3cpath d='M8 13.1l4.2-4.2L11 7.7 8 10.7 5 7.7 3.8 8.9z'/%3e%3c/svg%3e") !important;
}

/* Focus state - Magical glow */
select.form-select:focus,
.form-select:focus {
  outline: none !important;
  border-color: var(--accent-yellow) !important;
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(246, 182, 207, 0.1) 100%) !important;
  box-shadow: 
    0 0 0 3px rgba(247, 213, 106, 0.3),
    0 8px 25px rgba(247, 213, 106, 0.2),
    0 0 20px rgba(247, 213, 106, 0.1) !important;
  transform: translateY(-1px) scale(1.01) !important;
}

/* Dropdown options styling - Spooky theme */
select.form-select option,
.form-select option {
  background: linear-gradient(135deg, 
    rgba(38, 38, 38, 0.95) 0%, 
    rgba(46, 46, 46, 1) 100%) !important;
  color: var(--text-primary) !important;
  padding: 1rem 1.5rem !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative !important;
}

/* Selected/hovered option - Enhanced with gradients */
select.form-select option:checked,
.form-select option:checked,
select.form-select option:hover,
.form-select option:hover {
  background: linear-gradient(135deg, 
    var(--accent-pink) 0%, 
    rgba(246, 182, 207, 0.8) 50%,
    var(--accent-yellow) 100%) !important;
  color: var(--bg-primary) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Hidden inputs for form submission - no styling needed */

/* FORCE STYLE ALL SELECTS - NUCLEAR OPTION */
select {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  padding: 1rem !important;
  padding-right: 3rem !important;
  border: 2px solid #F6B6CF !important;
  border-radius: 12px !important;
  background-color: #262626 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23F6B6CF' viewBox='0 0 16 16'%3e%3cpath d='M8 13.1l4.2-4.2L11 7.7 8 10.7 5 7.7 3.8 8.9z'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  z-index: 1000 !important;
  position: relative !important;
}

select:hover {
  border-color: #F6B6CF !important;
  background-color: rgba(38, 38, 38, 0.9) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(246, 182, 207, 0.15) !important;
}

select:focus {
  outline: none !important;
  border-color: #F6B6CF !important;
  box-shadow: 0 0 0 3px rgba(246, 182, 207, 0.2) !important;
}

select option {
  background-color: #262626 !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
}

/* Flavor dropdown styling - Special magical appearance */
#flavorGroup {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(-15px) scale(0.95);
  will-change: opacity, transform;
  backface-visibility: hidden;
  position: relative;
  overflow: visible;
}

#flavorGroup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: magicalAppear 0.6s ease-out forwards;
}

/* Special magical appearance animation */
@keyframes magicalAppear {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    box-shadow: 0 0 0 rgba(247, 213, 106, 0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px rgba(247, 213, 106, 0.3);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 10px rgba(247, 213, 106, 0.1);
  }
}

/* Special styling for flavor dropdown */
#flavorGroup .form-select {
  border-color: var(--accent-yellow) !important;
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(246, 182, 207, 0.1) 100%) !important;
  box-shadow: 
    0 4px 12px rgba(247, 213, 106, 0.2),
    0 0 0 1px rgba(247, 213, 106, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

#flavorGroup .form-select:hover {
  box-shadow: 
    0 8px 25px rgba(247, 213, 106, 0.4),
    0 0 0 1px rgba(247, 213, 106, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-color: var(--accent-yellow) !important;
}

#flavorGroup .form-label {
  color: var(--accent-yellow) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
}

#flavorGroup .form-label::before {
  content: '✨ ';
  animation: sparkleRotate 2s ease-in-out infinite;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

#flavorSelect {
  z-index: 1000;
}

#flavorSelect .custom-select-trigger {
  z-index: 1002;
}

#flavorSelect .custom-select-options {
  z-index: 1001;
}

#flavorSelect .custom-option {
  z-index: 1003;
}

/* Enhanced form input styling to match dropdowns */
.form-input,
.form-textarea {
  background: linear-gradient(135deg, 
    rgba(38, 38, 38, 0.9) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(38, 38, 38, 0.9) 100%) !important;
  border: 2px solid rgba(246, 182, 207, 0.3) !important;
  border-radius: 16px !important;
  padding: 1.2rem 1.5rem !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(246, 182, 207, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative !important;
  z-index: 1 !important;
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--accent-pink) !important;
  background: linear-gradient(135deg, 
    rgba(246, 182, 207, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(247, 213, 106, 0.1) 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 
    0 6px 20px rgba(246, 182, 207, 0.2),
    0 0 0 1px rgba(246, 182, 207, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none !important;
  border-color: var(--accent-yellow) !important;
  background: linear-gradient(135deg, 
    rgba(247, 213, 106, 0.1) 0%, 
    rgba(46, 46, 46, 0.95) 50%, 
    rgba(246, 182, 207, 0.1) 100%) !important;
  box-shadow: 
    0 0 0 3px rgba(247, 213, 106, 0.3),
    0 8px 25px rgba(247, 213, 106, 0.2),
    0 0 20px rgba(247, 213, 106, 0.1) !important;
  transform: translateY(-1px) scale(1.01) !important;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #81C784;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #E57373;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

/* ===== INSTAGRAM FEED SECTION ===== */
.instagram-feed {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  text-align: center;
}

.instagram-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-gallery {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-embed-container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(38, 38, 38, 0.95) 100%);
}

.instagram-embed-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(246, 182, 207, 0.3);
}

.instagram-embed-container blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid transparent !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(38, 38, 38, 0.95) 100%) !important;
  position: relative !important;
}

.instagram-embed-container blockquote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(246, 182, 207, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}

.instagram-embed-container blockquote:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 25px 50px rgba(246, 182, 207, 0.4) !important;
  border-color: var(--accent-pink) !important;
}

/* Style the Instagram embed iframe */
.instagram-embed-container iframe {
  border-radius: 20px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  position: relative;
  z-index: 2;
}

.instagram-embed-container:hover iframe {
  transform: scale(1.02) !important;
}

/* Add sparkle effect to Instagram embed */
.instagram-embed-container::after {
  content: '✨';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  opacity: 0.6;
  z-index: 10;
  animation: sparkle 2s ease-in-out infinite;
  pointer-events: none;
}

.instagram-embed-container:hover::after {
  animation: sparkle 1s ease-in-out infinite;
  opacity: 1;
}

/* Additional Instagram embed styling for better integration */
.instagram-embed-container {
  filter: drop-shadow(0 0 20px rgba(246, 182, 207, 0.2));
}

.instagram-embed-container:hover {
  filter: drop-shadow(0 0 30px rgba(246, 182, 207, 0.4));
}

/* Style Instagram embed text elements */
.instagram-embed-container blockquote a {
  color: var(--accent-pink) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.instagram-embed-container blockquote a:hover {
  color: var(--accent-yellow) !important;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5) !important;
}

/* Add a subtle glow effect */
.instagram-embed-container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--accent-pink), var(--accent-yellow), var(--accent-pink));
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-embed-container:hover::before {
  opacity: 0.3;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-post:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(246, 182, 207, 0.2);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-post:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(246, 182, 207, 0.8),
    rgba(247, 213, 106, 0.8)
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

.instagram-likes,
.instagram-comments {
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.instagram-icon {
  width: 16px;
  height: 16px;
}

.instagram-cta {
  margin-top: 2rem;
}

.btn-icon {
  margin-right: 0.5rem;
}

/* Loading spinner */
.instagram-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(246, 182, 207, 0.3);
  border-top: 3px solid var(--accent-pink);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* Instagram post grid responsive */
@media (max-width: 768px) {
  .instagram-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .instagram-post:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .instagram-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .instagram-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-primary);
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(207, 207, 207, 0.1);
}

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 1rem;
    --card-padding: 1.5rem;
  }
  
  .nav {
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
  }
  
  .nav-links {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 20px;
    flex-shrink: 0;
  }
  
  /* Reduce effects on mobile for performance */
  .nav-link:hover {
    transform: translateY(-1px);
  }
  
  .nav-link.active {
    transform: translateY(-0.5px);
  }
  
  .social-link:hover {
    transform: translateY(-1px) scale(1.02);
  }
  
  .social-text {
    font-size: 0.8rem;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .logo {
    height: 64px;
  }
  
  .hero {
    padding: 10rem 1rem 3rem; /* Significantly increased top padding for mobile header */
  }
  
  .hero-headline {
    margin-top: 1.5rem; /* Extra margin to ensure headline is visible on mobile */
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  /* Override explicit grid positioning for mobile */
  .menu-grid .menu-card:nth-child(1),
  .menu-grid .menu-card:nth-child(2),
  .menu-grid .menu-card:nth-child(3),
  .menu-grid .menu-card:nth-child(4) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  
  .menu-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .menu-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .flavor-group {
    margin-bottom: 0.75rem;
  }
  
  .flavor-list {
    gap: 0.25rem;
  }
  
  .flavor-list li {
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  
  .nav-brand {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .brand-name {
    font-size: 1.1rem;
  }
  
  .nav-links {
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: fit-content;
  }
  
  .social-link {
    gap: 0.25rem;
    padding: 0.4rem 0.6rem;
  }
  
  .social-text {
    display: none; /* Hide text on very small screens, show only icon */
  }
  
  .social-icon {
    width: 16px;
    height: 16px;
  }
  
  .hero {
    padding: 8rem 1rem 2rem; /* Extra top padding for very small screens with stacked nav */
  }
  
  .hero-headline {
    font-size: 2.25rem;
    margin-top: 2rem; /* Extra margin to ensure headline is visible */
  }
  
  .hero-subtext {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Enhanced mobile menu styling for very small screens */
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 0 0.5rem !important;
  }
  
  /* Override explicit grid positioning for very small screens */
  .menu-grid .menu-card:nth-child(1),
  .menu-grid .menu-card:nth-child(2),
  .menu-grid .menu-card:nth-child(3),
  .menu-grid .menu-card:nth-child(4) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  
  .menu-card {
    padding: 1.5rem 1rem;
    margin-bottom: 0.5rem;
  }
  
  .menu-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .flavor-group {
    margin-bottom: 0.5rem;
  }
  
  .flavor-line-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .flavor-list {
    gap: 0.2rem;
  }
  
  .flavor-list li {
    padding: 0.3rem 0.3rem 0.3rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .price-highlight {
    font-size: 1.1rem;
  }
  
  .price-item {
    padding: 0.5rem;
  }
}

/* Medium screens (tablets) */
@media (max-width: 600px) and (min-width: 481px) {
  .nav-links {
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .social-text {
    font-size: 0.7rem;
  }
  
  /* Tablet menu styling */
  .menu-grid {
    gap: 1.25rem;
    padding: 0 0.75rem;
  }
  
  .menu-card {
    padding: 2rem 1.25rem;
  }
  
  .menu-card .card-title {
    font-size: 1.4rem;
  }
}

/* ===== FORM SELECT BROWSER OVERRIDES ===== */
select.form-select {
  /* Force override browser defaults */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  
  /* Remove IE arrow */
  &::-ms-expand {
    display: none;
  }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
  .form-select {
    background-image: none !important;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent-pink) 50%), 
                      linear-gradient(135deg, var(--accent-pink) 50%, transparent 50%) !important;
  }
}

/* WebKit specific fixes */
.form-select::-webkit-scrollbar {
  width: 8px;
}

.form-select::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

.form-select::-webkit-scrollbar-thumb {
  background: var(--accent-pink);
  border-radius: 4px;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for better keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-pink);
  outline-offset: 2px;
}

/* Ensure sufficient color contrast */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --accent-pink: #FF69B4;
    --accent-yellow: #FFD700;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: auto;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in from left */
.scroll-animate-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: auto;
}

.scroll-animate-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in from right */
.scroll-animate-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: auto;
}

.scroll-animate-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up animation */
.scroll-animate-scale {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: auto;
}

.scroll-animate-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animations for multiple elements */
.scroll-animate-stagger {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: auto;
}

.scroll-animate-stagger.animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-stagger:nth-child(1) { transition-delay: 0s; }
.scroll-animate-stagger:nth-child(2) { transition-delay: 0.1s; }
.scroll-animate-stagger:nth-child(3) { transition-delay: 0.2s; }
.scroll-animate-stagger:nth-child(4) { transition-delay: 0.3s; }
.scroll-animate-stagger:nth-child(5) { transition-delay: 0.4s; }

/* Word-by-word animation */
.word-animate {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  animation: wordReveal 0.8s ease-out forwards;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateX(90deg);
  }
  50% {
    opacity: 0.5;
    transform: translateY(10px) rotateX(45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Hero button animations */
.hero-btn-animate {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  animation: heroButtonReveal 0.6s ease-out forwards;
  position: relative !important;
  z-index: 10 !important;
  display: inline-block !important;
  visibility: visible !important;
}

@keyframes heroButtonReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced button hover effects */
.hero-btn-animate:hover {
  z-index: 15 !important;
  position: relative !important;
}

.btn-yellow.hero-btn-animate:hover {
  animation: yellowGlow 1.5s ease-in-out infinite !important;
}

.btn-pink.hero-btn-animate:hover {
  animation: pinkGlow 1.5s ease-in-out infinite !important;
}

@keyframes yellowGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(247, 213, 106, 0.4);
  }
  50% {
    box-shadow: 0 15px 40px rgba(247, 213, 106, 0.6), 0 0 20px rgba(247, 213, 106, 0.3);
  }
}

@keyframes pinkGlow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(246, 182, 207, 0.4);
  }
  50% {
    box-shadow: 0 15px 40px rgba(246, 182, 207, 0.6), 0 0 20px rgba(246, 182, 207, 0.3);
  }
}

/* Sparkle effect for buttons */
.hero-btn-animate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

.hero-btn-animate:hover::before {
  transform: translateX(100%);
}

/* Hero content container animation */
.hero-content {
  opacity: 1;
  transform: none;
}

/* Ensure hero buttons are always visible as fallback */
.hero-buttons .btn {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Ensure button text is always visible */
.hero-btn-animate {
  color: var(--bg-primary) !important;
  text-decoration: none !important;
}

.hero-btn-animate:hover {
  color: var(--bg-primary) !important;
  text-decoration: none !important;
}

/* NUCLEAR OPTION: Force dropdown above everything */
/* REMOVED CONFLICTING RULES */

/* REMOVED CONFLICTING RULES */

/* Floating animation for cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* WORKING DROPDOWN - FINAL SOLUTION */
#customSelect {
  position: relative;
  z-index: 10000;
}

#customSelect .custom-select-options {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  min-width: 200px !important;
  background-color: var(--bg-secondary) !important;
  border: 2px solid var(--accent-pink) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

#customSelect.open .custom-select-options {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

#customSelect .custom-option {
  z-index: 1000000 !important;
  position: relative !important;
  pointer-events: auto !important;
}


/* Button pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 182, 207, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(246, 182, 207, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(246, 182, 207, 0);
  }
}

.btn-pink:hover {
  animation: pulse 1.5s ease-out;
}

/* Typewriter effect for section titles */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.section-title.typewriter {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: typewriter 2s steps(30, end);
  border-right: 3px solid var(--accent-pink);
}

.section-title.typewriter.finished {
  border-right: none;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-scale,
  .scroll-animate-stagger,
  .hero-content,
  .menu-card,
  .word-animate,
  .hero-btn-animate,
  .nav-link {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .btn-pink:hover,
  .btn-yellow:hover,
  .hero-btn-animate:hover,
  .nav-link:hover,
  .nav-link.active {
    animation: none !important;
    transform: none !important;
  }
  
  .hero-btn-animate::before,
  .nav-link::before,
  .nav-link::after {
    display: none !important;
  }
  
  .section-title.typewriter {
    animation: none !important;
    border-right: none !important;
    overflow: visible !important;
    white-space: normal !important;
  }
}

