@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    font-family: "Unbounded", sans-serif;
    background-image: linear-gradient(to right, #ffbebe, #f9c5de, #e7d1f6, #d1deff, #c5e9ff);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*----------------header----------------*/
header {
    background-image: url(images/image4.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 700px;
    overflow: hidden;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
}

/*
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 2;
}
*/

.header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px;
    margin: 2% 5%;
    padding: 10px 15px;
    z-index: 10;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.menu {
    display: flex;
}

.menu-item {
    text-decoration: none;
    color: #004aad;
    margin: 0 25px;
    position: relative;
    padding-bottom: 5px;
}

.menu-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #004aad;
    transition: width 0.3s ease-in-out;
}

.menu-item:hover::after {
    width: 100%;
}

.logo-header {
    height: 110px;
    width: auto;
    margin: 0 15px;
}

.social-media {
    display: flex;
}

.social-icon {
    height: 35px;
    width: auto;
    margin: 0 15px;
}

/*----------------front-page----------------*/
.front-page {
    position: absolute;
    top: 300px;
    left: 7%;
    width: 85%;
}

.text-front-page {
    text-align: left;
}

.title {
    color: #ffffff;
    background-color: #004aad;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    margin: 0;
    font-size: 3em;
    font-weight: bold;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.text-front-page h2 {
    color: #ffffff;
    font-size: 3em;
    margin: 0;
    margin-bottom: 10px;
}

.text-front-page p {
    color: #ffffff;
    margin: 10px 0;
    font-size: 20px;
    max-width: 100%;
}

/*----------------about-us----------------*/
.main-title {
    text-align: center;
    color: #004aad;
    margin: 30px 0;
    font-size: 2em;
}

.data-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.data {
    text-align: left;
    color: #ffffff;
    width: 350px;
    height: 350px;
    border-radius: 50px;
    padding: 30px 25px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.data h3 {
    margin: 15px 0;
}

.data p {
    margin: 0;
}

.img-data-container {
    height: 100px;
    width: auto;
    margin: 5px;
}

/* la segunda tarjeta se mueve a la izquierda */
.data-container .data:nth-child(2) {
    margin-left: -20px;
    /* sobre la tarjeta anterior */
    z-index: 1;
    /* encima de la primera */
}

/* la tercera tarjeta se mueve a la izquierda */
.data-container .data:nth-child(3) {
    margin-left: -20px;
    z-index: 2;
}

/*----------------services----------------*/
.services {
    display: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    text-transform: uppercase;
}

.manufacturing-time {
    display: flex;
    align-items: center;
    text-align: right;
}

.manufacturing-time-icon {
    height: 40px;
    width: auto;
    margin-left: 10px;
}

.card-line {
    margin: 15px 0;
    border: 1px solid #004aad;
    border-radius: 100px;
}

.card-body {
    display: flex;
    align-items: center;
}

.benefit,
.warning {
    display: flex;
    align-items: center;
}

.icon-benefits,
.icon-warnings {
    height: 25px;
    width: auto;
    margin-right: 5px;
}

.card-description h4,
.card-benefits h4,
.card-warnings h4 {
    margin: 8px 0;
}

.benefit p,
.warning p {
    margin: 5px 0;
}

.image-service {
    height: 250px;
    width: auto;
    margin: 0 30px;
}

.card-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    overflow: hidden;
    gap: 10px;
    max-width: 1060px;
}

.btn-izq,
.btn-der {
    width: 60px;
    height: auto;
    cursor: pointer;
    user-select: none;
}

.card-carousel {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

.card-service {
    background-image: linear-gradient(to right,
            rgba(255, 190, 190, 0.5),
            rgba(249, 197, 222, 0.5),
            rgba(231, 209, 246, 0.5),
            rgba(209, 222, 255, 0.5),
            rgba(197, 233, 255, 0.5));
    background-color: #ffffff;
    border-radius: 50px;
    padding: 40px;
    color: #004aad;
    max-width: 800px;
    width: 100%;
    margin: 0 20px;
    flex-shrink: 0;
}

/*----------------contact----------------*/
.contact {
    background-image: url(images/image3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact iframe {
    border-radius: 20px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.location-icon,
.schedules-icon {
    height: 25px;
    width: auto;
    margin-right: 8px;
}

.location {
    display: flex;
    align-items: center;
    padding: 0 100px;
    color: #004aad;
}

.contact-button-a,
.social-button-a {
    text-decoration: none;
}

.contact-buttons,
.social-buttons {
    display: flex;
}

.social-buttons .button {
    background-color: #c7eaff;
    color: #e76868;
}

.button {
    padding: 20px;
    margin: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.button p {
    margin: 0;
}

.button img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.schedules-line {
    margin: 5px 0;
    border: 1px solid #004aad;
    border-radius: 100px;
}

.schedules {
    background-color: #c7eaff;
    color: #004aad;
    padding: 20px;
    margin: 10px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.schedules-header {
    display: flex;
    align-items: center;
}

.week {
    display: flex;
    justify-content: space-between;
}

/*----------------faq----------------*/
.faq {
    display: none;
}

.acordeon {
    width: 85%;
    margin: 0 auto;
}

.acordeon-item img {
    width: 30px;
    height: auto;
    margin: 0 5px;
}

.acordeon-item label {
    padding: 15px;
    font-size: 20px;
    background: #004aad;
    color: #ffffff;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 5px;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    border-radius: 50px;
}

.acordeon-item label:hover {
    background: #003c8a;
}

.contenido-acordeon {
    max-height: 0px;
    overflow: hidden;
    transition: all 400ms ease;
    line-height: 30px;
    background-color: rgba(0, 60, 138, 0.2);
    border-radius: 50px;
    color: #004aad;
}

.btn-acordeon:checked~.contenido-acordeon {
    max-height: 600px;
    padding: 20px;
}

.btn-acordeon {
    display: none;
}

/*----------------galery----------------*/
.galery {
    display: flex;
    justify-content: center;
    width: 85%;
    margin: 0 auto;
    margin-top: 60px;
}

.galery video {
    width: 600px;
    height: auto;
    border-radius: 20px;
}

.photo-carousel-container {
    height: 600px;
    /* 2 elementos de 200px cada uno visibles */
    overflow: hidden;
    position: relative;
    width: 300px;
}

.photo-carousel {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 10s linear infinite;
}

.photo-carousel img {
    height: 300px;
    width: auto;
    object-fit: cover;
    margin: 5px;
    border-radius: 20px;
}

/* Animación infinita */
@keyframes scrollVertical {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}

/*----------------brands----------------*/
.brand-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.brand-carousel {
    display: flex;
    flex-direction: row;
    animation: scrollHorizontal 30s linear infinite;
    width: max-content;
}

.brand-carousel img {
    height: 150px;
    width: auto;
    margin: 5px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.3s;
}

/* Animación infinita horizontal */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/*----------------footer----------------*/
footer {
    background-color: #003c8a;
    margin: 0 20px;
    border-radius: 20px 20px 0 0;
    color: #ffffff;
    padding: 30px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.5);
}

.logo-footer {
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.footer-body-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-footer {
    display: flex;
    align-items: center;
    color: #ffffff;
    width: 30%;
}

.button-footer-a {
    text-decoration: none;
}

.button-footer {
    background-color: #e76868;
    padding: 15px;
    margin: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    height: 70px;
    width: 200px;
}

.button-footer p {
    margin: 0;
}

.button-footer img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.schedules-footer {
    color: #ffffff;
    padding: 20px;
    margin: 10px;
    width: 30%;
    border-radius: 20px;
}

.schedules-header-footer {
    display: flex;
    align-items: center;
}

.footer-body-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
}

.logo-gabi-coder img {
    height: 40px;
    width: auto;
}

.logo-gabi-coder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-us,
.services,
.contact,
.faq,
.galery,
.brands {
    padding-bottom: 50px;
    /*----------------chat----------------*/
    /*----------------chat----------------*/
    /*----------------chat----------------*/
    /*----------------chat----------------*/
    padding-top: 10px;
}

/*----------------chat----------------*/
.chat-toggle {
    display: none;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #cbe7ff;
    border: 3px solid #003c8a;
    color: #003c8a;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    animation: slideInRight 1.5s ease-out;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.chat-button img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.chat-button:hover {
    background: #b9d9f5;
}

.chat-container {
    width: 360px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 100;
}

.chat-toggle:checked~.chat-container {
    display: flex;
}

.chat-header {
    background: #003c8a;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    /* Alinear verticalmente */
    gap: 8px;
    /* Espacio entre la imagen y el nombre */
    border-radius: 15px 15px 0 0;
    position: relative;
    /* Necesario para mover la "X" */
}

.chat-header h3 {
    margin: 0;
    margin-top: 10px;
}

.chat-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.status {
    font-size: 12px;
}

.close-chat {
    position: absolute;
    top: 5px;
    /* Mover más arriba */
    right: 10px;
    /* Ajustar la posición a la derecha */
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.chat-toggle:not(:checked)~.chat-container {
    display: none;
}

.chat-body {
    background: #cbe7ff;
    padding: 25px 15px;
}

.chat-message {
    background: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

.chat-footer {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 0 0 15px 15px;
}

.chat-footer input {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 5px;
    color: gray;
    background: #e0e0e0;
    box-sizing: border-box;
    font-family: "Unbounded", sans-serif;
}

.send-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}





@media screen and (max-width: 1300px) {
    body {
        font-size: 13px;
    }

    /*----------------header----------------*/
    .menu-item {
        margin: 0 18px;
    }

    .logo-header {
        height: 100px;
        width: auto;
    }

    .social-icon {
        height: 30px;
        width: auto;
        margin: 0 10px;
    }

    /*----------------front-page----------------*/
    .text-front-page p {
        font-size: 18px;
    }

    /*----------------about-us----------------*/
    .data {
        width: 300px;
    }
}




@media screen and (max-width: 1000px) {

    /*----------------header----------------*/
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .menu {
        order: 3;
    }

    .header a {
        order: 1;
    }

    .social-media {
        order: 2;
    }

    .social-icon {
        margin: 10px 15px;
    }

    .menu-item {
        margin: 0 20px;
    }

    /*----------------about-us----------------*/
    .data-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .data {
        width: 450px;
        height: 300px;
    }

    .data-container .data:nth-child(2) {
        margin-top: -15px;
        z-index: 1;
    }

    .data-container .data:nth-child(3) {
        margin-top: -15px;
        z-index: 2;
    }

    /*----------------contact----------------*/
    .contact-buttons,
    .social-buttons {
        display: flex;
        flex-direction: column;
    }

    /*----------------faq----------------*/
    .acordeon-item label {
        font-size: 16px;
    }

    /*----------------galery----------------*/
    .galery video {
        width: 450px;
        height: auto;
        border-radius: 20px;
    }

    .photo-carousel-container {
        height: 450px;
        width: 250px;
        margin: 5px;
    }

    .photo-carousel img {
        height: 250px;
        width: auto;
        object-fit: cover;
        margin: 5px;
        border-radius: 20px;
    }

    /*----------------footer----------------*/
    .footer-body-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo-footer {
        height: 130px;
        width: auto;
        display: block;
        margin: 0 auto;
        order: 1;
    }

    .location-footer {
        width: 80%;
        order: 3;
    }

    .button-footer {
        order: 4;
        padding: 10px;
        margin: 20px;
    }

    .schedules-footer {
        width: 40%;
        order: 2;
        margin: 0;
    }

    .footer-body-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}




@media screen and (max-width: 800px) {

    /*----------------header----------------*/
    .social-icon {
        margin: 10px 10px;
    }

    .menu-item {
        margin: 0 15px;
    }

    /*----------------front-page----------------*/
    .title {
        padding: 10px 20px;
        font-size: 2.5em;
    }

    .text-front-page h2 {
        font-size: 3em;
    }

    .text-front-page p {
        margin: 10px 0;
        font-size: 15px;
        max-width: 100%;
    }

    /*----------------galery----------------*/
    .galery video {
        width: 350px;
        height: auto;
        border-radius: 20px;
    }

    .photo-carousel-container {
        height: 350px;
        width: 170px;
        margin: 5px;
    }

    .photo-carousel img {
        height: 170px;
        width: auto;
        object-fit: cover;
        margin: 5px;
        border-radius: 20px;
    }

    /*----------------footer----------------*/
    .schedules-footer {
        width: 60%;
    }
}


@media screen and (max-width: 600px) {

    /*----------------front-page----------------*/
    .title {
        font-size: 2em;
    }

    .text-front-page h2 {
        font-size: 2.5em;
    }

    .text-front-page p {
        font-size: 15px;
        max-width: 100%;
    }

    /*----------------about-us----------------*/
    .data {
        width: 300px;
        height: 350px;
    }

    /*----------------contact----------------*/
    .schedules {
        width: 80%;
    }

    /*----------------galery----------------*/
    .galery {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .galery video {
        width: 90%;
        height: auto;
    }

    .photo-carousel-container {
        height: 400px;
        width: 90%;
    }

    .photo-carousel img {
        height: 90%;
        width: auto;
    }

    /*----------------footer----------------*/
    .schedules-footer {
        width: 80%;
    }
}

@media screen and (max-width: 500px) {

    /*----------------header----------------*/
    .social-icon {
        margin: 5px;
    }

    .menu-item {
        margin: 0 10px;
    }

    /*----------------front-page----------------*/
    .title {
        padding: 10px 20px;
        font-size: 1.5em;
    }

    .text-front-page h2 {
        font-size: 2em;
    }

    /*----------------chat----------------*/
    .chat-container {
        width: 330px;
        font-size: 12px;
    }

    .chat-message {
        font-size: 12px;
    }

    .chat-button {
        bottom: 10px;
        right: 10px;
        padding: 10px 10px;
    }

    .chat-footer input {
        font-size: 12px;
    }
}