:root {
  --mbawula-yellow: #F7B90E;
  --mbawula-white: #FDFCF9;
  --mbawula-dark-yellow: #e2a709;
  --mbawula-grey: #9D9D9C;
  --mbawula-orange: #D77806;
  --mbawula-black: black;
}

/* =======================
        FONTS
======================== */
@font-face {
  font-family: 'Montserrat Semi-Bold';
  src: url(/Assets/Fonts/Montserrat-SemiBold.otf) format(opentype);
}
@font-face {
  font-family: 'Montserrat';
  src: url(/Assets/Fonts/Montserrat-Regular.ttf) format(truetype);
}
@font-face {
  font-family: 'Mistral';
  src: url(/Assets/Fonts/MISTRAL.woff2) format(webopenfontformat2);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--mbawula-yellow);
  color: var(--mbawula-black);
}

/* ===========================
        ERROR PAGE
=========================== */
.error-page {
  height: 100vh;
  background: linear-gradient(to bottom right, #000000, #311a00);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.error-container {
  z-index: 10;
}
.error-container h1 {
  font-size: 8rem;
  margin: 0;
  color: var(--mbawula-orange);
}
.error-container h2 {
  font-size: 2rem;
  margin: 10px 0;
}
.error-container p {
  font-size: 1.1rem;
  margin: 20px 0;
}
.error-container .btn {
  padding: 10px 25px;
  background-color: red;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}
.error-container .btn:hover {
  background-color: var(--mbawula-dark-yellow);
}
.error-page::after {
  content: '';
  background: url('images/film-reel.png') no-repeat center center;
  background-size: 300px;
  opacity: 0.03;
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  pointer-events: none;
}

/* ===========================
        NAVIGATION STYLES
=========================== */

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, padding 0.3s ease;
  background-color: transparent; /* Important */
}


/* When scrolled */
#navbar.scrolled {
  background-color: var(--mbawula-black);
  padding: 1rem 2rem;
}

/* Nav links default (light text over transparent background) */
.nav-links a {
  color: var(--mbawula-black);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--mbawula-orange);
  font-weight: 600;
}

/* Nav links when scrolled */
#navbar.scrolled .nav-links a {
  color: var(--mbawula-white);
}
#navbar.scrolled .nav-links a:hover {
  color: var(--mbawula-yellow);
}

/* Hamburger lines default */
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--mbawula-black);
  transition: all 0.3s ease;
}

/* Hamburger lines when scrolled */
#navbar.scrolled .hamburger span {
  background-color: var(--mbawula-white);
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

/* Desktop Nav Layout */
.nav-links ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background-color: var(--mbawula-black);
  flex-direction: column;
  text-align: center;
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu ul {
  list-style: none;
}
.mobile-menu a {
  color: var(--mbawula-white);
  text-decoration: none;
  display: block;
  padding: 1.25rem 1rem;
  transition: background-color 0.3s, color 0.3s;
}
.mobile-menu a:hover {
  background-color: var(--mbawula-dark-yellow);
  color: var(--mbawula-black);
}

/* Logo Visibility */
.logo {
  opacity: 1;
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}
.logo-color {
  opacity: 1;
}
.logo-bw {
  opacity: 0;
  position: absolute;
  left: 2rem;
}

/* When scrolled, switch logos */
#navbar.scrolled .logo-color {
  opacity: 0;
}
#navbar.scrolled .logo-bw {
  opacity: 1;
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    width: 100%;
  }
}

/* ===========================
        HERO SECTION
=========================== */
.hero {
  height: 100vh;
  background: url('/Assets/IMAGES/Background/MBAWULA\ 2024\ -\ No\ Smoke\ \(Landscape\).jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--mbawula-yellow) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}
.hero-logo {
  max-width: 60%;
  height: auto;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}
.hero-content h1 {
  font-family: 'Mistral', sans-serif;
  font-size: 2.8rem;
  color: var(--mbawula-white);
  margin-bottom: 1rem;
}
.hero-content p {
  font-family: 'Montserrat Semi-Bold', sans-serif;
  font-size: 1.1rem;
  color: var(--mbawula-black);
  max-width: 600px;
  margin: 0 auto 2rem;
}
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-logo {
    max-width: 70%;
  }
}
@media screen and (min-width: 1024px) {
  .hero-logo {
    max-width: 25%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.25rem;
  }
}
.cta-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--mbawula-black);
  color: white;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  background-color: var(--mbawula-white);
  color: var(--mbawula-yellow);
}

