/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Contenedor principal para alinear contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* BLOQUE 1: Banda superior (Top Bar) */
/* ============================================ */
.top-bar {
    background-color: #89092d;
    height: 55px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.top-bar .container {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Separa título a izquierda e iconos a derecha */
    align-items: center;
}

/* Título alineado a la izquierda */
.top-bar-title {
    flex: 1;
}

.title-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* Contenedor de iconos sociales */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Estilos para los enlaces de iconos */
.social-link {
    color: #ffffff;
    font-size: 22px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Efecto hover para los iconos */
.social-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .top-bar {
        height: 50px;
    }
    
    .title-text {
        font-size: 16px;
    }
    
    .social-link {
        font-size: 20px;
    }
    
    .social-icons {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        height: 45px;
    }
    
    .title-text {
        font-size: 14px;
    }
    
    .social-link {
        font-size: 18px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* ============================================ */
/* BLOQUE 2: Hero section con imagen de fondo responsive */
/* ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Imagen de fondo por defecto (desktop) */
.hero {
    background-image: url('../images/fondo-desktop.jpg');
}

/* Overlay para mejorar legibilidad del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Contenido del hero - ALINEACIÓN A IZQUIERDA EN DESKTOP */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start; /* Izquierda en desktop */
    align-items: center;
    min-height: calc(100vh - 55px);
    width: 100%;
    padding-left: 8%; /* Margen izquierdo opcional, ajusta según necesites */
}

/* ============================================ */
/* CARD FLOTANTE CON SOMBRA */
/* ============================================ */
.floating-card {
    max-width: 550px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(2px);
	margin-left: 200px;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título (encima de la foto) */
.card-title {
    font-size: 32px;
    font-weight: 700;
    color: #89092d;
    margin-bottom: 25px;
    line-height: 1.2;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Contenedor de la imagen */
.card-image {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.card-image img {
    width: 100%;
    max-width: 496px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-image img:hover {
    transform: scale(1.02);
}

/* Subtítulo (debajo de la foto) */
.card-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
    font-weight: 400;
}

/* Contenedor de botones */
.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Estilos comunes para botones */
.btn {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 14px 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Botón principal */
.btn-primary {
    background-color: #89092d;
    color: #ffffff;
    border: 2px solid #89092d;
}

.btn-primary:hover {
    background-color: transparent;
    color: #89092d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Botón secundario */
.btn-secondary {
    background-color: transparent;
    color: #89092d;
    border: 2px solid #89092d;
}

.btn-secondary:hover {
    background-color: #89092d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================ */
/* MEDIA QUERIES PARA IMÁGENES Y ALINEACIÓN RESPONSIVE */
/* ============================================ */

/* Tablet: imagen específica para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        background-image: url('../images/fondo-tablet.jpg');
        background-attachment: scroll;
    }
    
    .floating-card {
        max-width: 500px;
        padding: 35px 30px;
    }
    
    .card-title {
        font-size: 28px;
    }
    
    .card-subtitle {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 22px;
        font-size: 15px;
    }
}

/* Móvil: imagen específica para móvil Y CENTRADO */
@media (max-width: 768px) {
    .hero {
        background-image: url('../images/fondo-movil.jpg');
        background-attachment: scroll;
        background-position: center top;
    }
    
    /* CENTRAR CONTENIDO EN MÓVIL Y TABLET */
    .hero-content {
        justify-content: center; /* Centrado en móvil */
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .floating-card {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Responsive para tablet pequeña (768px) - CENTRADO */
@media (max-width: 768px) {
    /* Bloque 1 */
    .top-bar {
        height: 50px;
    }
    
    .social-link {
        font-size: 20px;
    }
    
    .social-icons {
        gap: 18px;
    }
    
    /* Bloque 2 - CENTRADO */
    .hero-content {
        min-height: calc(100vh - 50px);
        padding: 40px 20px;
        justify-content: center; /* Centrado */
    }
    
    .floating-card {
        padding: 30px 25px;
    }
    
    .card-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .card-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
        max-width: 260px;
    }
}

/* Responsive para móvil pequeño - CENTRADO */
@media (max-width: 480px) {
    /* Bloque 1 */
    .top-bar {
        height: 45px;
    }
    
    .social-link {
        font-size: 18px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Bloque 2 - CENTRADO */
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        min-height: calc(100vh - 45px);
        padding: 30px 15px;
        justify-content: center; /* Centrado */
    }
    
    .floating-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .card-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .card-subtitle {
        font-size: 14px;
        margin-bottom: 22px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
        max-width: 240px;
    }
    
    .card-buttons {
        gap: 12px;
    }
}

/* Para tablet en landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .floating-card {
        max-width: 480px;
        padding: 30px 25px;
    }
    
    .hero-content {
        min-height: auto;
        padding: 60px 20px;
    }
}

/* ============================================ */
/* BLOQUE 3 y BLOQUE 5: Bandas de color */
/* ============================================ */
/*.bottom-bar {
    background-color: #89092d;
    height: 55px;
    width: 100%;
    position: relative;
}

/* Responsive para móvil */
/*@media (max-width: 768px) {
    .bottom-bar {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .bottom-bar {
        height: 45px;
    }
}*/

/* ============================================ */
/* BLOQUE 4: Video de YouTube */
/* ============================================ */
.video-section {
    width: 100%;
    padding: 80px 0;
    background-color: #0e3031;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Responsive para móvil */
@media (max-width: 768px) {
    .video-section {
        padding: 50px 0;
    }
    
    .video-wrapper {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-wrapper {
        border-radius: 6px;
    }
}

/* ============================================ */
/* BLOQUE 6: Footer */
/* ============================================ */
.footer {
    background-color: #000000;
    width: 100%;
    padding: 35px 0;
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-text {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 5px;
}

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

/* Estilo específico para Ajustes de Cookies */
.ot-sdk-show-settings {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    margin: 0 5px;
}

.ot-sdk-show-settings:hover {
    color: #89092d;
    text-decoration: underline;
}

/* Responsive para tablet */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-text {
        font-size: 12px;
        line-height: 1.8;
        display: flex;
        flex-direction: column; /* Enlaces uno debajo de otro */
        gap: 12px;
        align-items: center;
        justify-content: center;
    }
    
    .footer-link,
    .ot-sdk-show-settings {
        font-size: 12px;
        margin: 0;
    }
    
    /* Ocultar los separadores "|" en móvil */
    .footer-text .separator {
        display: none;
    }
}

/* Responsive para móvil */
@media (max-width: 480px) {
    .footer {
        padding: 18px 0;
    }
    
    .footer-text {
        font-size: 12px;
        gap: 10px;
    }
    
    .footer-link,
    .ot-sdk-show-settings {
        font-size: 12px;
    }
}

/* Para móvil muy pequeño */
@media (max-width: 380px) {
    .footer-text {
        gap: 8px;
    }
    
    .footer-link,
    .ot-sdk-show-settings {
        font-size: 11px;
    }
}

/* Estilos para los separadores */
.footer-text .separator {
    color: #ffffff;
    margin: 0 5px;
}

/* En móvil ocultamos los separadores */
@media (max-width: 768px) {
    .footer-text .separator {
        display: none;
    }
}