/* Stokman Site Sections — self-contained, theme-safe CSS.
 * No body, html, or broad generic tag rules are modified.
 * The default width is browser-wide; width="contained" respects the parent.
 */
.smc-section, .smc-section *, .smc-section *::before, .smc-section *::after {
  box-sizing: border-box;
}
.smc-section {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #242424;
}
.smc-section.smc-full {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.smc-section.smc-contained {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
/* Inherit Stokman's existing site-wide textured background. */
body .smc-section.smc-destinations,
body .smc-section.smc-faq,
body .smc-section.smc-big5 {
  background: transparent !important;
}
.smc-section h2, .smc-section h3, .smc-section p { font-family: inherit; }
.smc-section h2 { letter-spacing: -.4px; }
.smc-section img { max-width: 100%; }
.smc-section button { font-family: inherit; }
.smc-section :is(button, a, [tabindex="0"]):focus-visible {
  outline: 3px solid #eaae53;
  outline-offset: 3px;
}

/* 1 — WHY STOKMAN */
.smc-section.smc-why {
  position: relative;
  isolation: isolate;
  padding: clamp(45px, 5vw, 85px) clamp(18px, 4vw, 84px);
  background: url('https://stokmansafaris.co.ke/wp-content/uploads/2025/09/pexels-lazybird-1260727-1-scaled.jpg') center / cover no-repeat;
}
.smc-why::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255,255,255,.80);
}
.smc-why .smc-why-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(25px, 4vw, 70px);
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.smc-why .smc-why-copy { min-width: 0; }
.smc-why .smc-why-copy h2 {
  margin: 0 0 18px;
  color: #9e391c;
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}
.smc-why .smc-why-lead {
  margin: 0 0 28px;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}
.smc-why .smc-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 21px);
}
.smc-why .smc-feature {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 13px;
  padding: clamp(13px, 1.5vw, 21px);
  border-radius: 9px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.smc-why .smc-feature-icon {
  display: block;
  flex: 0 0 auto;
  font-size: 27px;
  line-height: 1.5;
}
.smc-why .smc-feature h3 {
  margin: 0 0 5px;
  color: #171717;
  font-size: clamp(.97rem, 1.2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.35;
}
.smc-why .smc-feature p {
  margin: 0;
  color: #555;
  font-size: .91rem;
  font-weight: 400;
  line-height: 1.6;
}
.smc-why .smc-feature:hover {
  background: #9e391c;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  transform: translateY(-3px);
}
.smc-why .smc-feature:hover :is(h3, p) { color: #fff; }
.smc-why .smc-why-visual { min-width: 0; }
.smc-why .smc-why-visual img {
  display: block;
  width: 100%;
  height: clamp(350px, 35vw, 650px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* 2 — DESTINATIONS */
.smc-section.smc-destinations {
  padding: clamp(50px, 5vw, 80px) 0;
  text-align: center;
}
.smc-destinations .smc-destinations-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 64px);
}
.smc-destinations h2 {
  margin: 0 0 12px;
  color: #2c3e50;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}
.smc-destinations .smc-section-intro {
  max-width: 720px;
  margin: 0 auto 35px;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}
.smc-destinations .smc-tab-scroll {
  max-width: 100%;
  margin-bottom: 45px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.smc-destinations .smc-tabs {
  display: inline-flex;
  min-width: max-content;
  gap: 3px;
  padding: 6px;
  border: 1px solid #e6e2dc;
  border-radius: 45px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.smc-destinations button.smc-tab {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 23px;
  border: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
  color: #555;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: background .25s, color .25s;
}
.smc-destinations button.smc-tab.is-active,
.smc-destinations button.smc-tab[aria-selected="true"] {
  background: #9e391c;
  color: #fff;
}
.smc-destinations .smc-dest-panel[hidden] { display: none !important; }
.smc-destinations .smc-dest-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 30px);
  width: 100%;
  margin: 0 auto;
}
.smc-destinations .smc-dest-panel[data-country="south-africa"] .smc-dest-grid {
  max-width: 650px;
  grid-template-columns: minmax(0, 1fr);
}
.smc-destinations .smc-dest-panel[data-country="uganda"] .smc-dest-grid,
.smc-destinations .smc-dest-panel[data-country="tanzania"] .smc-dest-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.smc-destinations .smc-dest-card {
  position: relative;
  height: clamp(300px, 29vw, 430px);
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #252525;
  box-shadow: 0 8px 23px rgba(0,0,0,.09);
}
.smc-destinations .smc-dest-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.smc-destinations .smc-dest-card:hover img { transform: scale(1.08); }
.smc-destinations .smc-dest-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 25px 12px 35px;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.05) 65%);
}
.smc-destinations .smc-dest-overlay h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .6px;
  text-transform: uppercase;
}

