/* ========== General ========== */

/*Todo*/
*{
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Body*/
body{
  margin: 0;
  padding: 0;
  background-color: #FFFBEF;
}

/*Header*/
.header{
  background-color: #FFF6DB;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: auto;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.header-derecha{
  max-width: 100%;
  margin-right: 5%;
}

.botones-header{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 13px;
  padding-top: 10px;
  gap: 20px;
}

.header nav ul li{
  display: inline;
}
  
.boton-header{
  text-decoration: none;
  color: #000000;
  position: relative;
  padding: 3px 10px;
  transition: color 0.3s;
  font-size: 20px;
}
  
.boton-header:hover{
  color: #72A744;
}

.boton-header::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #72A744;
  transition: width 0.3s ease;
  left: 7.5%;
}

.boton-header:hover::after{
  width: 85%;
}

.header-izquierda{
  display: flex;
  align-items: center;
  position: absolute;
  left: 5%;
}

/*Tarjetas de texto*/
section {
  max-width: 70%;
  margin: 0 auto;
  padding: 64px 32px;
}

.contenedor-tarjetas{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.tarjeta{
  background: #FFFFFF;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #EBEBEB;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.tarjeta-icono {
  font-size: 48px;
  margin-bottom: 12px;
}

.tarjeta-subtitulo{
  font-size: 24px;
  font-weight: bold;
  color: #2d5016;
  margin: 12px;
}

.tarjeta-texto
{
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
}



/* ========== index.html ========== */

/* Cartel Principal */
.cartel-principal {
  margin: auto;
  text-align: center;
  color: #FFFFFF;
  background: linear-gradient(135deg, #4A7C2C 0%, #72A744 40%, #F4CE24 100%);
  width: 100%;
  padding: 100px;
}

.cartel-principal h1 {
  font-size: 48px;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cartel-principal p {
  font-size: 24px;
  margin-bottom: 32px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.boton-descubre {
  display: inline-block;
  background: white;
  color: #2D5016;
  padding: 16px 32px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.boton-descubre:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/*Línea de tiempo*/
.contenedor-lineadetiempo {
  max-width: 80%;
  margin: 0 auto;
  background: white;
  padding: 32px;
  border: 1px solid #ebebeb;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.lineadetiempo-elemento{
  padding: 16px;
  border-left: 3px solid #4a7c2c;
  margin-left: 16px;
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.lineadetiempo-elemento:hover{
  transform: translateX(10px);
  cursor: default;
}

.lineadetiempo-subtitulo{
  font-size: 24px;
  font-weight: bold;
  color: #2d5016;
}

.lineadetiempo-texto{
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
}

/*Equipo*/
.seccion-equipo {
  background: linear-gradient(135deg, #2D5016 0%, #4A7C2C 100%);
  color: white;
  padding: 64px 32px;
  text-align: center;
}

.seccion-equipo h2 {
  color: white;
}

.info-equipo {
  max-width: 600px;
  margin: 0 auto;
  font-size: 19px;
}

.miembros-equipo {
  margin-top: 32px;
  font-size: 21px;
  font-weight: bold;
}



/* ========== Productos.html ========== */

.productos-contenedor{
  max-width: 75%;
  margin: 0 auto;
  padding: 20px;
}

.lista-productos{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.producto-enlace-tarjeta{
  text-decoration: none;
}

.producto-tarjeta{
  background-color: #f9f9f9;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 20px;
  width: 275px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.producto-tarjeta:hover{
  cursor: pointer;
  transform: translateY(-5px);
}

.producto-imagen{
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.producto-nombre{
  color: #72A744;
  font-size: 24px;
  margin-top: 0;
}

.producto-precio{
  color: #000000;
  font-size: 28px;
  font-weight: bold;
}



/* ========== Páginas de los productos ========== */

.producto-detalle-contenedor{
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.volver-productos{
  display: block;
  margin-bottom: 25px;
  color: #666666;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.volver-productos:hover{
  color: #72A744;
}

.detalle-principal{
  display: flex;
  gap: 50px;
  border: 1px solid #ebebeb;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: #ffffff;
}

.detalle-imagen{
  flex: 1;
  text-align: center;
}

.imagen-grande{
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.detalle-info{
  flex: 1.5;
}

.producto-detalle-nombre{
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 20px;
}

.precio-y-comprar{
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  border-bottom: 2px solid #ebebeb;
  padding-bottom: 20px;
}

.producto-detalle-precio{
  font-size: 42px;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

.boton-comprar-ahora{
  cursor: pointer;
  background-color: #72A744;
  color: #ffffff;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.boton-comprar-ahora:hover{
  background-color: #6FBA2E;
  transform: scale(1.02);
}

.subtitulo-detalle{
  color: #333333;
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.descripcion-larga{
  color: #555555;
  line-height: 1.5;
}

.lista-caracteristicas{
  list-style: none;
  padding-left: 0;
}

.lista-caracteristicas li{
  background: #f7f7f7;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-left: 4px solid #72A744;
  color: #333333;
}

/* Formulario compra */
.modal-toggle {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
}

.modal-toggle:checked ~ .modal-overlay {
  display: flex;
}

.modal-contenido {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-cerrar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  transition: color 0.3s;
}

.modal-cerrar:hover {
  color: #72A744;
}

.modal-contenido h2 {
  font-size: 28px;
  color: #2d5016;
  margin-bottom: 30px;
  text-align: center;
}

.formulario-modal .campo-formulario {
  margin-bottom: 20px;
}

.formulario-modal label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.formulario-modal input,
.formulario-modal select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #e8f5e0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.formulario-modal input:focus,
.formulario-modal select:focus {
  outline: none;
  border-color: #72A744;
}

.boton-enviar-modal {
  background-color: #6FBA2E;
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 10px;
}

.boton-enviar-modal:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}



/* ========== Nosotros ========== */

.seccion-principal h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.seccion-principal p {
  text-align: center;
  font-size: 24px;
}



h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  color: #2d5016;
}

/* Quiénes Somos */
.contenido-quienes-somos {
  max-width: 900px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.8;
  text-align: center;
}

.contenido-quienes-somos p {
  margin-bottom: 24px;
}

/* Valores */
.seccion-valores {
  padding: 64px 32px;
}

.contenedor-valores {
  max-width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}



/* ========== Contacto ========== */

.seccion-contacto {
  max-width: 40%;
  margin: 80px auto 60px;
  padding: 32px;
}

.seccion-contacto h1 {
  font-size: 40px;
  color: #2d5016;
  text-align: center;
  margin-bottom: 16px;
}

.seccion-contacto .subtitulo {
  text-align: center;
  font-size: 19px;
  color: #666;
  margin-bottom: 48px;
}

.formulario-contacto {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid #ebebeb;
}

.campo-formulario {
  margin-bottom: 24px;
}

.campo-formulario label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #2d5016;
  margin-bottom: 8px;
}

.campo-formulario input,
.campo-formulario textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.campo-formulario input:focus,
.campo-formulario textarea:focus {
  outline: none;
  border-color: #4A7C2C;
}

.campo-formulario textarea {
  min-height: 150px;
  resize: vertical;
}

.boton-enviar {
  background: linear-gradient(135deg, #4A7C2C 0%, #6BA83D 100%);
  color: white;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.boton-enviar:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.info-contacto {
  margin-top: 48px;
  text-align: center;
}

.info-contacto h2 {
  font-size: 28px;
  color: #2D5016;
  margin-bottom: 24px;
}

.datos-contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.dato-contacto {
  background: white;
  padding: 24px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid #ebebeb;
}

.dato-contacto h3 {
  color: #2D5016;
  font-size: 20px;
  margin-bottom: 8px;
}

.dato-contacto p {
  color: #666666;
  font-size: 16px;
}



/* ========== Footer ========== */

.footer{
  background-color: #2c2c2c;
  color: #ffffff;
  width: 100%;
  padding: 40px 0 20px 0;
}

.footer-contenido{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 5%;
  gap: 30px;
}

.footer-columna{
  max-width: 30%;
}

.footer-columna h3{
  color: #72A744;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.footer-botones li{
  margin-bottom: 10px;
}

.footer-botones a{
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-botones a:hover{
  color: #72A744;
}

.footer-columna p{
  color: #cccccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-2{
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #444444;
  color: #cccccc;
  font-size: 14px;
}