/* ────────────── HOMEPAGE STYLES ────────────── */

:root {
  --primary: #2e5a32;        /* Deep green (Mount Kenya forest) */
  --primary-dark: #1e3d22;
  --secondary: #d4af37;      /* Gold (sunrise on Point Lenana) */
  --navy: #0a2540;           /* Navy blue (night sky) */
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --radius: 12px;
  --shadow: 0 6px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 24px rgba(0,0,0,0.12);
}

/* ───── Global Base ───── */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* ───── Layout ───── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 600px;
}

/* ───── Sections ───── */
.section {
  padding: 80px 0;
}
.section h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .section h2 {
    font-size: 2rem;
  }
  .section-desc {
    padding: 0 15px;
    margin-bottom: 40px;
  }
}

/* ───── Section Header ───── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}
.section-header h2 {
  margin: 0;
  text-align: left;
}
.view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}
.view-all:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .section-header {
    justify-content: center;
    text-align: center;
  }
  .section-header h2 {
    width: 100%;
    text-align: center;
  }
}

/* ───── Hero Section ───── */
.hero {
  background: linear-gradient(rgba(10, 37, 64, 0.75), rgba(10, 37, 64, 0.85)), 
              url('../images/mount-kenya-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 140px 0;
}
.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.35rem;
  max-width: 800px;
  margin: 0 auto 36px;
  opacity: 0.95;
}
.hero .btn {
  background: var(--secondary);
  color: var(--navy);
  padding: 14px 36px;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.hero .btn:hover {
  background: #c19e2f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}
@media (max-width: 768px) {
  .hero {
    padding: 90px 0;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero p {
    font-size: 1.15rem;
  }
}

/* ───── Grid Cards (Seasons, Routes, Tours) ───── */
.season-grid,
.routes-grid,
.tour-grid {
  display: grid;
  gap: 30px;
  margin-top: 20px;
}
@media (min-width: 992px) {
  .season-grid,
  .routes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}
@media (max-width: 991px) {
  .season-grid,
  .routes-grid,
  .tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

/* ───── Generic Card ───── */
.season-card,
.route-item,
.tour-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.season-card:hover,
.route-item:hover,
.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.season-card h3,
.route-item h3,
.tour-title {
  color: var(--primary);
  margin: 0 0 14px;
}
.season-card,
.route-item {
  padding: 28px;
}
.season-card p,
.route-item p {
  color: var(--gray);
  margin: 0;
}

/* ───── Featured Tours (Tour Cards) ───── */
.tour-card {
  display: flex;
  flex-direction: column;
}
.tour-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.tour-img.placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
  color: var(--gray);
  font-style: italic;
  font-size: 1.1rem;
}
.tour-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tour-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.tour-meta {
  display: flex;
  gap: 14px;
  margin: 14px 0;
  font-size: 0.95rem;
  color: var(--gray);
}
.tour-meta span::before {
  content: "• ";
  color: var(--primary);
}
.tour-meta span:first-child::before {
  content: "";
}
.tour-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.5rem;
  margin: 14px 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
}
.tour-link {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary);
  width: fit-content;
  transition: all 0.2s;
}
.tour-link:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ───── Newsletter ───── */
.section-newsletter {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 70px 0;
}
.section-newsletter h2 {
  color: white;
  margin-bottom: 16px;
}
.section-newsletter p {
  color: #ccd6e0;
  max-width: 600px;
  margin: 0 auto 28px;
}
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}
.newsletter-form button {
  background: var(--secondary);
  color: var(--navy);
  border: none;
  padding: 0 28px;
  border-radius: 0 4px 4px 0;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
  }
}

/* ───── Reviews ───── */
.section-reviews {
  background: var(--light);
}
.review-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  padding: 0 20px;
  font-size: 1.15rem;
  color: var(--navy);
}
.review-author {
  margin-top: 20px;
  font-weight: 700;
  color: var(--primary);
  font-style: normal;
}

/* ───── WhatsApp Float ───── */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s;
}
.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.05);
}

/* ───── Utility ───── */
.text-center {
  text-align: center;
}