/* ==========================================================================
   EXPLICACIÓN: CONFIGURACIÓN GLOBAL (BASE.CSS)
   Este archivo establece los cimientos visuales de toda la web.
   - Define el fondo de logos, tipografía y colores base.
   - Aplica una capa blanca translúcida sobre el patrón de fondo en toda la pantalla.
   - Mantiene el contenido principal centrado y limitado a su ancho máximo.
   - Aplica el margen superior global para que el contenido no quede 
     oculto tras el menú fijo (navbar).
   ========================================================================== */

:root {
    /* Radios globales para tarjetas y medios interiores. */
    --tu-card-radius: 22px;
    --tu-media-radius: 18px;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif !important;
    color: #1a1a1a;

    /* Patrón original suavizado al 65 %, sin capa blanca superpuesta.
       La imagen original del diseñador se conserva intacta. */
    background-image: url('../Imagenes/backgrounftuxuniverseweb.png') !important;
    background-repeat: repeat !important;
    background-size: 400px;
    background-position: top left;
    background-attachment: fixed;
    background-color: #f2f3f7 !important;
}

/* Espaciado global para evitar que el menú pise el contenido */
main {
    padding-top: 100px; /* Ajusta este valor según la altura de tu menú */
    display: block;
    width: 100%;
    
    /* El contenido conserva su ancho; la capa translúcida ahora pertenece
       al fondo global del body y no a este contenedor. */
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
}

.contenedor-centrado {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Títulos y Párrafos dentro de contenedores */
.contenido-tab h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Títulos y Párrafos dentro de contenedores */
.contenido-tab h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}


.contenido-tab p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* ==========================================================================
   COMPONENTE: TARJETAS TUXUNIVERSE (tux-card)
   ========================================================================== */
.tux-card {
    /* Estilo exterior único: trasladado del componente Vertical Container. */
    box-sizing: border-box;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(90, 90, 90, 0.20);
    border-radius: var(--tu-card-radius);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.65),
        0 2px 5px rgba(0, 0, 0, 0.10),
        0 0 2px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Radios coherentes para imágenes y vídeos contenidos en tarjetas. */
.tux-card > img,
.tux-card > video,
.tux-card .vt-card-image {
    border-radius: var(--tu-media-radius);
}

@media (max-width: 768px) {
    :root {
        --tu-card-radius: 18px;
        --tu-media-radius: 14px;
    }
}




/* ==========================================================================
   TUXUNIVERSE — SISTEMA DE BANNERS
   Componente experimental. Primera prueba: Hardware.
   No elimina ni modifica los antiguos .highlight-section.
   ========================================================================== */

/* --------------------------------------------------------------------------
   ESTRUCTURA GENERAL
   -------------------------------------------------------------------------- */

.tu-banner {
    --banner-color-start: #073b0e;
    --banner-color-end: #00e653;

    width: 100vw;
    max-width: none;

    /* Altura fija para que la imagen no la modifique */
    height: 440px;
    min-height: 440px;

    position: relative;

    /* Se conserva el posicionamiento que ya funcionaba */
    margin-top: -40px !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    margin-bottom: 0;

    left: auto;
    transform: none;

    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    padding: 0;

    overflow: hidden;
    isolation: isolate;

    background-color: var(--banner-color-start);

    background-image: linear-gradient(
        90deg,
        var(--banner-color-start) 0%,
        var(--banner-color-end) 100%
    );
}


/*
   En pantallas superiores a 1600px:
   el degradado ocupa únicamente los 1600px centrales.
   Los colores extremos continúan hasta los bordes.
*/

@media (min-width: 1601px) {
    .tu-banner {
        background-image: linear-gradient(
            90deg,
            var(--banner-color-start) 0,
            var(--banner-color-start) calc(50% - 800px),
            var(--banner-color-end) calc(50% + 800px),
            var(--banner-color-end) 100%
        );
    }
}


/* --------------------------------------------------------------------------
   ÁREA VISUAL CENTRAL
   Se conserva el ancho original de 1280px.
   -------------------------------------------------------------------------- */

.tu-banner__inner {
    width: 100%;
    max-width: 1280px;

    height: 100%;
    min-height: 0;

    margin: 0 auto;
    padding: 40px 60px;

    box-sizing: border-box;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    z-index: 1;
}


/* --------------------------------------------------------------------------
   DECORACIÓN ABSTRACTA
   Se conserva el efecto de líneas y su desvanecimiento.
   -------------------------------------------------------------------------- */

