/*
Theme Name: Ololokwe Adventures
Theme URI: https://ololokweadventures.com
Author: Lerte Tellah
Description: Custom adventure tourism theme for Ololokwe Travel and Tours Ltd — Northern Kenya. Features tours, destinations, events, gallery and booking enquiry. All content editable via the WordPress dashboard.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ololokwe
Tags: adventure, tourism, travel, kenya, custom
*/

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', Georgia, sans-serif; font-size: 16px; line-height: 1.7; color: #1a1410; background: #faf7f2; }
img { max-width: 100%; height: auto; display: block; }
a { color: #c4722a; text-decoration: none; }
a:hover { color: #a05a1e; }
h1,h2,h3,h4,h5 { font-family: Georgia,'Times New Roman',serif; font-weight: 500; line-height: 1.2; color: #1a1410; }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }

/* ─── Variables ─── */
:root {
  --night: #1a1410; --ember: #c4722a; --ember-dark: #a05a1e;
  --sand: #f5e6c8; --earth: #3d2a14; --dust: #7a6548;
  --cream: #faf7f2; --border: #e0d5c4; --acacia: #2c3d1a;
}

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* ─── Buttons ─── */
.btn { display: inline-block; padding: 12px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; font-family: 'Lato', sans-serif; cursor: pointer; border: none; transition: background .2s, color .2s; text-align: center; }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--ember); border: 1.5px solid var(--ember); }
.btn--outline:hover { background: var(--ember); color: #fff; }
.btn--outline-light { background: transparent; color: var(--sand); border: 1.5px solid rgba(245,230,200,.4); }
.btn--outline-light:hover { background: rgba(245,230,200,.1); color: #fff; }
.btn--dark { background: var(--night); color: var(--sand); }
.btn--dark:hover { background: #2c2018; color: #fff; }
.btn--white { background: #fff; color: var(--ember); }
.btn--white:hover { background: var(--sand); }

/* ─── Section helpers ─── */
.section { padding: 72px 0; }
.section--dark { background: var(--night); }
.section--earth { background: var(--earth); }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--ember { background: var(--ember); }
.section__eyebrow { font-size: 11px; font-weight: 700; font-family: 'Lato',sans-serif; color: var(--ember); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-size: 32px; color: var(--night); margin-bottom: 12px; }
.section--dark .section__title, .section--earth .section__title { color: var(--sand); }
.section--ember .section__title { color: #fff; }
.section__subtitle { font-size: 15px; color: var(--dust); max-width: 520px; line-height: 1.7; margin-bottom: 40px; font-family: 'Lato',sans-serif; }
.section--dark .section__subtitle, .section--earth .section__subtitle { color: #7a6548; }
.section--ember .section__subtitle { color: rgba(255,255,255,.78); }

/* ─── Header ─── */
.site-header { background: var(--night); position: sticky; top: 0; z-index: 999; height: 64px; display: flex; align-items: center; border-bottom: 0.5px solid #2c1f0e; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo__mark { width: 32px; height: 32px; background: var(--ember); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-logo__mark svg { width: 18px; height: 18px; }
.site-logo__text { font-family: Georgia,serif; font-size: 16px; color: var(--sand); font-weight: 400; line-height: 1.2; }
.site-logo__text span { display: block; font-size: 11px; color: var(--dust); font-family: 'Lato',sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav ul li a { color: #b8a98a; font-size: 14px; font-family: 'Lato',sans-serif; padding: 8px 12px; border-radius: 4px; transition: color .2s, background .2s; text-decoration: none; }
.primary-nav ul li a:hover, .primary-nav ul li.current-menu-item > a { color: var(--sand); background: rgba(255,255,255,.06); }
.primary-nav .nav-cta a { background: var(--ember) !important; color: #fff !important; padding: 9px 18px !important; font-weight: 600 !important; }
.primary-nav .nav-cta a:hover { background: var(--ember-dark) !important; }
.primary-nav ul li { position: relative; }
.primary-nav ul li ul { display: none; position: absolute; top: 100%; left: 0; background: #221810; border: 0.5px solid #3d2a14; border-radius: 6px; padding: 8px 0; min-width: 200px; flex-direction: column; gap: 0; z-index: 100; }
.primary-nav ul li:hover > ul { display: flex; }
.primary-nav ul li ul li a { display: block; padding: 9px 18px; font-size: 13px; border-radius: 0; }
.menu-toggle { display: none; background: none; border: 1px solid #3d2a14; color: var(--sand); padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; font-family: 'Lato',sans-serif; }

/* Trust strip */
.trust-strip { background: #0f0c08; height: 44px; display: flex; align-items: center; padding: 0 32px; overflow: hidden; border-bottom: 0.5px solid #1a1008; }
.trust-strip__inner { display: flex; align-items: center; gap: 36px; }
.trust-strip__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #5a4a35; font-size: 12px; font-family: 'Lato',sans-serif; }
.trust-strip__dot { width: 4px; height: 4px; background: var(--ember); border-radius: 50%; flex-shrink: 0; }

/* ─── Hero ─── */
.hero { position: relative; min-height: 580px; display: flex; align-items: flex-end; background: var(--night); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,10,5,.92) 0%, rgba(15,10,5,.5) 50%, rgba(15,10,5,.22) 100%); }
.hero__content { position: relative; z-index: 2; padding: 64px 0; max-width: 600px; }
.hero__tag { display: inline-block; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; font-family: 'Lato',sans-serif; padding: 4px 12px; border-radius: 3px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.hero__title { font-size: 48px; color: var(--sand); line-height: 1.1; margin-bottom: 16px; }
.hero__subtitle { font-size: 16px; color: #c4a882; line-height: 1.7; margin-bottom: 32px; max-width: 460px; font-family: 'Lato',sans-serif; }
.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Stats ─── */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.stats-row__cell { padding: 24px 20px; text-align: center; border-right: 0.5px solid var(--border); background: #fff; }
.stats-row__cell:last-child { border-right: none; }
.stats-row__number { font-size: 30px; font-family: Georgia,serif; font-weight: 500; color: var(--ember); display: block; line-height: 1; margin-bottom: 4px; }
.stats-row__label { font-size: 12px; color: var(--dust); font-family: 'Lato',sans-serif; }

/* ─── Tour Cards ─── */
.tours-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tour-card { background: #fff; border: 0.5px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .2s; }
.tour-card:hover { transform: translateY(-3px); }
.tour-card__image { height: 200px; background: var(--earth) center/cover no-repeat; position: relative; }
.tour-card__badge { position: absolute; top: 12px; left: 12px; background: rgba(15,10,5,.85); color: var(--sand); font-size: 10px; font-family: 'Lato',sans-serif; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; }
.tour-card__body { padding: 18px; }
.tour-card__title { font-size: 16px; color: var(--night); margin-bottom: 6px; }
.tour-card__meta { font-size: 13px; color: var(--dust); font-family: 'Lato',sans-serif; line-height: 1.5; margin-bottom: 14px; }
.tour-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 0.5px solid var(--border); }
.tour-card__enquire { font-size: 13px; color: var(--ember); border: 0.5px solid var(--ember); padding: 7px 14px; border-radius: 3px; font-family: 'Lato',sans-serif; font-weight: 600; cursor: pointer; background: transparent; transition: background .2s, color .2s; text-decoration: none; display: inline-block; }
.tour-card__enquire:hover { background: var(--ember); color: #fff; }
.tour-card__rating { font-size: 12px; color: var(--ember); font-family: 'Lato',sans-serif; }
.tours-note { font-size: 13px; color: var(--dust); font-style: italic; margin-top: 20px; font-family: 'Lato',sans-serif; }

/* ─── Destinations ─── */
.destinations-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.dest-card { background: #2c1f0e; border: 0.5px solid #3d2a14; border-radius: 8px; overflow: hidden; transition: background .2s; text-decoration: none; display: block; }
.dest-card:hover { background: #3d2a14; }
.dest-card__image { height: 180px; background: var(--earth) center/cover no-repeat; }
.dest-card__body { padding: 20px; position: relative; }
.dest-card__num { font-size: 36px; font-family: Georgia,serif; color: #3d2a14; position: absolute; top: 10px; right: 18px; line-height: 1; }
.dest-card__title { font-size: 16px; color: var(--sand); margin-bottom: 6px; }
.dest-card__sub { font-size: 13px; color: #7a6548; font-family: 'Lato',sans-serif; line-height: 1.55; margin-bottom: 12px; }
.dest-card__tag { display: inline-block; font-size: 11px; color: var(--ember); border: 0.5px solid var(--ember); padding: 3px 10px; border-radius: 3px; font-family: 'Lato',sans-serif; }

/* ─── Events ─── */
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.event-card { background: #fff; border: 0.5px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .2s; text-decoration: none; display: block; }
.event-card:hover { transform: translateY(-3px); }
.event-card__date-bar { background: var(--ember); color: #fff; text-align: center; padding: 12px; font-family: 'Lato',sans-serif; }
.event-card__day { font-size: 28px; font-weight: 700; line-height: 1; display: block; }
.event-card__month { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .88; }
.event-card__image { height: 160px; background: var(--earth) center/cover no-repeat; }
.event-card__body { padding: 18px; }
.event-card__tag { display: inline-block; background: #faeeda; color: #854F0B; font-size: 10px; font-weight: 700; font-family: 'Lato',sans-serif; padding: 3px 8px; border-radius: 3px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.event-card__title { font-size: 16px; color: var(--night); margin-bottom: 6px; }
.event-card__meta { font-size: 13px; color: var(--dust); font-family: 'Lato',sans-serif; margin-bottom: 10px; }
.event-card__excerpt { font-size: 13px; color: #4a3520; line-height: 1.6; font-family: 'Lato',sans-serif; }

/* ─── Gallery ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-grid__item { aspect-ratio: 1; border-radius: 6px; overflow: hidden; cursor: pointer; transition: opacity .2s; }
.gallery-grid__item:hover { opacity: .85; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Testimonials ─── */
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.testi-card { background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 24px; }
.testi-card__quote { font-size: 15px; color: #4a3520; line-height: 1.7; font-family: Georgia,serif; font-style: italic; margin-bottom: 18px; }
.testi-card__quote::before { content:'\201C'; color: var(--ember); font-size: 24px; line-height: 0; vertical-align: -6px; margin-right: 2px; }
.testi-card__author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 0.5px solid var(--border); }
.testi-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ember); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; font-family: 'Lato',sans-serif; flex-shrink: 0; }
.testi-card__name { font-size: 14px; font-weight: 600; font-family: 'Lato',sans-serif; color: var(--night); }
.testi-card__location { font-size: 12px; color: var(--dust); font-family: 'Lato',sans-serif; }

/* ─── CTA Banner ─── */
.cta-banner { background: var(--ember); padding: 56px 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-banner__title { font-size: 28px; color: #fff; margin-bottom: 8px; }
.cta-banner__sub { font-size: 15px; color: rgba(255,255,255,.78); font-family: 'Lato',sans-serif; }
.cta-banner__buttons { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── WhatsApp FAB ─── */
.whatsapp-fab { position: fixed; bottom: 28px; right: 28px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: background .2s, transform .2s; text-decoration: none; }
.whatsapp-fab:hover { background: #1ebe5d; transform: scale(1.08); }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ─── Page Hero ─── */
.page-hero { background: var(--night); padding: 64px 0 48px; position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .2; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title { font-size: 38px; color: var(--sand); margin-bottom: 10px; }
.page-hero__subtitle { font-size: 15px; color: #7a6548; font-family: 'Lato',sans-serif; }

/* ─── Single content ─── */
.single-content { padding: 56px 0; }
.single-content__image { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 36px; }
.single-content__meta { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 0.5px solid var(--border); }
.single-content__meta-item { font-size: 13px; font-family: 'Lato',sans-serif; color: var(--dust); }
.single-content__meta-item strong { display: block; font-size: 11px; color: var(--ember); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.single-content__body { font-size: 15px; line-height: 1.8; color: #3d2a14; }
.single-content__body h2 { font-size: 22px; margin: 2rem 0 1rem; }
.single-content__body h3 { font-size: 18px; margin: 1.5rem 0 .75rem; }
.single-content__body ul { margin: 0 0 1rem 1.5rem; }

/* ─── Enquiry form ─── */
.enquiry-box { background: #fff; border: 0.5px solid var(--border); border-radius: 8px; padding: 28px; }
.enquiry-box__title { font-size: 18px; color: var(--night); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 0.5px solid var(--border); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; font-family: 'Lato',sans-serif; color: var(--dust); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-family: 'Lato',sans-serif; color: var(--night); background: #faf7f2; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--ember); background: #fff; }
.form-group textarea { min-height: 100px; resize: vertical; }

/* ─── Breadcrumbs ─── */
.breadcrumbs { font-size: 12px; font-family: 'Lato',sans-serif; color: var(--dust); padding: 14px 0; border-bottom: 0.5px solid var(--border); }
.breadcrumbs a { color: var(--ember); }
.breadcrumbs span { margin: 0 6px; color: #c4b89a; }

/* ─── Pagination ─── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 4px; font-size: 14px; font-family: 'Lato',sans-serif; border: 0.5px solid var(--border); color: var(--night); text-decoration: none; transition: background .2s, color .2s; }
.pagination a:hover, .pagination .current { background: var(--ember); color: #fff; border-color: var(--ember); }

/* ─── Footer ─── */
.site-footer { background: #0f0c08; }
.footer-main { padding: 56px 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-bottom: 0.5px solid #1a1410; }
.footer-brand__desc { font-size: 13px; color: #4a3520; line-height: 1.7; font-family: 'Lato',sans-serif; margin-top: 12px; }
.footer-col__title { font-size: 11px; font-weight: 700; font-family: 'Lato',sans-serif; color: #5a4a35; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: #3d2a14; font-family: 'Lato',sans-serif; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--ember); }
.footer-bottom { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom__copy, .footer-bottom__credit { font-size: 12px; color: #3d2a14; font-family: 'Lato',sans-serif; }
.footer-bottom__credit a { color: #5a4a35; }
.footer-bottom__credit a:hover { color: var(--ember); }
.footer-bottom__location { font-size: 12px; color: var(--ember); font-family: 'Lato',sans-serif; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .tours-grid, .events-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__title { font-size: 36px; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__buttons { justify-content: center; }
}
@media (max-width: 640px) {
  .container, .container--narrow { padding: 0 20px; }
  .tours-grid, .events-grid, .destinations-grid, .testimonials-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .hero__title { font-size: 28px; }
  .hero { min-height: 460px; }
  .hero__buttons { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .primary-nav ul { display: none; }
  .menu-toggle { display: block; }
  .trust-strip { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
