body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    height: 100vh; /* Ajusta la altura al 100% de la ventana */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1" height="100%" viewBox="0 0 1 100"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23b9e3ff;stop-opacity:1" /><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:1" /></linearGradient></defs><rect width="1" height="100%" fill="url(%23grad)" /></svg>');
    background-repeat: repeat-x; /* Repite el fondo a lo largo del eje X */
}
h1 {
  font-family: 'Roboto Slab', serif;
  color: rgba(245, 218, 129, 1) !important;
  font-weight: bolder !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem !important;
}
h2, h3 {
    font-family: 'Roboto Slab', serif;
    padding-top: 1.4em;
}
h4 {
    font-family: 'Roboto Slab', serif;
}
.container {
    padding-top: -4em;
}
.section-title {
    color: rgba(192, 148, 49, 1);
    font-weight: bold;
    margin-bottom: 3rem; /* Aumentado espacio entre títulos y secciones */
    padding-top: 2em;
}
.service-item {
    border-left: 4px solid goldenrod;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.service-link {
    color: #212529 !important; /* Cambia el color de los enlaces de servicios a negro */
    text-decoration: none;
    transition: 200ms; /* Aplica la transición a la transformación */
}
.service-link:hover {
    /*color: #1999c0 !important;  Cambia el color al pasar el mouse */
    transform: scale(1.4); /* Aumenta el tamaño al pasar el mouse */
}
.navbar {
    background-color: #1999c0;
}
.navbar-brand, .nav-link {
    color: white !important;
    font-family: 'Roboto Slab';
    font-weight: bolder;
}
.nav-link:hover {
    /*color: #ecf0f1 !important;*/
}
#home {
    position: relative;
    background-image: url('/imagenes/picomonta.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 2rem 5rem;
    margin-top: 2em;
}

#home_representacion {
    position: relative;
    background-image: url('/imagenes/alhambra.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 2rem 5rem;
    margin-top: 2em;
}

#home_asesoramiento {
    position: relative;
    background-image: url('/imagenes/asesoramiento.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12rem 2rem 5rem;
    margin-top: 2em;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(192, 148, 49, 0.82), rgba(233, 203, 130, 1), rgba(192, 148, 49, 0.82));
    color: darkcyan;
    text-align: center;
    font-weight: bolder !important;
    padding: 1rem;
}

/* Eliminar puntos de la lista de contacto */
.contact-info {
    list-style: none; /* Quita los marcadores de la lista */
    padding-left: 0; /* Quita el padding izquierdo por defecto */
}
.contact-info li {
    margin-bottom: 1rem; /* Espaciado entre elementos de la lista */
}
#footer ul li {
    color: white;
}
section {
    margin-block-end: 1em;
    margin-block-start: 2em;
    position: relative; /* Para que el contenido esté por encima del fondo */
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1; /* Asegura que está por encima del fondo */
}
/* Estilos para el scroll suave */
html {
    scroll-behavior: smooth;
}
/* Nuevo estilo para el fondo global */
.background-container {
    position: fixed; /* Fijo en el fondo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('imagenes/fondo.webp'); /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto parallax */
    z-index: -1; /* Asegura que está detrás de todo */
    opacity: 0.5; /* Opacidad deseada */
    filter: blur(20px); /* Desenfoque */
    -webkit-filter: blur(20px); /* Para navegadores WebKit */
}

.boton {
    background-color: rgba(192, 148, 49, 1); /* Color de fondo */
    color: white; /* Color del texto */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 10px 20px; /* Espaciado interno */
    font-size: 16px; /* Tamaño de fuente */
    cursor: pointer; /* Cambia el cursor al pasar el ratón */
    transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
}

.boton:hover {
    background-color: rgba(192, 148, 49, 0.8); /* Color de fondo al pasar el ratón */
}

.imagen {
    display: flex;
    justify-content: center; /* Centra la imagen horizontalmente */
    margin-top: 20px; /* Espacio superior */
}

.imagen img {
    max-width: 100%; /* Asegura que la imagen no exceda el ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 8px; /* Bordes redondeados opcional */
}


@font-face {
    font-family: 'Roboto Slab';
    src: url('fuentes/RobotoSlab-Regular.eot');
    src: url('fuentes/RobotoSlab-Regular.eot?#iefix') format('embedded-opentype'),
        url('fuentes/RobotoSlab-Regular.woff2') format('woff2'),
        url('fuentes/RobotoSlab-Regular.woff') format('woff'),
        url('fuentes/RobotoSlab-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('fuentes/OpenSans-Regular.eot');
    src: url('fuentes/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('fuentes/OpenSans-Regular.woff2') format('woff2'),
        url('fuentes/OpenSans-Regular.woff') format('woff'),
        url('fuentes/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}