::-moz-selection {
  /* Code for Firefox */
  color: rgb(49, 49, 49);
  background: rgb(112, 196, 104);
}

::selection {
  color: rgb(49, 49, 49);
  background: rgb(112, 196, 104);
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #222;
  background: #fafafa;
  line-height: 1.5;
}

/* Sticky Topbar - Glass Effect */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(0.25vmax);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  z-index: 1000;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.topbar .logo {
  font-weight: bold;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  opacity: 0;
  color: white;
}

.topbar.shrink .logo {
  opacity: 1;
  font-size: 1.2rem;
  color: white;
}

.topbar .contact-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Intro */
.intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: white;
  text-align: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url('hortipoo_coverPhoto.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0 1rem;
}

.intro-logo h1 {
  font-size: 4rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: white;
}

.intro-logo p {
  color: white;
  font-size: 1.3rem;
  opacity: 0.8;
}

/* Split Sections */
.section-split {
  display: flex;
  min-height: 80vh;
  flex-wrap: wrap; /* makes it stack on small screens */
}

.split-media,
.split-text {
  flex: 1;
  min-width: 300px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text h2,
.split-text h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.split-text p {
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Impact Section */
.impact {
  background: url('hortipoo_green_impact.png') center/cover no-repeat;
  height: 60vh;
  position: relative;
}

.impact-overlay {
  background: rgba(0, 0, 0, 0.64);
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.impact-overlay h2 {
  font-size: 2.5rem;
}

/* Mission Strip */
.mission {
  background: #111;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  font-weight: 500;
  flex-wrap: wrap; /* wrap for mobile */
  text-align: center;
}

.mission p {
  margin: 0.5rem 1rem;
}

/* Contact Section (new flexbox layout we fixed) */
.contact_block {
  background: linear-gradient(to bottom,
        #111b0e 0%,
        #111b0e 50%,
        #F2F0EF 50%,
        #F2F0EF 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.contact_block_h1 {
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2.5rem;
  color: white;
}

.contact_boxes {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.contact_box {
  flex: 1 1 40%;
  min-width: 320px;
  max-width: 300px;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  color: #222;
  font-size: 1.1rem;
  justify-content: center;
  text-align: center;
}

.contact_box h3 {
  margin-bottom: 1rem;
  color: #537446;
}

.phone_link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  color: #537446;
  text-decoration: none;
  font-size: 1.2rem;
}

.phone_link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #f4f4f4;
  font-size: 0.9rem;
}

footer a {
  color: #222;
  text-decoration: none;
}

/* Buttons */
button {
  font-size: 16px;
  position: relative;
  margin: auto;
  padding: 1em 2.5em;
  border: none;
  background: #537446;
  transition: all 0.1s linear;
  box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.1);
  border-radius: 2em;
}

button:active {
  transform: scale(0.95);
}

button span {
  color: #fff;
}

button .border {
  position: absolute;
  border: 0.15em solid #537446;
  transition: all 0.2s 0.08s linear;
  top: 50%;
  left: 50%;
  width: 8em;
  height: 2em;
  border-radius: 2em;
  transform: translate(-50%, -50%);
}

button:hover .border {
  width: 9em;
  height: 3.5em;
}
/* Bottom White Section */
.bottom-white {
  background: #F2F0EF;
  min-height: 100vh;
  /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0rem;
}

.bottom-content {
  max-width: 1100px;
  text-align: center;
  color: #222;
}

.bottom-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.bottom-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
}
.locations {
  background: linear-gradient(180deg, #F2F0EF 0%, #e4e9e2 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.locations h2 {
  font-size: 2.5rem;
  color: var(--brand-green);
  margin-bottom: 2.5rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.location-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.location-card h3 {
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}

.location-card p {
  margin-bottom: 1rem;
  color: #333;
}

.location-card a {
  text-decoration: none;
  color: var(--brand-green);
  font-weight: 600;
}

.location-card a:hover {
  text-decoration: underline;
}


/* ========================= */
/* MOBILE RESPONSIVE RULES   */
/* ========================= */

@media (max-width: 1024px) {
  .intro-logo h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    padding: 1rem;
  }

  .intro-logo h1 {
    font-size: 2.5rem;
  }

  .intro-logo p {
    font-size: 1rem;
  }

  .split-text h2,
  .split-text h3 {
    font-size: 1.5rem;
  }

  .impact-overlay h2 {
    font-size: 2rem;
  }

    .contact_block_h1 {
      text-align: left;
      max-width: 1200px;
      margin: 0 auto 3rem auto;
      padding-left: 2rem;
      /* move it away from the edge */
    }
}

@media (max-width: 480px) {
  .intro-logo h1 {
    font-size: 2rem;
  }

  .intro-logo p {
    font-size: 0.9rem;
  }

  .split-text {
    padding: 1rem;
  }

  .contact_block {
    padding: 3rem 1rem;
  }

  .contact_block_h1 {
    font-size: 1.7rem;
  }

  .contact_box {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

.map-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 40px 0;
  background-color: #F2F0EF;
}

.iframeSrc {
  display: block;
  margin: 40px auto;
  /* centers block elements */
  width: 90%;
  max-width: 1200px;
  height: 600px;
  border-style: solid;
  border-color: #537446;
  background-color: #F2F0EF;
}