/*
Theme Name: Peleceer Tours & Travel
Theme URI: https://peleceer.co.ke
Author: Peleceer Group
Author URI: https://peleceer.co.ke
Description: Official WordPress theme for Peleceer Tours & Travel — a premier Nairobi-based tours and travel company specialising in East African safaris, beach holidays, cultural tours, and adventure packages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peleceer-tours
Tags: travel, tours, safari, kenya, nairobi, slider, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — Peleceer Brand Colors
   ============================================================ */
:root {
  --primary:        #1BA7C5;
  --primary-dark:   #0B7FA3;
  --primary-darker: #005F73;
  --topbar:         #006B77;
  --accent:         #E8773E;
  --accent-dark:    #C95E28;
  --light-bg:       #E8F8FC;
  --light-bg2:      #F4FCFE;
  --text-dark:      #1A2E35;
  --text-mid:       #3D6370;
  --text-light:     #6B8FA0;
  --white:          #FFFFFF;
  --gray-100:       #F5F7F8;
  --gray-200:       #E2EBEE;
  --border:         #C8DDE5;
  --shadow:         0 4px 24px rgba(27,167,197,0.12);
  --shadow-lg:      0 8px 40px rgba(0,95,115,0.18);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     0.3s ease;
  --font-main:      'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-heading:   'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.section-label {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 14px auto 24px;
}
.divider-left { margin-left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer; text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,119,62,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-teal:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--topbar);
  color: var(--white);
  font-size: 0.82rem;
  padding: 9px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar a { color: rgba(255,255,255,0.88); }
.top-bar a:hover { color: var(--white); }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item .icon { font-size: 0.9rem; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,95,115,0.1);
  position: sticky; top: 0; z-index: 1000;
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,95,115,0.18);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px; margin: 0 auto;
}

.site-logo img { height: 60px; width: auto; }
.site-logo .logo-text { font-size: 1.3rem; font-weight: 700; color: var(--primary); }

.main-nav ul { display: flex; align-items: center; gap: 6px; }

.main-nav li { position: relative; }

.main-nav a {
  display: block; padding: 10px 16px;
  color: var(--text-dark); font-weight: 600; font-size: 0.9rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-page-ancestor > a {
  color: var(--primary);
  background: var(--light-bg);
}

/* Dropdown */
.main-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 230px;
  border-top: 3px solid var(--primary); z-index: 999;
}
.main-nav li:hover > .sub-menu { display: block; }
.main-nav .sub-menu li { display: block; }
.main-nav .sub-menu a { padding: 11px 20px; border-radius: 0; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--light-bg); color: var(--primary); padding-left: 26px; }

/* Header CTA */
.header-cta .btn { padding: 10px 22px; font-size: 0.88rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative; overflow: hidden;
  height: 620px;
}

.slider-track {
  display: flex; transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide {
  flex: 0 0 100%; min-width: 100%; position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  height: 100%;
}

.slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,95,115,0.75) 0%, rgba(27,167,197,0.45) 100%);
}

/* Fallback gradient slides when no images */
.slide-1 { background: linear-gradient(135deg, #005F73 0%, #1BA7C5 50%, #0B7FA3 100%); }
.slide-2 { background: linear-gradient(135deg, #1A2E35 0%, #005F73 60%, #1BA7C5 100%); }
.slide-3 { background: linear-gradient(135deg, #0B7FA3 0%, #E8773E 80%, #C95E28 100%); }
.slide-4 { background: linear-gradient(135deg, #005F73 0%, #1BA7C5 100%); }
.slide-5 { background: linear-gradient(135deg, #0B7FA3 0%, #006B77 100%); }

.slide-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.slide-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.slide-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white); font-weight: 800;
  line-height: 1.15; margin-bottom: 18px;
  max-width: 700px; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.slide-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.92);
  max-width: 580px; line-height: 1.8; margin-bottom: 32px;
}

.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider Controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.18); border: 2px solid rgba(255,255,255,0.5);
  color: var(--white); width: 52px; height: 52px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 1.2rem;
  transition: all var(--transition); backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.45); border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer; transition: all var(--transition);
}
.slider-dot.active {
  background: var(--white); transform: scale(1.3);
}

/* ============================================================
   QUICK SEARCH BAR
   ============================================================ */
.search-bar-section {
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,95,115,0.14);
  position: relative; z-index: 5;
}

.search-bar-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0; max-width: 1100px; margin: 0 auto;
}

.search-field {
  padding: 22px 24px; border-right: 1px solid var(--border);
}
.search-field label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 4px;
}
.search-field select, .search-field input {
  width: 100%; border: none; outline: none; font-size: 1rem;
  color: var(--text-dark); font-family: var(--font-main);
  background: transparent; cursor: pointer;
}

.search-submit {
  padding: 0 30px; background: var(--accent);
  border: none; color: var(--white); font-weight: 700;
  font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: background var(--transition);
  font-family: var(--font-main);
}
.search-submit:hover { background: var(--accent-dark); }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--light-bg);
  padding: 36px 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.feature-item:hover { transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
}
.feature-text h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-text p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* ============================================================
   POPULAR DESTINATIONS
   ============================================================ */
