body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.6;
}

.header-logo-only {
  background-color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.logo {
  height: 60px;
  max-width: 90%;
}

.menu-toggle {
  position: absolute;
  right: 2.5rem;
  top: 1rem;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: #c62828;
}

.main-nav {
  display: flex;
  justify-content: center;
  background: linear-gradient(90deg, #b71c1c, #e53935);
  padding: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.main-nav a {
  background-color: #c62828;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.main-nav a:hover {
  background-color: #a21919;
  transform: translateY(-2px);
}
main {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 2rem;
  text-align: justify;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
}


h2 {
  color: #c62828;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  color: #c62828;
  text-decoration: none;
  font-weight: bold;
}

footer {
  background-color: #e0e0e0;
  text-align: center;
  padding: 1rem;
  color: #666;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}


blockquote {
  font-style: italic;
  color: #777;
  border-left: 4px solid #c62828;
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Responsive */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #b71c1c, #e53935);
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}



  main {
    padding: 1rem;
  }

  section {
    font-size: 1rem;
  }

  .logo {
    height: auto;
    max-height: 60px;
  }
}

.whatsapp-btn a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-btn a:hover {
  background-color: #1ebe57;
}
.contact-form {
  margin-top: 20px;
}
#videos {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

#videos h2 {
  color: #c62828;
  margin-bottom: 1rem;
}

.video-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
}

.video-carousel iframe {
  min-width: 320px;
  height: 180px;
  border-radius: 8px;
  scroll-snap-align: start;
  flex-shrink: 0;
  border: 2px solid #ccc;
  background: #000;
}

/* Responsive ajuste */

@media (min-width: 768px) {
  .video-carousel iframe {
    min-width: 480px;
    height: 270px;
  }
}

/* Centrado de los íconos de redes sociales */
.social-icons {
  display: flex;
  justify-content: center;  /* Centra los íconos horizontalmente */
  align-items: center;      /* Centra los íconos verticalmente */
  gap: 1rem;                /* Espaciado entre los íconos */
  margin: 0 auto;           /* Centra el contenedor de los íconos */
}

/* Estilos de los íconos */
.social-icon {
  width: 30px;  /* Tamaño de los íconos */
  height: 30px; /* Tamaño de los íconos */
  max-width: 40px; /* Limita el tamaño máximo */
  max-height: 40px; /* Limita el tamaño máximo */
  transition: transform 0.3s ease-in-out;
}

/* Efecto visual al pasar el cursor sobre los íconos */
.social-icon:hover {
  transform: scale(1.1);  /* Aumenta el tamaño ligeramente */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

.form-wrapper {
  position: relative;
  width: 100%;
  padding-top: 150%; /* Ajusta esta proporciÃ³n para la altura */
  margin-bottom: 2rem;
}

.form-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.site-header-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 60px;
  max-width: 90%;
}

/* Espacio para que el header no tape contenido */
body {
  padding-top: 80px;
}

/* BotÃ³n flotante para volver al inicio */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #c62828;
  color: white;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 48px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #a21919;
}

.whatsapp-btn a {
  display: inline-block;
  background-color: #25d366;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 10px;
}

.whatsapp-btn a:hover {
  background-color: #1ebe57;
}


@media (max-width: 768px) {
  .social-icon {
    width: 25px;
    height: 25px;
  }
}

/* Asegurar que el contenedor de los íconos esté centrado en pantallas grandes */
@media (min-width: 769px) {
  .social-icon {
    width: 30px;
    height: 30px;
  }
}
