/* ===== RESET ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* ===== NAV ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
  padding: 15px 40px;
}

nav img {
  display: block;
}

/* NAV LINKS WRAP CLEANLY */
nav div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 0.95em;
}

nav a:hover {
  color: #ff5a00;
}


/* ===== HERO BASE ===== */
.hero {
  position: relative;
  height: 55vh;
  min-height: 350px;
  max-height: 650px;
  overflow: hidden;

  display: flex;              
  justify-content: center;   
  align-items: center;       

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.1) 100%
  );
}

.about-hero::after,
.contact-hero::after {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.1)
  );
}

/* HERO TEXT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 0 15px;
  color: white;
}
.hero-content h1,
.hero-content p {
  color: white;
}

/* TEXT STYLE */
.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-content p {
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* ===== PAGE HERO IMAGES ===== */

/* HOME (TOP-ALIGNED PERFECTLY) */
.home-hero {
  background: url('images/hero-home.jpg') center 40%/cover no-repeat;
  height: 70vh;
  position: relative;
}

.home-hero .hero-content {
  position: absolute;
  top: 10px;   /* 🔥 EXACT placement */
  left: 50%;
  transform: translateX(-50%);
  color: white;
}

/* ABOUT */
.about-hero {
  background: url('images/hero-about.jpg') center 30%/cover no-repeat;
  height: 50vh;
}

/* EVENTS */
.events-hero {
  background: url('images/hero-event.jpg') center 35%/cover no-repeat;
  height: 50vh;
}

/* DONATE */
.donate-hero {
  background: url('images/hero-donate.jpg') center 70%/cover no-repeat;
  height: 50vh;
}

/* SUPPORT */
.support-hero {
  background: url('images/hero-support.jpg') center 75%/cover no-repeat;
  height: 50vh;
}

/* CONTACT */
.contact-hero {
  background: url('images/hero-contact.jpg') center 25%/cover no-repeat;
  height: 50vh;
}

/* LOWER TEXT ON NON-HOME PAGES */
.contact-hero .hero-content,
.support-hero .hero-content,
.donate-hero .hero-content,
.events-hero .hero-content,
.about-hero .hero-content {
  transform: translateY(120px);
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #ff5a00;
  color: white;
  text-decoration: none;
  border-radius: 5px;

  /* 🔥 ADD THESE */
  transition: all 0.3s ease;
}

/* 🔥 ADD THIS RIGHT UNDER */
.btn:hover {
  background: #e04e00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===== SECTIONS ===== */
.section {
  padding: 50px 20px;
  text-align: center;
}

/* ===== CARDS ===== */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  width: 260px;
  margin: 15px;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* PRICE HIGHLIGHT */
.card strong {
  color: #ff5a00;
  font-size: 1.2em;
}

/* ===== SPONSOR CARDS ===== */
.sponsor-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.sponsor-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}



/* FEATURED SPONSOR */
.featured {
  border: 2px solid #ff5a00;
  transform: scale(1.05);
}

.featured:hover {
  transform: scale(1.08);
}

.featured h3::after {
  content: " ⭐ Most Popular";
  color: #ff5a00;
  font-size: 0.8em;
}

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-split img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

/* ===== GALLERY ===== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}
/* ===== FORM ===== */
form {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
}

form input,
form textarea,
form select {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
}

form button {
  width: 100%;
}

/* ===== FOOTER ===== */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  background: #f8f8f8;
}

.impact-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.impact-box {
  text-align: center;
}

.impact-box h2 {
  color: #ff5a00;
  font-size: 2.5em;
  margin-bottom: 5px;
}

/* ===== HERO SLIDESHOW FIX ===== */
/* (Removed duplicate .hero — using main hero settings above) */

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;

  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    text-align: center;
  }

  .home-hero {
    height: 60vh;
    padding-top: 80px;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .about-split {
    flex-direction: column;
  }
}