@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.5;
  text-align: center;
  padding-top: 72px;
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  background: #1f1b1b;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #ffff;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: #1ee055;
}

.menu-toggle:focus {
  outline: 2px solid #1ee055;
  outline-offset: 2px;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
  gap: 20px;
}

.brand a {
  padding-left: 20px;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  margin: 0 15px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/*-----------------------------------*\
  #HERO SECTION
\*-----------------------------------*/

.download-btn,
.btn-primary {
  background: #1ee055;
  color: #04110a;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(30, 224, 85, 0.15);
}

.hero {
  margin-bottom: 5rem;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: 3.6rem;
  font-weight: 800;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #04110a;
  padding: 10px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(30, 224, 85, 0.15);
}

.hero-video {
  height: 100vh;
}

.hero-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 60px;
  color: white;
}

.hero-content h1 {
  margin-top: 10rem;
}

/*-----------------------------------*\
  #VEHICLE SECTION
\*-----------------------------------*/

.vehicles-section {
  width: 80%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container-vehicles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .container-vehicles div {
    background-color: #eeeeee;
    border-radius: 1rem;
    padding: 2rem 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
  }
}

.container-vehicles img:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease-in-out;
}

/*-----------------------------------*\
  #STEPS
\*-----------------------------------*/

.steps {
  background-color: #1e1e1e;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  color: #fff;
}

.steps h2 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  margin: 0 auto 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
  width: 100%;
}

.step {
  text-align: center;
  padding: 12px;
}

.step h3 {
  color: #3c8647;
  margin: 8px 0;
  font-size: 1.05rem;
}

.step p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/*-----------------------------------*\
  #LOCATIONS
\*-----------------------------------*/

.locations {
  width: 80%;
  margin: 4rem auto;
}

.subtitle {
  color: green;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: auto;
}

.title {
  font-size: 1.6rem;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card div {
  width: 100%;
  height: 20rem;
  overflow: hidden;
  border-radius: 1rem;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.card img:hover {
  transform: scale(1.1);
}


/*-----------------------------------*\
  #QUIENES SOMOS
\*-----------------------------------*/
.about {
  width: 80%;
  margin: 0 auto;
}
.about-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.who-we-are p {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: none;
  text-align: center;
}

@media (min-width: 768px) {
  .about-left {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .about-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .about-right img{
    width: 100%;
    padding-right: 2rem;
    height: 30rem;
  }

  .about-right div {
    margin: auto;
  }
}


/*-----------------------------------*\
  #ABOUT WERIDE
\*-----------------------------------*/
.about-weride {
  width: 80%;
  margin: 4rem auto;
}

.about-weride-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.about-card {
  width: 100%;
}

.about-card img {
  width: 100%;
}


/*-----------------------------------*\
  #DOWNLOAD APP
\*-----------------------------------*/

.download-app {
  background: #1e1e1e;
  padding: 80px 20px;
  color: #fff;
}

.download-app-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-mockups {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-mockups img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.download-content {
  text-align: left;
}

.download-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.2;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 200px;
}

.app-store-btn,
.google-play-btn {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-btn img,
.google-play-btn img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: #1f1b1b;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.footer h3 {
  color: #1ee055;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.footer h4 {
  color: #1ee055;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: #ddd;
  text-decoration: none;
  margin: 4px 0;
}

.footer a:hover {
  color: #1ee055;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-social .social-icons {
  display: flex;
  gap: 14px;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.twitter-logo img {
  filter: invert(1);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-size: 0.85rem;
  color: #aaa;
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .nav-links {
    display: none;
    width: 100%;
    background: #1f1b1b;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding: 0;
  }

  .hero-image img {
    max-width: 760px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 86px;
  }

  .nav-links {
    display: none;
    width: 100%;
    background: #1f1b1b;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding: 0;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image img {
    max-width: 800px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social .social-icons {
    justify-content: center;
  }

  .about-weride h2 {
    font-size: 2rem;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .download-app-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .download-content {
    text-align: center;
  }

  .download-content h2 {
    font-size: 2rem;
  }

  .download-buttons {
    flex-direction: row;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .app-store-btn,
  .google-play-btn {
    flex: 1;
    max-width: 180px;
  }
}
