/* =====================
   Events Page Styles
   ===================== */

.events-section {
  background-color: #fff;
  padding: 80px 0 60px;
}

/* ---------- Header ---------- */
.events-header {
  margin-top: 110px;
  margin-bottom: 10px;
}

.events-header h2 {
  font-size: 2.8rem;
  color: #2b2b2b;
}

.ev-highlight {
  color: #f6a506;
}

.ev-subtitle {
  color: #9c9c9c;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* ---------- Scroll animations ---------- */
.ev-anim-left,
.ev-anim-right {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ev-anim-left  { transform: translateX(-60px); }
.ev-anim-right { transform: translateX(60px); }

.ev-anim-left.visible,
.ev-anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.ev-anim-right.visible { transition-delay: 0.1s; }

/* ---------- Filter Tabs ---------- */
.events-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #888;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.filter-option.active {
  color: #2b2b2b;
}

.filter-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: inline-block;
  transition: border-color 0.2s, background-color 0.2s;
  flex-shrink: 0;
}

.filter-option.active .filter-dot {
  border-color: #f6a506;
  background-color: #f6a506;
}

/* ---------- Events Grid ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ---------- Event Card ---------- */
.ev-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background-color: #eee;
}

.ev-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ev-card:hover img {
  transform: scale(1.06);
}

/* Overlay on hover */
.ev-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ev-card:hover .ev-overlay {
  opacity: 1;
}

.ev-overlay h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ev-overlay p {
  color: #f6a506;
  font-size: 0.82rem;
  margin: 0;
}

/* ---------- Full View Button ---------- */
.btn-full-view {
  display: inline-block;
  padding: 14px 60px;
  border: 2px solid #f6a506;
  border-radius: 10px;
  color: #2b2b2b;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn-full-view:hover {
  background-color: #f6a506;
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}
