@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --red-letter: #bd0303;
    --red-colosus: #d01818;
    --black-colosus: #010101;
    --gray-letter: #5b5b5b;
    --white-letter: #ffffff;
}

.text-gradient {
    background: linear-gradient(180deg, #ff0000, #5b0000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

* {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    font-family: 'Lexend', sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------------- navbar ------------- */
.navbar,
.nav-link {
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.links-items:hover{
    color: var(--red-letter) !important;
}

/* --------------- banner --------------- */
.sect-banner {
    display: flex;
    justify-content: center;
    height: 110vh;
    padding-bottom: 10rem;
}


.banner-info {
    width: 50%;
}

.banner-logo {
    width: 50%;
    position: relative;
    display: flex;
    justify-content: end;
}

.banner-cards {
    width: 75%;
}

.banner-title {
    font-size: 5rem;
}

.banner-subtitle {
    font-size: 4rem;
    letter-spacing: 0.01em;
    color: var(--red-letter);
}

/* cards-products */

.sect-products {
    height: 10vh;
    margin-bottom: 10rem;
}

.products-cars_container {
    width: 100%;
    display: flex;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.card-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20rem;
    height: 20rem !important;
    padding: 4rem 0rem;
    margin-right: 2rem;
    gap: 3rem;
    transition: all 0.4s ease;

    img {
        transition: filter 0.4s ease;
    }
}

.card-product.auto-hover {
    background: var(--red-colosus) !important;
    transform: scale(1.1);

    img {
        /*cambiar de color a blanco*/
        filter: brightness(0) invert(1);
    }

    h4 {
        color: var(--white-letter) !important;
    }
}


/** ----------------------- linea del tiempo -------------------- */
.sect_time_line {
    width: 100%;
    height: 80vh;
    margin-bottom: 10rem;
}

.time_line-title {
    height: 25%;
    margin-top: 5rem;
    font-size: 5rem;
    font-weight: 300;
}

.container-circle-line_time {
    border: 1px red solid;
    border-radius: 59%;
    padding: 0;
    width: 55px;
    padding: 7px;
}

.circle-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--red-letter);
}

.time_line-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    height: 25%;
    flex-wrap: wrap;
}

.time_line-container::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: #C2C2C2;
    z-index: -1;
}

.container-circle-line_time {
    position: relative;
    background-color: white;
    z-index: 2;
}

.time_line-card {
    width: 11.5rem;
    background: var(--white-letter);
}

