/* Global */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  color: #fff;
  background-color: #000; /* homepage black background */
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  z-index: 1001;
  background: rgba(0,0,0,1);
  padding: 0 20px;
  box-sizing: border-box;
}

header img {
  height: 40px;
  margin-right: 20px; /* space between logo and nav */
}

header .nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto; /* right-align nav links */
  margin-right: 20px;
  align-items: center;
}

header .nav-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* Sections */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 20px;
}

section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

section p {
  font-size: 18px;
  max-width: 900px;
  line-height: 1.6;
  color: #fff;
}

/* Reusable Section Block */
.section-block {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.section-block h2 { margin-bottom: 20px; }
.section-block p { margin-bottom: 10px; }

/* About Section */
#about {
  background-image: url('../images/about.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#about .section-block {
  font-family: 'Montserrat', sans-serif;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
  max-width: 700px;
  padding: 20px;
  text-align: center;
}

/* Donate Section */
#donate {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#donate .section-block {
  font-family: 'Montserrat', sans-serif;
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

/* Hide iframe initially */
.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: none; /* hidden until playing */
}

/* Placeholder image */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-poster.png') center/cover no-repeat;
  z-index: 1;
}

/* Hero text stays on top */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #fff;
  opacity: 1;
}

.hero-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  line-height: 1.6;
}

/* Floating Donate Button */
.floating-donate {
  position: fixed;
  bottom: 60px; /* raised slightly so it doesn't cover footer */
  left: 50%;
  transform: translateX(-50%);
  background: #fef7ef;
  color: #000;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1002;
  cursor: pointer;
}

/* Contact Section */
#contact {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 50px 20px;
  box-sizing: border-box;
  position: relative;
}

#contact img {
  max-width: 250px;
  width: 70%;
  height: auto;
  margin: 20px 0;
}

/* Copyright pinned at bottom */
#contact-footer {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 14px;
}

/* Donate Section Inputs */
#donate input {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  max-width: 400px;
  border-radius: 5px;
  border: 1px solid #fff;
  color: #000;
  box-sizing: border-box;
}

#donate input[type="number"] {
  max-width: 200px;
}

#donate-status {
  color: red;
  margin-top: 10px;
}

.fancy-button {
  background: linear-gradient(135deg, #fef7ef, #ffd6a5);
  color: #000;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fancy-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #ffd6a5, #fef7ef);
}

.fancy-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* --- Partners Section Reset --- */
#partners {
  min-height: auto;           /* allow content to define height */
  height: auto;
  display: block;             /* no flex centering */
  padding: 60px 0;            /* top/bottom spacing for visual breathing room */
  box-sizing: border-box;
}

/* Partners Section Container */
.partners-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;                  /* spacing between featured and regular partners */
  background-color: #000;
  border-radius: 15px;
  padding: 0;                  /* inner padding now handled by section */
  box-sizing: border-box;
}

/* Featured Partners Background */
.featured-partners-background {
  width: 100%;
  background-color: #1a1a1a;
  border-radius: 12px 12px 0 0; /* round top corners only */
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  margin-top: 10px;
}

.featured-partners-container {
  padding: 25px 0 15px 0;
}

.featured-partners-wrapper h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  color: #fff;
  line-height: 1.4;
  text-align: center;
}

.featured-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.featured-grid img {
  width: 90px;
  height: auto;
  border-radius: 6px;
  padding: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Partners Heading */
.partners-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin: 5px 0;
}

/* Regular Partners Background */
.partners-columns-background {
  width: 100%;
  background-color: #111;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  padding: 0;
}

.partners-columns-container {
  padding: 15px 0 40px 0;
}

.partners-columns {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.partners-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  flex: 1;
  max-width: 300px;
}

.partner-image img {
  width: 140px;
  height: auto;
  border-radius: 10px;
  padding: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
