:root {
  --primary-color: #2ecc71;
  --secondary-color: #1a1a1a;
  --background-color: #f9f9f9;
  --text-color: #eaeaea;
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: white;
  padding: 0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== MAIN NAV ===== */
.main-nav {
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: cover;
  object-position: left;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
  color: #2ecc71;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-color);
  cursor: pointer;
}
.nav-logo .header-logo {
  height: 60px; /* was 40px. Make it bigger */
  width: auto; /* keeps proportions correct */
}

/* ===== HERO ===== */
.hero {
  max-width: 100%;
  min-height: 250px; /* changed from fixed height */
  padding: 40px 24px;
  text-align: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(media/jodi-nelson-JGbWyXvPXa4-unsplash.jpg);
  background-position: bottom;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.headertext {
  font-size: 3.2rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -1px;
  color: #e2e8f0;
}

.tagline {
  color: #faf7f7;
  margin-bottom: 24px;
  font-size: 1rem;
}

.search-box {
  width: 60%;
  max-width: 600px;
  position: relative;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}

.search-box input {
  width: 100%;
  padding: 14px 16px 14px 40px; /* space for icon */
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 1rem;
  outline: none;
}

.search-box input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box button {
  padding: 14px 20px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== CONTENT SECTIONS ===== */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pin {
  color: #ef4444;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.card {
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  font-weight: 500;
}

.why-us {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.why-ush1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.divider {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 20px;
}

/* Pills scroll */
.location-sides {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.location-sides::-webkit-scrollbar {
  display: none;
}
.location-sides {
  scrollbar-width: none;
}

/* ===== DESKTOP FIRST MEDIA QUERIES ===== */

/* Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Laptops */
@media (max-width: 1199px) and (min-width: 992px) {
  .container {
    max-width: 960px;
    margin: 0 auto;
  }
}

/* Tablets */
@media (max-width: 991px) and (min-width: 768px) {
  .container {
    max-width: 720px;
    margin: 0 auto;
  }
  .flex-container {
    flex-direction: column;
  }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* Nav */
  .nav-container {
    padding: 8px 16px;
  }
  .nav-logo img {
    height: 40px;
  }
  .nav-links {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    border-top: 1px solid #f3f4f6;
  }
  .nav-links a {
    display: block;
    padding: 14px 16px;
  }
  .nav-toggle {
    display: block;
  }

  /* Hero + Search */
  .hero {
    min-height: auto;
    padding: 32px 16px;
  }
  .headertext {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  .tagline {
    font-size: 0.95rem;
  }
  .search-box {
    width: 100%;
  }
  #search-input {
    font-size: 16px; /* stops iPhone zoom */
  }

  /* Grid + Cards */
  .quick-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .card {
    padding: 14px;
  }

  .why-us {
    padding: 0 16px;
  }
  .why-ush1 {
    font-size: 1.4rem;
  }
}

/* Extra Small */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .headertext {
    font-size: 2.2rem;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.2em;
  }
  .container {
    padding: 0 15px;
  }
  .btn {
    width: 100%;
    padding: 15px;
  }
}
.nav-logo .header-logo {
  height: 45px; /* was 40px. Make it bigger */
  width: auto; /* keeps proportions correct */
}