/** ------- section seguridad_armada -------------- */
.sect-seguridad_armada {
    height: 50vh;
    background: linear-gradient(to right, #e00101, #650101);
    flex-wrap: wrap;
}

.fa-chevron-right {
    font-size: 5rem;
    font-weight: 100;
}

.seguridad_title h2 {
    font-size: 7rem;
    letter-spacing: 0.1em;
}

.seguridad_image {
    position: absolute;
    width: 70rem;
    bottom: 0%;
    right: 0%;
}

/******** bloques and services ***********/
.servicios_bloques{
    border: none;
    background: var(--black-colosus);
}

.bloque_red{
    background: linear-gradient(to right, #e00101, #650101);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 0%);
    border: none;
    position: relative;
    top: -0.1rem;
}

/* cards services */
.services-flex {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    flex-wrap: wrap;
    position: relative;
    top: -7rem;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.service-item {
    position: relative;
    overflow: hidden;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-item span {
    position: absolute;
    background: white;
    color: red;
    font-weight: bold;
    padding: 0.3rem 1rem;
    font-size: 1.6rem;
    font-weight: 400;
}

.service-title1{
    top: 1rem;
    right: 0rem;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

.service-title2{
    bottom: 1rem;
    left: 0rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.service-title3{
    bottom: 1rem;
    left: 0rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.service-title4{
    bottom: 1rem;
    right: 0rem;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
}

/** ------------sect-info--------------- */
.sect-info {
    height: 100vh;
    background-image: url('../img/paneles-completos.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.info_container{
    width: 55%;
}
.sect-info-triangulo{
    position: absolute;
    top: 0%;
    right: 0%;
    width: 10%;
    height: 20%;
}

.info-title{
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.info-title h2{
    font-size: 5rem;
    font-weight: 300;
}

.carrusel-personas_img{
    width: 45%;
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    z-index: 2;
}
.barra_services_carrousel{
    background:red;
    z-index: 1;
    right:0;
    width:70%;
    height:25vh;
    bottom: 7rem;
    cursor: pointer;
}
.barra_services_carrousel img{
    z-index: 5;
}
/** -------- sect-contacto ----------*/
.sect-contacto {
    height: 70vh;
    background: var(--black-colosus);
}

.contacto_info {
    width: 50%;
}

.contacto_container_boton {
    width: auto;
}

.contacto_title {
    font-size: 4rem;
    font-weight: 300;
}

.contact_button {
    background: black;
    width: 17rem;
    border: #bd0303 2px solid !important;
    z-index: 3;
}

.contact_button:hover {
    background: rgba(46, 38, 38, 0.582) !important;
}

/*** ------------------------------- Modal de contacto ------------------------------*/

.modals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 5;
}

.modal-content {
    background-color: var(--black-colosus) !important;
    width: 40rem !important;
    height: auto;
    border-radius: 2rem !important;
    padding: 5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 7px 10px rgba(128, 128, 128, 0.2);
}

.close-modal-btn {
    width: 20%;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: end;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.modal-content h2{
    font-size: 3rem;
    margin-bottom: 10%;
    font-weight: 200;
    display: flex;
    letter-spacing: .15em;
    justify-content: center;
}


.modal-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.4rem;
    border: 1px solid var(--red-colosus);
    border-radius: 0.5rem;
    background: var(--black-colosus);
    color: #5b5b5b;
}

.modal-form textarea {
    resize: none;
    height: 10vh;
}

.submit-btn {
    width: 50%;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, #ff0000, #5b0000);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.4rem;
}

.modals.show {
    opacity: 1;
    visibility: visible;
}

.modal-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
}

.modal-content {
    padding: 10px;
}

#close-modal {
    margin-top: 10px;
    padding: 8px 16px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}



/** --------------footer *****************/

footer{
    background: linear-gradient(to right, #e00101, #650101);
}
.footer_legal,
.footer_contacto{
    border: #010101 1px solid;
    border-radius: 2px;
    padding: 1rem 0rem;
    color: var(--black-colosus) !important;
}

.footer_legal-item{
    width: 50%;
    color: var(--black-colosus) !important;
}

.footer_contacto-item{
    padding-left: 4rem;
    color: var(--black-colosus) !important;
}

@media (max-width: 1200px){
    /*.seguridad armada */
    .seguridad_image{
        width: 50rem;
    }
}

@media (max-width: 1000px) {
    .banner-info {
        width: 100%;
    }

    .banner-logo,
    .banner-main {
        display: none !important;
    }

    /* linea del tiempo */
    .sect_time_line {
        height: 75vh;
    }

    /* ------seguridad armada ***carrusel 2 --------- */
    .seguridad_title h2 {
        font-size: 4.8rem;
    }

    .seguridad_image {
        width: 35rem;
    }

    .sect-info {
        height: 100vh;
    }
    .info_container{
        width: 80%;
    }
    .barra_services_carrousel{
        bottom: 5%;
        height: 20vh;
    } 

    /** footer */
    .footer_legal-item{
        width: 75%;
    }
}

@media (max-width: 770px) {

    /* banner */
    .banner-title {
        font-size: 4rem;
    }

    /* cards product */
    .card-product.auto-hover {
        transform: scale(1.0);
    }

    /* seguridad armada cards services*/
    .seguridad_image {
        width: 95%;
    }

    .services-flex {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        width: 100%;
    }

    .service-item {
        height: auto;
    }

    .service-item img {
        height: auto;
    }

    .service-item span {
        position: static;
        margin-top: 0.5rem;
        display: inline-block;
        background: none;
        color: #c00;
    }
    /** section carrusel ***/
    .barra_services_carrousel{
        bottom: 5%;
        height: 15vh;
    }
    .info_container{
        justify-content: center;
    }
    /** footer */
    .footer-legal-container,
    .footer-contacto_container{
        margin-top: 2rem;
    }
    .footer_legal-item{
        width: 40%;
    }
}


@media (max-width: 600px) {

    /* banner */
    .banner-title,
    .banner-subtitle {
        font-size: 3rem;
    }

    .banner-cards {
        width: 100%;
    }


    .card-product {
        width: 12rem;
        height: 10rem;
    }

    /* linea del tiempo */
    .sect_time_line {
        height: auto;
    }

    .time_line-container {
        height: 35%;
    }

    .time_line-container::before {
        width: 0%;
        display: none;
    }

    /* seguridad armada */
    .seguridad_title {
        margin-left: 5rem;
    }
}

@media (max-width: 500px) {

    /* seguridad armada */
    .seguridad_title {
        margin-left: 10rem;
    }

    /** section carrusel ***/
    .barra_services_carrousel{
        bottom: 1%;
        height: 15vh;
    } 

    /** contacto  */
    .contacto_info {
        width: 70%;
    }
}