/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #ffffff;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(6px);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;   /* vertical center */
  gap: 10px;             /* space between image and text */
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  justify-content: center;
}

.logo label {
  line-height: 1;        /* removes text misalignment */
}

.logo span {
  color: #8ac73e;
}


.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #8ac73e;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url("assets/images/hero.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  margin-bottom: 80px; /* separation from next section */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 span {
  color: #8ac73e;
}

.subtitle {
  margin-top: 15px;
  color: #cccccc;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

/* BUTTONS */
.buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 12px 26px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  min-width: 160px;
  text-align: center;
  transition: all 0.25s ease;
}

.primary {
  background: #8ac73e;
  color: white;
}

.outline {
  border: 2px solid white;
  color: white;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 80px 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 20px;
  }
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section p {
  max-width: 650px;
  margin: 0 auto 10px;
}

.muted {
  color: #bbbbbb;
}

.dark {
  background: #111111;
}

/* PROGRAM CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 10px;
}

.card {
  border: 1px solid #333;
  padding: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #8ac73e;
  transform: translateY(-5px);
}

/* GALLERY (FIXED & PREMIUM) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 50px auto 0;
  padding: 0 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3; /* KEY FIX */
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .gallery {
    gap: 16px;
  }
}

/* MAP */
.map {
  max-width: 900px;
  margin: 30px auto;
  border-radius: 6px;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

@media (min-width: 768px) {
  .map iframe {
    height: 350px;
  }
}

/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}
