/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');
:root {
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --badge-green-bg: #ecfdf5;
  --badge-green-text: #065f46;
  --badge-blue-bg: #eff6ff;
  --badge-blue-text: #1e40af;
  --badge-yellow-bg: #fefce8;
  --badge-yellow-text: #854d0e;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.madras-red {
    color: #CA3131;
} 
/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 64px 0;
}

.section-bordered {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-surface);
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}

.text-secondary {
  color: var(--text-muted);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.p {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 768px) {
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--text-main);
  color: #ffffff;
  border: 1px solid var(--text-main);
}

.btn-primary:hover {
  background-color: #334155;
  border-color: #334155;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
}

.badge-online {
  background-color: var(--badge-blue-bg);
  color: var(--badge-blue-text);
  border: 1px solid #bfdbfe;
}

.badge-offline {
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
  border: 1px solid #a7f3d0;
}

.badge-stretch {
  background-color: var(--badge-yellow-bg);
  color: var(--badge-yellow-text);
  border: 1px solid #fef08a;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header1 {
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes brand to left, nav links to far right */
  height: 64px;                   /* Slightly increased height to fit both logos nicely */
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;                 /* Prevents brand cluster from shrinking/wrapping */
}

/* Logos Wrapper */
.brand-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Base Logo Styles */
.brand-logo {
  height: 40px;                   /* Consistent height for visual balance */
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-divider {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-offline {
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
  border: none; /* Removes border */
}

/* Right-Side Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--text-main);
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 56px 0 40px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
}

.hero-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-main);
  max-width: 800px;
}

.hero-description {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-heading {
    font-size: 26px;
  }
}

.metric-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.metric-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.metric-val {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 4px;
}
.hero-mascot {
  position: absolute;
  top: 100px;
  right: 300px;
  pointer-events: none;        /* Ensures links and buttons remain clickable */
  z-index: 0;
}

.mascot-img {
  height: 220px;               /* Clean proportions without stretching section height */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

/* On tablet/mobile, scale down or tuck in so it doesn't collide with text */
@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;           /* Full width text */
  }

  .hero-mascot {
    opacity: 0.15;             /* Subtle watermark mode so text remains readable */
    right: -20px;
    top: 60px;
  }

  .mascot-img {
    height: 180px;
  }
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-top: 32px;
  width: 100%;
}

.btn-register {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  background-color: var(--text-main);
  color: #ffffff;
  border: 1px solid var(--text-main);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-register:hover {
  background-color: #d32f2f; /* CAC Madras Red */
  border-color: #d32f2f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.btn-register:active {
  transform: translateY(0);
}

.cta-caption {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Events Grid
   ========================================================================== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Generous gap separating each event entry */
}

.event-item {
  display: flex;
  align-items: center;        /* Vertically centers the button with the text */
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.event-body {
  flex: 1;                    /* Lets text take up remaining space */
}

.event-action {
  flex-shrink: 0;             /* Prevents the button from wrapping or shrinking */
}

/* Stack button below text on mobile screens */
@media (max-width: 640px) {
  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-body {
  width: 100%;
}

.event-headline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.event-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin: 0;
}

.event-summary {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 14px;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.event-details span {
  display: inline-flex;
  gap: 6px;
}

.event-details strong {
  color: var(--text-main);
  font-weight: 500;
}

@media (max-width: 640px) {
  .events-list {
    gap: 28px;
  }

  .event-item {
    padding-bottom: 24px;
  }

  .event-headline {
    flex-wrap: wrap;
    gap: 8px;
  }

  .event-details {
    flex-direction: column;
    gap: 6px;
  }

}

/* ==========================================================================
   Data Table (Ticket Allocation)
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background-color: var(--bg-surface);
  font-weight: 600;
  color: var(--text-main);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: #fafbfc;
}

.highlight{
  color: #885599;
}

.status-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
}

.status-confirmed {
  background-color: var(--badge-green-bg);
  color: var(--badge-green-text);
}

.status-stretch {
  background-color: var(--badge-yellow-bg);
  color: var(--badge-yellow-text);
}

/* ==========================================================================
   Venue & Schedule
   ========================================================================== */
.venue-details-list {
  margin-top: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  padding: 16px;
}

.detail-item {
  display: flex;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-key {
  width: 110px;
  font-weight: 600;
  color: var(--text-main);
  flex-shrink: 0;
}

.detail-val {
  color: var(--text-muted);
}

.timeline-list {
  list-style: none;
  position: relative;
  border-left: 2px solid var(--border-color);
  padding-left: 20px;
  margin-left: 8px;
  margin-top: 20px;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-main);
}

.time-stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}

.time-content strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.time-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.map-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 24px;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  gap: 12px;
}

.map-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.map-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

/* 16:9 Responsive Aspect Ratio Container */
.map-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 48%; /* Adjusts vertical height comfortably on desktop */
  min-height: 280px;
  background-color: var(--bg-subtle);
}

.map-frame-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-footer {
  padding: 10px 18px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .map-frame-wrapper {
    padding-top: 75%; /* Taller aspect ratio for mobile viewports */
  }
}
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.footer-top h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.footer-actions {
  display: flex;
  gap: 12px;
}

.footer-bottom {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-light);
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}