/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fondo desenfocado */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.ivanferreiro.es/css/image/cartel-gira-ivan-ferreiro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    transform: scale(1.1); /* Evita bordes blancos por el blur */
    z-index: -1;
}

/* Contenido principal */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 200px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Separación entre botón y cartel */
}

/* Contenedor del botón */
.button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Contenedor de la imagen principal */
.main-image-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

/* Imagen principal */
.main-image {
    width: 100%;
    max-width: 1080px; /* Tamaño original completo */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 150px 20px;
    }
    
    .main-image {
        max-width: 800px; /* Más generoso en pantallas grandes */
    }
    
    .buy-tickets-btn {
        font-size: 15px;
        padding: 11px 22px;
    }
    
    /* Video responsive */
    .video-container {
        max-width: 800px; /* Coincide con la imagen */
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 100px 15px;
    }
    
    .main-image {
        max-width: 90%; /* 90% del ancho disponible en tablet */
        width: 90%;
    }
    
    .hero-background {
        filter: blur(6px);
    }
    
    .buy-tickets-btn {
        font-size: 14px;
        padding: 10px 30px; /* Aumentado de 20px a 30px horizontalmente */
        border-radius: 20px;
        top: 100%; /* Se sale del cartel hacia abajo */
        margin-top: 15px; /* Separación del cartel */
    }
    
    /* Video responsive */
    .video-section {
        padding: 60px 15px;
    }
    
    .video-container {
        max-width: 90%; /* Mismo porcentaje que la imagen */
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 80px 10px;
    }
    
    .main-image {
        max-width: 95%; /* 95% del ancho en móvil */
        width: 95%;
    }
    
    .hero-background {
        filter: blur(4px);
    }
    
    .buy-tickets-btn {
        font-size: 13px;
        padding: 9px 35px; /* Aumentado de 18px a 35px horizontalmente */
        border-radius: 18px;
        letter-spacing: 0.3px;
        top: 100%; /* Se sale del cartel hacia abajo */
        margin-top: 20px; /* Más separación en móvil */
    }
    
    /* Video responsive */
    .video-section {
        padding: 50px 10px;
    }
    
    .video-container {
        max-width: 95%; /* Mismo porcentaje que la imagen */
        width: 95%;
    }
}

/* Hover effect preparado para animaciones futuras */
.main-image:hover {
    transform: scale(1.02);
}

/* === SECCIÓN DE VIDEO === */
.video-section {
    background-color: #000000;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.video-container {
    width: 100%;
    max-width: 1080px; /* Mismo ancho máximo que la imagen del cartel */
    display: flex;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1080px;
    aspect-ratio: 16/9; /* Proporción estándar de YouTube */
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */
.footer {
    background-color: #000000;
    padding: 25px 20px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Reducido de 30px a 20px */
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px; /* Reducido de 14px a 13px */
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-link:hover {
    color: #673925;
    text-decoration: underline;
}

.footer-separator {
    color: #666;
    font-size: 13px; /* Reducido para coincidir */
    margin: 0 8px; /* Reducido de 10px a 8px */
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 12px; /* Reducido de 15px a 12px */
    flex-wrap: wrap;
}

.contact-label {
    color: #ffffff;
    font-size: 13px; /* Reducido de 14px a 13px */
    font-weight: 400;
    white-space: nowrap;
}

/* Estilos específicos para OneTrust */
.ot-sdk-show-settings {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
}

.ot-sdk-show-settings:hover {
    color: #673925 !important;
    text-decoration: underline !important;
}

/* Botón comprar entradas */
.buy-tickets-btn {
    background-color: #673925;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(103, 57, 37, 0.4);
}

/* Clase para mostrar el botón */
.buy-tickets-btn.show {
    opacity: 1;
    visibility: visible;
}

/* Efecto hover del botón */
.buy-tickets-btn:hover {
    background-color: #543020;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(103, 57, 37, 0.6);
}