body {
  font-family: "Kanit", serif;
  width: 100%;
  max-width: 100%;
  background-color: #0A0A0A;
}
body {
    margin: 0;
    color: white; /* Color de texto por defecto para que contraste con el fondo oscuro */
    overflow-x: hidden; /* Evita barras de desplazamiento horizontales */
    position: relative; /* Necesario para posicionar el fondo de líneas */
    min-height: 100vh; /* Asegura que el cuerpo ocupe al menos toda la altura de la ventana */
    display: flex;
    flex-direction: column;
}

body, html{
  color: #eae9fc;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

:root {
  --font-xxs: 10px;   /* Extra Small */
  --font-xs: 12.5px;  /* Small */
  --font-sm: 16px;    /* Base size (1rem) */
  --font-md: 20px;    /* Medium (1.25x) */
  --font-lg: 25px;    /* Large (1.25x) */
  --font-xl: 31.25px; /* Extra Large (1.25x) */
  --font-xxl: 39.06px; /* 2XL */
  --font-xxxl: 48.83px; /* 3XL */
  --font-xxxxl: 61.04px; /* 4XL */
}



h1 { font-size: var(--font-xxxxl); }
h2 { font-size: var(--font-xxxl); }
h3 { font-size: var(--font-xxl); }
h4 { font-size: var(--font-xl); }
h5 { font-size: var(--font-lg); }
h6 { font-size: var(--font-md); }
p, li, a { font-size: var(--font-sm); }

.bg-introduction {
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(#0A0A0Ab3, #0A0A0Ad9, #0A0A0A), url('/images/gallery/imagen1.jpg');
    min-height: 500px; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden; /* Asegura que las capas adicionales no causen scroll */
}

/* Opcional: Si tienes contenido dentro de .bg-introduction que no debe oscurecerse */
.bg-introduction > *:not(.bg-introduction-next) {
    position: relative;
    z-index: 1; /* Asegura que el contenido esté por encima del fondo con el degradado */
}

.introduction{
  padding-top: 8%;
  margin-left: 14%;
  margin-right: 14%;
  padding-bottom: 8%;
  width: 60%;
}
.introduction h1{
  font-weight: 500;
  color:#eae9fc;
  text-shadow: 2px 2px 2px #0A0A0A;
}
.introduction p{
  color:hsla(243, 76%, 95%, 0.856);
  text-shadow: 2px 2px 2px #0A0A0A;
  width: 100%;
}
.lower-name{
  margin-top:-50px
}

/* Sección de Servicios - Minimalista */

/* Contenedor principal de la sección */
.services {
    display: flex; /* Para organizar los service-item en fila */
    flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea en pantallas pequeñas */
    justify-content: center; /* Centra los items horizontalmente */
    gap: 40px; /* Espacio entre las columnas de servicios */
    padding: 60px 20px; /* Espacio interno alrededor de toda la sección */
    max-width: 1200px; /* Ancho máximo para el contenido, puedes ajustar */
    margin: 0 auto; /* Centra el contenedor en la página */
    color: #333; /* Color de texto general para esta sección si el fondo no es negro */
}

/* Título de la sección */
.services-title {
    text-align: center;
    padding-top: 80px; /* Espacio superior para separar del contenido de arriba */
    padding-bottom: 30px; /* Espacio debajo del título */
    /* Si esta sección va sobre el fondo degradado negro, mantén el color de texto blanco para el h3 */
    /* Ejemplo si va sobre el fondo degradado: color: white; */
}

.services-title h3 {
    font-size: 2.5em; /* Tamaño de fuente para el título "Servicios" */
    font-weight: 300; /* Peso de fuente más ligero para un look minimalista */
    margin: 0; /* Elimina márgenes por defecto */
    color: #e2e2e2; /* Color de texto, ajusta si el fondo es oscuro */
}

/* Contenedor de cada grupo de servicios (por ejemplo, los dos primeros juntos) */
.service-item {
    flex: 1 1 300px; /* Permite que el elemento crezca, se reduzca y tenga un ancho base de 300px */
    max-width: 100%; /* Ancho máximo para cada columna de servicios */
    padding: 20px;
    box-sizing: border-box; /* Incluye padding en el ancho total */
    text-align: center;
}

/* Estilo para los títulos de cada servicio */
.service-item h4 {
    font-size: 1.15em; /* Tamaño de fuente para el título del servicio */
    font-weight: 400; /* Peso de fuente normal o ligeramente más ligero */
    margin-bottom: 15px; /* Espacio entre cada servicio */
    line-height: 1.4; /* Altura de línea para mejor legibilidad */
}
.service-item h4 a{
    font-size: 18px; /* Tamaño de fuente para el título del servicio */
}


/* Estilo para los enlaces de los servicios */
.service-title {
    color: #c9c9c9; /* Color de texto del enlace, un gris oscuro para minimalismo */
    text-decoration: none; /* Quita el subrayado por defecto */
    transition: color 0.3s ease, transform 0.3s ease; /* Transición suave al pasar el ratón */
    display: inline-block; /* Para aplicar transformaciones al pasar el ratón */
    /* Si esta sección va sobre el fondo degradado negro, usa un color blanco o gris claro para el texto del enlace */
    /* Ejemplo si va sobre el fondo degradado: color: #e0e0e0; */
}

.service-title:hover {
    color: #da343c; /* Color sutil al pasar el ratón, puedes elegir un color de tu marca */
    transform: translateX(5px); /* Un pequeño desplazamiento para dar interactividad */
}


/* Media Queries para Responsividad */
@media (max-width: 768px) {

    .services {
        flex-direction: column; /* Apila los elementos en columnas en pantallas pequeñas */
        align-items: center; /* Centra los items apilados */
        gap: 30px; /* Reduce el espacio entre items */
    }

    .service-item {
        max-width: 100%; /* Hace que los ítems ocupen más ancho en móviles */
        text-align: center; /* Centra el texto en móviles si es necesario */
    }

    .services-title h3 {
        font-size: 2em; /* Ajusta el tamaño del título en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .services {
        padding: 40px 15px;
    }

    .service-item h4 {
        font-size: 1em;
    }
}
.more-button {
  margin-top: 3vh;
  display: flex;
  justify-content: center;
  margin-bottom: 10vh;
}




@media (max-width: 768px){
  .introduction h1{
    font-size: 40px;
  }
  .under-space{
    height: 0;
  
  }
  .introduction{
    padding-top: 8%;
    margin-left: 5%;
    margin-right: 5%;
    padding-bottom: 8%;
    width: 90%;
  }
}
* {
  -webkit-tap-highlight-color: transparent;
}

.under-space{
  height: 120px;

}

        /* Your WhatsApp Float CSS */
        .whatsapp-float {
            width: 40px;
            height: 40px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #6e6e6e;
            z-index: 1001;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .whatsapp-float:hover {
            background-color: #128c59;
        }


/* Estilos para la sección "Sobre Nosotros" */
.introduction-about-us {
  max-width: 800px;
  margin: 0 auto;
  padding: 4% 8%;
  line-height: 1.8;
}

.introduction-about-us h1 {
  font-weight: 500;
  color: #eae9fc;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.introduction-about-us h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ee1c27, transparent);
}

.introduction-about-us p {
  color: hsla(243, 76%, 95%, 0.856);
  margin-bottom: 25px;
  font-weight: 300;
}

.introduction-about-us em {
  font-style: italic;
  color: #eae9fc;
  font-weight: 400;
}

.introduction-about-us strong {
  color: #eae9fc;
  font-weight: 500;
}

.gallery {
  display: flex;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 5%;
}

.gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* Efectos de acordeón para párrafos largos */
.introduction-about-us p {
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .introduction-about-us {
    padding: 8% 5%;
  }
  
  .introduction-about-us h1 {
    font-size: var(--font-xxxl);
    margin-bottom: 30px;
  }
  
  .gallery {
    margin: 40px auto;
  padding: 0 3%;
  }
}

@media (max-width: 480px) {
  .introduction-about-us h1 {
    font-size: var(--font-xxl);
  }
  
  .introduction-about-us p {
    font-size: var(--font-xs);
  }
}
.map-section{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  margin-bottom: 80px;
  margin-right: 20px;
  margin-left: 20px;
}
.map-title{
  margin-top: 0;
  display: block;
  justify-content: center;
  align-items: center;
  font-weight: 400;  
}
#map {
  height: 500px; /* Altura del mapa */
  width: 80%; /* Ancho completo */
  max-width: 1000px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* Nuevos estilos para el diseño de dos columnas */
.services-map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 10%;
}

.two-column-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.services-column {
    flex: 1;
    min-width: 300px;
}

.map-column {
    flex: 1;
    min-width: 300px;
}

.map-section {
    margin: 0;
    padding: 20px 0;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }
    
    .services-column, 
    .map-column {
        width: 100%;
    }
    
    #map {
        height: 400px;
    }
    .services-map-container {

    margin-bottom: 20%;
  }
}

@media (max-width: 480px) {
    #map {
        height: 300px;
    }
}
.service-item h4 a {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    display: inline-block; /* Para que el ancho se ajuste al texto */
    padding-bottom: 3px; /* Espacio para la línea */
    transition: all 0.3s ease; /* Transición suave */
}

.service-item h4 a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; /* Inicialmente sin ancho */
    height: 2px; /* Grosor de la línea */
    background-color: #da343c; /* Color de tu marca */
    transition: width 0.3s ease; /* Animación solo del ancho */
}

.service-item h4 a:hover::after {
    width: 100%; /* Ancho completo al hacer hover */
}

/* Opcional: Cambiar color del texto al hacer hover */
.service-item h4 a:hover {
    color: #fdf6f6 !important;
}



.nav__links li a {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    display: inline-block; /* Para que el ancho se ajuste al texto */
    padding-bottom: 3px; /* Espacio para la línea */
    transition: all 0.3s ease; /* Transición suave */
}

.nav__links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; /* Inicialmente sin ancho */
    height: 2px; /* Grosor de la línea */
    background-color: #da343c; /* Color de tu marca */
    transition: width 0.3s ease; /* Animación solo del ancho */
}

.nav__links li a:hover::after {
    width: 100%; /* Ancho completo al hacer hover */
}

/* Opcional: Cambiar color del texto al hacer hover */
.nav__links li a:hover {
    color: #fdf6f6 !important;
}