/* ============================================
   PÁGINA EN CONSTRUCCIÓN - SQUID LEAGUE
   Archivo CSS
   ============================================ */

/* ============================================
   FORZAR ANCHO COMPLETO (QUITAR MÁRGENES)
   ============================================ */

/* Remover márgenes del tema Astra para la página en construcción */
body.page-template-construccion .site-content,
body.page-template-construccion .ast-container,
body.page-template-construccion .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hacer que el main ocupe todo el ancho */
body.page-template-construccion #primary,
body.page-template-construccion .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remover padding del content */
body.page-template-construccion .ast-separate-container .ast-article-single,
body.page-template-construccion .ast-separate-container .ast-article-post {
    padding: 0 !important;
}

/* Remover contenedor */
body.page-template-construccion .ast-container {
    padding: 0 !important;
}

/* Asegurar que squid-construccion ocupe todo */
.squid-construccion {
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #000;
}

/* ============================================
   FIN DE AJUSTES DE ANCHO COMPLETO
   ============================================ */

/* ============================================
   CONTENEDOR PRINCIPAL EN CONSTRUCCIÓN
   ============================================ */

.construccion-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    background: #000;
    overflow: hidden;
}

/* ============================================
   IMAGEN DE FONDO DE EXTREMO A EXTREMO
   ============================================ */

.construccion-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.construccion-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Capa oscura sobre la imagen (40-50% opacidad) */
.construccion-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* ============================================
   CONTENIDO SOBRE EL FONDO
   ============================================ */

.construccion-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* ============================================
   TÍTULO EN CONSTRUCCIÓN (PARTE SUPERIOR)
   ============================================ */

.construccion-title {
    font-size: 3rem;
    font-weight: bold;
    color: #249f9c;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 20px rgba(36, 159, 156, 0.6),
        0 0 40px rgba(36, 159, 156, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
   BOTÓN DE VUELTA
   ============================================ */

.construccion-link {
    display: inline-block;
    background: #249f9c;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(36, 159, 156, 0.4),
        0 0 30px rgba(36, 159, 156, 0.3);
}

.construccion-link:hover {
    background: #1c7d7a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(36, 159, 156, 0.6),
        0 0 40px rgba(36, 159, 156, 0.5);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
    .construccion-container {
        padding-top: 60px;
    }

    .construccion-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .construccion-link {
        font-size: 1.1rem;
        padding: 12px 35px;
    }

    .construccion-content {
        padding: 30px;
        gap: 35px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */

@media (max-width: 480px) {
    .construccion-container {
        padding-top: 40px;
    }

    .construccion-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .construccion-link {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .construccion-content {
        padding: 20px;
        gap: 30px;
    }
}