/* Estilos para Semilla Viva - Linea Principal */

/* Declaración de las fuentes locales */

@font-face {
  font-family: 'Poppins';
  src: url('fuentes/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('fuentes/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('fuentes/lora/Lora-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lora';
  src: url('fuentes/lora/Lora-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pingu';
  src: url('fuentes/pingu-ino/Jumble.otf') format('opentype'),
       url('fuentes/pingu-ino/Jumble.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;  /* Optimiza la carga del texto en el navegador */
}


/* Variables CSS */
:root {
  --navy: #1B2A4A;
  --dorado: #D4AF37;
  --oscuro: #0B1730;
  --fondo-claro: #FAF8F5;
  --rosa: #A85C74;
  --color-texto: #333333;
  --color-texto-blanco: #FFFFFF;
}


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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-texto);
  background-color: var(--fondo-claro);
  line-height: 1.6;
}

/* h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--navy);
} */

body h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
  color: var(--navy);
}

body h2 {
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

body h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--dorado);
  margin: 0.5rem auto;
}

body p {
  font-family: 'Poppins', sans-serif;
}

.semilla {
  font-family: 'lora', serif;
  font-weight: bold;
  /* color: #38bdf8; */
  /* text-decoration: none; */
}

/* Menú de navegación */
nav {
  background-color: var(--navy);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  margin: 0;
  padding: 0;
}

.nav-logo p {
  /* color:var(--dorado);   */
  color:var(--color-texto-blanco);  
  text-decoration: none;
  list-style: none;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--fondo-claro);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--dorado);
}

/* Estilos para el menú hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--fondo-claro);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Sección de inicio */
#inicio {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy);
  color: var(--fondo-claro);
  padding-top: 60px;
  position: relative;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  gap: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  color: var(--color-texto-blanco);
}

.slogan {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dorado);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* Secciones generales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background-color: white;
}

section:nth-child(odd) {
  background-color: var(--fondo-claro);
}

/* Sección Nosotros */
#nosotros h2{
  color: var(--navy);
}

#nosotros p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.nosotros-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.nosotros-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}


/* Servicios */
#servicios h2 {
  color: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.service-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

/* Formulario de contacto */
#contacto form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#contacto label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--navy);
}

#contacto input,
#contacto textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

#contacto button {
  background-color: var(--navy);
  color: var(--color-texto-blanco);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

#contacto button:hover {
  background-color: var(--oscuro);
  color: var(--dorado);
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--fondo-claro);
  text-align: center;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
}

.brand-lora {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--fondo-claro);
}

.footer-link {
  font-family: 'Pingu', serif;
  font-weight: normal;
  color: #38bdf8;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: var(--navy);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu a {
    padding: 1rem;
    margin: 0.5rem 0;
    display: block;
  }

  nav {
    height: 60px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-image {
    width: 100%;
  }
  
  .container {
    padding: 2rem 1rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .slogan {
    font-size: 1.2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
}