﻿* {
    box-sizing: border-box;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
}

/*First section / banner REVISAR ESTE CÓDIGO*/
.banner_gradient {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.text_overlay {
    font-weight: bold;
    margin-top: -5%;
    margin-left: 3%;
    color: white;
    text-decoration-style: solid;
}

.title1 {
    padding: 20px;
    font-size: 35px;
    margin-top: -8%;
    margin-bottom: 6%;
}


/*INICIO*/

.zoom-scroll {
    transition: transform 0.5s ease-in-out;
}

    .zoom-scroll:hover {
        transform: scale(1.1);
    }

/*baner video*/
.banner_video {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

    .banner_video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.banner_texto_video {
    position: absolute;
    bottom: -15%;
    left: 30%;
    padding: 20px;
    text-align: left;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.title1 {
    font-size: 35px;
    line-height: 1.2;
}

.banner_texto_video img {
    max-width: 70%;
    height: auto;
    margin-top: 16px;
}

/*responsive banner video */
@media (max-width: 768px) {
    .title1 {
        font-size: 32px;
    }

    .banner_texto_video img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .title1 {
        font-size: 24px;
    }

    .banner_texto_video img {
        max-width: 100%;
    }
}

/*section why*/

.why-h1 {
    font-size: 2.5rem;
    margin-top: 5%;
}

.why-p {
    font-size: 1.25rem;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .why-h1 {
        font-size: 16px;
    }

    .why-p {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .why-h1 {
        font-size: 32px;
    }

    .why-p {
        font-size: 19px;
    }
}

@media (max-width: 576px) {
    .why-h1 {
        font-size: 20px;
    }

    .why-p {
        font-size: 16px;
    }
    /* Ajustes adicionales para cel */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .zoom-scroll {
        margin-top: 2%;
        margin-bottom: 3%;
    }
}

.card {
    width: 100%;
    height: 370px;
    overflow: hidden;
}

.card-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px;
}

    .card-float:hover {
        transform: translateY(-20px);
        box-shadow: 0 12px 24px white;
    }

.gradient-top-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, black, rgba(0, 0, 0, 0));
}

/*COTIZACIÓN*/

.container-fields {
    padding: 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 30px;
    row-gap: 30px;
}

.name_field {
    font-size: 25px;
    color: black;
}

.form-control, textarea, select {
    background-color: white;
    width: 100%;
    border: solid;
    border-color: black;
    padding: 25px;
    border-radius: 10px;
    color: black;
}

    .form-control:hover, .textarea:hover, .select:hover {
        border-color: #ff0000;
    }

    .form-control:focus, .textarea:focus, .select:focus {
        background-color: white;
        border-color: #ff0000;
    }

.container-btn {
    display: flex;
    justify-content: center;
    text-align: center;
}

    .container-btn button {
        padding: 20px;
    }

.btn-send-form {
    background-color: #ff0000;
    color: white;
    padding: 15px 30px;
    margin-top: 30px;
    font-size: 30px;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    width: 40%;
    text-align: center;
    transition: 1s all ease;
}

    .btn-send-form:hover {
        background-color: black;
        color: white;
        cursor: pointer;
    }

    .btn-send-form::selection {
        background-color: #ff0000;
        color: white;
        transition: 1s all ease;
    }

.selection-sucursal {
    background-color: white;
    color: black;
    font-size: 20px;
}

.selection-service {
    background-color: white;
    color: black;
    font-size: 20px;
}

/*sucursales carrusel*/
#carousel3 {
    background-color: black;
    font-size: 10px !important;
}

#carousel-item-3 {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.branch-last-banner {
    margin-left: -230px;
}

.contact_details h1 {
    display: flex;
    align-items: center;
    color: white;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact_details span {
    font-size: 25px;
    color: #ff0000;
    font-weight: bold;
}

.contact_details p {
    font-size: 15px;
    margin: 5px 0;
    color: white;
    margin-bottom: 15px;
}

.container-info-contact {
    padding: 80px;
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    text-align: start;
}

@media (max-width: 992px) {
    #carousel-item-3 {
        height: 1000px;
    }
}

sucursal {
    font-size: 36px;
    margin-left: 5%;
}

}

@media (max-width: 768px) {
    .title-sucursal {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
        margin-top: 1%;
    }
}

@media (max-width: 576px) {

    .title-sucursal {
        font-size: 24px;
        margin-left: 0;
        text-align: center;
        margin-top: 2%;
    }
}

/*END INICIO*/


/*efecto underline*/
.underline {
    position: relative;
    color: #ff0000;
    text-decoration: none;
}

    .underline::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 100%;
        height: 2px;
        background-color: #ff0000;
        transition: transform 0.3s ease;
        transform: scaleX(0);
        transform-origin: left;
    }

    .underline:hover::after {
        transform: scaleX(1);
    }
/*END NOSOTROS*/

/*carrusel 1 - cards - servcies*/
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 1;
}

