/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  color: #2c2c2c;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e37312d5;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

nav a:hover {
  color: #a37d2a;
}

/* HERO */
.hero {
  height: 40vh;
  background: url('planta.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(111, 111, 115, 0.6);
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  font-size: 2rem;
}

.hero-content span {
  color: #ffd25a;
  font-weight: bold;
}

/* PRODUCTOS */
.productos {
  padding: 60px 20px;
  text-align: center;
}



.productos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: #fdf2d0;
  padding: 20px;
  border-radius: 15px;
  width: 220px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

/* ABOUT */
.about {
  padding: 80px 20px;
  background: #fff7e6;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.about p {
  margin-bottom: 20px;
}

.btn-video {
  background: #a37d2a;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-video:hover {
  background: #805d1a;
}

/* Formulario */
.form-container {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
}

/* Contenedor responsivo para el mapa */
.map-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 10px; /* opcional, bordes redondeados */
  margin: 20px auto;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* FOOTER */
footer {
  background: #2a2a2a;
  color: #fff;
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 20px;
}

footer h3 {
  margin-bottom: 10px;
  color: #ffd25a;
}

.copy {
  text-align: center;
  font-size: 0.9rem;
  color: #bbb;
}

.video-container {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 */
      height: 0;
      overflow: hidden;
      width: 100%;
      margin: 0 auto 40px auto;
      border-radius: 10px;
      max-width: 70%; /* 🔹 en web se verá más pequeño */
}

.video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
}

/* 📱 Responsive (Móvil y Tablets) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px 20px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .hero {
    height: 30vh;
  }

  .hero-content {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 320px;
  }

  .about {
    padding: 40px 15px;
  }

  .video-container {
        max-width: 100%;  /* en tablets y PC se verá más compacto */
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  header .logo {
    font-size: 1.2rem;
  }

  .hero-content {
    font-size: 1.2rem;
  }

  .productos h2,
  .about h2 {
    font-size: 1.5rem;
  }

  .btn-video {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .video-container {
      max-width: 100%;  /* en tablets y PC se verá más compacto */
  }

}
