/* ---- Tablet (769px - 1024px) ---- */
@media (max-width: 1024px) {
  .content-section {
    padding: 1.5rem;
    min-height: auto;
  }

  .content-section .image img {
    min-height: 400px;
  }

  iframe {
    width: 100%;
    height: 400px;
  }

  .wrapper {
    width: 100%;
    max-height: 500px;
    margin-top: 60px;
  }

  .cities {
    max-width: 50%;
  }
}

/* ---- Mobile (max 768px) ---- */
@media (max-width: 768px) {
  .content-section {
    display: block;
    padding-top: 2px;
    min-height: auto;
  }

  #landing {
    min-height: var(--app-height, 100vh);
  }

  #search,
  #about,
  #contact {
    min-height: auto;
    max-height: var(--app-height, 100vh);
    height: calc(var(--app-height, 100vh) - 50px);
    box-sizing: border-box;
  }

  .content-section .image img {
    max-width: 100%;
    border-radius: 8px;
    min-height: 0;
  }

  .content-section .text {
    margin-right: 0;
    padding-bottom: 20px;
  }

  #map {
    display: none;
  }

  .wrapper {
    position: fixed;
    bottom: 95px;
    height: 35%;
    max-height: 35%;
    width: 95%;
    left: 3%;
    margin-top: 0;
  }

  .battery-info {
    position: fixed;
    bottom: 50px;
    left: 3%;
  }

  .cities {
    max-width: 100%;
  }

  .text-overlay {
    top: 10%;
    left: 5%;
    text-align: left;
    font-size: 15px;
  }

  .text-overlay .content {
    font-size: 10px;
  }

  .button a {
    font-size: 24px;
    font-weight: bold !important;
    margin-top: 15px;
  }

  .menu {
    margin-right: -25px;
  }

  .menu a {
    font-size: 10px;
    margin-bottom: 7px;
    padding: 5px 10px;
    margin-left: 5px;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .contact-cards .team-photo {
    width: 100px;
    height: 100px;
  }

  .contact-links {
    padding-top: 10px;
  }

  #about,
  #contact {
    overflow-y: auto;
    padding-bottom: 0px !important;
  }
}

/* ---- Small phones (max 480px) ---- */
@media (max-width: 480px) {
  .company-name {
    font-size: 20px;
  }

  .text-overlay {
    top: 15%;
  }
}