.tu-banner::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;
    max-width: 1600px;
    height: 100%;

    z-index: 0;
    pointer-events: none;

    background-image: repeating-linear-gradient(
        112deg,
        transparent 0 46px,
        rgba(255, 255, 255, 0.055) 47px 48px,
        transparent 49px 94px
    );

    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 8%,
        rgba(0, 0, 0, 0.65) 22%,
        #000000 40%,
        #000000 60%,
        rgba(0, 0, 0, 0.65) 78%,
        rgba(0, 0, 0, 0.15) 92%,
        transparent 100%
    );

    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.15) 8%,
        rgba(0, 0, 0, 0.65) 22%,
        #000000 40%,
        #000000 60%,
        rgba(0, 0, 0, 0.65) 78%,
        rgba(0, 0, 0, 0.15) 92%,
        transparent 100%
    );
}


/* --------------------------------------------------------------------------
   CAJA DE CRISTAL
   Recupera el estándar original de las secciones:
   - Ancho: 480px
   - Padding: 30px
   - Radio: 15px
   - Separación: 15px
   - Sombra original: 0 8px 32px rgba(0, 0, 0, 0.37)
   -------------------------------------------------------------------------- */

.tu-banner__content {
    width: 480px;
    max-width: 480px;
    min-width: 0;

    padding: 30px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    color: #ffffff;
    text-align: left;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 15px;

    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}


/* Título */

.tu-banner__title {
    margin: 0 0 12px;

    color: #ffffff;
    font-family: 'Audiowide', cursive;

    font-size: 1.8rem;
    line-height: 1.2;

    text-transform: uppercase;
}


/* Descripción */

.tu-banner__description {
    margin: 0 0 25px;

    color: #e0e0e0;
    font-family: 'Open Sans', sans-serif;

    font-size: 1rem;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   IMAGEN PNG / WEBP TRANSPARENTE
   Se conserva la configuración de la imagen y su sombra.
   -------------------------------------------------------------------------- */

.tu-banner__image {
    display: block;

    width: min(48%, 650px);
    max-width: 100%;

    height: auto;
    max-height: 360px;

    object-fit: contain;
    object-position: center;

    position: relative;
    z-index: 2;

    filter:
        drop-shadow(0 8px 12px rgba(0, 0, 0, 0.30))
        drop-shadow(0 20px 25px rgba(0, 0, 0, 0.28))
        drop-shadow(0 35px 35px rgba(0, 0, 0, 0.16));
}


/* --------------------------------------------------------------------------
   BOTÓN
   Recupera el ancho original de 180px.
   Mantiene el diseño y la altura definidos en botonestux.css.
   -------------------------------------------------------------------------- */

.tu-banner__content .btn-tux-base {
    width: 180px;
    min-width: 180px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
}


/* --------------------------------------------------------------------------
   IDENTIDAD CROMÁTICA DE LAS SECCIONES
   -------------------------------------------------------------------------- */

/* Hardware: verde */

.tu-banner--hardware {
    --banner-color-start: #073b0e;
    --banner-color-end: #00e653;
}

/* Software: azul a cian */

.tu-banner--software {
    --banner-color-start: #202b4b;
    --banner-color-end: #13b9d4;
}

/* Gaming: rojo */

.tu-banner--gaming {
    --banner-color-start: #750000;
    --banner-color-end: #ff1010;
}

/* Métricas: morado */

.tu-banner--metricas {
    --banner-color-start: #570A94;
    --banner-color-end: #9D09F8;
}

/* Servicios: naranja */

.tu-banner--servicios {
    --banner-color-start: #E65100;
    --banner-color-end: #FEB74D;
}

/* --------------------------------------------------------------------------
   TABLET
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .tu-banner {
        height: 380px;
        min-height: 380px;
    }

    .tu-banner__inner {
        height: 100%;
        padding: 32px;
        gap: 24px;
    }

    .tu-banner__content {
        width: 480px;
        max-width: 480px;
        padding: 30px;
    }

    .tu-banner__image {
        width: 42%;
        max-height: 300px;
    }
}


/* --------------------------------------------------------------------------
   MÓVIL
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {
    .tu-banner {
        height: auto;
        min-height: 0;
    }

    .tu-banner__inner {
        height: auto;
        min-height: 0;

        padding: 36px 20px;

        flex-direction: column;
        justify-content: center;
        gap: 26px;
    }

    .tu-banner__content {
        width: 100%;
        max-width: 480px;

        padding: 24px;
        gap: 12px;
    }

    .tu-banner__title {
        font-size: 1.55rem;
    }

    .tu-banner__description {
        font-size: 0.95rem;
    }

    .tu-banner__content .btn-tux-base {
        width: 180px;
        min-width: 180px;
    }

    .tu-banner__image {
        width: min(85%, 420px);
        max-width: 100%;
        max-height: 260px;
    }
}


/* --------------------------------------------------------------------------
   MÓVILES PEQUEÑOS
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
    .tu-banner__inner {
        padding: 26px 14px;
    }

    .tu-banner__content {
        padding: 20px;
    }
}


/* --------------------------------------------------------------------------
   ACCESIBILIDAD
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .tu-banner,
    .tu-banner * {
        scroll-behavior: auto;
        animation: none !important;
        transition: none !important;
    }
}