@import url(index.css);

/* Responsive */
@media (max-width: 1200px) {
    .blog-social-content {
        flex-direction: column;
    }
}

@media (min-width: 1200px) {
    .slide {
        width: calc(25% - 20px);
        /* 4 imágenes visibles */
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .slide {
        width: calc(33.333% - 20px);
        /* 3 imágenes visibles */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slide {
        width: calc(50% - 20px);
        /* 2 imágenes visibles */
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0 40px 0;
    }

    .hero-content {
        gap: 25px;
        padding: 30px 15px;
    }

    .hero-content img {
        max-height: 150px;
    }

    .hero p {
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-btns {
        gap: 15px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image {
        transform: translateY(-30px);
    }

    .about-image.reveal {
        transform: translateY(0);
    }

    .about-text {
        transform: translateY(30px);
    }

    .about-text.reveal {
        transform: translateY(0);
    }

    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-footer{
        display: none;
    }
    header{
        top: 0;
        padding: 0;
    }
    .container_navbar{
        width: 100% !important;
        display: flex;
        position: relative;
        margin: 0;
        margin-bottom: 20px;
    }
    .mobile-menu{
        position: absolute;
        right: 0;
        top: 0;
        padding-right: 5px;
    }
    .navbar {
        margin: 0;
        padding:0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .conten_logo {
        width: 100%;
        padding-top: 10px !important;
    }

    .conten_logo h3 {
        display: block;
    }
    .contenedor-hero-text > .btn{
        width: 60%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        background: #1A3A5F;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .navbar {
        flex-direction: row;

    }

    .nav-links.active {
        right: 0;
    }
    
    /* Overlay para el menú móvil */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-links>li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links>li a {
        color: #eaeaea;
    }

    .nav-links .submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: transparent;
        box-shadow: none;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-links .submenu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 200px;
    }

    .nav-links .submenu li {
        margin-left: 20px;
    }

    .nav-links .submenu a {
        color: rgba(255, 255, 255, 0.8);
        padding: 8px 0;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-links .submenu a:hover {
        color: var(--yellow1);
        transform: translateX(5px);
    }

    .mobile-menu {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu i {
        transition: all 0.3s ease;
    }
    
    .mobile-menu i.fa-times {
        transform: rotate(180deg);
    }
    
    /* Animación para el ícono del menú */
    .mobile-menu i.fa-bars {
        transform: rotate(0deg);
    }
    
    .mobile-menu i {
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hero-content {
        width: 90%;
        padding: 0;
        max-height: 380px;
    }

    .hero-about {
        padding: 20px;
        width: 100%;
    }

    .conten_logo {
        justify-content: center;
    }

    .hero-content img {
        max-height: 520px;
        top: 0;

    }

    .hero p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 0;
        display: block;
    }

    .logo-img {
        width: 120px;
        height: 120px;
    }

    .conten_logo {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }
    .servicios_marcial{
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .servicios_contenedor2 p{
        font-size: 18px;
        text-align: left;
    }
    .servicios_marcial>img{
        width: 100%;
    }
    .spec_container button{
        width: 60%;
    }
    .spec-img img{
        width: 100%;
        height: 300px;
        object-fit: contain;
    }
    .service-card{
        flex-direction: column;
        justify-content: center;
    }
    .service-img {
        display: flex;
        justify-content: center;
        margin: auto;
        width: 100%;
        margin-bottom: 10px;
        
    }
    .service-img img {
        width: auto;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
    }
    .service-img:nth-child(1){
        order: 1;
    }
    .service-content{
        width: 100%;
    }
    .service-content button {
        width: 100%;
        margin-top: 40px;
    }
    .service-content p {
        color: #555;
        line-height: 1.6;
        text-align: justify;
    }
    .contenedor_prolider {
        flex-direction: column;
        overflow: hidden;
        width: 100%;
        padding: 40px 0;
    
    }
    .contendor_img_prolider{
        width: 100%;
    }
    .contendor_info_prolider{
        text-align: justify;
        width: 100%;
    }
    .contendor_info_prolider a {
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .slide {
        width: calc(100% - 20px);
        /* 1 imagen visible */
    }

    .gallery-title h1 {
        font-size: 2rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .container-grid {
        background-repeat: no-repeat;
    }

    .contact {
        background: linear-gradient(to top, #1A3A5F, #1a3a5f95, #dbdbdb, #eaeaea);
    }
}

@media (max-width: 480px) {
    .top-footer{
        display: none;
    }
    header{
        top: 0;
        padding: 0;
    }
    .container_navbar{
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin: 0;
        margin-bottom: 20px;
    }
    .mobile-menu{
        position: absolute;
        right: 0;
        top: 0;
        padding-right: 5px;
    }
    .navbar {
        margin: 0;
        padding:0;
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .conten_logo {
        width: 100%;
        padding-top: 10px !important;
        flex-direction: column !important;
    }

    .conten_logo h3 {
        display: block;
    }
    .hero{
        height: 370px;
        margin: 0;
        margin-bottom: 20px;
        padding: 0;
    }
    .hero-content {
        width: 100%;
        height: 520px;
        padding: 0;
        margin: 0;
    }

    .hero-about {}


    .hero-content img {
        max-height: 520px;
        top: 0;
        opacity: 0.5;
        filter: blur(1.5px);
    }
    .contenedor-hero-text{
        width: 100%;
        padding: 0;
        justify-content:flex-start;
    }
    .contenedor-hero-text > .btn{
        width: 100%;
    }

    .hero p {
        text-align: justify;
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
    .filosofia_contendor {
        width: 100%;
    }
    .filosofia_contendor h3{
        font-size: 18px;
    }
    .filosofia_contendor p{
        font-size: 13px;
        text-align: center;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-btns {
        gap: 12px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .positions{
        padding-left: 0;
    }
    .social-links-large {
        grid-template-columns: 1fr;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .conten_logo {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }

    .social-links-large {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

        .fa-facebook-f {
            color: #3b5998;
        }

        .fa-youtube {
            color: #bb0000;
        }

        .fa-linkedin-in {
            color: #0B66C3;
        }

        .fa-twitter {
            color: #1DA1F2;
        }

        .fa-instagram {
            color: #D43089;
        }

        .fa-tiktok {
            color: #000;
        }
    }
    .servicios_marcial{
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .servicios_contenedor2 p{
        font-size: 18px;
        text-align: left;
    }
    .servicios_marcial>img{
        width: 100%;
    }
   
    .spec-card{
        flex-direction: column;
    }
    .spec_container{
        width: 100%;
    }
    .spec_container button{
        width: 100%;
    }
    .spec-img{
        width: 100%;
    }
    .service-card{
        flex-direction: column;
        justify-content: center;
    }
    .service-img {
        display: flex;
        justify-content: center;
        margin: auto;
        width: 100%;
        margin-bottom: 10px;
        
    }
    .service-img img {
        width: auto;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
    }
    .service-img:nth-child(1){
        order: 1;
    }
    .service-content{
        width: 100%;
    }
    .service-content button {
        width: 100%;
        margin-top: 40px;
    }
    .service-content p {
        color: #555;
        line-height: 1.6;
        text-align: justify;
    }
    .contenedor_prolider {
        flex-direction: column;
        overflow: hidden;
        width: 100%;
        padding: 40px 0;
    
    }
    .contendor_img_prolider{
        width: 100%;
    }
    .contendor_info_prolider{
        text-align: justify;
        width: 100%;
    }
    .contendor_info_prolider a {
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
    
    .contact {
        background: linear-gradient(to top, #1A3A5F, #1a3a5f95, #dbdbdb, #eaeaea);

    }
    .footer-content{
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }
    .footer-about{
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-links-container{
        text-align: center;

    }
}