/* ===== TRIPMATES SAFARIS - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --orange: #F47B20;
  --orange-dark: #D4600A;
  --orange-light: #FFA855;
  --brown: #3D1F00;
  --brown-mid: #6B3A1F;
  --cream: #FBF7F2;
  --white: #FFFFFF;
  --black: #111111;
  --gray: #6B7280;
  --gray-light: #F3F4F6;
  --green: #2D6A4F;
  --shadow: 0 4px 24px rgba(61,31,0,0.10);
  --shadow-lg: 0 12px 48px rgba(61,31,0,0.16);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244,123,32,0.12);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: all 0.3s;
}

.navbar.scrolled { box-shadow: var(--shadow); }

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 48px; width: auto; }
.nav-brand-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--brown); line-height: 1.2; }
.nav-brand-text span { color: var(--orange); font-size: 0.7rem; font-family: 'Inter', sans-serif; font-weight: 500; display: block; letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--brown); transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: rgba(244,123,32,0.08); }

.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; color: var(--white) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(61,31,0,0.7) 0%, rgba(61,31,0,0.4) 60%, rgba(244,123,32,0.2) 100%),
              url('https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1600') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 120px 40px 60px;
  position: relative;
}

.hero-content { max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,123,32,0.2); border: 1px solid rgba(244,123,32,0.4);
  color: var(--orange-light); padding: 6px 16px; border-radius: 40px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--orange-light); border-radius: 50%; }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--orange-light); font-style: italic; }

.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.85);
  margin-bottom: 36px; max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.25s; border: none; text-decoration: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(244,123,32,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline-dark:hover { background: var(--orange); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--orange-light); display: block; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  margin: -40px 40px 0;
  position: relative; z-index: 10;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 16px; align-items: end;
}

.search-field label { font-size: 0.75rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.8px; display: block; margin-bottom: 6px; }
.search-field input, .search-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid #E5E7EB; border-radius: 8px;
  font-size: 0.9rem; color: var(--black); background: var(--white);
  outline: none; transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.search-field input:focus, .search-field select:focus { border-color: var(--orange); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--cream); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow { font-size: 0.8rem; font-weight: 700; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--brown); margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.section-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-top h2 { font-size: 2.2rem; color: var(--brown); }
.view-all { color: var(--orange); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 4px; }
.view-all:hover { color: var(--orange-dark); }

/* ===== TOUR CARDS ===== */
.tours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(61,31,0,0.08);
  transition: all 0.3s;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.tour-card-img { position: relative; height: 220px; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tour-card:hover .tour-card-img img { transform: scale(1.06); }

.tour-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: var(--white);
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
}

.tour-card-body { padding: 20px; }
.tour-card-body h3 { font-size: 1.15rem; color: var(--brown); margin-bottom: 8px; }
.tour-meta { display: flex; gap: 16px; margin-bottom: 14px; }
.tour-meta span { font-size: 0.82rem; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.tour-meta span svg { flex-shrink: 0; }
.tour-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #F3F4F6; }
.tour-price { font-family: 'Playfair Display', serif; }
.tour-price .from { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; display: block; }
.tour-price .amount { font-size: 1.5rem; font-weight: 700; color: var(--orange); }

/* ===== DESTINATION CARDS ===== */
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.dest-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 300px; cursor: pointer; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,31,0,0.85) 0%, rgba(61,31,0,0.1) 50%, transparent 100%);
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: all 0.3s;
}
.dest-tag { font-size: 0.72rem; color: var(--orange-light); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.dest-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); font-weight: 700; }

/* ===== WHY CHOOSE US ===== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px; }
.why-item { text-align: center; }
.why-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(244,123,32,0.1), rgba(244,123,32,0.2));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.why-item p { font-size: 0.88rem; color: var(--gray); }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; height: 480px; }
.about-img-main {
  position: absolute; left: 0; top: 0; width: 75%; height: 85%;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute; right: 0; bottom: 0; width: 55%; height: 55%;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: 20px; bottom: 100px;
  background: var(--orange); color: var(--white);
  padding: 16px 20px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow);
}
.about-badge .num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; display: block; }
.about-badge .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

.about-content h2 { font-size: 2.4rem; color: var(--brown); margin-bottom: 20px; }
.about-content p { color: var(--gray); margin-bottom: 20px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.about-feature { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--brown); font-weight: 500; }
.about-feature::before { content: '✓'; width: 24px; height: 24px; background: rgba(244,123,32,0.15); color: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 2px 16px rgba(61,31,0,0.07);
  border: 1px solid rgba(244,123,32,0.08);
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
}
.author-name { font-weight: 700; font-size: 0.9rem; color: var(--brown); }
.author-loc { font-size: 0.8rem; color: var(--gray); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; min-height: 180px; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--brown) 0%, var(--orange-dark) 100%);
  padding: 80px 40px; text-align: center;
}
.cta-section h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--brown); color: rgba(255,255,255,0.8); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.2s;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h5 { color: var(--white); font-weight: 700; margin-bottom: 18px; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange-light); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-newsletter { }
.footer-newsletter input {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: none;
  background: rgba(255,255,255,0.1); color: var(--white);
  font-family: 'Inter', sans-serif; margin-bottom: 10px; outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--brown); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #E5E7EB;
  border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--black); outline: none; transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 40px 60px;
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
  text-align: center;
}
.page-hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ===== ALERTS ===== */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ===== LOADING ===== */
.loading { text-align: center; padding: 60px; color: var(--gray); }
.spinner {
  width: 40px; height: 40px; border: 3px solid rgba(244,123,32,0.2);
  border-top-color: var(--orange); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 1px solid #E5E7EB; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 20px 40px; }
  .hero-stats { gap: 24px; }
  .search-bar-wrap { margin: -30px 20px 0; }
  .section { padding: 56px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .tours-grid, .destinations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-images { height: 300px; }
  .page-hero h1 { font-size: 2rem; }
  .cta-section { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .search-bar { grid-template-columns: 1fr; }
  .search-bar .btn { grid-column: span 1; }
  .hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