.destinations-section { padding: 90px 0; background: var(--white); }

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.destination-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 300px; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.destination-card:first-child {
  grid-column: span 2; height: 380px;
}

.destination-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.dest-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.destination-card:hover .dest-image { transform: scale(1.08); }

.dest-gradient {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
}
.destination-card:hover .dest-gradient { transform: scale(1.08); }

.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,50,65,0.85) 0%, rgba(0,50,65,0.2) 60%, transparent 100%);
}

.dest-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px; color: var(--white);
}
.dest-badge {
  display: inline-block; background: var(--accent);
  color: var(--white); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 8px;
}
.dest-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.dest-count { font-size: 0.85rem; opacity: 0.88; }

/* ============================================================
   TOUR PACKAGES
   ============================================================ */
.packages-section { padding: 90px 0; background: var(--gray-100); }

.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

.package-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.package-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
}

.package-img {
  height: 220px; position: relative; overflow: hidden;
}
.package-img-bg {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
}
.package-card:hover .package-img-bg { transform: scale(1.1); }

.package-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 50px; text-transform: uppercase;
}

.package-wishlist {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-light); font-size: 0.9rem;
  transition: all var(--transition);
}
.package-wishlist:hover { color: #E74C3C; background: #FFF0EE; }

.package-body { padding: 22px; }

.package-category {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px;
}

.package-title {
  font-size: 1.15rem; margin-bottom: 12px; line-height: 1.35;
}

.package-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.package-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--text-mid);
}

.package-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.package-price { }
.price-from { font-size: 0.72rem; color: var(--text-light); }
.price-amount { font-size: 1.45rem; font-weight: 800; color: var(--primary); }
.price-per { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { padding: 90px 0; background: var(--white); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.why-image-block { position: relative; }
.why-image-main {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 480px; background: linear-gradient(135deg, var(--primary-darker), var(--primary));
}
.why-image-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: var(--white);
  padding: 24px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-lg);
}
.why-image-badge .num { font-size: 2.5rem; font-weight: 800; display: block; }
.why-image-badge .label { font-size: 0.8rem; font-weight: 600; opacity: 0.9; }

.why-list { display: flex; flex-direction: column; gap: 20px; }

.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.why-item:hover { border-color: var(--primary); background: var(--light-bg); transform: translateX(6px); }

.why-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.2rem;
}
.why-text h4 { font-size: 1rem; margin-bottom: 4px; }
.why-text p { font-size: 0.88rem; color: var(--text-mid); margin: 0; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 90px 0; background: var(--light-bg); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); }

.testimonial-stars { color: #F4C430; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-text {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.8;
  margin-bottom: 24px; font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem; min-width: 48px;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: var(--text-light); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
  padding: 70px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.82); margin-top: 4px; }
.stat-plus { color: var(--accent); }

/* ============================================================
   BLOG / NEWS
   ============================================================ */
.blog-section { padding: 90px 0; background: var(--white); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.post-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.post-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-darker));
  position: relative; overflow: hidden;
}
.post-category {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 50px; text-transform: uppercase;
}

