:root {
  --very-dark-blue: hsl(240, 19%, 5%);
  --very-dark-grayish-blue: hsl(237, 12%, 33%);
  --very-dark-black-blue: hsl(240, 10%, 16%);
  --white: hsl(0, 0%, 100%);
  --grayish-blue: hsl(240, 2%, 79%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Overpass', sans-serif;
  background: #fff;
  margin: 0;
}

/* here the mobile styles */

/* ─── NAVBAR START ─── */
.zoo-navbar {
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.navbar-logo {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.navbar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-hamburger {
  width: 28px;
  height: 22px;
}

.icon-close {
  width: 22px;
  height: 22px;
}

.icon-close { display: none; }
/* ─── NAVBAR END ─── */


/* ─── MENU OVERLAY ─── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 28, 52, 0.5);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}
/* ─── MENU OVERLAY END ─── */


/* ─── SLIDE-IN MENU PANEL ─── */
.menu-panel {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: calc(100% - 3rem);
  max-width: 400px;
  background: #fff;
  border-radius: 12px;
  z-index: 30;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.menu-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 0;
  background: none;
  border: none;
  font-family: 'Overpass', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f1c34;
  cursor: pointer;
}

.menu-arrow {
  width: 12px;
  height: 8px;
  transition: transform 0.2s;
}

.menu-btn img { transition: transform 0.2s; }
.menu-btn.active img { transform: rotate(180deg); }
.menu-btn.active { color: #5c5b65ce; }

.submenu {
  background: #f5f5f7;
  border-radius: 8px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.submenu.open { max-height: 200px; }

.submenu a {
  display: block;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
}

.submenu a:hover { color: #e8524a; }

.menu-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 1rem 0;
}

.menu-auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.menu-login {
  background: none;
  border: none;
  font-family: 'Overpass', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1f1c34;
  cursor: pointer;
}

.menu-signup {
  padding: 0.65rem 2rem;
  border-radius: 100px;
  background: linear-gradient(135deg, #ff6e6e, #e8524a);
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  width: 100%;
}


/* ─── HERO ─── */
.zoo-hero {
  background: linear-gradient(160deg, #e8524a 0%, #ff9560 100%);
  padding: 1rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 0 120px;
}

.zoo-hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  bottom: -120px;
  right: -80px;
}

.zoo-hero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -60px;
  left: -50px;
}

.zoo-hero--content {
  margin: 6rem 0;
}

.zoo-hero--content h1 {
  font-family: 'Overpass', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
}

.zoo-hero--content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: #fff;
  color: #e8524a;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.zoo-infrastructure {
  background: linear-gradient(135deg, hsl(237, 17%, 21%), hsl(237, 23%, 31%));
  border-radius: 0 100px 0 100px;
  padding: 0 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.infrastructure-circles {
  position: absolute;
  width: 420px;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.infrastructure-image {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -120px;
}

.infrastructure-image img {
  width: 90%;
  max-width: 320px;
  position: relative;
  z-index: 1;
  display: block;
}


.infrastructure-content h2 {
  font-family: 'Overpass', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: hsl(0, 100%, 100%);
  margin-bottom: 1rem;
}

.infrastructure-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.zoo-future {
  align-items: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.future-eyebrow {
  font-size: 1.65rem;
  font-weight: 600;
  color: #1f1c34;
  margin-bottom: 2rem;
}

.future-image {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  width: 100%;
}

.future-image__mobile {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
}

.future-image__desktop {
  display: none;
}

.future-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 500px;
}

.future-feature h3 {
  font-family: 'Overpass', sans-serif;
  font-size: 1.5rem;
  color: #1f1c34;
  margin-bottom: 1rem;
}

.future-feature p {
  font-size: 1rem;
  color: #7b7b8a;
  line-height: 1.7;
}

/* FOOTER ZOO PROJECT */

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

.zoo-footer {
  background-color: var(--very-dark-black-blue);
  color: var(--white);
  padding: 50px 24px;
  border-top-right-radius: 100px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 1110px;
  margin: 0 auto;
}

.footer-logo img {
  width: 90px;
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--grayish-blue);
  font-size: 16px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--grayish-blue);
}

/* HERE TABLET STYLES START */
@media (min-width: 768px) {

  .zoo-navbar {
    background-color: lightgreen;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 0 10%;
  }

  .footer-links {
    flex-direction: row;
    gap: 80px;
    width: auto;
  }

  .footer-heading {
    margin-bottom: 30px;
  }

  .footer-logo img {
    margin-top: -10px;
  }
}
/* HERE TABLET STYLES END */

/* DESKTOP */
@media (min-width: 1024px) {
  .zoo-navbar {
    padding: 0 2.5rem;
    height: 72px;
  }

  .navbar-toggle { display: none; }

  .menu-panel {
    display: none; /* replace with desktop nav later */
  }

  .zoo-hero {
    padding: 5rem 2rem 7rem;
  }

  .zoo-hero h1 {
    font-size: 3rem;
  }

  .zoo-future {
    position: relative;
    padding: 100px 0;
    /* No max-width here — section is full width */
  }

  .future-eyebrow {
    text-align: center;
    margin-bottom: 80px;
  }

  .zoo-future-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    width: 90%;
    min-height: 600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    /* min-height: 500px; */
  }

  .future-image {
    position: absolute;
    right: -300px; /* bleed RIGHT beyond the container */
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
  }

  .future-content {
    max-width: 685px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }

  .future-image__desktop {
    display: block;
    max-height: fit-content;
  }

  .future-image__mobile {
    display: none;
  }

  .future-feature + .future-feature {
    margin-top: 40px;
  }

  .footer-container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 0 10%;
    gap: 150px;
  }

  .footer-links {
    flex-direction: row;
    gap: 100px;
    width: auto;
  }
}