/* 3 — FREQUENTLY ASKED QUESTIONS */
.smc-section.smc-faq { padding: clamp(40px, 4vw, 70px) clamp(18px, 3vw, 64px); }
.smc-faq .smc-faq-inner {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}
.smc-faq h2 {
  margin: 0 0 26px;
  color: #9e391c;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 800;
  text-align: center;
}
.smc-faq .smc-faq-item { border-bottom: 1px solid #dedad6; }
.smc-faq .smc-faq-heading { margin: 0; padding: 0; font-size: inherit; }
.smc-faq button.smc-faq-question {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 21px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #9e391c;
  cursor: pointer;
  text-align: left;
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background .2s;
}
.smc-faq button.smc-faq-question:hover,
.smc-faq button.smc-faq-question[aria-expanded="true"] { background: #f2e6e2; }
.smc-faq .smc-faq-symbol { flex: 0 0 auto; font-size: 1.5rem; font-weight: 500; }
.smc-faq .smc-faq-answer {
  padding: 18px 21px;
  background: #fff;
}
.smc-faq .smc-faq-answer[hidden] { display: none !important; }
.smc-faq .smc-faq-answer p { margin: 0; color: #333; font-size: .98rem; line-height: 1.7; }

/* 4 — BIG FIVE */
.smc-section.smc-big5 { padding: clamp(40px, 4.5vw, 75px) 0; }
.smc-big5 .smc-big5-inner { width: 100%; margin: 0 auto; padding: 0 clamp(18px, 3vw, 64px); }
.smc-big5 h2 {
  margin: 0 0 28px;
  color: #9e391c;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 800;
  text-align: center;
}
.smc-big5 .smc-big5-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.smc-big5 .smc-big5-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 4px solid #fff;
  background: #333;
}
.smc-big5 .smc-big5-item img {
  display: block;
  width: 100%;
  height: clamp(265px, 24vw, 410px);
  object-fit: cover;
  transition: transform .4s ease;
}
.smc-big5 .smc-big5-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px;
  background: rgba(158,57,28,.9);
  color: #fff;
  opacity: 0;
  text-align: center;
  transition: opacity .4s ease;
  pointer-events: none;
}
.smc-big5 .smc-big5-overlay h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 800;
}
.smc-big5 .smc-big5-overlay p { margin: 0; color: #fff; font-size: .9rem; line-height: 1.5; }
.smc-big5 .smc-big5-item:hover img,
.smc-big5 .smc-big5-item:focus-visible img { transform: scale(1.08); }
.smc-big5 .smc-big5-item:hover .smc-big5-overlay,
.smc-big5 .smc-big5-item:focus-visible .smc-big5-overlay { opacity: 1; }

/* 5 — FOOTER (only this component is dark) */
.smc-section.smc-footer {
  padding: 0;
  background: #222 !important;
  color: #eee;
}
.smc-footer .smc-footer-inner { width: 100%; padding: 45px clamp(18px, 3vw, 64px) 15px; }
.smc-footer .smc-footer-cols {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(20px, 2.5vw, 45px);
  margin: 0 0 30px;
}
.smc-footer .smc-footer-about { min-width: 0; }
.smc-footer img.smc-footer-logo {
  display: block;
  width: auto;
  max-width: min(200px, 100%);
  height: auto;
  object-fit: contain;
}
.smc-footer .smc-footer-about p {
  margin: 15px 0 0;
  color: #ddd;
  font-size: .92rem;
  line-height: 1.75;
}
.smc-footer .smc-footer-links h3 {
  margin: 0 0 15px;
  color: #d57855;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.smc-footer .smc-footer-links ul { margin: 0; padding: 0; list-style: none; }
.smc-footer .smc-footer-links li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
}
.smc-footer .smc-footer-links li::before {
  content: '';
  display: inline-block;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border: 2px solid #bd6647;
  border-radius: 50%;
  background: #fff;
  vertical-align: middle;
}
.smc-footer .smc-footer-links a,
.smc-footer .smc-footer-placeholder {
  color: #ddd;
  font-size: .92rem;
  line-height: 1.6;
  text-decoration: none;
}
.smc-footer .smc-footer-links a:hover { color: #e5a28c; }
.smc-footer .smc-footer-placeholder { opacity: .72; }
.smc-footer .smc-newsletter {
  max-width: 700px;
  margin: 22px auto 28px;
  text-align: center;
}
.smc-footer .smc-newsletter h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}
.smc-footer .smc-newsletter p { margin: 0 0 12px; color: #ccc; font-size: .9rem; }
.smc-footer .smc-newsletter-fields {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.smc-footer .smc-newsletter-fields input {
  flex: 1 1 180px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: .9rem;
}
.smc-footer .smc-newsletter-fields button {
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  background: #9e391c;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}
.smc-footer .smc-newsletter-fields :disabled { cursor: not-allowed; opacity: .76; }
.smc-footer .smc-newsletter p.smc-newsletter-note {
  margin-top: 9px;
  color: #d1bbb5;
  font-size: .76rem;
}
.smc-footer .smc-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px auto 20px;
}
.smc-footer .smc-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background .25s;
}
.smc-footer .smc-social a:hover { background: #9e391c; color: #fff; }
.smc-footer .smc-footer-bottom {
  padding: 16px clamp(18px, 3vw, 64px);
  background: #9e391c;
  color: #fff;
  font-size: .85rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1100px) {
  .smc-why .smc-why-inner { grid-template-columns: minmax(0,1fr); }
  .smc-why .smc-why-visual img { height: 440px; }
  .smc-big5 .smc-big5-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .smc-footer .smc-footer-cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 750px) {
  .smc-destinations .smc-dest-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .smc-big5 .smc-big5-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .smc-why .smc-why-visual img { height: 360px; }
}
@media (max-width: 600px) {
  .smc-section.smc-why { padding: 42px 18px; }
  .smc-why .smc-features { grid-template-columns: minmax(0, 1fr); }
  .smc-why .smc-why-visual img { height: 300px; }
  .smc-destinations .smc-tab-scroll { margin-bottom: 28px; }
  .smc-destinations .smc-dest-grid,
  .smc-destinations .smc-dest-panel[data-country="uganda"] .smc-dest-grid,
  .smc-destinations .smc-dest-panel[data-country="tanzania"] .smc-dest-grid { grid-template-columns: minmax(0,1fr); }
  .smc-destinations .smc-dest-card { height: 340px; }
  .smc-faq button.smc-faq-question { padding: 15px; }
  .smc-faq .smc-faq-answer { padding: 15px; }
  .smc-big5 .smc-big5-grid { grid-template-columns: minmax(0,1fr); }
  .smc-big5 .smc-big5-item img { height: 310px; }
  .smc-footer .smc-footer-cols { grid-template-columns: minmax(0,1fr); }
}
@media (hover: none) {
  .smc-big5 .smc-big5-overlay {
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(100,29,12,.95), rgba(80,20,5,.35) 82%);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .smc-section *, .smc-section *::before, .smc-section *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* v1.1 — Bold Builder's generic layout / typography resets can otherwise win.
   Deliberately scoped: no body, heading, paragraph, or generic .container rules. */
body .smc-section.smc-full {
    display: block;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
body .smc-section.smc-contained {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
body .smc-section.smc-why .smc-why-inner,
body .smc-section.smc-why .smc-features,
body .smc-section.smc-destinations .smc-dest-grid,
body .smc-section.smc-big5 .smc-big5-grid,
body .smc-section.smc-footer .smc-footer-cols {
    display: grid;
}
body .smc-section.smc-destinations .smc-dest-card,
body .smc-section.smc-big5 .smc-big5-item { display: block; }
body .smc-section.smc-why .smc-feature { display: flex; }
body .smc-section.smc-faq .smc-faq-question { display: flex; }
body .smc-section.smc-footer .smc-social { display: flex; }
body .smc-section.smc-why .smc-feature h3,
body .smc-section.smc-why .smc-feature p,
body .smc-section.smc-destinations .smc-dest-overlay h3,
body .smc-section.smc-big5 .smc-big5-overlay h3,
body .smc-section.smc-big5 .smc-big5-overlay p,
body .smc-section.smc-footer .smc-footer-links a {
    text-shadow: none;
}
@media (max-width: 1100px) {
    body .smc-section.smc-why .smc-why-inner { grid-template-columns: minmax(0,1fr); }
    body .smc-section.smc-big5 .smc-big5-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    body .smc-section.smc-footer .smc-footer-cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 750px) {
    body .smc-section.smc-big5 .smc-big5-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body .smc-section.smc-destinations .smc-dest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    body .smc-section.smc-why .smc-features,
    body .smc-section.smc-destinations .smc-dest-grid,
    body .smc-section.smc-destinations .smc-dest-panel[data-country="uganda"] .smc-dest-grid,
    body .smc-section.smc-destinations .smc-dest-panel[data-country="tanzania"] .smc-dest-grid,
    body .smc-section.smc-big5 .smc-big5-grid,
    body .smc-section.smc-footer .smc-footer-cols { grid-template-columns: minmax(0,1fr); }
}
