/* --- FUENTES Y SCROLL --- */
body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* --- FONDO GLOBAL --- */
.global-bg {
    /* Imagen de fondo. Puedes cambiar la URL por otra si lo deseas */
    background-image: url('https://images.pexels.com/photos/943096/pexels-photo-943096.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover; /* Cubre todo el espacio disponible */
    background-position: center center; /* Centra la imagen */
    background-attachment: fixed; /* La imagen no se mueve al hacer scroll */
}

/* --- SECCIONES DE CONTENIDO --- */
/* Estilo para las secciones con fondo claro */
.content-section {
    background-color: rgba(249, 250, 251, 0.9); /* bg-gray-50 con 90% de opacidad */
    backdrop-filter: blur(4px); /* Efecto de desenfoque en lo que está detrás */
}

/* Estilo para las secciones con fondo oscuro */
.content-section-dark {
    background-color: rgba(31, 41, 55, 0.9); /* bg-gray-800 con 90% de opacidad */
    backdrop-filter: blur(4px);
}

/* --- SOMBRAS PARA TEXTO --- */
/* Sombra sutil para mejorar la legibilidad del texto sobre imágenes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* --- ESTILOS PARA LA GALERÍA DE SERVICIOS (SWIPER) --- */
.service-gallery {
    width: 100%;
    height: 250px; /* Altura controlada para que no sea muy grande */
    border-radius: 0.75rem; /* Bordes redondeados */
    overflow: hidden; /* Oculta cualquier desbordamiento */
}

.service-gallery .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #1f2937; /* Color de fondo mientras carga la imagen */

    /* Centrar la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el slide sin distorsionarse */
}


.service-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el slide sin distorsionarse */
}
