/* =============================================
   PathRoamer — Main Stylesheet
   Shared across all pages
   ============================================= */

/* ── CSS VARIABLES ── */
:root {
  --cream: #FAF7F2;
  --warm-white: #FFFCF7;
  --sand: #F0E8D8;
  --tan: #D9C9A8;
  --terracotta: #C4714A;
  --terra-light: #E8987A;
  --terra-dark: #A05535;
  --forest: #3A6351;
  --forest-light: #5A8A72;
  --midnight: #1C2B3A;
  --slate: #3D5166;
  --text-dark: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #7A7A7A;
  --gold: #C8973F;
  --gold-light: #E5BF7A;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 201, 168, 0.4);
  transition: all 0.3s;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--terra-dark);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo span { color: var(--forest); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 40px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terra-dark) !important; color: white !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--terracotta);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.25s;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,113,74,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--midnight);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 500;
  cursor: pointer;
  border: 1.5px solid rgba(28, 43, 58, 0.25);
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ── SECTION COMMONS ── */
.section { padding: 6rem 5%; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--terracotta); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--midnight); line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-light); font-size: 1rem;
  max-width: 520px; line-height: 1.7;
  font-weight: 300;
}
.section-head { margin-bottom: 3.5rem; }

/* ── FOOTER ── */
footer {
  background: var(--midnight);
  padding: 4rem 5% 2rem;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 250px; }
.footer-col h4 {
  color: white; font-size: 0.88rem; font-weight: 500;
  margin-bottom: 1.2rem; text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.88rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s; cursor: pointer;
}
.footer-col a:hover { color: var(--terra-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.7s ease both; }

/* ── HAMBURGER / MOBILE MENU ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--midnight); border-radius: 2px;
}

/* ── TESTIMONIALS (shared between pages) ── */
.testimonials { background: var(--sand); padding: 6rem 5%; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.testi-card {
  background: var(--warm-white);
  border-radius: 18px; padding: 2rem;
  border: 1px solid rgba(217,201,168,0.5);
  transition: all 0.3s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.07); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.75; font-style: italic; margin-bottom: 1.5rem;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--tan);
}
.testi-name { font-weight: 500; font-size: 0.9rem; color: var(--midnight); }
.testi-location { font-size: 0.78rem; color: var(--text-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