.card {
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-img-top {
    width: 30%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.card-body h5 {
    font-size: 25px;
    margin: 10px 0 30px 0;
    color: white;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.service-btn-red {
    background-color: #ff0000;
    border: none;
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 100%;
    transition: background-color 0.3s ease;
}

    .service-btn-red:hover {
        transform: scale(1.05);
        background-color: white;
        color: #ff0000;
    }




/*timelines*/

.timeline {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline .right {
    left: 50%;
}



.timeline-item-content {
    padding: 20px;
    position: relative;
    border: solid;
    border-radius: 10px;
}

    .timeline-item-content h3 {
        color: black;
        margin-bottom: 10px;
    }

    .timeline-item-content p {
        margin: 0;
        color: black;
    }


.title-timeline {
    max-width: 100%;
    width: 90%;
    padding: 32px;
    margin: auto;
}

    .title-timeline h1 {
        color: #ff0000;
        text-align: center;
        font-weight: bold;
    }

    .title-timeline p {
        color: black;
        justify-content: center;
        font-size: 20px;
    }

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ff0000;
    top: 0;
    bottom: 0;
    right: 50%;
    margin-left: -3px;
}

#timeline-item-black::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: #ff0000;
    border: 4px solid #88D66C;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

#timeline-item-black-right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    left: -12.5px;
    background-color: #ff0000;
    border: 4px solid #88D66C;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline {
        padding: 10px 12px;
    }

        .timeline::after {
            width: 0;
        }

    .timeline-item {
        width: 100%;
        padding: 10px 20px;
        margin: 0 auto;
    }

        .timeline-item.right {
            left: 0%;
        }

    .timeline-item-content {
        padding: 10px;
        border-radius: 5px;
    }

        .timeline-item-content h3 {
            font-size: 18px;
        }

        .timeline-item-content p {
            font-size: 16px;
        }

    .title-timeline {
        width: 100%;
        padding: 16px;
    }

        .title-timeline h1 {
            font-size: 24px;
        }

        .title-timeline p {
            font-size: 16px;
        }
}

/*products*/
.card-product {
    width: 17rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

    .card-product:hover img {
        transform: scale(1.1);
    }

.card-product-img {
    overflow: hidden;
    width: 100%;
    height: 14rem;
    background-color: white;
}

    .card-product-img img {
        object-fit: contain;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
    }

.card-product-title {
    position: relative;
}

    .card-product-title h5 {
        margin: 0.4rem 0;
        font-weight: 800;
        font-size: 16px;
    }

    .card-product-title a {
        color: rgb(33, 37, 41);
    }

    .card-product-title::before {
        content: "";
        position: absolute;
        top: 0;
        left: -0.5rem;
        width: 4px;
        height: 100%;
        background-color: red;
    }

.card-product-text {
    margin: 0.5rem 0;
    font-size: 14px;
    line-height: 1.5;
}

.card-product-footer {
    display: flex;
    margin-top: 1.8rem;
}

.custom-cut-box-left {
    width: 100%;
    height: 1.8rem;
    background-color: red;
    /* Aplicar un corte diagonal en el lado derecho */
    clip-path: polygon(0 0, 85% 0%, 100% 100%, 00% 100%);
    display: flex;
    justify-content: start;
    align-items: center;
    position: absolute;
    bottom: 0;
    color: white;
    font-weight: 500;
}

.custom-cut-box-right {
    width: 56%;
    height: 1.8rem;
    background-color: red;
    /* Aplicar un corte diagonal en el lado izquierdo */
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    display: flex;
    justify-content: end;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.select-medidas {
    box-shadow: none;
    border-color: black;
    border-width: 2px;
}

    .select-medidas:focus {
        box-shadow: none;
        border-color: red;
        border-width: 2px;
    }

/*product details classes*/

.product-img-container {
    height: 24rem;
    max-width: 24rem;
    overflow: hidden;
}

.product-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}


/*modal medidas classes*/
.medidas-list-item.list-group-item-action:hover {
    background-color: rgba(222, 222, 222, 0.469);
}

.medidas-list-item.list-group-item.active {
    background-color: rgba(214, 214, 214, 0.852);
    border-color: rgba(214, 214, 214, 0.852);
    color: black;
}

.text-red {
    color: red;
}

/*promocion card*/
.promo-card {
    max-width: 55rem;
    display: flex;
    flex-direction: column;
}

.promo-card-img, .promo-card-video {
    width: 100%;
    max-height: 28rem;
    object-fit: cover;
}

.promo-card-body {
    padding: 1rem 1rem;
}

.promo-card-title {
    font-size: 18px;
    color: rgb(33, 37, 41);
    position: relative;
    margin-bottom: 0;
    font-weight: 800;
}

    .promo-card-title::before {
        content: "";
        position: absolute;
        top: 0;
        left: -0.5rem;
        width: 4px; /* Ancho de la línea */
        height: 100%; /* Altura de la línea */
        background-color: #8dbf43;
    }

.promo-card-text {
    font-size: 15px;
    text-align: justify;
    margin-top: 0.5rem;
    color: #1e1e1e;
    font-weight: 500;
    line-height: 1.5;
    color: rgb(33, 37, 41);
    word-wrap: break-word; /* Permite que las palabras largas se rompan */
    word-break: break-word; /* Asegura que las palabras largas se ajusten */
    white-space: normal;
}

.details-product-title {
    position: relative;
    padding-bottom: 8px;
}

    .details-product-title::after {
        content: "";
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        height: 2px;
        background-color: red;
    }


.cotizar-btn {
    background-color: #0556A3;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    font-size: 16px;
    transition: transform ease-in-out 0.4s;
    border-radius: 0.3rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

    .cotizar-btn:hover {
        color: white;
        transform: translateY(-10px);
    }

.responsive-title {
    font-size: 40px;
}

@media (max-width: 768px) {
    .responsive-title {
        font-size: 27px;
    }
}

.custom-title {
    position: relative;
    color: #2b2d36;
}

    .custom-title::before {
        content: "";
        position: absolute;
        top: 0;
        left: -0.5rem;
        width: 4px;
        height: 100%;
        background-color: #8dbf43;
    }


/*select2 styles*/
.select2-search__field::placeholder {
    color: black;
    font-size: 16px;
    padding: 0.5rem;
}

.select2-selection__choice__display {
    font-size: 16px;
}

.select2-selection.select2-selection--multiple.select2--large {
    border: 3px solid #0556a3;
}
