/* Theme Colors */
:root {
  --primary: #ff4b5c;
  --secondary: #ff758c;
  --bg-light: #fff5f7;
  --text-dark: #333;
}

/* Basic Setup */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* ========================= */
/* ---------------- HERO SECTION ---------------- */
/* ---------------- HERO SECTION ---------------- */
.hero-header {
  position: relative;
  height: 60vh;
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #ff4b5c, #ff758c);
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

/* Optional soft overlay for contrast */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #f8e969;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  animation: fadeInDown 1.2s ease forwards;
}

.hero-content p {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #fff;
  opacity: 0.9;
  animation: fadeInUp 1.5s ease forwards;
}

/* Underline animation */
.underline {
  width: 80px;
  height: 4px;
  background: #fff;
  margin: 10px auto 20px auto;
  border-radius: 2px;
  animation: grow 1s ease-out forwards;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes grow {
  0% { width: 0; opacity: 0; }
  100% { width: 80px; opacity: 1; }
}

/* ---------------- RESPONSIVE DESIGN ---------------- */
@media (max-width: 768px) {
  .hero-header {
    height: 50vh;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
}

@media (max-width: 480px) {
  .hero-header {
    height: 45vh;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  /* Mobile-specific font & color */
  .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #ffeb99; /* lighter yellow for contrast */
  }

  .hero-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #ffffffcc; /* semi-transparent white */
  }
}



/* Fade-up keyframes */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Underline shimmer */
.underline {
  width: 120px;
  height: 3px;
  margin: 10px auto;
  background: linear-gradient(90deg, #fff, #ffe4ec, #fff);
  background-size: 200% 100%;
  border-radius: 5px;
  animation: shimmer 3s linear infinite;
}

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

/* Event titles with fancy underline */
.fancy-underline {
  position: relative;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  color: #333;
  margin: 20px 0 40px 0;
}

/* Animated underline */
.fancy-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff6a00, #ee0979, #00c6ff, #ff6a00);
  background-size: 300% 100%;
  border-radius: 5px;
  animation: underlineMove 3s linear infinite;
}

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

/* Event Category Section */
.event-category {
  margin: 2rem auto;
  max-width: 1100px;
  padding: 1rem;
}

.event-category h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Modal Fullscreen */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  border-radius: 10px;
}

#caption {
  text-align: center;
  color: #f1f1f1;
  margin-top: 10px;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--secondary);
}

/* Back to Home Button */
.back-home-container {
  text-align: center;
  margin: 50px 0;
}

.back-home-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.back-home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ========================= */
/* Responsive Media Queries */
