@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
  --bg-color: #fff9e6;
  --primary-color: #ff9800;
  --secondary-color: #4caf50;
  --accent-color: #e91e63;
  --text-color: #3e2723;
  --pot-color: #795548;
  --sun-color: #ffeb3b;
}

body {
  background-color: var(--bg-color);
}

.festival-container {
  position: relative;
}

.sun-container {
  position: absolute;
  top: -130px;
  right: 150px;
  z-index: 1;
}

.sun-svg {
  width: 120px;
  height: 120px;
  fill: var(--sun-color);
  filter: drop-shadow(0 0 20px rgba(255, 235, 59, 0.6));
  animation: pulseSun 4s infinite ease-in-out;
}

@keyframes pulseSun {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 235, 59, 0.6));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 40px rgba(255, 235, 59, 0.9));
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  animation: fadeInDown 1.5s ease-out;
}

.hero-content h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.hero-content p {
  color: var(--primary-color);
  font-weight: 700;
  animation: fadeInUp 1.5s ease-out 0.5s both;
}

.visual-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 250px;
}

@media screen and (max-width: 991px) {
  .visual-stack {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .visual-stack {
    margin-top: 150px;
  }
}

.sugarcane {
  height: 150px;
  width: auto;
  animation: sway 6s infinite ease-in-out;
  transform-origin: bottom center;
}

.sugarcane.left {
  animation-delay: 0s;
}

.sugarcane.right {
  animation-delay: 1s;
}

.pongal-pot-wrapper {
  position: relative;
  width: auto;
  z-index: 3;
}

.pot-svg {
  height: 150px;
  width: auto;
}

.rice-steam {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.steam-bubble {
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  animation: bubbleUp 2s infinite ease-out;
  opacity: 0;
}

.steam-bubble:nth-child(2) {
  animation-delay: 0.5s;
  width: 20px;
  height: 20px;
}

.steam-bubble:nth-child(3) {
  animation-delay: 1s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

@keyframes bubbleUp {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-60px) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h3 {
    font-size: 2rem;
  }

  .pongal-pot-wrapper {
    width: auto;
  }

  .sugarcane {
    height: 100px;
    width: auto;
  }

  .sun-container {
    top: -20px;
    right: 20px;
  }

  .sun-svg {
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 400px) {
  .sun-container {
    top: -50px;
    right: 20px;
  }

  .visual-stack {
    margin-top: 180px;
  }
}

.btn-pongal {
  --bs-btn-padding-x: 1.05rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-weight: 700;

  color: #1b1b1b;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  border-radius: 999px;

  background: radial-gradient(circle at 30% 20%,
      rgba(255, 255, 255, 0.55) 0 18%,
      transparent 19%),
    linear-gradient(135deg,
      #ffd36a 0%,
      #ff7b3a 55%,
      #ffcf86 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    filter 0.15s ease;
}

.btn-pongal:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  color: white;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.14) inset;
}

.btn-pongal:active {
  transform: translateY(0);
}

.btn-pongal:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.22),
    0 10px 26px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.1) inset;
}

.btn-pongal::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 1px;
  background: repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.85) 0 6px,
      transparent 6px 12px);
  opacity: 0.45;
  border-radius: 999px;
  pointer-events: none;
}

.date-range-card .label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667085;
  margin-bottom: 10px;
}

.date-range {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #eaecf0;
  background: #f9fafb;
  font-weight: 600;
  color: #101828;
  line-height: 1;
}

.date-pill .tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3538cd;
}

.date-range .arrow {
  font-size: 18px;
  color: #98a2b3;
  user-select: none;
}

@media (max-width: 420px) {
  .date-range-card {
    padding: 14px 14px;
  }

  .date-pill {
    width: 100%;
    justify-content: space-between;
  }

  .date-range .arrow {
    display: none;
  }
}

.pongal-card {
  height: 100%;
  border: 1px dashed lightgreen;
  background: white;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 15px;

  position: relative;
  overflow: hidden;
}

.pongal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.05));
  opacity: 0.35;
  pointer-events: none;
}