.final-info a {
  color:#D77806;
}
/* (The rest of your CSS stays exactly as is) */


/* =================
    ABOUT SECTION 
================== */



.about-container h1 {
  font-family: 'Montserrat', sans-serif;
  color: var(--mbawula-yellow);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-container p {
  text-align: left;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
 .about-container {
    padding-top: 120px;
  } 
}

/* FLOATING DATE BOX */
.floating-date-box {
  position: fixed;
  bottom: 3vh;
  right: 2vw;
  background-color: var(--mbawula-dark-yellow);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  width: clamp(140px, 0vw, 140px); /* scales from 140px to 200px */
  text-align: center;
  color: var(--mbawula-white);
  transition: transform 0.3s ease-in-out;
}

.floating-date-box .date-img {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.floating-date-box .countdown {
  font-size: clamp(0.6rem, 0vw + 0rem, 1rem); /* responsive font size */
  font-weight: bold;
}




/* ====================
      FILM REEL
===================== */

/* Film Reel Styles */
.film-reel-container {
  width: 100%;
  overflow: hidden;
  background-color: var(--mbawula-black);
  padding: 1rem 0;
  position: relative;
}

.film-reel {
  display: flex;
  width: 200%; /* Double width for seamless looping */
  animation: scrollReel 30s linear infinite;
}

.film-reel img {
  height: 150px; /* Adjust based on your image */
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

/* Animation */
@keyframes scrollReel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Move left by half width */
  }
}

/* ===========================
        FILMS SECTION
=========================== */

/* Container styling */
.filter-container {
  text-align: center;
  margin: 2rem 0;
}

/* Label styling */
.filter-container label {
  font-weight: bold;
  margin-right: 0.5rem;
  color: var(--mbawula-black);
  font-size: 1.1rem;
}

/* Dropdown styling */
.filter-container select {
  padding: 0.65rem 2.2rem 0.65rem 1rem; /* Extra right padding for the arrow */
  font-size: 1rem;
  border: 2px solid var(--mbawula-black);
  border-radius: 8px; /* More rounded corners */
  background-color: var(--mbawula-white);
  color: var(--mbawula-black);
  cursor: pointer;
  appearance: none; /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23000000' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center; /* Bring arrow nearer */
  background-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Hover and focus state */
.filter-container select:hover,
.filter-container select:focus {
  border-color: var(--mbawula-yellow);
  box-shadow: 0 0 0 3px rgba(247,185,14,0.3);
  outline: none;
}

/* Option styling */
.filter-container select option {
  background-color: var(--mbawula-white);
  color: var(--mbawula-black);
}

/* Selected option styling */
.filter-container select option:checked {
  background-color: var(--mbawula-yellow);
  color: var(--mbawula-black);
}

/* Option hover styling */
.filter-container select option:hover {
  background-color: var(--mbawula-orange);
  color: var(--mbawula-white);
}



/* Film Hero Section */
.film-hero {
  background: var(--mbawula-yellow);
  color: #fff;
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.film-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.film-hero p {
  font-size: 1.2rem;
  color: #ccc;
}



/* Film Grid Section */
/* Film Grid Section */
.film-gallery {
  padding: 4rem 2rem;
  background: #f4f4f4;
  text-align: center;
}

.film-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.extra-films {
  display: none;
}

.film-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.film-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.film-card img {
  width: 100%;
  height: auto;
  display: block;
}

.film-card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  padding: 0 0.5rem;
}

.film-card p {
  padding: 0 1rem 1rem;
  color: #666;
  font-size: 0.95rem;
}

.see-more-container {
  margin-top: 20px;
  text-align: center;
}

#seeMoreBtn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ff6b00;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}


/* Mobile adjustments: 3 cards per row */
@media (max-width: 768px) {
  .film-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 0.75rem;
  }

  .film-card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .film-card h3 {
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .film-card p {
    font-size: 0.75rem;
    padding: 0 0.5rem 0.75rem;
  }

  .film-card img {
    height: auto;
    object-fit: cover;
  }
}



/* Countdown Box (reuse and scale on screen size) */
.countdown-box {
 position: fixed;
  bottom: 3vh;
  right: 2vw;
  background-color: var(--mbawula-dark-yellow);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  width: clamp(140px, 0vw, 140px); /* scales from 140px to 200px */
  text-align: center;
  color: var(--mbawula-white);
  transition: transform 0.3s ease-in-out;
}

.countdown-date {
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: small;
}

/* Footer */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 2rem;
  text-align: center;
}

/* ===========================
        NEWS & NEWS LETTER
=========================== */

/* ---- NEWS ---- */

/* Newsletter Page Container */
.newsletter-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--mbawula-white);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
}

