/* Events Page CSS */

/* --- Variables & Base --- */
:root {
  --fl-pink: #e05699;
  --fl-dark: #1b1b36;
  --fl-text: #555555;
  --fl-light-pink: #fdf2f6;
}

/* --- Hero Section --- */
.events-hero {
  background: #fdfafb;
  position: relative;
  overflow: hidden;
}

.events-hero-text-col {
  padding: 80px 40px 80px 10%;
}

.events-breadcrumb {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.events-breadcrumb a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}
.events-breadcrumb i {
  color: var(--fl-pink);
}

.events-hero-subtitle {
  color: var(--fl-pink);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.events-hero-title {
  color: var(--fl-dark);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

.events-hero-desc {
  font-family: var(--fl-font-family);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  max-width: 95%;
}

.events-hero-image-wrap {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.events-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-hero-fade {
  position: absolute;
  top: 0;
  left: -1px;
  width: 25%;
  height: 100%;
  background: linear-gradient(to right, #fdfafb 0%, rgba(253,250,251,0) 100%);
  z-index: 1;
}

/* --- Premium Section Headers --- */
.events-section-header {
  position: relative;
  z-index: 2;
}

.events-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(235, 77, 128, 0.08);
  color: var(--fl-pink);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(235, 77, 128, 0.15);
}

.events-title {
  color: var(--fl-dark);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.events-title-accent {
  color: var(--fl-pink);
  position: relative;
  display: inline-block;
}

.events-title-accent::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(235, 77, 128, 0.15);
  z-index: -1;
  border-radius: 4px;
}

.events-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 650px;
  line-height: 1.7;
}

.events-heart-divider .line {
  height: 2px;
  width: 40px;
  background-color: var(--fl-pink);
}

.events-heart-divider i, .events-heart-divider svg {
  color: var(--fl-pink);
  font-size: 1rem;
}

/* --- Upcoming Events --- */
.events-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.events-filter-select, .events-filter-search {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #555;
  outline: none;
}
.events-filter-select {
  width: 250px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 15px center;
  appearance: none;
}
.events-filter-search {
  width: 300px;
}

.events-filter-btn {
  background: var(--fl-pink);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.events-filter-btn:hover {
  background: #d13d6a;
}

/* --- Event Cards (Pixel Perfect Match to Screenshot) --- */
.event-card-v2 {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.event-card-v2-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.event-card-v2-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card-v2:hover .event-card-v2-img-wrap img {
  transform: scale(1.05);
}

/* Calendar Badge */
.event-card-v2-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  width: 48px;
  border: 1px solid #e05699;
  z-index: 2;
}

.event-card-v2-month {
  background: #e05699;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-card-v2-day {
  color: #e05699;
  font-size: 18px;
  font-weight: 800;
  padding: 4px 0;
  background: #ffffff;
  line-height: 1;
}

/* Content */
.event-card-v2-body {
  padding: 0 25px 25px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

/* Pill badge */
.event-card-v2-type {
  display: inline-block;
  background: #ffe4ef;
  color: #e05699;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: -14px;
  margin-bottom: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 3;
  border: 2px solid #fff;
}

.event-card-v2-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fl-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.event-card-v2-title a {
  color: inherit;
  text-decoration: none;
}

.event-card-v2-title a:hover {
  color: #e05699;
}

.event-card-v2-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-v2-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex: 1;
}

.event-card-v2-meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 12px;
  font-weight: 500;
}

.event-card-v2-meta li i {
  color: #e05699;
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.event-card-v2-btn {
  display: block;
  text-align: center;
  border: 1px solid #e05699;
  color: #e05699;
  border-radius: 6px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.event-card-v2-btn:hover {
  background: #e05699;
  color: #fff;
}

.btn-events-solid {
  background: var(--fl-pink);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-events-solid:hover {
  background: #d13d6a;
  color: #fff;
}

/* --- Newsletter CTA (Pixel Perfect Match to Screenshot) --- */
.fl-newsletter-banner {
  background-color: #fff0f5; /* very light pink */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: relative;
  min-height: 100px;
}

.fl-newsletter-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.fl-newsletter-img {
  width: 150px;
  height: auto;
  margin-top: -30px;
  margin-bottom: -15px;
  position: relative;
  z-index: 2;
}

.fl-newsletter-text h4 {
  color: var(--fl-dark);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.fl-newsletter-text p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.fl-newsletter-right {
  flex-shrink: 0;
}

.fl-newsletter-form {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fl-newsletter-form input {
  padding: 12px 20px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  width: 280px;
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  color: #333;
}

.fl-newsletter-form button {
  background-color: #e05699;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.fl-newsletter-form button:hover {
  background-color: #d13d6a;
}

@media (max-width: 991px) {
  .fl-newsletter-banner {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
    text-align: center;
    margin-top: 40px;
  }
  .fl-newsletter-left {
    flex-direction: column;
    gap: 15px;
  }
  .fl-newsletter-img {
    margin-top: -50px;
    margin-bottom: 0;
  }
  .fl-newsletter-form {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .fl-newsletter-form input {
    width: 100%;
  }
  .fl-newsletter-form button {
    width: 100%;
  }
}

/* --- Why Attend Our Events (Pixel Perfect) --- */
.fl-why-section {
  background: #ffffff;
}

.fl-why-title {
  color: var(--fl-dark);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.events-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.events-heart-divider .line {
  height: 2px;
  width: 50px;
  background-color: #e05699;
}
.events-heart-divider i {
  color: #e05699;
  font-size: 14px;
}

.fl-why-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1140px;
  margin: 0 auto;
}

.fl-why-col {
  flex: 1;
  padding: 0 15px;
  position: relative;
  text-align: center;
}

/* Vertical divider */
.fl-why-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 50%;
  width: 1px;
  background-color: #e5e5e5;
}

.fl-why-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #e05699;
  border: 2px solid #ffe1eb; /* Super soft pink border */
  box-shadow: none;
  transition: transform 0.3s ease;
}

.fl-why-col:hover .fl-why-icon {
  transform: translateY(-5px);
  background: #fff0f5;
}

.fl-why-icon svg {
  stroke: #e05699;
  fill: none;
  width: 32px;
  height: 32px;
  stroke-width: 1.2;
}

.fl-why-item-title {
  color: var(--fl-dark);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.fl-why-item-desc {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 5px;
}

@media (max-width: 991px) {
  .fl-why-grid {
    flex-wrap: wrap;
    justify-content: center;
  }
  .fl-why-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    margin-bottom: 40px;
  }
  .fl-why-col:nth-child(3n)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .fl-why-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .fl-why-col:nth-child(3n)::after {
    display: block;
  }
  .fl-why-col:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .fl-why-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .fl-why-col::after {
    display: none !important;
  }
}

/* --- Past Events Gallery --- */
.gallery-img {
  width: 100%;
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(11, 26, 64, 0.05);
  transition: 0.3s;
}
.gallery-img:hover {
  transform: scale(1.02);
}

.btn-events-outline-pill {
  border: 1px solid var(--fl-pink);
  color: var(--fl-pink);
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-events-outline-pill:hover {
  background: var(--fl-light-pink);
  color: var(--fl-pink);
}

/* --- Stay Updated Banner --- */
.events-stay-updated {
  background: var(--fl-light-pink);
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.stay-icon {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stay-icon svg {
  stroke: var(--fl-pink);
}
.stay-text {
  flex-grow: 1;
}
.stay-text h4 {
  margin: 0;
  font-weight: 700;
  color: var(--fl-dark);
}
.stay-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.stay-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn-follow {
  background: var(--fl-pink);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-follow:hover {
  background: #d13d6a;
  color: #fff;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  text-decoration: none;
}
.si-fb { background: #3b5998; }
.si-ig { background: #E1306C; }
.si-yt { background: #ff0000; }
.si-li { background: #0077b5; }
