/* Reset & Variables */
:root {
  --primary: #d4af37; /* Gold */
  --secondary: #014732; /* Dark Black */
  /* --secondary: #1a1a1a; Dark Black */
  --accent: #c0392b; /* Red for excitement */
  --text: #333;
  --light: #f4f4f4;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 0;
  }
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--secondary);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 15px;
    font-size: 1.6rem;
  }
}
.text-center {
  text-align: center;
}
.text-white {
  color: var(--white);
}
.bg-light {
  background-color: var(--light);
}
.bg-dark {
  background-color: var(--secondary);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #b39025;
}
@media (max-width: 768px) {
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0 auto;
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: var(--secondary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  align-items: center;
  display: flex;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--text);
}
.btn-nav {
  background: var(--primary);
  padding: 8px 15px;
  border-radius: 4px;
}
.hamburger {
  display: none;
}
/* Mobile Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--secondary);
    width: 100%;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    display: none; /* hidden by default */
  }

  .nav-links.active {
    display: flex; /* show on click */
  }

  .hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: var(--white);
  }
}

/* Hero Section */

.tagline {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--primary);
}
.hero h1 {
  font-size: 4rem;
  margin: 10px 0;
}
.hero h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.event-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .hero {
    height: 75vh;
    padding: 0 20px;
  }

  .tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .hero h2 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .event-meta {
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
  }
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards */
.card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-top: 5px solid var(--primary);
}
.age-badge {
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin: 15px 0;
  font-weight: bold;
}

/* Timeline/Rounds */
.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.timeline-number {
  background: var(--primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}
.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.benefit-item {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
}
.benefit-item .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

/* Registration Form */
.reg-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full-width {
  grid-column: span 2;
}
.btn-block {
  grid-column: span 2;
  width: 100%;
}
label {
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--secondary);
}
input,
select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--light);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}
.faq-item h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* Footer */
footer {
  background: var(--secondary);
  color: #bfbfbf;
  padding: 50px 0 20px;
  text-align: center;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
  justify-items: center;
}
.footer-col {
  text-align: left;
}
.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
}
.copyright {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
}
@media (max-width: 768px) {
  .footer-col {
    text-align: center;
  }
  .footer-content {
    justify-items: center;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  } /* Add JS toggle for real implementation */
  .reg-form {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .btn-block {
    grid-column: span 1;
  }
}

/* --- EXISTING CSS REMAINS THE SAME --- */
/* Add/Replace these specific sections below */

/* 1. About Event - Two Column Layout */
.two-col-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}
.col-text {
  flex: 1;
}
.col-image {
  flex: 1;
}
.col-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 10px 10px 0px var(--primary); /* Stylish offset border */
}
.text-left {
  text-align: left;
}
@media (max-width: 768px) {
  .col-image img {
    width: 80%;
  }
  .col-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* 2. Celebrity Section */
.celeb-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #222; /* Slightly lighter than pure black */
  padding: 40px;
  border-radius: 15px;
  border: 1px solid var(--primary);
}
.celeb-img {
  flex: 0 0 300px; /* Fixed width */
}
.celeb-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--primary);
}
.celeb-info h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.celeb-role {
  font-style: italic;
  color: #aaa;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .celeb-layout {
    flex-direction: column;
    text-align: center;
  }

  .celeb-img {
    flex: 0 0 180px;
  }

  .celeb-img img {
    height: 180px;
  }
}

/* 3. Gallery Section */



/* 4. Sponsors Section */
.sponsor-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px 0;
}

.sponsor-logo {
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sponsor-logo img {
  max-width: 50%;
  max-height: 100%;
  object-fit: contain; 
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .two-col-layout {
    flex-direction: column;
  }
  .col-image {
    order: -1;
  } /* Image on top for mobile */

  .celeb-layout {
    flex-direction: column;
    text-align: center;
  }
  .celeb-img {
    flex: auto;
    width: 100%;
  }
  .celeb-img img {
    height: auto;
  }
}
