/* --- RESET BÁSICO --- */
* {
    box-sizing: border-box; /* Vital para que el padding no rompa el diseño */
}

body {
    background-color: antiquewhite;
    font-family: 'Arsenal', Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Evita scroll horizontal indeseado */
}

/* --- LOGO --- */
.logo-container {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.logo-container img {
    width: 180px; /* Tamaño controlado */
    height: auto;
}

/* --- MENÚ FLOTANTE (Arriba Derecha) --- */
.menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.menu-toggle {
    padding: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.5); /* Fondo semitransparente para que resalte */
    border-radius: 5px;
    cursor: pointer;
}

.menu-content {
    display: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 5px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.active + .menu-content {
    display: block;
}

.menu-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.menu-content a:hover {
    background-color: #e0e0e0;
}

/* --- CONTENIDO CENTRAL (Texto + Botones) --- */
.contenido-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 120px; /* Espacio extra abajo para no chocar con Facebook */
}

/* --- CARRUSEL DE TEXTO --- */
.carousel {
    text-align: center;
    width: 90%; /* Ocupa el 90% de la pantalla, no pixeles fijos */
    max-width: 800px;
    margin: 0 auto 40px auto; /* Centrado y con espacio abajo */
    font-size: 22px;
    line-height: 1.5;
}

/* --- CONTENEDOR (Para centrar los botones) --- */
.botones-container {
    display: flex !important;
    flex-direction: row !important;      /* Fila en PC */
    justify-content: center !important;  /* Centrados horizontalmente */
    align-items: center !important;
    gap: 30px !important;                /* Espacio entre ellos */
    width: 100%;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* --- ESTILO DEL BOTÓN (Aquí está la magia) --- */
.boton-azul {
    /* 1. ESTO LOS CONVIERTE EN CAJAS, NO EN LINEAS DE TEXTO */
    display: inline-flex !important;
    justify-content: center;
    align-items: center;

    /* 2. ESTO QUITA EL SUBRAYADO MOLESTO */
    text-decoration: none !important;
    
    /* 3. COLORES OBLIGATORIOS */
    background-color: #007bff !important; /* Fondo Azul */
    color: white !important;              /* Letra Blanca */
    
    /* 4. TAMAÑO Y FORMA */
    padding: 15px 25px !important;        /* Relleno (Gordura) */
    border-radius: 8px !important;        /* Bordes redondos */
    border: none !important;              /* Sin bordes feos */
    font-family: 'Arsenal', sans-serif;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    min-width: 200px;                     /* Para que todos midan similar */
    text-align: center;
}

/* Efecto al pasar el mouse */
.boton-azul:hover {
    background-color: #0056b3 !important;
    transform: translateY(-3px);
}

/* --- VISTA MÓVIL (Celulares) --- */
@media (max-width: 768px) {
    .logo-container img {
        width: 140px; /* Logo más pequeño en cel */
    }

    .carousel {
        font-size: 18px; /* Texto más legible */
        width: 95%;
    }

    .botones-container {
        flex-direction: column; /* Botones uno debajo del otro */
        align-items: center;
        gap: 15px;
    }

    .enlace-boton {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .boton-azul {
        width: 85%; /* Botones anchos pero con margen */
        white-space: normal; /* Permite texto en dos líneas si es muy largo */
        text-align: center;
    }
}

/* --- FACEBOOK FLOTANTE (Abajo Derecha) --- */
.wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 2000;
}

.wrapper .icon {
    position: relative;
    background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #fff;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
}

.wrapper .facebook:hover {
    background: #1877f2;
    color: #fff;
}

#miDialogo{
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 20px;
}


#botonCerrar{
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#botonCerrar:hover{
    background-color: #0056b3;
    transform: translateY(-3px);
}

#derechos{
    opacity: 50%;
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
}

.btn{
    transition: 0.5s ease;
    cursor: pointer;
}

.botones-container:hover > :not(:hover){
    opacity: 0.3;
}

.btn:hover{
    transform: scale(1);
}