* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #222;
  line-height: 1.6;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  background: #0b3c5d;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
}

.logo {
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
              url("https://political-omega.vercel.app/WhatsApp%20Image%202025-12-18%20at%2012.42.26%20PM.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #fff;
  max-width: 600px;
  margin-left: 8%;
}

.hero h1 {
  font-size: 3rem;
}

.hero-buttons {
  margin-top: 20px;
}

/* BUTTONS */
.btn {
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.primary {
  background: #f4d03f;
  color: #000;
}

.secondary {
  border: 1px solid #fff;
  color: #fff;
  margin-left: 10px;
}

/* SECTIONS */
.section {
  padding: 60px 8%;
  text-align: center;
}

.section.light {
  background: #f5f5f5;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

/* UPDATES */
.updates {
  list-style: none;
  margin-top: 20px;
}

/* FORM */
form {
  max-width: 400px;
  margin: auto;
}

form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  background: #0b3c5d;
  color: #fff;
  text-align: center;
  padding: 20px;
}
/* ================= RESPONSIVE FIXES ================= */

/* Ensure images & backgrounds scale correctly */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal overflow on small screens */
html, body {
  overflow-x: hidden;
}

/* ---------- TABLETS (≤ 1024px) ---------- */
@media (max-width: 1024px) {

  .nav {
    padding: 15px 5%;
  }

  .hero-content {
    margin-left: 5%;
    max-width: 90%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 50px 5%;
  }
}

/* ---------- PHONES (≤ 768px) ---------- */
@media (max-width: 768px) {

  /* Navigation stacks cleanly */
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Hero adapts without changing design */
  .hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 6%;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .secondary {
    margin-left: 0;
  }

  /* Cards remain same layout style */
  .cards {
    grid-template-columns: 1fr;
  }

  form {
    width: 100%;
  }
}

/* ---------- SMALL PHONES (≤ 480px) ---------- */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 1.7rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  footer {
    font-size: 0.9rem;
  }
}
/* ================= PHOTO GALLERY ================= */

.photo-card img {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}

.photo-card p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Modal / Lightbox */
.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.photo-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}

.photo-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
