/* ================================================= */
/* ✅ EVENTS PAGE PREMIUM STYLING ONLY */
/* File: css/events.css */
/* ================================================= */

/* ✅ EVENTS HERO BACKGROUND */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;

  /* Premium Animated Gradient */
  background: linear-gradient(
    120deg,
    #1e3a8a,
    #3b82f6,
    #9333ea
  );
  background-size: 300% 300%;
  animation: gradientMove 10s ease infinite;
}

/* ✅ Gradient Animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: white;
}

.hero-content p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
}

/* ✅ HERO STATS */
.hero-stats {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* ✅ Stat Box Style */
.hero-stats div {
  padding: 16px 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: 0.35s ease;
}

.hero-stats p {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

/* ✅ Glow Hover */
.hero-stats div:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(59,130,246,0.65);
}

/* ================================================= */
/* ✅ FILTER SECTION PREMIUM */
/* ================================================= */

.features {
  padding: 100px 0;
  background: #f8fafc;
}

.features h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e3a8a;
}

/* ✅ Filter Tabs Layout */
.tabs {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.tab-item {
  background: white;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.35s ease;
}

.tab-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tab-item .icon {
  font-size: 22px;
}

/* ✅ Dropdown Styling */
.filter-select {
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}

/* ✅ Filter Explanation */
.tab-content {
  margin-top: 35px;
  background: rgba(59,130,246,0.08);
  padding: 20px;
  border-radius: 16px;
  color: #1e293b;
  font-weight: 600;
  max-width: 650px;
  margin-inline: auto;
}

/* ================================================= */
/* ✅ FEATURED EVENTS PREMIUM SECTION */
/* ================================================= */

.featured-events {
  padding: 120px 0;
  position: relative;

  /* Dark Premium Gradient */
  background: linear-gradient(
    140deg,
    #0f172a,
    #1e3a8a,
    #3b82f6
  );
}

.featured-events h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: white;
  margin-bottom: 60px;
  text-align: center;
}

/* ✅ Event Grid */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* ================================================= */
/* ✅ EVENT CARD – FINAL PREMIUM & READABLE VERSION */
/* ================================================= */

.event-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Hover lift */
.event-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

/* ================================================= */
/* ✅ EVENT IMAGE */
/* ================================================= */

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.event-card:hover .event-img {
  transform: scale(1.08);
}

/* ================================================= */
/* ✅ BADGE (LIVE / UPCOMING) */
/* ================================================= */

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

/* LIVE badge */
.badge.live {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* UPCOMING badge */
.badge.upcoming {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* ================================================= */
/* ✅ EVENT INFO – TEXT VISIBILITY FIX */
/* ================================================= */

.event-info {
  padding: 26px;
  text-align: left;
}

/* Title */
.event-info h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

/* Meta & description */
.event-info p {
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #475569;
}

/* ================================================= */
/* ✅ BUTTON FIX */
/* ================================================= */

.event-info .btn {
  margin-top: 16px;
  display: inline-block;
  color: #ffffff !important;
}

/* ✅ Event Info */
.event-info {
  padding: 25px;
  text-align: left;
}

.event-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.event-info p {
  margin-bottom: 8px;
  color: #475569;
  font-weight: 500;
}

/* ✅ Button */
.event-info a.btn {
  margin-top: 15px;
  display: inline-block;
}

/* ================================================= */
/* ✅ UPCOMING SECTION */
/* ================================================= */

.upcoming-section {
  padding: 100px 0;
  background: #f9fafb;
  text-align: center;
}

.section-subtitle {
  max-width: 650px;
  margin: auto;
  margin-top: 10px;
  color: #555;
}

.timeline-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.timeline-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.14);
}

.timeline-card span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #1e3a8a;
}

/* ================================================= */
/* ✅ CTA SECTION */
/* ================================================= */

.events-cta {
  padding: 90px 0;
  background: linear-gradient(to right, #1e3a8a, #3b82f6);
  text-align: center;
}

.cta-box {
  max-width: 750px;
  margin: auto;
  color: white;
}

.cta-box h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 25px;
}

/* ================================================= */
/* ✅ WHY EVENSIA */
/* ================================================= */

.why-evensia {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.why-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.why-card {
  padding: 25px;
  border-radius: 16px;
  background: #f3f4f6;
  transition: 0.3s ease;
}

.why-card:hover {
  background: #e0ecff;
  transform: translateY(-6px);
}

.why-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

/* ================================================= */
/* ✅ FOOTER PREMIUM */
/* ================================================= */

footer {
  background: #0b1120;
  padding: 70px 20px;
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand img {
  height: 55px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255,255,255,0.75);
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
}

.socials {
  margin-top: 15px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.socials a:hover {
  color: #3b82f6;
}

.copyright {
  margin-top: 25px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* ================================================= */
/* ✅ MOBILE RESPONSIVE EVENTS PAGE */
/* ================================================= */

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .tabs {
    flex-direction: column;
    width: 100%;
  }

  .tab-item {
    width: 95%;
    justify-content: center;
  }

  .event-info {
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
