/* ============================================================
   ADAA ETHIOPIA — BASE v5.0
   SEO-first · Clean · Classic · World-class tour booking
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --g:    #007a4d;
  --g-lt: #e8f5ee;
  --g-dk: #005c39;
  --g-dp: #0d3323;
  --ta:   #34e0a1;
  --bdr:  #e0e0e0;
  --bdr2: #ededed;
  --muted:#6b7280;
  --dim:  #9ca3af;
  --ink:  #111111;
  --ink2: #333333;
  --ink3: #444444;
  --bg:   #f6f8fa;
  --bg2:  #eef2f0;
  --white:#ffffff;
  --wa:   #25d366;
  --red:  #e53e3e;
  --r:    10px;
  --rsm:  6px;
  --rlg:  14px;
  --rp:   100px;
  --t:    .18s ease;
  --f:    'Figtree',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --w:    1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f); font-size: 1rem; line-height: 1.7; color: var(--ink3); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--g); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 { font-family: var(--f); font-weight: 700; line-height: 1.2; color: var(--ink); }

/* Container */
.ctr { max-width: var(--w); margin-inline: auto; padding-inline: 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 26px; font-family: var(--f); font-size: .875rem; font-weight: 700;
  line-height: 1; border-radius: var(--rp); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap; min-height: 44px;
  transition: background var(--t), border-color var(--t), color var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; }
