/* Header Section */

/* Barra fija azul */
.header-border-blue {
    position: fixed;
    top: 0;
    width: 100%;
    height: 118px; /* Ajusta la altura según sea necesario */
    background: repeating-linear-gradient(
        120deg, /* Ángulo de la diagonal */
        #e0d1d6 0.02px, /* Color de la línea y grosor (ajustado para que coincida con el borde deseado) */
        #e0d1d6 0.5px, /* Ancho de la línea */
        #fff 1px, /* Color del espacio entre líneas */
        #fff 5px /* Ancho del espacio entre líneas */
    );
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    margin-bottom: 10px;
}

/* Header Section */
.header-section-general {
    position: relative;
    height: 73vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 24px; /* Añade margen para compensar la barra fija */
}

/* Header Section Video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    z-index: -1; /* Asegura que el video esté detrás del contenido */
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Estilos para la sección de Gastronomía y Enoturismo */
.gastronomia-enoturismo {
    padding: 65px 0;
    background-color: var(--gastronomia-bg);
}

.gastronomia-enoturismo .container {
    max-width: 960px;
    margin: 0 auto;
}

.gastronomia-enoturismo h2 {
    font-size: 30px; /* Tamaño reducido */
    letter-spacing: var(--letter-spacing-short);
    font-weight: bold;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
}

.gastronomia-enoturismo h3 {
    font-size: 18px; /* Tamaño reducido */
    color: #666;
    text-align: left;
    margin-bottom: 20px;
    font-weight: bold;
}

.gastronomia-enoturismo .row {
    display: flex;
    justify-content: center; /* Centrado */
    margin-bottom: 20px;
}

/* Ocultar y mostrar bloques según el dispositivo */
.visible-mobile {
    display: none;
}

.visible-desktop {
    display: none;
}

/* Estilos del texto */
.gastronomia-enoturismo p {
    font-size: 15px;
    color: #444;
    line-height: 1.3;
    text-align: justify;
    margin-bottom: 20px;
}

/* Modo móvil */
@media (max-width: 768px) {
    .visible-mobile {
        display: block; /* Mostrar solo en móvil */
    }

    .visible-desktop {
        display: none; /* Ocultar en móvil */
    }

    .gastronomia-enoturismo .col-md-6 {
        width: 100%; /* Ocupa todo el ancho */
        margin-bottom: 20px;
        text-align: justify;
    }

    .gastronomia-enoturismo h2 {
        font-size: 24px; /* Tamaño reducido */
        letter-spacing: var(--letter-spacing-short);
        font-weight: bold;
        color: #333;
        text-align: left;
        margin-bottom: 30px;
    }
}

/* Modo escritorio */
@media (min-width: 768px) {
    .visible-desktop {
        display: block; /* Mostrar solo en escritorio */
    }

    .visible-mobile {
        display: none; /* Ocultar en escritorio */
    }

    .gastronomia-enoturismo .col-md-12 {
        column-count: 2; /* Dividir en dos columnas */
        column-gap: 40px; /* Espacio entre columnas */
        text-align: justify;
        margin: 0 auto;
        margin-bottom: 10px;
    }
}

/* Botón personalizado */
.gastronomia-enoturismo .btn-custom {
    display: inline-block;
    padding: 3px 22px;
    font-size: 18px;
    background-color: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.gastronomia-enoturismo .btn-custom:hover {
    background-color: #333;
    color: #fff;
}

/* Estilos para la sección de Denominaciones de Origen */
.denominaciones-origen {
    background-color: #B17A8B;
    color: #fff;
}

.denominaciones-origen .container {
    max-width: 960px;
    margin: 0 auto;
}

.denominaciones-origen h3 {
    font-size: 24px;
    letter-spacing: var(--letter-spacing-short);
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 70px; /* Ajusta este valor según sea necesario */
    width: 100%;
    max-width: 300px;
}

.denominaciones-origen .btn-custom {
    display: inline-block;
    padding: 5px 30px;
    font-size: 18px;
    background-color: #fff;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.denominaciones-origen .btn-custom:hover {
    background-color: #333;
    color: #fff;
}

/* Media Queries adicionales */
@media (max-width: 768px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
        margin-left: auto; 
        margin-right: auto; 
        display: block; 
    }

    .denominaciones-origen h3 {
        font-size: 24px;
        letter-spacing: var(--letter-spacing-short);
        font-weight: bold;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto; 
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .denominaciones-origen .btn-custom {
        margin: 0 auto; /* Centrar el botón */
    }

    .header-section-general {
        height: 63vh;
    }

    .header-border-blue {
        position: fixed;
        top: 0;
        width: 100%;
        height: 120px;
        background: repeating-linear-gradient(
            120deg,
            #e0d1d6 0.02px,
            #e0d1d6 0.5px,
            #fff 1px,
            #fff 5px
        );
        z-index: 1000;
        margin-bottom: 10px;
    }
}
