/* African Safaris — unified with theme (Playfair + Poppins, homepage weights) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --afs-orange: #9c6a2e;
  --afs-orange-hover: #b17c39;
  --afs-ink: #1f2937;
  --afs-body: #5b5f66;
  --afs-cream: #faf7f2;
  --afs-cream-2: #f4efe6;
  --afs-line: #e7e2d8;
  --afs-font-serif: 'Playfair Display', Georgia, serif;
  --afs-font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.afs-page * { box-sizing: border-box; }
.afs-page {
  font-family: var(--afs-font-sans) !important;
  font-weight: 400 !important;
  color: var(--afs-ink);
  background: #fff;
}
.afs-page h1,
.afs-page h2,
.afs-page h3,
.afs-page h4 {
  font-family: var(--afs-font-serif) !important;
  font-weight: 400 !important;
  margin: 0;
}
.afs-eyebrow {
  display: block;
  text-align: center;
  color: var(--afs-orange) !important;
  font-family: var(--afs-font-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.afs-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
}
.afs-body-text {
  font-family: var(--afs-font-sans) !important;
  font-weight: 400 !important;
  color: var(--afs-body);
  font-size: 15.5px;
  line-height: 1.7;
}
.afs-center-head {
  text-align: center;
  font-family: var(--afs-font-serif) !important;
  font-size: 32px;
  font-weight: 400 !important;
  margin-bottom: 0;
}

/* HERO */
.afs-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #2b2115;
}
.afs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.afs-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.75) 28%, rgba(10,10,10,0.44) 46%, rgba(10,10,10,0.06) 62%, rgba(10,10,10,0) 74%);
}
.afs-hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 0 6%;
}
.afs-hero-copy { max-width: 480px; }
/* Breadcrumb above heading — theme style */
.afs-bc{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}
.afs-bc li,
.afs-bc a,
.afs-bc span{
  font-family: var(--afs-font-sans, 'Poppins', sans-serif);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.14em;
  text-transform:uppercase;
  line-height:1.4;
}
.afs-bc a{
  color:rgba(255,255,255,0.72);
  text-decoration:none;
  transition:color .2s ease;
}
.afs-bc a:hover{ color: var(--afs-orange, #9c6a2e); }
.afs-bc .afs-bc-sep{
  color:rgba(255,255,255,0.4);
  padding:0 10px;
  user-select:none;
  pointer-events:none;
}
.afs-bc .afs-bc-current{
  color:#fff;
  font-weight:600;
}
.afs-hero-copy h1 {
  font-family: var(--afs-font-serif) !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.afs-hero-copy .afs-hero-lede {
  font-family: var(--afs-font-serif) !important;
  font-style: italic;
  font-weight: 400 !important;
  font-size: 20px;
  line-height: 1.5;
  color: #e8c98a;
  margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.afs-hero-copy .afs-body-text { color: rgba(255,255,255,0.9); font-weight: 400 !important; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }

/* EXPERIENCES */
.afs-experiences {
  background: #fff;
  padding: 60px 0 64px;
  border-bottom: 1px solid var(--afs-line);
  width: 100%;
}
.afs-exp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 32px;
  width: 100%;
}
.afs-exp-item { text-align: center; }
.afs-exp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.afs-exp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.afs-exp-item span {
  display: block;
  font-family: var(--afs-font-sans) !important;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--afs-ink);
  line-height: 1.35;
}
.afs-exp-item .afs-exp-sub {
  display: block;
  font-size: 12px;
  font-weight: 400 !important;
  color: var(--afs-body);
  margin-top: 4px;
  line-height: 1.4;
}

/* DISCOVER */
.afs-discover {
  background: #f8f6f1;
  padding: 80px 0 90px;
  width: 100%;
}
.afs-discover-head { margin-bottom: 48px; }
.afs-trip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}
.afs-trip-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(31, 41, 55, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.afs-trip-card:hover,
.afs-trip-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(31, 41, 55, 0.1);
  color: inherit;
  text-decoration: none;
}
.afs-trip-card:focus-visible {
  outline: 2px solid var(--afs-orange);
  outline-offset: 3px;
}
.afs-trip-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.afs-trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.afs-trip-card:hover .afs-trip-img img { transform: scale(1.05); }
.afs-trip-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.afs-trip-body h3 {
  font-family: var(--afs-font-serif) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  margin-bottom: 8px;
  color: var(--afs-ink);
  line-height: 1.3;
}
.afs-trip-body p {
  font-family: var(--afs-font-sans) !important;
  font-size: 13.5px;
  font-weight: 400 !important;
  color: var(--afs-body);
  line-height: 1.55;
  margin-bottom: 18px;
}
.afs-trip-meta {
  display: flex;
  gap: 0;
  border-top: 1px solid #f0ece4;
  border-bottom: 1px solid #f0ece4;
  padding: 12px 0;
  margin-bottom: 20px;
}
.afs-trip-meta-item {
  flex: 1;
  text-align: center;
  font-family: var(--afs-font-sans) !important;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
}
.afs-trip-meta-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--afs-ink);
  margin-bottom: 2px;
}
.afs-trip-meta-item + .afs-trip-meta-item { border-left: 1px solid #f0ece4; }
.afs-trip-actions { margin-top: auto; }
.afs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 50px;
  background: var(--afs-orange) !important;
  color: #fff !important;
  font-family: var(--afs-font-sans) !important;
  font-size: 13.5px;
  font-weight: 700 !important;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease;
}
.afs-trip-card:hover .afs-btn-primary { background: var(--afs-orange-hover) !important; }
.afs-btn-primary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ADD-ONS */
.afs-addons {
  background: #fff;
  padding: 80px 0 70px;
  width: 100%;
}
.afs-addons-head { margin-bottom: 40px; }
.afs-addons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: 100%;
}
.afs-addon-item { text-align: center; padding: 0 12px; }
.afs-addon-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.afs-addon-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.afs-addon-item h5 {
  font-family: var(--afs-font-sans) !important;
  font-size: 15px;
  font-weight: 700 !important;
  margin-bottom: 5px;
}
.afs-addon-item span {
  font-family: var(--afs-font-sans) !important;
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--afs-body);
}

