/* =========================================================
   1. GOOGLE FONTS
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto+Slab:wght@400;600;700;800&display=swap");

/* =========================================================
   2. VARIABLES
   ========================================================= */
:root {
  --primary-font: "Roboto Slab", serif;
  --secondary-font: "Open Sans", sans-serif;

  --primary-color: #f5d313; /* Yellow highlight */
  --secondary-color: #aa9581; /* Neutral brown */
  --highlight-color: #11492f; /* Dark green */
  --accent: #198754; /* Bootstrap green */
}

/* =========================================================
   3. GLOBAL RESET & BASE
   ========================================================= */
body {
  font-family: var(--secondary-font);
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--primary-font);
}

/* =========================================================
   4. NAVBAR
   ========================================================= */
nav#navbar {
  background: transparent !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav#navbar.scrolled {
  background-color: #0d1e06 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.logo {
  height: 60px;
  width: auto;
}

.navbar-nav .nav-link {
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-nav .nav-link.active {
  color: #f5d313 !important;
  border-bottom: 2px solid #f5d313;
}

.navbar-nav .nav-link:hover {
  color: #f5d313 !important;
}

.navbar .custom-button-filled {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.navbar .custom-button-filled:hover {
  background: #145c32 !important;
}

/* =========================================================
   5. HERO SECTION
   ========================================================= */
.hero {
  background: url("../images/tom-boy-in-jungle.webp") center/cover no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center; /* vertical center */
  text-align: center; /* center text inside */
  position: relative;
}

/* Hero content */
.hero-content {
  position: relative;
  max-width: 800px; /* keep content neat */
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f5d313;
  font-family: var(--primary-font);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Hero paragraph centered */
.hero-text {
  font-size: 1.2rem;
  color: #f1f1f1;
  max-width: 600px;
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 1.5rem;
}

.hero-buttons .btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-success {
  background: var(--accent);
  border: none;
}

.hero-buttons .btn-success:hover {
  background: #145c32;
}

.hero-buttons .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
}

.hero-buttons .btn-outline-light:hover {
  background: #fff;
  color: #000;
}

/* Gallery Hero Title & Subtitle */
#gallery-hero h1 {
  color: #f5d313; /* jungle yellow */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* improve readability */
}

#gallery-hero p {
  color: #ffffff; /* keep white for balance */
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* readability */
}

/* =========================================================
   6. SCROLL ARROW
   ========================================================= */
.hero-arrow {
  position: absolute;
  bottom: 30px; /* distance from bottom */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.scroll-down {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  animation: bounce 1.5s infinite;
  display: inline-block;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0); /* keep centered X */
  }
  50% {
    transform: translateX(-50%) translateY(-10px); /* bounce up */
  }
}

/* =========================================================
   7. SECTION TITLES
   ========================================================= */
.section-title {
  color: var(--accent);
  font-weight: bold;
  font-family: var(--primary-font);
}

/* =========================================================
   8. CONTACT SECTION
   ========================================================= */
#contact .contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#contact form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#contact label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--highlight-color);
}

#contact .form-control,
#contact .form-select {
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

#contact .form-control:focus,
#contact .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(25, 135, 84, 0.4);
}

#contact button[type="submit"] {
  background: var(--accent);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#contact button[type="submit"]:hover {
  background: var(--highlight-color);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   8B. MAP CONTAINER (Google Map)
   ========================================================= */
.map-container {
  margin-top: 1rem;
  border-radius: 12px; /* smooth rounded corners */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* nice shadow */
  height: 476px; /* default desktop size */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px; /* follow container corners */
  filter: saturate(1.2) brightness(0.95) contrast(1.05);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .map-container {
    height: 250px; /* smaller map for mobile */
  }
}
/* =========================================================
   9. FOOTER
   ========================================================= */
footer {
  background: var(--accent);
  color: #fff;
  padding: 40px 0;
}

.footer-logo {
  height: 140px; /* increased size */
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-heading {
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--primary-font);
  margin-bottom: 10px;
  color: #fff;
}

.footer-about {
  margin-top: 5px; /* reduce extra spacing */
  max-width: 300px;
  font-size: 0.9rem;
  line-height: 1.6;
}

footer .col-md-3:first-child {
  display: flex;
  flex-direction: column;
  align-items: center; /* logo centered */
  justify-content: flex-start;
  gap: 10px; /* small space only */
}

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}

footer a {
  color: #fff; /* white links */
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f5d313; /* yellow */
  text-decoration: none;
}

.footer-social a {
  color: #fff;
  font-size: 1.3rem;
}

.footer-social a:hover {
  color: #f5d313;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #ddd;
}

/* Mobile fix for alignment */
@media (max-width: 768px) {
  footer .col-md-3 {
    text-align: center; /* center all footer columns */
    padding: 10px 0;
  }

  .footer-logo {
    height: 120px; /* make logo larger for visibility */
    margin: 0 auto 15px auto; /* center logo with margin */
    display: block;
  }

  .footer-about {
    max-width: 90%; /* keep text neat */
    margin: 0 auto 15px auto;
    text-align: center; /* center text */
  }

  .footer-heading {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-social {
    justify-content: center; /* center social icons */
  }
}
/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* content moves towards bottom */
    align-items: center;
    height: 95vh;
    text-align: center;
    padding-bottom: 120px; /* space above scroll arrow */
  }

  .hero-content {
    text-align: center;
    max-width: 90%;
  }

  .hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    text-align: center;
  }

  .hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #f5d313;
    margin-top: 10px;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  }

  .hero-text {
    display: none; /* hide text for mobile */
  }

  .hero-buttons {
    display: none; /* hide buttons for mobile */
  }

  .hero-arrow {
    padding-bottom: 20px;
  }
}
