/* =========================
   GLOBAL STYLES
========================= */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
}

h1, h2 {
  font-family: Georgia, serif;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  height: 80px;
  background-color: #f8f9fa;
}

.nav-left .logo {
  height: 60px;
  width: auto;
  display: block;
}

.nav-right-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: inline-block;
  background-color: #004080;
  color: rgb(255, 255, 255);
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  min-width: 100px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
}

.nav-center a.active {
  background-color: #004080;
  color: white;
}

.lang-btn {
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.nav-right .lang-btn {
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 17px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 80vh;
  background-image: url('../assets/hero.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay {
  text-align: center;
  background: rgba(173, 172, 172, 0.4);
  padding: 50px 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
}

.hero-overlay h4 {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin: 0;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin: 0;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin-top: 20px;
}

.hero-buttons .btn {
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #004080;
  color: white;
}

.btn.primary:hover {
  background-color: #0066cc;
}

.btn.secondary {
  background-color: #004080;
  color: #ffffff;
}

.btn.secondary:hover {
  background-color: #0066cc;
}

/* BUTTONS GENERAL */
.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  margin: 10px;
}

.primary { background: #f47c2c; color: white; }
.secondary { background: white; color: #333; }

/* =========================
   SECTIONS
========================= */
section {
  padding: 90px 60px;
}

.subtitle {
  color: #666;
}

/* =========================
   ABOUT
========================= */
.about {
  background-color: #ffffff;
  padding: 90px 60px;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 2.6rem;
  color: #004080;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: #666;
  letter-spacing: 1px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.4rem;
  color: #004080;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.about-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ABOUT STATS */
.about-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-box {
  background: #f8f9fa;
  padding: 30px 20px;
  text-align: center;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-6px);
}

.stat-box i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 12px;
}

.stat-box h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin: 5px 0;
}

.stat-box p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* =========================
   EXPLORE
========================= */
.explore-header {
  text-align: center;
  margin-bottom: 50px;
}

.explore-header h2 {
  font-size: 2.6rem;
  color: #004080;
}

.explore-subtitle {
  color: #666;
  letter-spacing: 1px;
}

.explore-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.explore-card {
  background: #f8f9fa;
  padding: 20px 18px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 190px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.explore-card i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 12px;
}

.explore-card.featured {
  background: #004080;
  color: white;
}

.explore-card.featured i,
.explore-card.featured h3,
.explore-card.featured p {
  color: white;
}

.category-details {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
  border-top: 1px solid #ccc;
  margin-top: 20px;
}

.category-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.category-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.category-item div {
  flex: 1;
}

.explore-more {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #004080;
  color: white;
  padding: 14px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* =========================
   GALLERY
========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================
   CONTACT
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 20px;
  background: #1e2b38;
  color: white;
}

/* =========================
   MAP SECTION
========================= */
.map-section {
  padding: 80px 60px;
  background: #f8f9fa;
}

#baatoMap {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

#searchInput {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* =========================
   RESPONSIVE MOBILE FIXES
========================= */
@media (max-width: 1024px) {
  .hero-overlay {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .nav-left {
    margin-bottom: 10px;
  }

  .nav-right-buttons {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
  }

  .nav-btn {
    min-width: auto;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    padding: 30px 20px;
  }

  .hero-overlay h4 {
    font-size: 1.1rem;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Sections padding */
  section,
  .explore,
  .map-section {
    padding: 60px 20px;
  }

  /* About */
  .about-content {
    gap: 30px;
  }

  .about-image img {
    height: auto;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Explore */
  .explore-item {
    flex-direction: column;
  }

  .explore-item img {
    width: 100%;
    height: 220px;
  }

  .explore-more {
    position: static;
    display: inline-block;
    margin-top: 30px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}