/* CTA */
.afs-cta-banner {
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}
.afs-cta-banner img.afs-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.afs-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 12, 8, 0.84) 0%, rgba(20, 16, 10, 0.65) 55%, rgba(20, 16, 10, 0.42) 100%);
  z-index: 1;
}
.afs-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 6%;
  flex-wrap: wrap;
}
.afs-cta-content h2 {
  font-family: var(--afs-font-serif) !important;
  font-weight: 400 !important;
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}
.afs-cta-content p {
  font-family: var(--afs-font-sans) !important;
  font-weight: 400 !important;
  color: #e9e4da;
  font-size: 15px;
  max-width: 480px;
  margin: 0;
}
.afs-orange-btn {
  display: inline-block;
  background: var(--afs-orange) !important;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--afs-font-sans) !important;
  font-weight: 700 !important;
  font-size: 14.5px;
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.afs-orange-btn:hover {
  background: var(--afs-orange-hover) !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  .afs-trip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .afs-exp-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .afs-addons-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 640px) {
  .afs-wrap { padding: 0 5%; }
  .afs-hero { min-height: auto; }
  .afs-hero-overlay { min-height: auto; padding: 60px 5%; }
  .afs-hero-shade {
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.77) 55%, rgba(10,10,10,0.6) 100%);
  }
  .afs-hero-copy { max-width: 100%; }
  .afs-hero-copy h1 { font-size: 32px !important; font-weight: 400 !important; }
  .afs-exp-row { grid-template-columns: repeat(2, 1fr); }
  .afs-trip-grid { grid-template-columns: 1fr; gap: 22px; }
  .afs-addons-row { grid-template-columns: 1fr 1fr; }
  .afs-cta-content { justify-content: center; text-align: center; padding: 36px 5%; }
  .afs-cta-content p { margin: 0 auto; }
}