/* Intro Section */
.newsletter-intro h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.newsletter-intro p {
  font-size: 1.1rem;
  text-align: center;
  color: var(--mbawula-black);
  margin-bottom: 2rem;
}

/* News Card */
.news-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
  outline: 2px solid var(--mbawula-orange);
  transform: scale(1.01);
}

.news-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--mbawula-black);
}

.news-card p {
  color: #333;
  margin-bottom: 0.8rem;
}

.read-more {
  display: inline-block;
  color: var(--mbawula-orange);
  font-weight: bold;
  text-decoration: none;
  margin-top: 0.5rem;
}


/* News container */
.news-container {
  background-color: var(--mbawula-white);
  max-width: 800px;
  margin: 5rem auto;
  padding: 2rem;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

.news-container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Mistral', cursive;
  text-align: center;
}

.news-container h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--mbawula-black);
}

.news-container hr {
  margin-top: 2rem;
  border: none;
  border-top: 1px solid #ccc;
}

.news-container p, 
.news-container ul {
  margin-bottom: 1rem;
  color: var(--mbawula-black);
}

.news-container ul {
  padding-left: 1.2rem;
}

.news-container li {
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: var(--mbawula-orange);
  font-weight: bold;
}

/* ==========================
   PROGRAM SECTION STYLING
========================== */

.program-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.program-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--mbawula-black);
}

/* Program Grid */
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: auto;
}

.program-card {
  background: var(--mbawula-white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, outline 0.3s ease;
}

.program-card:hover {
  outline: 2px solid var(--mbawula-yellow);
  transform: scale(1.01);
}

.card-summary h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #111;
}

.card-summary p {
  color: #444;
}

.program-listing {
  line-height: 1.5rem;
  padding-top: 1rem;
  
}


/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Close button inside modal */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  width: 100%;
  overflow-y: auto;
  position: relative;
}

@keyframes slideIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Modal Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .program-grid {
    padding: 1rem;
  }

  .modal-content {
    max-width: 90%;
    max-height: 85vh;
  }
}

.modal-content h2,
.modal-content h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.modal-content p {
  margin-bottom: -0.4rem;
  line-height: 1.5;
}

/* You can also adjust iframe spacing if you like */
.modal-content iframe {
  margin-top: 1rem;
  border-radius: 0.5rem;
}


/* ======================
    CONTACT PAGE STYLES 
======================= */

/* Header styling */
.contact-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background-color: var(--mbawula-yellow);
  color: var(--mbawula-black);
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.2rem;
}

/* Main container */
.contact-container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--mbawula-white);
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* Form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--mbawula-black);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--mbawula-yellow);
  box-shadow: 0 0 0 3px rgba(244,197,66,0.3);
  outline: none;
}

/* Submit button */
.submit-btn {
  background-color: var(--mbawula-black);
  color: var(--mbawula-white);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background-color: var(--mbawula-yellow);
  color: var(--mbawula-black);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* ====================
    ABOUT PAGE STYLES
==================== */

/* Main container */
.about-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--mbawula-white);
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* Content styling */
.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--mbawula-black);
  text-align: center;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--mbawula-black);
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  .about-content h1 {
    font-size: 2rem;
  }
}
/* ==================
    SUBS CLOSED
================== */
.submissions-closed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 80vh;
  background-color: var(--mbawula-white);
  color: var(--mbawula-black);
}

.submissions-closed h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.submissions-closed p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.submissions-closed .cta-btn {
  background-color: var(--mbawula-black);
  color: var(--mbawula-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.submissions-closed .cta-btn:hover {
  background-color: var(--mbawula-yellow);
  color: var(--mbawula-black);
  transform: translateY(-2px);
}


/* ===========================
        FOOTER SECTION
=========================== */
.footer {
  background-color: var(--mbawula-black);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1rem;
}


.footer-left p {
  margin: 0;
  padding: 1rem;
}

.footer-right a {
  color: var(--mbawula-white);
  text-decoration: none;
  margin-left: 1rem;
  transition: color 0.3s ease;
}
.footer-right a:first-child {
  margin-left: 0;
}
.footer-right a:hover {
  color: var(--mbawula-yellow);
}

/* RESPONSIVE FOOTER */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right a {
    margin: 0.5rem 0;
  }
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    width: 100%;
  }
}
 