/*
Theme Name: Slum Gods Tours
Theme URI: https://example.com/
Author: Slum Gods Tours and Travel
Description: A lightweight, responsive WordPress theme for Slum Gods Tours and Travel.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: slumgods-tours
*/

:root {
  --sg-bg: #fffaf2;
  --sg-surface: #ffffff;
  --sg-text: #1f2520;
  --sg-muted: #667066;
  --sg-accent: #b8552d;
  --sg-accent-dark: #8f3f20;
  --sg-dark: #172019;
  --sg-border: #e8ded2;
  --sg-radius: 18px;
  --sg-shadow: 0 12px 35px rgba(23, 32, 25, .10);
  --sg-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sg-bg);
  color: var(--sg-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sg-accent-dark); }
a:hover { color: var(--sg-accent); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sg-wrap { width: min(calc(100% - 40px), var(--sg-width)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,250,242,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sg-border);
}
.sg-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding a {
  color: var(--sg-dark);
  text-decoration: none;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
  letter-spacing: -.03em;
}
.custom-logo { max-height: 58px; width: auto; }
.sg-nav { display: flex; align-items: center; gap: 18px; }
.sg-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0; margin: 0;
}
.sg-nav a {
  color: var(--sg-text);
  text-decoration: none;
  font-weight: 650;
}
.sg-nav a:hover { color: var(--sg-accent); }
.sg-menu-toggle {
  display: none;
  border: 1px solid var(--sg-border);
  background: var(--sg-surface);
  padding: 10px 13px;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.sg-hero {
  padding: clamp(70px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(184,85,45,.16), transparent 30%),
    radial-gradient(circle at 85% 35%, rgba(23,32,25,.10), transparent 28%),
    linear-gradient(145deg, #fffaf2, #f6eadb);
}
.sg-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: clamp(35px, 7vw, 90px);
}
.sg-eyebrow {
  margin: 0 0 10px;
  color: var(--sg-accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.sg-hero h1, .entry-title {
  color: var(--sg-dark);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 22px;
}
.sg-hero p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #4e5a51;
}
.sg-hero-card {
  background: var(--sg-dark);
  color: white;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 46px);
  box-shadow: var(--sg-shadow);
}
.sg-hero-card h2 { margin-top: 0; font-size: 1.6rem; }
.sg-hero-card p { color: rgba(255,255,255,.78); font-size: 1rem; }

.sg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sg-button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--sg-accent);
  color: white;
  text-decoration: none;
  font-weight: 800;
  border: 0;
}
.sg-button:hover, .wp-block-button__link:hover { background: var(--sg-accent-dark); color: white; }
.sg-button--light { background: white; color: var(--sg-dark); }
.sg-button--light:hover { background: #f4efe8; color: var(--sg-dark); }

.sg-section { padding: clamp(60px, 8vw, 100px) 0; }
.sg-section--white { background: var(--sg-surface); }
.sg-section-head { max-width: 780px; margin-bottom: 36px; }
.sg-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.sg-section-head p { color: var(--sg-muted); font-size: 1.08rem; }

.sg-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sg-tour-card {
  background: var(--sg-surface);
  border: 1px solid var(--sg-border);
  border-radius: var(--sg-radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(23,32,25,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sg-tour-card:hover { transform: translateY(-4px); box-shadow: var(--sg-shadow); }
.sg-tour-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #dcb28d, #806e5c);
  overflow: hidden;
}
.sg-tour-card__image img { width: 100%; height: 100%; object-fit: cover; }
.sg-tour-card__body { padding: 24px; }
.sg-tour-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.sg-tour-card p { color: var(--sg-muted); margin: 0 0 18px; }
.sg-tour-card a.sg-card-link { font-weight: 800; text-decoration: none; }

.sg-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sg-value {
  border-top: 3px solid var(--sg-accent);
  padding-top: 18px;
}
.sg-value h3 { margin: 0 0 8px; }

.sg-cta {
  background: var(--sg-dark);
  color: white;
  border-radius: 26px;
  padding: clamp(32px, 6vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.sg-cta h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 3rem); }
.sg-cta p { margin: 0; color: rgba(255,255,255,.76); max-width: 650px; }

.site-main { min-height: 60vh; }
.sg-page { padding: clamp(50px, 8vw, 90px) 0; }
.sg-page .entry-header { max-width: 900px; margin-bottom: 38px; }
.sg-page .entry-title { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.entry-content { max-width: 860px; font-size: 1.06rem; }
.entry-content h2, .entry-content h3 { line-height: 1.15; letter-spacing: -.025em; margin-top: 1.8em; }
.entry-content > *:first-child { margin-top: 0; }

.site-footer {
  margin-top: 70px;
  background: #101711;
  color: rgba(255,255,255,.78);
}
.sg-footer-inner {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.site-footer a { color: white; }
.sg-footer-title { color: white; font-weight: 850; font-size: 1.25rem; margin: 0 0 8px; }
.sg-footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.sg-copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .92rem; }

@media (max-width: 900px) {
  .sg-hero-grid { grid-template-columns: 1fr; }
  .sg-tour-grid, .sg-values { grid-template-columns: 1fr 1fr; }
  .sg-menu-toggle { display: inline-block; }
  .sg-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    box-shadow: var(--sg-shadow);
    padding: 18px;
  }
  .sg-nav.is-open { display: block; }
  .sg-nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .sg-nav a { display: block; padding: 10px 8px; }
}
@media (max-width: 640px) {
  .sg-wrap { width: min(calc(100% - 28px), var(--sg-width)); }
  .sg-tour-grid, .sg-values { grid-template-columns: 1fr; }
  .sg-cta { align-items: flex-start; flex-direction: column; }
  .sg-footer-inner { grid-template-columns: 1fr; }
  .sg-hero { padding-top: 55px; }
}
