/* ========================
   EVENT PAGE STYLES
   Indian Independence Day Celebration
   ======================== */

/* ---------- Event Hero ---------- */
.event-hero {
  position: relative;
  padding: calc(var(--space-12) + 60px) 0 var(--space-11);
  overflow: hidden;
  background: linear-gradient(135deg, #0D0D0D 0%, #1C1C1C 50%, #2A2A2A 100%);
  color: var(--color-white);
}

.event-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 168, 67, 0.18), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(232, 199, 107, 0.12), transparent 55%);
  pointer-events: none;
}

.event-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.0) 0%, rgba(13, 13, 13, 0.6) 100%);
  pointer-events: none;
}

.event-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-9);
  align-items: center;
}

.event-hero__content {
  max-width: 640px;
}

.event-hero__eyebrow {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(212, 168, 67, 0.18);
  color: var(--color-gold-light);
  border: 1px solid rgba(212, 168, 67, 0.5);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.event-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.event-hero__title span {
  color: var(--color-gold);
  display: block;
}

.event-hero__tagline {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-7);
  font-style: italic;
}

.event-hero__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.event-hero__meta li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.event-hero__meta svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.event-hero__meta-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}

.event-hero__meta-value {
  display: block;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
}

.event-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.event-hero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.event-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.event-hero__breadcrumb a:hover {
  color: var(--color-gold);
}

.event-hero__breadcrumb span:not(:last-child) {
  color: rgba(255, 255, 255, 0.4);
}

.event-hero__flyer {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 40px rgba(212, 168, 67, 0.25);
  border: 2px solid rgba(212, 168, 67, 0.4);
}

.event-hero__flyer img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Event Highlights ---------- */
.event-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.event-highlight {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-gold);
  transition: all var(--transition-normal);
}

.event-highlight:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--shadow-glow-gold);
}

.event-highlight__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-xl);
  background: rgba(212, 168, 67, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  overflow: hidden;
}

.event-highlight__icon--image {
  background: var(--color-white);
  padding: 0;
}

.event-highlight__icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-highlight h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.event-highlight p {
  color: var(--color-gray-600);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  margin: 0;
}

/* ---------- Register / Participate (Tabs + Embed) ---------- */
.register-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin: var(--space-7) 0 var(--space-5);
}

.register-tab {
  flex: 1 1 240px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.register-tab:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.register-tab--active {
  background: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.register-tab__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold-dark);
}

.register-tab--active .register-tab__eyebrow {
  color: var(--color-gold);
}

.register-tab__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  line-height: var(--lh-tight);
}

.register-tab--active .register-tab__title {
  color: var(--color-white);
}

/* Panel */
.register-panel {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 168, 67, 0.25);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.register-panel[hidden] {
  display: none;
}

.register-panel__intro {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-bottom: 1px solid var(--color-gray-100);
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-white));
}

.register-panel__text {
  color: var(--color-gray-700);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin: 0;
  flex: 1;
}

.register-panel__intro-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.register-panel__qr {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
}

.register-panel__qr img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
}

.register-panel__qr span {
  font-size: var(--fs-xs);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--fw-medium);
}

/* ---------- Venue Map ---------- */
.venue-map {
  margin-top: var(--space-7);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 168, 67, 0.25);
}

.venue-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* ---------- CTA Banner overrides for event page ---------- */
.event-hero ~ .cta-banner .cta-banner__bg,
.cta-banner .cta-banner__bg {
  /* keep default */
}
