/* --------------------------------------------------- */
/* ---------------------- HOME ----------------------- */
/* --------------------------------------------------- */

/* HERO */

#hero-section {
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 120px;
    padding: 100px 15%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}


.buttons-container {
    width: 100%;
    display: flex;
    gap: 10px;
}

.hero-icon {
    color: #fff;
    width: 5%;
    font-size: 25px;
}

.hero-container-left,
.hero-container-right {
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.hero-container-left {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 42px;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 40px;
}

.hero-text {
    font-size: 18px;
    text-align: justify;
    text-justify: inter-word;
    color: #fff;
    margin-bottom: 100px;
    font-weight: lighter;
}

.main-button:link,
.main-button:visited {
    text-decoration: none;
    color: #fff;
}

.secondary-button:link,
.secondary-button:visited {
    text-decoration: none;
    color: var(--orange);
}

.main-button {
    background-color: var(--orange);
    border: 2px solid var(--orange);
    cursor: pointer;
    height: fit-content;
    width: fit-content;
    padding: 15px;
    border-radius: 5px;
    transition-duration: 500ms;
}



.secondary-button {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);;
    cursor: pointer;
    height: fit-content;
    width: fit-content;
    padding: 15px;
    border-radius: 5px;
    transition-duration: 500ms;
}

.main-button:hover {
    background-color: var(--grey);
    border-color: var(--grey);
    color: #fff;
}

.secondary-button:hover {
    background-color: var(--orange);
    color: #000;
}

.hero-container-right {
    width: 30%;
}

#hero-image {
    height: 350px;
    filter: drop-shadow(25px 25px 25px #202020);
    transition-duration: 300ms;
}

.move-left {
    margin-left: -100px;
}

.return-position {
    margin-left: 0px;
}

/* RESPONSIVITY */

/* SMALL SCREENS */

@media screen and (min-width: 1100px) {
    #hero-image:hover {
        height: 370px;
        filter: drop-shadow(25px 25px 25px #3d3d3d);
    }
}

@media screen and (max-width: 1100px) {
    #hero-section {
        padding: 60px 45px;
    }

    .buttons-container {
        width: 100%;
        padding: 0px;
    }

    .hero-container-left {
        padding: 0px;
        max-width: 500px;
    }

    .hero-container-right {
        padding: 0px;
    }

    .hero-title {
        font-size: 36px;
    }

    #hero-image {
        height: 280px;
    }

}

/* TABLETS */

@media screen and (max-width: 900px) {
    #hero-section {
        padding: 60px 25px;
        gap: 60px;
        height: fit-content;
    }

    .buttons-container {
        width: 100%;
        padding: 0px;
    }

    .hero-container-left {
        padding: 0px;
        max-width: 400px;
    }

    .hero-container-right {
        padding: 0px;
    }

    .hero-title {
        width: 100%;
        font-size: 32px;
        letter-spacing: 0px;
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 30px;
    }

    #hero-image {
        height: 200px;
    }
}

/* SMARTPHONES */

@media screen and (max-width: 767px) {
    #hero-section {
        padding: 60px 25px;
        flex-direction: column-reverse;
        gap: 50px;
        height: fit-content;
    }

    .buttons-container {
        width: 100%;
        justify-content: center;
        padding: 0px;
    }

    .hero-container-left {
        padding: 0px;
    }

    .hero-container-right {
        padding: 0px;
    }

    .hero-title {
        width: 100%;
        font-size: 32px;
        letter-spacing: 0px;
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-text {
        width: 100%;
        margin-bottom: 30px;
    }
}


/* ---------------------------- */

/* PRODUCTS */

#products-section {
    background-color: var(--light-grey);
    height: fit-content;
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.products-title {
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.products-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 10px;
    flex-flow: wrap;
    max-lines: 4;
    max-width: 1400px;
}

.product-box {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 300px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
}

.product-title {
    opacity: 0;
    text-align: center;
    font-size: 22px;
}

.product-box:hover {
    transition-duration: 500ms;
    box-shadow: inset 0 0 0 4000px rgba(0,0,0,.6);
}

.product-box:not(:hover) {
    transition-duration: 500ms;
}

.product-box:hover .product-title{
    transition-duration: 300ms;
    opacity: 1;
    color: #fff;
}

/* RESPONSIVITY */

/* 1100px */

@media screen and (max-width: 1100px) {
    #products-section {
        padding: 60px 25px;
    }

    .product-box {
        height: 200px;
        width: 400px;
    }
}

/* SMARTPHONES */

@media screen and (max-width: 900px) {
    #products-section {
        padding: 60px 25px;
    }

    .products-container {
        gap: 15px;
    }

    .product-box {
        height: 200px;
        width: 100%;
    }
}

/* ---------------------------- */

/* SERVICES */

#services-section {
    background-color: #fff;
    height: fit-content;
    padding: 100px 10%;
}

/* CARROUSEL */

.services-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 100%;
}

.services-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.service-box {
    flex: 0 0 calc(100% / 3 - 60px);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    background: #f7f7f7;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
}

.btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: black;
    padding: 10px;
    margin: 0 10px;
}

/* CARDS */

.services-title {
    font-size: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.service-text {
    font-size: 17px;
    text-align: justify;
    text-justify: inter-word;
    font-weight: lighter;
    margin-bottom: 10px;
}

.services-container::-webkit-scrollbar {
    display: none;
}

.service-image {
    width: 100%;
    border-radius: 10px;
}

/* RESPONSIVITY */

/* SMALL SCREENS */

@media (max-width: 1280px) {
    .service-box {
        flex: 0 0 calc(100% / 2 - 60px);
        background: #f7f7f7;
        margin: 10px;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
    }

    .services-title {
        font-size: 26px;
    }
}

@media (max-width: 1024px) {
    .service-box {
        flex: 0 0 calc(100% - 60px);
        background: #f7f7f7;
        margin: 10px;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
    }

    .services-title {
        font-size: 22px;
    }

    #services-section {
        padding: 60px 25px;
    }

    .services-container {
        gap: 20px;
    }

    .service-box {
        max-width: 100%;
        gap: 10px;
    }

    .service-title {
        margin-bottom: 0px;
    }
}

/* SMARTPHONES */

@media screen and (max-width: 767px) {
    #services-section {
        padding: 60px 15px;
    }

    .services-container {
        flex-direction: column;
        gap: 80px;
    }

    .service-box {
        max-width: 100%;
        gap: 10px;
    }

    .service-title {
        margin-bottom: 0px;
    }

    .btn {
        font-size: 24px;
        padding: 5px;
        margin: 0;
    }
}


/* ---------------------------- */

/* CONTACT */
#contact-section-index {
    background-color: #fff;
    height: fit-content;
    padding: 100px 5%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 45px;
}

#contact-section-index {
    flex-direction: column;
}

.contact-text {
    text-align: center;
}

.contact-title {
    font-size: 18px;
    color: var(--grey);
    text-align: start;
}

.contact-title {
    transition: 300ms;
}

.phone-icon-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    align-items: center;
    transition-duration: 300ms;
    font-size: 32px;
    color: #000;   
}

.contact-item:link,
.contact-item:visited {
    text-decoration: none;
    color: #000;
}

.contact-item:hover {
    color: var(--orange);
}

/* RESPONSIVITY */

/* 1100px */

@media screen and (max-width: 1100px) {
    .phone-icon-contact {
        font-size: 24px;
    }
}

/* SMARTPHONES */

@media screen and (max-width: 767px) {
    .phone-icon-contact {
        gap: 5px;
    }
}
