:root {
    --primary-color: #D4AF37; /* Oro, como se solicitó */
    --text-color: #2E5A88; /* Azul oscuro profundo */
    --background-color: #FFFDD0; /* Crema para el contenedor */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Merriweather', serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-color); /* El color de texto principal ahora es marrón oscuro */
    background-color: #F5F5DC; /* Color base de papel envejecido */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    line-height: 1.6;
    background-image: url('../images/bg-agave.jpg'); /* Fondo sutil de agave o textura */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    background-color: var(--background-color); /* Fondo crema simulando papel */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
    text-align: center;
    max-width: 800px; /* Un poco más estrecho para el estilo de folleto */
    width: 100%;
    box-sizing: border-box;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    margin-bottom: 30px;
}

.logo {
    max-width: 250px; /* Ajusta el tamaño del logo */
    height: auto;
    /* Se elimina el filtro para un look más integrado */
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.2em;
    color: var(--text-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.slogan {
    font-family: var(--font-body);
    font-size: 1.8em;
    color: var(--text-color);
    margin-top: -15px;
    margin-bottom: 35px;
    font-style: italic;
}


/* ... (código CSS anterior) ... */

.video-container {
    position: relative;
    width: 100%;
    /* Si tu video no es 16:9, ajusta padding-bottom. Ej: 9:16 = 177.77% */
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 por defecto */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Sombra más sutil */
}

/* Estilos para el video HTML5 dentro del contenedor */
.video-container .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto asegura que el video cubra todo el contenedor sin distorsionar */
    border-radius: 8px; /* Para que el video también tenga los bordes redondeados */
}

/* ... (resto del código CSS) ... */

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(75, 54, 33, 0.2); /* Borde superior con color marrón transparente */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px; /* Espacio entre iconos */
}

.social-link {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.social-icon {
    width: 30px;
    height: 30px;
    /* Los iconos serán monocromáticos, el color se controla con filter */
    /* Este filtro convierte la imagen a un color específico. #4B3621 */
    filter: invert(19%) sepia(21%) saturate(1242%) hue-rotate(347deg) brightness(94%) contrast(90%);
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .container {
        padding: 30px;
    }
    h1 {
        font-size: 2.5em;
    }
    p {
        font-size: 1em;
    }
    .slogan {
        font-size: 1.5em;
    }
    .logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 2em;
    }
    .slogan {
        font-size: 1.2em;
    }
    .social-link {
        font-size: 1em;
    }
    .social-icon {
        width: 25px;
        height: 25px;
    }
}