body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

section {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

#legal-notice {
    background-color: #f9f9f9;
    color: #333;
}

.header-section {
    background: url('/images/tarjeta2.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff; /* Color blanco para el texto */
    position: relative;
    min-height: 400px; /* Ajusta la altura según lo que necesites */
}

.header-section .overlay {
    background: rgba(0, 0, 0, 0.3); /* Opacidad ajustada para mejorar la visibilidad del texto */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.header-section .container {
    position: relative;
    z-index: 1;
}

.header-section h1, 
.header-section p {
    color: #ffffff; /* Blanco puro para visibilidad */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Sombra para mejorar el contraste */
}

/* Estilos generales para h1 */
h1 {
    font-size: 2.5rem;
}

/* Estilos generales para h2 */
h2 {
    font-size: 1.8rem;
    color: #004080;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    color: #004080; /* Color azul principal */
    text-decoration: underline;
}

a:visited {
    color: #d3d3d3; /* Gris claro */
}

a:hover {
    color: #f0ad4e; /* Color de hover */
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #004080;
    color: #fff;
}

button {
    background-color: #f0ad4e;
    border: none;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #ec971f;
}

/* Estilos para el banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #004080;
    color: #fff;
    text-align: center;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1000;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.cookie-modal-content {
    text-align: left;
}

/* Estilos adicionales */
.text-muted {
    color: #6c757d;
}
