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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ----------------------------------
   NAVBAR, LOGO Y MENÚ
---------------------------------- */
/* Fondo blanco y borde inferior para resaltar el logo */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Separa el logo del menú */
  padding: 1rem 2rem;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

#logo {
  max-width: 120px;
  height: auto;
}

/* Menú de Navegación */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: #333; /* Color oscuro para contraste sobre fondo blanco */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #00a6a6; /* Un tono verde aqua más oscuro para el hover */
}

/* ----------------------------------
   ESTILOS PARA MENÚ MÓVIL (HAMBURGER)
---------------------------------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px auto;
  transition: all 0.3s;
  background-color: #333;
}

/* ----------------------------------
   SECCIONES GENERALES
---------------------------------- */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

/* ----------------------------------
   CARD (CONTENIDO ENCAPSULADO)
---------------------------------- */
.card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 2rem auto;
  text-align: left;
}

/* ----------------------------------
   HERO SECTION
---------------------------------- */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: url('../images/stock03.jpeg') center/cover no-repeat;
  color: #fff;
  position: relative;
  min-height: 80vh;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-content button {
  background-color: #00ffff;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-content button:hover {
  background-color: #00e6e6;
}

/* Hero Image */
.hero-image {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 2;
}

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

/* ----------------------------------
   SERVICIOS
---------------------------------- */
#services h2 {
  margin-bottom: 2rem;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service {
  background-color: #f9f9f9;
  padding: 1.5rem;
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

/* Íconos de servicios */
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Imagen de apoyo en servicios */
.services-image {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.services-image img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Contenedor para fila adicional de servicios */
.additional-services {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* ----------------------------------
   BOTÓN MORE SERVICES
---------------------------------- */
.more-services-button {
  background-color: #00ffff;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.more-services-button:hover {
  background-color: #00e6e6;
}

/* ----------------------------------
   PROPUESTA DE VALOR
---------------------------------- */
#value-prop ul.value-list {
  list-style: none;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 2rem;
}

#value-prop ul.value-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

#value-prop button {
  background-color: #00ffff;
  color: #000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#value-prop button:hover {
  background-color: #00e6e6;
}

/* Imagen de apoyo en la propuesta de valor */
.value-image {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.value-image img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* ----------------------------------
   GALERÍA DE IMÁGENES
---------------------------------- */
#gallery {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  flex: 1 1 300px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* ----------------------------------
   CONTACTO
---------------------------------- */
#contact form.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact form.contact-form input,
#contact form.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

#contact form.contact-form button {
  background-color: #00ffff;
  color: #000;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact form.contact-form button:hover {
  background-color: #00e6e6;
}

/* Estilo para el campo de captcha */
.captcha {
  text-align: left;
  margin-top: 1rem;
}

.captcha label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
}

/* Estilo para el mensaje de agradecimiento */
.thank-you-message {
  display: none; /* Se mostrará dinámicamente tras el envío exitoso */
  margin-top: 1rem;
  padding: 1rem;
  background-color: #e0ffe0;
  color: #006600;
  border: 1px solid #006600;
  border-radius: 5px;
  text-align: center;
}

/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
}

.footer-nav {
  margin-top: 0.5rem;
}

.footer-nav a {
  color: #00ffff;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #00e6e6;
}

/* Estilos adicionales para el contenido del footer */
.footer-contacts {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-social p {
  margin: 0;
  font-weight: bold;
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* ----------------------------------
   MOBILE RESPONSIVE
---------------------------------- */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 4rem 1rem;
  }

  .hero-image {
    margin-top: 2rem;
  }
  
  .services-container,
  .additional-services {
    flex-direction: column;
    align-items: center;
  }
  
  /* Mobile menu adjustments */
  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
}
