/* =========================================================
   SAFARI RIDE — FINAL RESPONSIVE GREEN THEME CSS
   ========================================================= */

/* ---------------------------
   RESET & VARIABLES
---------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1f7a3f;        /* Safari Green */
  --primary-dark: #155c30;
  --secondary: #1f7a3f;      /* Navbar & Footer */
  --light-bg: #f8f6f1;
  --border: #e0dcd4;
  --text-dark: #1e2b22;
  --text-light: #666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------------------------
   TYPOGRAPHY
---------------------------- */
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

p {
  color: var(--text-light);
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* ---------------------------
   NAVBAR
---------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: #dff3e6;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.download-btn {
  background: #fff;
  color: var(--primary);
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

#mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ---------------------------
   HERO
---------------------------- */
.hero {
  max-width: 1400px;
  margin: auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  object-fit: cover;
}

/* ---------------------------
   SERVICES GRID
---------------------------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* ---------------------------
   GRID — ICONS & BOXES
---------------------------- */
.feature-grid,
.about-lower,
.contact-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: auto;
  padding: 3rem 2rem;
}

.feature,
.contact-icon,
.lower-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}

.feature:hover,
.contact-icon:hover,
.lower-box:hover {
  transform: translateY(-6px);
}

.feature img,
.contact-icon img,
.lower-box img {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

/* CONTACT ICON TEXT FIX */
.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-dark);
}

.contact-icon span {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  font-size: 0.95rem;
}

/* ---------------------------
   FOOTER
---------------------------- */
.site-footer {
  background: var(--secondary);
  color: #fff;
  height: 44px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-brand {
  font-weight: 700;
}

.store-badges {
  display: flex;
  gap: 0.4rem;
}

.store-badges img {
  height: 24px;
}

.social {
  display: flex;
  gap: 0.35rem;
}

.social a {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social img {
  width: 11px;
  height: 11px;
  filter: invert(1);
}

.footer-bottom {
  font-size: 0.72rem;
  opacity: 0.8;
  white-space: nowrap;
}

/* ---------------------------
   RESPONSIVE
---------------------------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-right img {
    margin: auto;
  }
}

@media (max-width: 768px) {
  /* MOBILE NAV */
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--secondary);
    position: absolute;
    top: 64px;
    right: 0;
    width: 220px;
    padding: 1rem;
    gap: 1rem;
    border-radius: 0 0 0 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  }

  .nav-links.show {
    display: flex;
  }

  #mobile-menu-btn {
    display: block;
  }

  /* CONTACT ICONS STACK */
  .contact-icons {
    grid-template-columns: 1fr;
  }

  /* FOOTER STACK */
  .site-footer {
    flex-direction: column;
    height: auto;
    gap: 0.4rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .contact-icon span {
    font-size: 0.9rem;
  }
}

/* ---------------------------
   LOGO SAFETY
---------------------------- */
.logo,
.footer-logo {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}
/* =========================================================
   YELLOW CTA OVERRIDES — SAFE & ISOLATED
   (DO NOT MOVE, DO NOT EDIT)
========================================================= */

/* 1. NAVBAR DOWNLOAD BUTTON */
.navbar .download-btn {
  background: #f4c430;
  color: #1e2b22;
  font-weight: 700;
}

.navbar .download-btn:hover {
  background: #d9aa1e;
}

/* 2. HOME PAGE CTA BUTTONS ONLY */
.hero-ctas a {
  background: #f4c430;
  color: #1e2b22;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
}

.hero-ctas a:hover {
  background: #d9aa1e;
}
/* EXTRA BREATHING SPACE BELOW HOME CTA BUTTONS */
.hero-ctas {
  margin-bottom: 2rem;
}
/* ================================
   CIRCULAR LOGO
================================ */
.logo,
.footer-logo {
  width: 42px;              /* adjust if needed */
  height: 42px;
  object-fit: cover;        /* prevents stretching */
  border-radius: 50%;       /* makes it circular */
}
