/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #fff;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: center;
  position: fixed;        /* 🔹 Navbar fijo */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;          /* encima del resto */
}

.nav-container {
  width: 60%;
  background: #2a2a2a; /* gris oscuro */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25); /* 🔹 sombreado ligero */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 28px;
  height: 28px;
}

.brand {
  font-size: 1.2em;
  font-weight: bold;
}

.smart {
  color: #fff;
}

.garden {
  color: #98e630;
}

.nav-center {
  display: flex;
  gap: 25px;
}

.nav-center a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-center a:hover {
  color: #98e630;
}

.btn-login {
  background: #98e630;
  color: #000;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-login:hover {
  background: #84c91e;
}

/* HOME SECTION (Encabezado) */
.home {
  text-align: center;
  padding: 120px 20px;
  height: 100vh; /* Mantiene altura de encabezado a pantalla completa */

  /* 🔹 Cambiar a imagen si deseas:
     background: url("tu-imagen.jpg") no-repeat center center/cover;
  */
  background: url("fondo.png") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-title {
  max-width: 1000px;
}

/* Título principal (dos líneas dentro del mismo bloque) */
.main-title {
  font-size: 6em;   /* mismo tamaño para ambas líneas */
  color: #fff;
  font-weight: bold;
  line-height: 1.2;   /* 🔹 controla el espaciado entre "SmartGarden" y "Improve your garden" */
}

.main-title .line2 {
  display: block; /* fuerza la segunda línea */
}

/* Descripción */
.home-description {
  font-size: 1.4em;
  color: #ccc;
  line-height: 1.6;
  max-width: 800px;
  margin: 50px auto 0; /* espacio arriba del párrafo */
}


/* Contenedor de imagen + texto */
.home-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* 🔹 ESTE ES EL ESPACIADO ENTRE IMAGEN Y TEXTO */
}

.home-img {
  width: 300px;
  border-radius: 12px;
}

.home-text {
  max-width: 400px;
  text-align: left;
  color: #ccc;
}

/* PRODUCT SECTION */
.product-title {
  font-size: 2.2em;
  color: #98e630;
  margin-bottom: 30px;
  text-align: center;
}

/* Contenedor flex para imagen + texto */
.product-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px; /* 🔹 Espaciado entre imagen y texto (ajústalo a gusto) */
  max-width: 1000px;
  margin: 0 auto;
}

/* Imagen a la izquierda */
.product-img {
  width: 280px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Texto a la derecha */
.product-description {
  color: #ccc;
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 600px;
  text-align: left; /* texto alineado a la izquierda */
}

/* PRICING SECTION */
.pricing {
  text-align: center;
  padding: 100px 20px;

  /* 🔹 Fondo de toda la sección
     Aquí puedes cambiar a una imagen cuando quieras:
     background: url("tu-imagen.jpg") no-repeat center center/cover;
  */
  background: url("fondo1.jpg") no-repeat center center/cover;
}

.pricing-title {
  font-size: 2.2em;
  color: #98e630;
  margin-bottom: 20px;
}

.pricing-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  color: #ccc;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Contenedor de tarjetas */
.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 40px; /* 🔹 Espaciado entre tarjetas */
  flex-wrap: wrap;
}

/* Tarjetas */
.pricing-card {
  background: rgba(90, 90, 90, 0.4); /* gris con transparencia */
  backdrop-filter: blur(10px); /* 🔹 efecto blur */
  border-radius: 15px;
  padding: 30px 25px;
  width: 300px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.plan-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #98e630;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.plan-features li {
  margin: 8px 0;
  font-size: 1em;
}

/* Ítems no disponibles en el plan gratis */
.plan-features .unavailable {
  text-decoration: line-through;  /* 🔹 Tachado en el medio */
  color: #888;                   /* 🔹 Gris claro */
}

/* Botón outline */
.btn-outline {
  display: inline-block;
  border: 2px solid #98e630;
  color: #98e630;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #98e630;
  color: #000;
}

