/* =============================================
   EXPLORER KENYA ENTERPRISE — MAIN STYLESHEET
   ============================================= */
:root {
  --gold: #C9922A;
  --gold-light: #E8B84B;
  --dark: #0D1117;
  --dark2: #1A1F2E;
  --cream: #FAF6EE;
  --white: #ffffff;
  --gray: #6B7280;
  --light-gray: #F3F0EB;
  --green: #2D6A4F;
  --green-light: #40916C;
  --text: #1F2937;
  --shadow: 0 4px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pre { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 0.5rem; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); line-height: 1.2; }
.section-head.light h2 { color: var(--white); }
.section-head.light .section-pre { color: var(--gold-light); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,146,42,0.35); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-sm:hover { background: var(--gold-light); }
.btn-nav {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-nav:hover { background: var(--gold-light) !important; }

/* ---- TOPBAR ---- */
.topbar { background: var(--dark); color: rgba(255,255,255,0.75); font-size: 0.78rem; padding: 0.4rem 0; }
.topbar-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.topbar-right { margin-left: auto; }

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,146,42,0.2);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.logo-icon { font-size: 1.6rem; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.logo-text em { display: block; font-size: 0.7rem; color: var(--gold); font-style: normal; letter-spacing: 0.15em; text-transform: uppercase; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.2rem; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.88rem; font-weight: 600; padding: 0.5rem 0.8rem; transition: var(--transition); border-radius: 4px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--dark2); border: 1px solid rgba(201,146,42,0.2); border-radius: 8px; padding: 0.5rem; min-width: 200px; box-shadow: var(--shadow-lg); z-index: 100; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 0.5rem 1rem; font-size: 0.83rem; border-radius: 4px; }
.dropdown-menu li a:hover { background: rgba(201,146,42,0.15); }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ---- HERO ---- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,17,23,0.75) 0%, rgba(13,17,23,0.4) 60%, rgba(201,146,42,0.1) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 800px; padding: 0 1.5rem; }
.hero-pre { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; font-weight: 700; }
.hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-content h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300; opacity: 0.9; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollLine 1.5s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.2; } }
.slide-dots { position: absolute; bottom: 2rem; right: 2rem; z-index: 2; display: flex; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--gold); transform: scale(1.3); }

/* ---- LEAD BANNER ---- */
.lead-banner { background: linear-gradient(135deg, var(--green), var(--green-light)); padding: 1.8rem 0; }
.lead-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.lead-banner-text h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 0.3rem; }
.lead-banner-text p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ---- STATS ---- */
.stats { background: var(--dark); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; color: var(--gold); }
.stat-label { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }

/* ---- TOURS ---- */
.tours { padding: 5rem 0; background: var(--cream); }
.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.8rem; }
.tour-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.tour-badge { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.tour-days { position: absolute; top: 1rem; right: 1rem; background: rgba(13,17,23,0.8); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 20px; }
.tour-body { padding: 1.5rem; }
.tour-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--dark); margin-bottom: 0.7rem; }
.tour-body > p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; margin-bottom: 1rem; }
.tour-features { list-style: none; margin-bottom: 1.2rem; }
.tour-features li { font-size: 0.82rem; color: var(--text); padding: 0.2rem 0; }
.tour-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--light-gray); padding-top: 1rem; }
.tour-price { font-size: 0.82rem; color: var(--gray); }
.tour-price strong { font-size: 1.15rem; color: var(--gold); font-family: 'Playfair Display', serif; }
.tours-cta { text-align: center; margin-top: 3rem; }

