/* =========================
   VARIABLES
========================= */

:root {
  --blue: #0d3b8e;
  --dark-bg: #0a0a0f;
  --light-bg: #f5f5f7;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
  background: var(--dark-bg);
  color: #ffffff;
}

body.light {
  background: var(--light-bg);
  color: #111111;
}

/* =========================
   FIX HEADER OFFSET
========================= */

main {
  padding-top: 110px;
}

/* =========================
   HEADER
========================= */

/* =========================
   HEADER LAYOUT FIX
========================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(14px);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* key fix */
}

.logo-container img {
  height: 56px;
  display: flex;
  transition: transform 0.3s ease;
  align-items: center;
  flex-shrink: 0; /* prevents compression */
}
.logo-container img {
  height: 56px;
  display: block;
  transition: transform 0.3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
   
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
   white-space: nowrap;
}

@media (max-width: 768px) {

  .header-inner {
    padding: 14px 5%;
  }

  .main-nav {
    gap: 16px;
  }

  .logo-container img {
    height: 48px;
  }

}

body.dark .main-nav a {
  color: rgba(255,255,255,0.9);
}

body.light .main-nav a {
  color: rgba(0,0,0,0.8);
}

#theme-toggle {
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

body.light #theme-toggle {
  border: 1px solid rgba(0,0,0,0.4);
  color: black;
}

/* =========================
   HERO (HOME)
========================= */

.brand-hero {
  min-height: 100vh;
  padding: 180px 20px 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.brand-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
 
  text-shadow: 0 10px 40px rgba(0,0,0,0.4);

}
.brand-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

.brand-hero .btn-primary {
  display: inline-block;
}

.brand-section {
  padding: 80px 8%;
  max-width: 1100px;
  margin: auto;
}

/* =========================
   FEATURE CARD (HOME)
========================= */

.event-feature-card {
  background: linear-gradient(135deg, #111, #1a1a1f);
  padding: 60px;
  border-radius: 28px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

body.light .event-feature-card {
  background: linear-gradient(135deg, #ffffff, #f2f2f2);
}

/* Larger feature image */

.event-card-image {
  flex: 0 0 380px; /* larger desktop image */
}

.event-card-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

@media (max-width: 1000px) {

  .event-feature-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .event-card-image {
    width: 100%;
    max-width: 100%;
    flex: none;
    margin-top: 30px;
  }

  .event-card-image img {
    width: 100%;
    border-radius: 20px;
  }

}




/* =========================
   GLOBAL BUTTON
========================= */

.btn-primary {
  background: var(--blue);
  color: white;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(13,59,142,0.35);
}

/* =========================
   EVENT PAGE HERO
========================= */
/* =========================
   EVENT HERO
========================= */

.hero {
  min-height: 100vh;
  padding: 160px 20px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

/* DARK MODE */
body.dark .hero {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.9)),
    url("/assets/gaurav.jpeg");
}

/* LIGHT MODE */
body.light .hero {
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.75)),
    url("/assets/gaurav.jpeg");
}

.hero > div {
  max-width: 900px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
}


/* =========================
   EVENT PAGE LAYOUT
========================= */

.event-section {
  padding: 80px 8%;
}

.event-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.event-left {
  flex: 1;
}

.event-right {
  flex: 0 0 420px;
}

.event-details {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 160px 1fr;
  row-gap: 14px;
  column-gap: 20px;
}

.event-label {
  font-weight: 600;
  opacity: 0.8;
}

.event-value {
  opacity: 0.95;
}

.ticket-box {
  background: #111;
  padding: 30px;
  border-radius: 24px;
}

body.light .ticket-box {
  background: #ffffff;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 60px 8%;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .event-container {
    flex-direction: column;
  }

  .event-feature-card {
    flex-direction: column;
    text-align: center;
  }
}


/* Show description spacing */

.show-description p {
  margin-bottom: 18px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 680px;
}

/* Terms styling */

.terms-title {
  margin-top: 50px;
  margin-bottom: 20px;
}

.terms-list {
  padding-left: 18px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 680px;
}

.terms-list li {
  margin-bottom: 10px;
}


/* =========================
   MOBILE TYPOGRAPHY FIX
========================= */

@media (max-width: 768px) {

    .hero {
    padding: 140px 20px 100px;
  }
   /* Hero title */
  .hero h1,
  .brand-hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  /* Hero subtitle */
  .hero p,
  .brand-hero p {
    font-size: 1.05rem;
  }

  /* Section headings */
  .event-section h2,
  .event-section h3,
  .brand-section h2 {
    font-size: 1.4rem;
  }

  /* Body paragraph text */
  .event-section p,
  .brand-section p {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  /* Event details grid text */
  .event-value {
    font-size: 1.05rem;
  }

  .event-label {
    font-size: 0.95rem;
  }

  /* Terms list */
  .terms-list li {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  /* Buttons */
  .btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
  }

}

/* =========================
   MOBILE WIDGET WIDTH FIX
========================= */

@media (max-width: 768px) {

  .event-section {
    padding: 40px 4%;
  }

  .event-container {
    gap: 40px;
  }

  .event-right {
    flex: 1;
  }

  .ticket-box {
    padding: 16px;
    border-radius: 18px;
       box-shadow: 0 30px 60px rgba(0,0,0,0.25);

  }

}