/* ABOUT US SECTION */
.about {
  padding: 100px 20px;
}

.about-title {
  font-size: 2.2em;
  color: #242424;
  text-align: center;
  margin-bottom: 50px;
}

/* Bloques */
.about-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px; /* 🔹 Espaciado entre imagen y texto */
  max-width: 1100px;
  margin: 0 auto 60px;
  flex-wrap: wrap; /* 🔹 Para que en pantallas pequeñas se acomode */
}

.about-block.reverse {
  flex-direction: row-reverse; /* 🔹 Invierte orden (texto izq, imagen der) */
}

/* Imagen */
.about-img {
  width: 300px;
  max-width: 100%;
  border-radius: 15px;
}

/* Texto */
.about-text {
  flex: 1;
  font-size: 1.1em;
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
}

/* Subtítulos dentro de About Us */
.about-subtitle {
  font-size: 1.5em;
  color: #98e630;
  margin-bottom: 15px;
}

/* FAQS SECTION */
.faqs {
  padding: 100px 20px;

  /* 🔹 Fondo personalizable:
     Cambia aquí por una imagen si lo deseas:
     background: url("tu-imagen.jpg") no-repeat center center/cover;
  */
  background: url("fondo2.png") no-repeat center center/cover;
}

.faqs-title {
  font-size: 2.2em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
}

/* Cada tarjeta de FAQ */
.faq-card {
  background: rgba(50, 50, 50, 0.4); /* gris translúcido */
  backdrop-filter: blur(10px); /* efecto blur */
  border-radius: 12px;
  padding: 20px 25px;
  margin: 20px auto;
  max-width: 800px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: left;
}

/* Preguntas */
.faq-question {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Respuestas */
.faq-answer {
  font-size: 1em;
  color: #ccc;
  line-height: 1.5;
}

/* FOOTER */
.footer {
  background: #000;
  border-top: 2px solid #fff;
  padding: 40px 20px;
  color: #fff;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Columnas */
.footer-column {
  flex: 1;
  min-width: 200px;
}

/* Títulos */
.footer-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
}

/* Enlaces */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 8px 0;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #98e630;
}

/* Contacto */
.footer-contact {
  font-size: 1em;
  color: #ccc;
  margin: 5px 0;
}

/* Social Icons */
.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  color: #ccc;
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #98e630;
}



/* GENERIC SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

/* ===== MEDIA QUERIES (MOVILES) ===== */
/* 🔹 Responsive: solo mostrar en móvil y tablet */
@media (min-width: 1025px) {
      .icon-navbar {
        display: none; /* oculto en desktop */
      }
}

@media screen and (max-width: 1025px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .home {
      font-size: 0.63rem;
      height: 85vh; /* Mantiene altura de encabezado a pantalla completa */
      background: url("fondo.png") no-repeat center center/cover;
    }

    .navbar {
      display: none;
    }

    /* 🔹 Navbar con iconos */
    .icon-navbar {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 96%;
      background: #333; /* gris oscuro */
      border-radius: 12px;
      margin-top: 15px;
      padding: 10px 0;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
      z-index: 1000;
    }

    .icon-navbar ul {
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .icon-navbar li a {
      color: white;
      font-size: 1.5rem;
      transition: color 0.3s ease, transform 0.2s ease;
    }

    .icon-navbar li a:hover {
      color: #98e630; /* verde que definiste */
      transform: scale(1.2);
    }

    .footer-container {
      grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }

    /* Contenedor flex para imagen + texto */
    .product-content {
      flex-direction: column;  /* cambia a columna */
      text-align: center;      /* centra el texto */
      gap: 20px;
    }

    /* Imagen a la izquierda */
    .product-img {
      width: 80%;
      margin: 0 auto;
    }

    /* Texto a la derecha */
    .product-description {
      width: 100%;
      margin: 0 auto;
    }
  }