/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
}

header {
    position: sticky; /* Hace que el header baje con el contenido */
    top: 0; /* Se pega al borde superior */
    width: 100%;
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    box-shadow: 0 2px 4px #0dd1f2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    background-color: #000; /* Fondo blanco con opacidad */
    backdrop-filter: blur(5px); /* Opcional: desenfoque para un efecto moderno */
    box-shadow: 0 2px 4px #00000042; /* Sombra ligera */
    transition: background-color 0.3s ease; /* Transición suave */
}


.logo .logooficial {
    width: 40px;
    height: auto;
    margin-top: 0px;
    margin-right: 50px;
    padding: 0;
}

.palabrajogo{
    align-items: center;
    margin: 0px 50px;
    width: 200px;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
    
}

.nav-list li {
    margin: 0 1.5rem;
    margin-top: 5px;
}

.nav-list a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #feb712; /* Subrayado */
    transition: width 0.3s ease-in-out;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Contáctame */
.contacto a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #feb712;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contacto a:hover {
    background-color: #feb712;
    color: #fff;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.menu-toggle .bar {
    background-color: #feb712;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
}

/* Efecto hamburguesa a X */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-toggle:hover .bar {
    background-color: #feb712;
}

/* Responsivo */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .palabrajogo{
        align-items: center;
        margin: auto;
        width: 200px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #000;
        width: 100%;
        box-shadow: 0 3px 3px #0dd0f26f;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 1rem 0;
        text-align: center;
    }

    .contacto {
        display: none; /* Ocultar Contáctame en pantallas pequeñas */
    }
}





/* INICIO---------------------------------------------------------------------------------------------- */
/* Banner styles */
.banner {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000000, #043841);
}

.banner-content {
    z-index: 2;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content h1 span {
    color: #ff8c00;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner-button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background: #ff8c00;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner-button:hover {
    background: #ffa733;
}

/* Animated background */
.banner-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/fondo-.webp') repeat center center/cover;
    opacity: 0.05;
    animation: slideBackground 20s infinite linear;
}

@keyframes slideBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100px -100px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .banner-button {
        font-size: 0.9rem;
    }
}



/*SLIDER----------------------------------------------------------------------------------------*/
.slider-section {
    width: 100%;
    overflow: hidden;
    position: relative;

}

.slider-container {
    max-width: 70%;
    margin: 0 auto;
    position: relative;
}

.slider {
    position: relative;
    height: 120px;
    width: 100%;
    overflow: hidden; 
    background-color: #02191d; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    display: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    display: block;
}

.slide__image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiado de 'cover' a 'contain' */
    background-color: #ff8c006c; /* Fondo para las áreas no cubiertas por la imagen */
    transition: transform 1s ease-in-out;
}

.slide__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}   

.slide__title {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
    margin-left: 40px;
    font-weight: 600;
}

.slide__description {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-left: 40px;
}

