/* =============================================
   EVENTS PAGE — events.css
   ============================================= */

/* Active nav link */
.nav-active { position: relative; }
.nav-active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(1) !important;
  transform-origin: left !important;
}

/* ─── EVENTS HERO ─── */
.evt-hero {
  min-height: 70vh;
  padding: 200px 60px 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.evt-hero-shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.evt-float {
  position: absolute;
  opacity: 0.35;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.ef-1 { top: 12%; left: 5%; width: clamp(80px,12vw,180px); animation: evtFloat1 8s ease-in-out infinite; }
.ef-2 { bottom: 15%; left: 18%; width: clamp(70px,10vw,150px); animation: evtFloat2 10s ease-in-out infinite; }
.ef-3 { top: 20%; right: 8%; width: clamp(90px,14vw,200px); animation: evtFloat3 9s ease-in-out infinite; }
.ef-4 { bottom: 10%; right: 15%; width: clamp(60px,9vw,140px); animation: evtFloat1 11s ease-in-out infinite; }

@keyframes evtFloat1 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50%      { transform: translate(18px,-22px) rotate(6deg); }
}
@keyframes evtFloat2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50%      { transform: translate(-14px,20px) rotate(-5deg); }
}
@keyframes evtFloat3 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50%      { transform: translate(12px,16px) rotate(4deg); }
}

.evt-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.evt-hero-label {
  display: inline-block;
  background: var(--accent-red);
  color: white;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 30px;
}

.evt-hero h1 {
  font-size: clamp(56px,10vw,130px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 25px;
}

.evt-hero-desc {
  font-size: clamp(16px,1.8vw,22px);
  line-height: 1.6;
  color: var(--text-main);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── EVENT TABS ─── */
.evt-tabs {
  padding: 0 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.evt-tabs-inner {
  display: flex;
  gap: 12px;
  background: rgba(0,0,0,0.04);
  padding: 8px;
  border-radius: 50px;
}

.evt-tab {
  padding: 14px 36px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  color: var(--text-main);
}

.evt-tab:hover {
  background: rgba(177,31,35,0.08);
  color: var(--accent-red);
}

.evt-tab.active {
  background: var(--accent-red);
  color: white;
  box-shadow: 0 4px 20px rgba(177,31,35,0.3);
}

/* ─── EVENT LIST ─── */
.evt-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── EVENT CARD ─── */
.evt-card {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.evt-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.evt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  border-color: transparent;
}

.evt-card:hover::before {
  transform: scaleY(1);
}

.evt-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 30px;
  background: var(--accent-red);
  color: white;
  min-width: 120px;
  flex-shrink: 0;
}

.evt-day {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.evt-month {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.evt-year {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}

.evt-card-body {
  padding: 35px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.evt-card-body h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
}

.evt-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.evt-location,
.evt-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,0.55);
}

.evt-location svg,
.evt-time svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.evt-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,0.6);
  margin-bottom: 20px;
  flex: 1;
}

.evt-cta {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.evt-cta:hover {
  letter-spacing: 3px;
}

.evt-past-badge {
  display: inline-block;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.4);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

/* Card filtering */
.evt-card.hidden { display: none; }
.evt-card.fade-in {
  animation: evtFadeIn 0.5s ease forwards;
}
@keyframes evtFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Past card muted style */
.evt-card[data-category="past"] .evt-card-date {
  background: #555;
}
.evt-card[data-category="past"] {
  opacity: 0.75;
}
.evt-card[data-category="past"]:hover {
  opacity: 1;
}

/* ─── NOTIFY SECTION ─── */
.evt-notify {
  background: var(--accent-red);
  color: white;
  border-radius: 40px;
  margin: 0 20px 120px;
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.evt-nshape {
  position: absolute;
  opacity: 0.15;
  filter: brightness(2);
}

.en-1 { top: -5%; left: -3%; width: 180px; animation: evtFloat2 10s ease-in-out infinite; }
.en-2 { bottom: -8%; right: 5%; width: 220px; animation: evtFloat1 12s ease-in-out infinite; }
.en-3 { top: 30%; right: -5%; width: 100px; animation: evtFloat3 8s ease-in-out infinite; }
.en-4 { bottom: 20%; left: 10%; width: 140px; animation: evtFloat1 9s ease-in-out infinite; }

.evt-notify-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.evt-notify-label {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.evt-notify h2 {
  font-size: clamp(36px,5vw,56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.evt-notify p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 40px;
}

.evt-notify-form {
  display: flex;
  max-width: 500px;
  gap: 10px;
  margin: 0 auto;
}

.evt-notify-form input {
  padding: 18px 28px;
  flex: 1;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 16px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.evt-notify-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.evt-notify-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
}

.evt-notify-form button {
  padding: 18px 40px;
  border: none;
  background: white;
  color: var(--accent-red);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.evt-notify-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .evt-hero {
    padding: 140px 20px 60px;
    min-height: 50vh;
  }
  .evt-hero h1 {
    font-size: clamp(40px,12vw,80px);
  }
  .evt-tabs {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .evt-list {
    padding: 0 20px 80px;
  }
  .evt-card {
    flex-direction: column;
  }
  .evt-card-date {
    flex-direction: row;
    gap: 12px;
    padding: 20px 30px;
    min-width: unset;
  }
  .evt-day {
    font-size: 32px;
  }
  .evt-card-body {
    padding: 25px 30px;
  }
  .evt-card-body h2 {
    font-size: 20px;
  }
  .evt-notify {
    padding: 60px 30px;
    margin: 0 10px 80px;
    border-radius: 24px;
  }
  .evt-notify-form {
    flex-direction: column;
  }
  .evt-notify-form button {
    width: 100%;
  }
}
