@font-face {
    font-family: 'dm_serif_displayregular';
    src: url('../fonts/dmserifdisplay-regular-webfont.woff2') format('woff2'),
        url('../fonts/dmserifdisplay-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'manropeextralight';
    src: url('../fonts/manrope-variablefont_wght-webfont.woff2') format('woff2'),
        url('../fonts/manrope-variablefont_wght-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

.roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

:root {
    --primary: white;
    --secondary: #000000;
    --neutral: white;
    --light: white;
    --dark: rgb(22, 22, 22);
}

body {
    background-color: black;
}

.btn-primary {
    background-color: black;
    color: var(--light);
    padding: .75rem 1rem;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
}

h4,
h5,
h6,
nav,
p,
a {
    font-family: "Fredoka", sans-serif;
    color: white;
}

h1, h2, h3, h4 { 
    font-family: "DM Serif Display", serif;
    color: white;
}

header {
    position: fixed;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.75);
}

header nav {
    border-top: 2px solid var(--neutral);
}

header nav ul {
    list-style: none;
}

header nav ul li {
    text-align: center;
}

header nav ul li a {
    color: var(--primary);
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem; /* Padding para mejorar la área de clic */
    transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave */
    border-radius: 5px; /* Bordes redondeados para los enlaces */
}

header nav ul li a:hover,
header nav ul li a:focus {
    background-color: rgba(255, 255, 255, 0.1); /* Fondo sutil en hover */
    color: var(--light); /* Cambia el color del texto en hover */
}

header nav ul li a.active {
    background-color: var(--light); /* Fondo diferente para el enlace activo */
    color: var(--secondary); /* Color del texto para el enlace activo */
    text-decoration: none; /* Estilo para eliminar el subrayado en enlaces activos */
}

#portada {
    background-image: url('/img/portada.jpeg');
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--light);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.nav-link {
    font-size: 0.9rem; /* Ajusta el tamaño según necesites */
    padding: 0.5rem 0; /* Ajusta el padding vertical de los enlaces */
}

footer {
    background-color: var(--secondary);
    color: var(--light);
    text-align: center; /* Centrar el texto del footer */
}

@media screen and (min-width: 768px) {
    header nav {
        border-top: none; /* Eliminar el borde superior en pantallas más grandes */
    }
}

/* Estilos para el mapa */
.embed-container {
    position: relative;
    width: 100%;  /* Asegura que el contenedor use el 100% del ancho disponible */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; /* Altura inicial 0 */
    overflow: hidden; /* Ocultar contenido que excede */
    max-width: 75%; /* Limitar el ancho máximo del mapa al 75% */
    margin: 0 auto; /* Centrar el contenedor */
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ancho completo del contenedor */
    height: 75%; /* Altura completa del contenedor */
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon img {
    width: 35px;
    height: 35px;
}


.gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.carousel-item img {
    max-height: 70vh; /* Ajusta esta altura según lo necesites */
    width: 100%;
    object-fit: cover;  /* Asegura que la imagen se recorte adecuadamente */
}

#imgLogoDesktop {
    width: 250px;
    height: auto;
}

#imgLogoMobile {
    width: 180px;
    height: auto;
}

#servicios img {
    object-fit: cover; /* Recorte adecuado de la imagen */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suavizar transiciones */
}

#servicios img:hover {
    transform: scale(1.05); /* Aumentar tamaño ligeramente al pasar el cursor */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Añadir sombra */
}

.modal-title {
 background-color: black;
}
.modal-dialog {
    background-color: black;
}
.modal-content {
    background-color: #000000;

}
.custom-modal {
    border-radius: 50px;
}
.modal-body {
    color: white;
}