.btn-g    { background: var(--g); color: #fff; border-color: var(--g); }
.btn-g:hover { background: var(--g-dk); border-color: var(--g-dk); color: #fff; text-decoration: none; }
.btn-ol   { background: transparent; color: var(--g); border-color: var(--g); }
.btn-ol:hover { background: var(--g-lt); color: var(--g-dk); border-color: var(--g-dk); text-decoration: none; }
.btn-ghost{ background: transparent; color: var(--ink3); border-color: var(--bdr); }
.btn-ghost:hover { border-color: var(--ink3); color: var(--ink); text-decoration: none; }
.btn-wa   { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; text-decoration: none; }
.btn-wh   { background: var(--white); color: var(--g); border-color: var(--white); }
.btn-wh:hover { background: var(--g-lt); color: var(--g-dk); text-decoration: none; }
.btn-sm   { font-size: .78rem; padding: 8px 18px; min-height: 36px; }
.btn-lg   { font-size: .97rem; padding: 14px 34px; min-height: 52px; }
.btn-full { width: 100%; justify-content: center; }

/* ── CHIPS & BADGES ── */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--rp); font-size: .68rem; font-weight: 700; line-height: 1.4; }
.chip-g     { background: var(--g);    color: #fff; }
.chip-dk    { background: var(--g-dk); color: #fff; }
.chip-lt    { background: var(--g-lt); color: var(--g-dk); }
.chip-bdr   { border: 1px solid var(--bdr); color: var(--ink3); background: transparent; }
.chip-wa    { background: var(--wa);   color: #fff; }
.chip-amber { background: #fef3c7; color: #92400e; }
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--rp); font-size: .7rem; font-weight: 700; }
.badge-green   { background: var(--g-lt); color: var(--g-dk); }
.badge-amber   { background: #fef3c7; color: #92400e; }
.badge-outline { border: 1px solid var(--bdr); color: var(--muted); background: transparent; }
.badge-red     { background: #fef2f2; color: #b91c1c; }

/* ── TOUR CARD ── */
.tc { background: var(--white); border-radius: var(--r); border: 1px solid var(--bdr2); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t), transform var(--t); }
.tc:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.tc-img { display: block; position: relative; padding-top: 62%; overflow: hidden; background: var(--bg); }
.tc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tc:hover .tc-img img { transform: scale(1.05); }
.tc-img-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--bg); }
.tc-tl { position: absolute; top: 10px; left: 10px; }
.tc-bl { position: absolute; bottom: 10px; left: 10px; }
.tc-body  { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.tc-rat   { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.ta-bub   { background: var(--g); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.tc-rc    { font-size: .72rem; color: var(--muted); }
.tc-title { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.tc-title a { color: inherit; }
.tc-title a:hover { color: var(--g); }
.tc-dur   { font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.tc-foot  { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--bdr2); }
.tc-from  { font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); display: block; }
.tc-price { font-size: 1rem; font-weight: 800; color: var(--ink); }

/* ── BLOG CARD ── */
.blc { background: var(--white); border-radius: var(--r); border: 1px solid var(--bdr2); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t), transform var(--t); }
.blc:hover { box-shadow: 0 6px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.blc-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.blc-img  { position: relative; height: 215px; overflow: hidden; background: var(--bg); flex-shrink: 0; }
.blc-img img, .blc-img-bg { width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; transition: transform .45s ease; }
.blc:hover .blc-img img, .blc:hover .blc-img-bg { transform: scale(1.05); }
.blc-body    { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blc-cat     { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--g); margin-bottom: 7px; display: inline-block; }
.blc-ttl     { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.blc-excerpt { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.blc-meta    { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .75rem; }
.blc-date    { color: var(--muted); }
.blc-read-more { color: var(--g); font-weight: 600; }

/* ── GRIDS ── */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BREADCRUMB ── */
.bcbar { background: var(--bg); border-bottom: 1px solid var(--bdr2); padding: 9px 0; }
.bcnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.bcnav a { color: var(--g); } .bcnav a:hover { text-decoration: underline; }
.bccur { color: var(--muted); } .bcsep { color: var(--dim); font-size: .7rem; }

/* ── PAGE HEADERS ── */
.page-header-banner { background: linear-gradient(135deg, var(--g-dp), var(--g-dk)); padding: 40px 0; text-align: center; color: #fff; }
.page-header-inner { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.page-header-banner h1 { color: #fff; font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: 8px; }
.page-header-desc { color: rgba(255,255,255,.75); font-size: .92rem; }

/* ── ALERTS ── */
.alert { padding: 13px 16px; border-radius: var(--rsm); font-size: .875rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: var(--g-lt); color: var(--g-dk); border: 1px solid #b2dfc7; }
.alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warn    { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ── AUTH FORMS ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 32px 16px; }
.auth-card { background: var(--white); border-radius: var(--rlg); border: 1px solid var(--bdr2); padding: 40px 38px; width: 100%; max-width: 460px; box-shadow: 0 4px 28px rgba(0,0,0,.07); }
.auth-logo { margin-bottom: 24px; }
.auth-logo .logo-name { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.auth-title    { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.auth-subtitle { font-size: .875rem; color: var(--muted); margin-bottom: 28px; }
.auth-switch   { font-size: .85rem; color: var(--muted); margin-top: 22px; text-align: center; }
.auth-switch a { color: var(--g); font-weight: 600; }
.adaa-form  { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--ink3); }
.form-input { padding: 10px 13px; border: 1.5px solid var(--bdr); border-radius: var(--rsm); font-family: var(--f); font-size: .9rem; color: var(--ink); background: var(--white); transition: border-color var(--t), box-shadow var(--t); width: 100%; }
.form-input:focus { outline: none; border-color: var(--g); box-shadow: 0 0 0 3px rgba(0,122,77,.1); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint   { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.form-check  { display: flex; align-items: flex-start; gap: 9px; font-size: .83rem; color: var(--ink3); cursor: pointer; }
.form-check-input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--g); }
.required    { color: var(--red); }

/* ── PAGINATION ── */
.pgn { text-align: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--bdr2); }
.pgn .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; }
.pgn .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 13px; border-radius: var(--r); border: 1.5px solid var(--bdr); font-size: .875rem; font-weight: 500; color: var(--ink3); text-decoration: none; transition: all var(--t); }
.pgn .page-numbers:hover { background: var(--g-lt); border-color: var(--g); color: var(--g); text-decoration: none; }
.pgn .page-numbers.current { background: var(--g); border-color: var(--g); color: #fff; font-weight: 700; }
.pgn .page-numbers.dots { border-color: transparent; background: none; pointer-events: none; }

/* ── SECTION HEADINGS ── */
.sec-eye { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--g); margin-bottom: 6px; display: block; }
.sec-ttl { font-size: clamp(1.4rem,2.5vw,1.85rem); font-weight: 800; color: var(--ink); line-height: 1.2; }
.sec-sub { font-size: .9rem; color: var(--muted); margin-top: 8px; max-width: 540px; }
.sec-head{ display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }

/* ── LAYOUT HELPERS ── */
.full-content-wrap   { max-width: var(--w); margin: 0 auto; padding: 52px 24px 80px; }
.narrow-content-wrap { max-width: 760px; margin: 0 auto; padding: 52px 24px 80px; }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-g      { color: var(--g); }

/* ── RESPONSIVE ── */
@media (max-width:1060px) { .g4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:860px)  { .g3, .g4 { grid-template-columns: repeat(2,1fr); gap:20px; } .form-grid-2 { grid-template-columns:1fr; } }
@media (max-width:640px)  { .g2,.g3,.g4 { grid-template-columns:1fr; gap:16px; } .auth-card { padding:28px 20px; } .ctr { padding-inline:16px; } }

/* ── SECTION UTILITY CLASSES ── */
/* .sec = white section with breathing room */
.sec {
  padding: 72px 0;
}
/* .sec-bg = light-grey tinted section */
.sec-bg {
  background: var(--bg);
}
/* .sec-alt = extra-top-padded section for homepage slots */
.sec-alt {
  padding: 80px 0;
}

/* ── SECTION HEADING BLOCK (.sh) ── */
/* Used: front-page.php, single-tour.php */
.sh {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.sh-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sh-eye {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--g);
  display: block;
}
.sh-ttl {
  font-size: clamp(1.35rem,2.5vw,1.9rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}
.sh-sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 4px 0 0;
}
.sh-all {
  font-size: .82rem;
  font-weight: 600;
  color: var(--g);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.sh-all:hover { color: var(--g-dk); text-decoration: underline; }

/* ── RELATED TOURS GRID ── */
/* Used in single-tour.php Related Experiences */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
@media (max-width:1060px) { .tours-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px)  { .tours-grid { grid-template-columns: 1fr; gap:16px; } }

/* ── BREADCRUMB GLOBAL ── */
.adaa-bc {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 0 20px;
  font-size: .78rem;
  color: var(--muted);
}
.adaa-bc a { color: var(--muted); text-decoration: none; }
.adaa-bc a:hover { color: var(--g); }
.adaa-bc .bc-sep { color: var(--dim); margin: 0 1px; }
.adaa-bc .bc-cur { color: var(--ink3); font-weight: 500; }

/* ── PAGE TITLE BLOCK ── */
/* Applied to all interior pages below breadcrumb */
.pgtitle {
  padding: 8px 0 36px;
  border-bottom: 1px solid var(--bdr2);
  margin-bottom: 48px;
}
.pgtitle-eye {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--g);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.pgtitle h1 {
  font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.pgtitle-sub {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PROSE (static pages) ── */
/* Override: keep prose column readable */
.prose-wrap {
  max-width: 820px;
}
.prose-wrap h1 { font-size: 1.75rem; font-weight: 800; color: var(--ink); margin: 0 0 1.2em; }
.prose-wrap h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 1.8em 0 .5em; border-bottom: 1px solid var(--bdr2); padding-bottom: 6px; }
.prose-wrap h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink2); margin: 1.4em 0 .4em; }
.prose-wrap p  { margin-bottom: 1.1em; line-height: 1.8; color: var(--ink3); }
.prose-wrap strong { color: var(--ink); }
.prose-wrap ul,
.prose-wrap ol { margin: 0 0 1em 1.4em; }
.prose-wrap li { margin-bottom: .4em; line-height: 1.7; }

/* ── RESPONSIVE .sh ── */
@media (max-width:640px) {
  .sh { margin-bottom: 24px; }
  .sh-ttl { font-size: 1.3rem; }
  .sec { padding: 48px 0; }
}