.slider__dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.slider__dot {
    width: 5px;
    height: 5px;
    border-radius: 30%;
    background-color: #043841;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider__dot.active {
    background-color: #feb712;
    transform: scale(1.2);
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    border: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.slider__arrow:hover {
    background: #feb712;
}

.slider__arrow--prev {
    left: 20px;
}

.slider__arrow--next {
    right: 20px;
}

.slider__arrow-icon {
    color: white;
    font-size: 1rem;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .slider {
        height: 180px;
    }

    .slide__title {
        font-size: 0.8rem;
        margin-left: 5px;
    }

    .slide__description {
        font-size: 0.5rem;
        margin-left: 5px;
    }

    .slider__arrow {
        width: 40px;
        height: 40px;
    }
}



/* About us ----------------------------------------------------------------------------------------*/
.about-us_section {
    padding: 4rem 1rem;
    background-color: #000000;
}

.about-us_container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-us_content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-us_title {
    color: #ffa733;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-us_text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-us_paragraph {
    color: #ffffff;
    line-height: 1.6;
    font-size: 1.125rem;
}


@media (max-width: 768px) {    

    .about-us_title {
        font-size: 2rem;
    }
    
    .about-us_paragraph {
        font-size: 1rem;
    }
}



/*Misión Vision----------------------------------------------------------------------------------*/
.mvv-section {
    background-color: #000;
    padding-bottom: 60px;
}

.mvv-section__container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mvv-section__card {
    border: 2px solid #0dd1f2;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv-section__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px #0dd1f2;
}

.mvv-section__title {
    color: #0dd1f2;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mvv-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0dd1f2;
}

.mvv-section__content {
    padding-top: 0.5rem;

}

.mvv-section__text {
    color: #fff;
    line-height: 1.6;
    font-size: 1.125rem;
}

  /* Responsive Design */
@media (min-width: 768px) {
    .mvv-section__container {
        gap: 1.5rem;
    }
    
    .mvv-section__card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mvv-section__title {
        font-size: 1.75rem;
    }
    
    .mvv-section__text {
        font-size: 1rem;
    }
    
    .mvv-section__card {
        padding: 1.5rem;
        margin: 0px 10px;
    }
}



/* Contenedor principal ------------------------------------------------------------------------*/
.slider_consolas_wrapper {
    width: 100%;
    position: relative;
}

.slider_consolas_title {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.slider_masinfo{
    position: relative;
    display: flex;
}

.parrafo_sliderconsolas{
    color: #ffffff;
    margin-bottom: 10px;
}

.slider_masinfo button{
    margin-bottom: 10px;
    margin-top: -2px;
    margin-left: 10px;
    padding: 4px 10px;
    background-color: #ffa733;
    border-radius: 10px;
    border: #ffa733;
    color: #02191d;
}

.slider_masinfo button:hover{
    background-color: #ff9900;
    scale: 1.03;
    transition: 0.5s;
}

.slider_consolas {
    padding: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider_consolas_container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
}

.slider_consolas_item {
    min-width: 20%; /* 5 imágenes visibles */
    box-sizing: border-box;
    padding: 10px;
    position: relative;
    display: flex; /* Para usar Flexbox */
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
}

.slider_consolas_item:hover{
    scale: 1.1;
    transition: 1s;
}

.img_item_slide{
    width: 100%; /* Ajusta el ancho al 80% del contenedor */
    height: auto; /* Mantén la proporción de la imagen */
    object-fit: contain; /* Escala la imagen sin deformarla */
    margin: auto;
}

.slider_consolas_item img {
    width: 100%;
    border-radius: 10px;
}

.slider_consolas_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background: radial-gradient(
        circle at top left,
        #000000 50%,
        #0dd0f263 100%
    );
    color: #097083;
    font-size: 16px;
    text-align: left;
    border-radius: 0 0 10px 10px;
    opacity: 90%;
}
.slider_consolas_controls {
    position: absolute;
    top: 50%;
    width: 94%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%)
}

.slider_consolas_button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.slider_consolas_button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .slider_consolas_item {
      min-width: 33.33%; /* 3 imágenes visibles */
    }

    .slider_consolas_title {
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider_consolas_item {
        min-width: 33.33%; /* 3 imágenes visibles */
    }

    .slider_consolas_title {
        font-size: 20px;
    }

    .slider_consolas_controls {
        width: 90%;
    }

    .slider_consolas_overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px;
        background: radial-gradient(
            circle at top left,
            #000000 50%,
            #0dd0f263 100%
        );
        color: #097083;
        font-size: 13px;
        text-align: left;
        border-radius: 0 0 10px 10px;
    }   

}

@media (max-width: 480px) {
    .slider_consolas_item {
        min-width: 200px; /* 2 imágenes visibles */
    }

    .slider_consolas_title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .slider_consolas_controls {
        width: 80%;
    }

    .slider_consolas_overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px;
        background: radial-gradient(
            circle at top left,
            #000000 50%,
            #0dd0f263 100%
        );
        color: #097083;
        font-size: 13px;
        text-align: left;
        border-radius: 0 0 10px 10px;
    }   
}


/*blog------------------------------------------------------------------------------------------------*/
.blog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.blog-section h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffa733;
}

.blog-section p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-item:hover {  
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-item h3 {
    font-size: 1.5rem;
    margin: 15px;
    color: #182c3f;
}

.blog-item a {
    text-decoration: none;
    color: inherit;
}

.blog-item a:hover h3 {
    color: #ffa733;
}

/* Footer-----------------------------------------------------------------------------------------------*/
footer {
    background-color: #ffa733a9;
    color: #ecf0f1;
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
    
footer .footer-container .social-icons {
    display: flex;
    gap: 15px;
}
    
footer .footer-container .social-icons a {
    color: #ecf0f1;
    font-size: 1.5rem;
    transition: color 0.3s;
}
    
footer .footer-container .social-icons a:hover {
    color: #e74c3c;
}
    
footer p {
    margin: 10px 0;
    font-size: 0.9rem;
}
    
footer a {
    color: #ecf0f1;
    text-decoration: none;
}
    
footer a:hover {
    color: #e74c3c;
}
