/* =====================================================
   GLOBAL RESET
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* =====================================================
   BODY BACKGROUND
   ===================================================== */
body {
  min-height: 100vh;

  /* Light overlay for readability */
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35)
    ),
    url("../images/bg.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Disable fixed background on mobile (performance fix) */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 72px;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #1a1a1a;
  overflow: visible; /* 🔥 allow dropdown */
}

/* Logo */
.logo-wrap img {
  height: 66px;
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 15px;
}

.nav a:hover {
  color: #5b7b55;
}

/* CTA */
.btn {
  background: #5b7b55;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* =====================================================
   MOBILE NAV
   ===================================================== */
@media (max-width: 900px) {

  .header {
    padding: 0 20px;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav initially */
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;

    background: #1a1a1a;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 20px 0;
    display: none;
    z-index: 999;
  }

  /* Show when active */
  .nav.active {
    display: flex;
  }
}


/* =====================================================
   HERO SECTION
   ===================================================== */
.episodes-hero {
  height: 320px;
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  padding-left: 60px;
}

.episodes-hero h1 {
  color: #fff;
  font-size: 42px;
}

/* Hero responsive */
@media (max-width: 768px) {
  .episodes-hero {
    height: 240px;
    padding-left: 20px;
  }

  .episodes-hero h1 {
    font-size: 30px;
  }
}

/* =====================================================
   INTRO SECTION
   ===================================================== */
.episodes-intro {
  text-align: center;
  padding: 40px 20px;
  color: #555;
}

/* =====================================================
   FEATURED VIDEO
   ===================================================== */
.featured-section {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.featured-video iframe {
  width: 100%;
  height: 520px;
  border-radius: 12px;
}

/* Responsive video */
@media (max-width: 768px) {
  .featured-video iframe {
    height: 260px;
  }
}

/* =====================================================
   EPISODES GRID
   ===================================================== */
.episodes-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Episode card */
.episode-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.episode-card img {
  width: 100%;
}

.episode-content {
  padding: 15px;
}

.episode-content h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.episode-content p {
  font-size: 14px;
  color: #666;
}

/* Watch button */
.watch-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;

  background: linear-gradient(90deg,#ffc107,#ff7a00);
  color: #000;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
}

/* =====================================================
   SIMPLE FOOTER (MINIMAL BAR)
   ===================================================== */
.footer {
  text-align: center;
  padding: 18px;
  font-size: 14px;
  color: #9e9e9e;
  border-top: 1px solid #2a2a2a;
}

/* =====================================================
   PRIMARY BUTTON (GLOBAL)
   ===================================================== */
.btn-primary {
  background: #5b7b55;                 /* Green accent */
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 26px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;

  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover state */
.btn-primary:hover {
  background: #6f9468;
  transform: translateY(-1px);
}

/* Active / click */
.btn-primary:active {
  transform: translateY(0);
}

/* Disabled state */
.btn-primary:disabled,
.btn-primary.disabled {
  background: #3a3a3a;
  color: #9e9e9e;
  cursor: not-allowed;
}

/* =====================================================
   FULL SITE FOOTER
   ===================================================== */
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 80px 0 0;
}

/* Footer grid container */
.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr; /* Brand | Links | Contact */
  gap: 80px;
}

/* -----------------------------------------------------
   FOOTER BRAND
   ----------------------------------------------------- */
.footer-brand img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #aaa;
}

/* -----------------------------------------------------
   FOOTER LINKS & CONTACT
   ----------------------------------------------------- */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5b7b55;
}

/* Contact text */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
}

/* -----------------------------------------------------
   SOCIAL ICONS
   ----------------------------------------------------- */
.social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  background: #5b7b55;
  color: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  text-decoration: none;
}

/* -----------------------------------------------------
   FOOTER CTA BUTTON
   ----------------------------------------------------- */
.footer-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  background: #5b7b55;
  color: #000;
  font-weight: 600;

  border-radius: 30px;
  text-decoration: none;
}

/* -----------------------------------------------------
   FOOTER BOTTOM BAR
   ----------------------------------------------------- */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 60px;
  padding: 20px 40px;

  text-align: center;
  font-size: 13px;
  color: #777;
}

/* =====================================================
   MOBILE & TABLET RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {

  /* Footer grid stacks */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  /* Center social icons */
  .social-icons {
    justify-content: center;
  }

  /* Reduce bottom padding */
  .footer-bottom {
    padding: 20px;
  }

  /* About section stacks */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Gallery becomes single column */
  .gallery {
    grid-template-columns: 1fr;
  }

  /* Mobile navigation dropdown */
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;

    background: #1e1e1e;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 20px 0;
    display: none;
    border-bottom: 1px solid #2a2a2a;
  }

  .nav-links.active {
    display: flex;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }
}
