/* Christmas Overlay Styles */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out forwards;
}

/* Christmas Banner */
.christmas-banner {
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%);
  border-bottom: 3px solid #c41e3a;
  position: relative;
  overflow: hidden;
}

.christmas-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #c41e3a 0%, #ffd700 25%, #c41e3a 50%, #ffd700 75%, #c41e3a 100%);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Snowflake animation */
@keyframes snowfall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.snowflake {
  position: absolute;
  top: -10px;
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
  pointer-events: none;
  animation: snowfall linear infinite;
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-duration: 10s;
  animation-delay: 0s;
  font-size: 12px;
}

.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 12s;
  animation-delay: 1s;
  font-size: 16px;
}

.snowflake:nth-child(3) {
  left: 30%;
  animation-duration: 8s;
  animation-delay: 2s;
  font-size: 10px;
}

.snowflake:nth-child(4) {
  left: 40%;
  animation-duration: 14s;
  animation-delay: 0.5s;
  font-size: 14px;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-duration: 11s;
  animation-delay: 1.5s;
  font-size: 12px;
}

.snowflake:nth-child(6) {
  left: 60%;
  animation-duration: 9s;
  animation-delay: 3s;
  font-size: 15px;
}

.snowflake:nth-child(7) {
  left: 70%;
  animation-duration: 13s;
  animation-delay: 0s;
  font-size: 11px;
}

.snowflake:nth-child(8) {
  left: 80%;
  animation-duration: 10s;
  animation-delay: 2.5s;
  font-size: 13px;
}

.snowflake:nth-child(9) {
  left: 90%;
  animation-duration: 12s;
  animation-delay: 1s;
  font-size: 14px;
}

.snowflake:nth-child(10) {
  left: 95%;
  animation-duration: 11s;
  animation-delay: 0.8s;
  font-size: 12px;
}

/* Pulse animation for important info */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(196, 30, 58, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.8);
  }
}

.christmas-banner .btn-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Christmas lights effect */
@keyframes lights {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.christmas-light {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
}

.light-red {
  background-color: #c41e3a;
  animation: lights 1.5s ease-in-out infinite;
}

.light-green {
  background-color: #2d5a3d;
  animation: lights 1.5s ease-in-out infinite 0.5s;
}

.light-gold {
  background-color: #ffd700;
  animation: lights 1.5s ease-in-out infinite 1s;
}

/* Christmas Hero Slide Background */
.christmas-hero-bg {
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 25%, #1e5a35 50%, #2d5a3d 75%, #1a472a 100%);
  background-size: 400% 400%;
  animation: christmasGradient 15s ease infinite;
  position: relative;
}

@keyframes christmasGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Falling snow for hero slide */
.hero-snowflake {
  position: absolute;
  top: -10px;
  color: rgba(255, 255, 255, 0.8);
  user-select: none;
  pointer-events: none;
  animation: snowfall linear infinite;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.hero-snowflake:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; font-size: 18px; }
.hero-snowflake:nth-child(2) { left: 15%; animation-duration: 14s; animation-delay: 1s; font-size: 22px; }
.hero-snowflake:nth-child(3) { left: 25%; animation-duration: 10s; animation-delay: 2s; font-size: 16px; }
.hero-snowflake:nth-child(4) { left: 35%; animation-duration: 13s; animation-delay: 0.5s; font-size: 20px; }
.hero-snowflake:nth-child(5) { left: 45%; animation-duration: 11s; animation-delay: 1.5s; font-size: 18px; }
.hero-snowflake:nth-child(6) { left: 55%; animation-duration: 15s; animation-delay: 3s; font-size: 24px; }
.hero-snowflake:nth-child(7) { left: 65%; animation-duration: 9s; animation-delay: 0s; font-size: 17px; }
.hero-snowflake:nth-child(8) { left: 75%; animation-duration: 12s; animation-delay: 2.5s; font-size: 21px; }
.hero-snowflake:nth-child(9) { left: 85%; animation-duration: 13s; animation-delay: 1s; font-size: 19px; }
.hero-snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 0.8s; font-size: 16px; }
.hero-snowflake:nth-child(11) { left: 10%; animation-duration: 14s; animation-delay: 2.2s; font-size: 15px; }
.hero-snowflake:nth-child(12) { left: 30%; animation-duration: 10s; animation-delay: 1.8s; font-size: 23px; }
.hero-snowflake:nth-child(13) { left: 50%; animation-duration: 12s; animation-delay: 3.5s; font-size: 18px; }
.hero-snowflake:nth-child(14) { left: 70%; animation-duration: 11s; animation-delay: 2.8s; font-size: 20px; }
.hero-snowflake:nth-child(15) { left: 90%; animation-duration: 13s; animation-delay: 1.2s; font-size: 17px; }

/* Christmas opening hours table styling for hero */
.christmas-hours-hero {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.christmas-hours-hero .hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.christmas-hours-hero .hours-row:last-child {
  border-bottom: none;
}

.christmas-hours-hero .date {
  font-weight: 600;
  color: #1f2937;
}

.christmas-hours-hero .time-open {
  font-weight: 700;
  color: #15803d;
}

.christmas-hours-hero .time-closed {
  font-weight: 700;
  color: #dc2626;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .christmas-banner {
    font-size: 0.9rem;
  }

  .christmas-overlay-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .christmas-hours-hero {
    padding: 1rem;
    font-size: 0.9rem;
  }
}