/* ---- DESTINATIONS ---- */
.destinations { padding: 5rem 0; background: var(--dark2); }
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 220px 220px; gap: 1rem; }
.dest-card { border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; position: relative; cursor: pointer; }
.dest-card.big { grid-row: 1 / 3; grid-column: 1 / 3; }
.dest-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13,17,23,0.9) 0%, transparent 60%); padding: 1.5rem; color: var(--white); transform: translateY(5px); transition: var(--transition); }
.dest-card:hover .dest-overlay { transform: translateY(0); }
.dest-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.dest-overlay p { font-size: 0.75rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- WHY ---- */
.why { padding: 5rem 0; background: var(--cream); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-img { position: relative; }
.why-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.why-badge-float { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--gold); color: var(--white); border-radius: 50%; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 8px 30px rgba(201,146,42,0.4); }
.wbf-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.wbf-text { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.3; opacity: 0.9; }
.why-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; color: var(--dark); line-height: 1.2; }
.why-text > p { color: var(--gray); line-height: 1.8; margin-bottom: 2rem; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.why-feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat-icon { font-size: 1.5rem; flex-shrink: 0; }
.why-feat strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--dark); }
.why-feat p { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }

/* ---- MAP ---- */
.map-section { padding: 5rem 0; background: var(--white); }
.map-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrapper iframe { display: block; }
.map-card { position: absolute; top: 2rem; right: 2rem; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); min-width: 220px; border-top: 4px solid var(--gold); }
.map-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 1rem; color: var(--dark); }
.map-card p { font-size: 0.85rem; color: var(--gray); margin-bottom: 0.5rem; line-height: 1.5; }

/* ---- TESTIMONIALS ---- */
.testimonials { padding: 5rem 0; background: var(--dark); }
.testimonials .section-head h2 { color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 2rem; transition: var(--transition); }
.testi-card:hover { border-color: rgba(201,146,42,0.5); background: rgba(201,146,42,0.05); }
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testi-card p { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1rem; }
.testi-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testi-author span { font-size: 0.78rem; color: var(--gold); }

/* ---- FOOTER ---- */
.footer { background: var(--dark2); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 1rem; }
.footer-logo em { color: var(--gold); font-style: normal; }
.footer .footer-col > p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-links a { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; transition: var(--transition); }
.social-links a:hover { background: var(--gold); }
.footer-col h4 { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.78rem; text-align: center; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); padding: 6rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1200&q=60') center/cover; opacity: 0.15; }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.8rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---- CONTACT PAGE ---- */
.contact-section { padding: 5rem 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.contact-form-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-card h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--dark); margin-bottom: 0.5rem; }
.contact-form-card .subtitle { color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 2px solid #E5E7EB;
  border-radius: 6px; font-size: 0.9rem; font-family: 'Lato', sans-serif;
  color: var(--text); transition: var(--transition); background: var(--cream);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; margin-top: 0.5rem; }
.success-msg { display: none; background: #D1FAE5; border: 1px solid #6EE7B7; color: #065F46; padding: 1rem 1.5rem; border-radius: 8px; margin-top: 1rem; font-size: 0.9rem; }
.contact-info-card { display: flex; flex-direction: column; gap: 1.5rem; }
.info-block { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.info-block h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: 0.7rem; }
.info-block p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }
.info-block a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* ---- LEGAL PAGES ---- */
.legal-section { padding: 4rem 0; background: var(--white); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); margin: 2rem 0 0.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--gray); line-height: 1.8; margin-bottom: 1rem; font-size: 0.92rem; }
.legal-content ul { margin: 0.8rem 0 1.2rem 1.5rem; }
.legal-content ul li { color: var(--gray); line-height: 1.8; font-size: 0.92rem; margin-bottom: 0.3rem; }
.legal-content a { color: var(--gold); }
.last-updated { font-size: 0.78rem; color: var(--gray); margin-bottom: 2rem; background: var(--light-gray); padding: 0.5rem 1rem; border-radius: 4px; display: inline-block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .dest-card.big { grid-row: auto; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-inner { gap: 3rem; }
  .why-badge-float { right: -0.5rem; }
}

@media (max-width: 768px) {
  .topbar-right { display: none; }
  .hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--dark);
    padding: 1rem; gap: 0; border-top: 2px solid var(--gold);
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: rgba(255,255,255,0.05); display: none; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .navbar { position: sticky; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-badge-float { right: 1rem; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lead-banner-inner { flex-direction: column; text-align: center; }
  .map-card { position: static; margin-top: 1rem; border-radius: 0; }
  .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