.post-body { padding: 24px; }
.post-meta { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 14px; }
.post-title { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.post-title a { color: var(--text-dark); }
.post-title a:hover { color: var(--primary); }
.post-excerpt { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; }
.post-read-more { font-size: 0.88rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.post-read-more:hover { color: var(--accent); gap: 8px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  padding: 70px 0; text-align: center;
}
.newsletter-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.newsletter-section p { color: rgba(255,255,255,0.88); margin-bottom: 32px; font-size: 1.05rem; }
.newsletter-form { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 16px 22px;
  border: none; border-radius: 50px 0 0 50px;
  font-size: 0.95rem; outline: none;
  font-family: var(--font-main);
}
.newsletter-submit {
  padding: 16px 28px; background: var(--accent);
  color: var(--white); font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; border-radius: 0 50px 50px 0;
  transition: background var(--transition); font-family: var(--font-main);
}
.newsletter-submit:hover { background: var(--accent-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 70px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 22px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--primary); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: all var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.footer-contact-item .icon { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
  padding: 80px 0 60px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); margin-bottom: 14px; position: relative; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto 20px; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); position: relative; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding: 80px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-block { position: relative; }
.about-image-main {
  height: 450px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  position: relative; overflow: hidden;
}
.about-exp-badge {
  position: absolute; bottom: 24px; right: -16px;
  background: var(--accent); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); text-align: center;
}
.team-section { padding: 80px 0; background: var(--gray-100); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); text-align: center;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-6px); }
.team-img { height: 220px; background: linear-gradient(135deg, var(--primary-darker), var(--primary)); }
.team-body { padding: 20px; }
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-social { display: flex; justify-content: center; gap: 8px; }
.team-social a { width: 30px; height: 30px; border-radius: 50%; background: var(--light-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; }
.team-social a:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   TOURS / SAFARI PAGE
   ============================================================ */
.tours-filter { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab {
  padding: 9px 22px; border-radius: 50px;
  border: 2px solid var(--border); background: transparent;
  color: var(--text-mid); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: all var(--transition); font-family: var(--font-main);
}
.filter-tab:hover, .filter-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.tours-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 50px 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  padding: 50px 0;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:nth-child(3n+1) { grid-row: span 2; }
.gallery-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,95,115,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  color: var(--white); font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info { }
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 28px;
  padding: 20px; border-radius: var(--radius); border: 1px solid var(--gray-200);
}
.contact-info-icon {
  width: 50px; height: 50px; min-width: 50px;
  background: var(--light-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
}
.contact-info-text h4 { font-size: 0.9rem; margin-bottom: 4px; color: var(--primary); }
.contact-info-text p, .contact-info-text a { font-size: 0.92rem; color: var(--text-mid); margin: 0; }
.contact-form-wrap {
  background: var(--white); padding: 40px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font-main);
  transition: border-color var(--transition); outline: none; color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-section { padding: 0 0 80px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 400px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   SINGLE TOUR / POST
   ============================================================ */
.single-tour-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 60px 0; }
.tour-gallery-main { border-radius: var(--radius-lg); overflow: hidden; height: 450px; background: linear-gradient(135deg, var(--primary-darker), var(--primary)); }
.tour-content { margin-top: 30px; }
.tour-content h2 { font-size: 1.5rem; margin: 30px 0 14px; }
.tour-content h3 { font-size: 1.2rem; margin: 24px 0 10px; color: var(--primary); }
.tour-content ul { list-style: disc; padding-left: 20px; }
.tour-content ul li { margin-bottom: 6px; color: var(--text-mid); }
.tour-highlights { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.highlight-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--light-bg); color: var(--primary);
  padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
}
.booking-widget {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 90px;
}
.booking-widget-header {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  padding: 24px; color: var(--white);
}
.booking-price { font-size: 2rem; font-weight: 800; }
.booking-widget-body { padding: 24px; }
.booking-meta { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.88rem; }
.booking-meta .label { color: var(--text-light); }
.booking-meta .value { font-weight: 700; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0 60px; }
.page-link {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--border); color: var(--text-dark);
  font-weight: 600; font-size: 0.9rem; transition: all var(--transition);
}
.page-link:hover, .page-link.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-page { text-align: center; padding: 120px 0; }
.error-num { font-size: 8rem; font-weight: 800; color: var(--primary); opacity: 0.15; line-height: 1; }
.error-title { font-size: 2rem; margin-bottom: 14px; margin-top: -30px; }
.error-text { color: var(--text-mid); margin-bottom: 30px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-in { animation: fadeInUp 0.6s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .packages-grid, .testimonials-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-intro-grid { gap: 36px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .single-tour-grid { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
}

@media (max-width: 768px) {
  .main-nav { display: none; position: fixed; inset: 0; background: var(--white); z-index: 9999; flex-direction: column; justify-content: flex-start; padding: 100px 30px 30px; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .main-nav a { padding: 14px 0; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--gray-200); }
  .main-nav .sub-menu { position: static; box-shadow: none; border-top: none; padding-left: 20px; }
  .main-nav li:hover > .sub-menu { display: none; }
  .main-nav li.open > .sub-menu { display: block; }
  .hamburger { display: flex; z-index: 10001; }
  .header-cta { display: none; }
  .hero-slider { height: 480px; }
  .slide-title { font-size: 1.8rem; }
  .search-bar-inner { grid-template-columns: 1fr; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); }
  .destinations-grid { grid-template-columns: 1fr; }
  .destination-card:first-child { grid-column: span 1; }
  .why-grid, .about-intro-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+1) { grid-row: span 1; }
  .tours-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-radius: 50px; }
  .newsletter-submit { border-radius: 50px; padding: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar-right { display: none; }
}

@media (max-width: 480px) {
  .packages-grid, .testimonials-grid, .posts-grid, .team-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-num { font-size: 2rem; }
  .hero-slider { height: 400px; }
  .slide-title { font-size: 1.5rem; }
  .slide-btns { flex-direction: column; }
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; text-align: center; color: var(--text-light); margin-top: 6px; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 20px; }
.alignright { float: right; margin-left: 20px; margin-bottom: 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
