/* GLOBAL STYLES */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #D9D9D9;
    color: #fff;
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* HEADER */
.header {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: #020202;
}

.header__logo {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: contain;
    z-index: 3;
}

.hero {
    position: relative;
    background-image: url(/assets/img/hero.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background-color: #000000b0;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero__content--title {
    font-family: poppins, sans-serif;
    font-size: 3em;
    margin-bottom: 20px;
}

.hero__content--subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-family: open sans, sans-serif;
}

.hero__content--button {
    background-color: #ffffff00;
    color: #fff;
    border: 3px solid #fff;
    padding: 15px 30px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 35px;
    font-family: open sans, sans-serif;
}

.hero__content--button:hover {
    color: #b4b4b4;
    border-color: #b4b4b4;
    transition: 0.3s;
}

.hero__content--button:active {
    transform: scale(0.95);
    transition: 0.1s;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    padding: 10px 0;
    background-color: #00000075;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: open sans, sans-serif;
    border: #ffffff00 solid 3px;
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.navbar__list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.navbar__list--items--link {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    padding: 10px 15px;
    border-radius: 25px;
}

.navbar__list--items--link:hover {
    background-color: #ffffff00;
    color: #b4b4b4;
    transition: 0.3s;
}

.navbar__list--items--link:active {
    font-size: 1.1em;
    transition: 0.1s;
}

/* MAIN */

/* ABOUT */

.about {
    position: relative;
    height: auto;
    width: 100%;
    background-image: url(/assets/img/madera-pintada-de-blanco-con-textura.jpg);
    align-items: center;
    padding-bottom: 50px;
}

.about__title {
    text-align: center;
    padding-top: 50px;
    font-family: poppins, sans-serif;
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    font-weight: 900;
}

.about__hr {
    width: 5px;
    background-color: #020202;
    height: 140px;
    border: none;
}

.about__who,
.about__mission,
.about__vision {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 40px;
    background-color: #ffffff;
    border: #E6E6E6 solid 3px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.about__who--title,
.about__mission--title,
.about__vision--title {
    position: relative;
    font-family: poppins, sans-serif;
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    width: 15%;
    flex-shrink: 0;
}

.about__who--text,
.about__mission--text,
.about__vision--text {
    font-family: open sans, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    color: #141414;
    margin: 0;
    padding-left: 0px;
    text-align: center;
    width: 100%;
}

/* BENEFITS */

.benefits {
    position: relative;
    height: 100vh; 
    width: 100%;
    padding-top: 0;
    background-color: #ffffff;
    padding-bottom: 50px;
}

.benefits__title {
    text-align: center;
    padding-top: 50px;
    font-family: poppins, sans-serif;
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    font-weight: 900;
}

.benefits__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-family: open sans, sans-serif;
    text-align: center;
    color: #141414;
    font-weight: bold;
}

.benefits__container {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr)); 
    align-items: start; 
    justify-content: center;
    justify-items: center;
    width: 90%;
    max-width: 900px; 
    margin: auto;
    gap: 30px;
}

.benefits__container--items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    background-color: #f0eeee;
    border: #4CABAF solid 3px;
    box-shadow: 0 0 5px #4CABAF;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    padding: 15px;
    font-family: poppins, sans-serif;
    font-size: 1.2em; 
    color: #141414;
    height: auto;
    min-height: 120px; 
    width: 100%; 
}

.benefits__container--items--gradient {
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* PRODUCTS */
.products {
    position: relative;
    height: 100vh;
    width: 100%;
    padding-top: 0;
    background-image: url(/assets/img/madera-pintada-de-blanco-con-textura.jpg);
    background-size: cover;
    background-position: center;
    padding-bottom: 50px;
}

.products__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    gap: 50px;
}

.products__title {
    text-align: center;
    padding-top: 50px;
    font-family: poppins, sans-serif;
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    font-weight: 900;
}

.products__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-family: open sans, sans-serif;
    text-align: center;
    color: #141414;
    font-weight: bold;
}

.products__image {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    border: #4CABAF solid 3px;
    box-shadow: 0 0 5px #4CABAF;
    background-image: url(/assets/img/aceite-de-girasol.jpg);
    background-size: 400px 400px;
    background-position: center;
    transition: background-image 0.8s ease-in;
    overflow: hidden;
}

.products__image--svg {
    width: 30px;
    height: 25px;
    filter: invert(1);
}

.products__image--title {
    position: relative;
    font-family: poppins, sans-serif;
    color: #ffffff;
    font-size: 1.5em;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background-color: #0202022f;
    border-radius: 17px 17px 0 0;
    backdrop-filter: blur(8px);
    top: -25px;
}

.products__image--left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #020202;
    border: #ffffff00 solid 3px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    font-family: open sans, sans-serif;
}



.products__image--left:active {
    transform: translateY(-50%) scale(0.90);
    transition: 0.1s;
}

.products__image--right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #020202;
    border: #ffffff00 solid 3px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    font-family: open sans, sans-serif;
}



.products__image--right:active {
    transform: translateY(-50%) scale(0.90);
    transition: 0.1s;
}

.products__variety {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    border: #4CABAF solid 3px;
    box-shadow: 0 0 5px #4CABAF;
    background-color: #f1f1f1;
}

.products__variety--title {
    position: relative;
    font-family: poppins, sans-serif;
    color: #ffffff;
    font-size: 1.5em;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background-color: #0202028f;
    border-radius: 17px 17px 0 0;
    backdrop-filter: blur(8px);
    top: -32px;
}

.products__variety--list {
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
    color: #141414;
    font-family: open sans, sans-serif;
    font-size: 20px;
    padding-left: 20px;
    top: -25px;
}

.products__variety--list--items {
    font-weight: 600;
}

.products__variety--list--items:hover {
    cursor: pointer;
}

.products__variety--list--items:active {
    font-size: 18px;
    font-weight: 600;
}

/* CONTACT */
.contact {
    position: relative;
    height: auto;
    width: 100%;
    padding-top: 0;
    background-color: #ffffff;
    padding-bottom: 50px;
}

.contact__title {
    text-align: center;
    padding-top: 50px;
    font-family: poppins, sans-serif;
    background: linear-gradient(to bottom, #4CABAF 0%, #4CABAF 61%, #009D6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    font-weight: 900;
}

.contact__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
    margin: auto;
    width: 90%;
    max-width: 650px;
}

.contact__form--inputs {
    background-color: #f0eeee;
    width: 100%;
    height: 40px;
    border: #5f5f5f solid 1px;
    border-radius: 10px;
    padding-left: 15px;
    font-family: open sans, sans-serif;
    font-size: 1em;
    justify-content: space-between;
    transition: all 0.1s ease;
}

.contact__form--inputs:focus {
    border: #4CABAF solid 3px;
    outline: none;
    box-shadow: 0 0 5px #4CABAF;
}

.contact__form--inputs::placeholder {
    color: #969595;
    font-family: open sans, sans-serif;
}

.contact__form--inputs:hover {
    border: #4CABAF solid 2px;
    transition: all 0.1s ease;
}

.contact__form--inputs:focus:hover {
    border: #4CABAF solid 3px;
    outline: none;
    box-shadow: 0 0 5px #4CABAF;
}

.contact__form--textarea {
    min-width: unset;
    width: 100%;
    max-width: 630px;
    min-height: 250px;
    max-height: 250px;
    background-color: #f0eeee;
    border-radius: 10px;
    border: #5f5f5f solid 1px;
    padding: 15px;
    font-family: open sans, sans-serif;
    font-size: 1em;
    grid-column: span 2;
    scrollbar-width: thin;
    scrollbar-color: #969595 #f1f1f1;
    scroll-behavior: smooth;
    transition: all 0.1s ease;
}

.contact__form--textarea:focus {
    border: #4CABAF solid 3px;
    outline: none;
    box-shadow: 0 0 5px #4CABAF;
}

.contact__form--textarea::placeholder {
    color: #969595;
    font-family: open sans, sans-serif;
}

.contact__form--textarea:hover {
    border: #4CABAF solid 2px;
    transition: all 0.1s ease;
}

.contact__form--textarea:focus:hover {
    border: #4CABAF solid 3px;
    outline: none;
    box-shadow: 0 0 5px #4CABAF;
}

.contact__form--button {
    width: 200px;
    height: 50px;
    border-radius: 25px;
    border: #5f5f5f solid 3px;
    background-color: #f0eeee;
    color: #5f5f5f;
    font-family: open sans, sans-serif;
    font-size: 1.2em;
    cursor: pointer;
    grid-column: span 2;
    justify-self: center;
}

.contact__form--button:hover {
    color: #4CABAF;
    border-color: #4CABAF;
    transition: 0.3s;
}

.contact__form--button:active {
    transform: scale(0.95);
    transition: 0.1s;
    box-shadow: 0 0 5px #4CABAF;
}

.contact__form--inputs::placeholder {
    color: #5f5f5f;
    font-family: open sans, sans-serif;
}

.contact__form--textarea::placeholder {
    color: #5f5f5f;
    font-family: open sans, sans-serif;
}

/* FOOTER */

.footer {
    position: relative;
    height: 350px;
    width: 100%;
    padding: 30px 0;
    background-color: #2c2c2c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer__logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: brightness(5);
}

.footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer__social--link {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.5em;
    padding: 10px 15px;
    border-radius: 25px;
}

.footer__social--link--image {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    filter: brightness(100);
}

.footer__social--link--image:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.footer__copyright {
    color: #969595;
    font-family: open sans, sans-serif;
    font-size: 0.9em;
}

.footer__developer {
    display: flex;
    flex-direction: column;
    height: 120px;
    width: 100%;
    background-color: #1c1c1c;
    position: relative;
    font-family: open sans, sans-serif;
    font-size: 0.9em;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.footer__developer--text {
    color: #969595;
    font-family: open sans, sans-serif;
    font-size: 0.9em;
}

.footer__developer--link--image {
    position: relative;
    width: 28px;
    height: 28px;
    fill: #fff;
    filter: brightness(20);
}

.footer__developer--link--image:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

/* translate button */
.translate__button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: sans-serif;
    z-index: 1000;
}

.translate__toggle {
    display: none;
}

.translate__icon {
    background: #4CABAF;
    color: #fff;
    font-size: 22px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.3s ease;
    user-select: none;
}

.translate__icon:hover {
    background: #2d6c6e;
}

.translate__toggle:checked + .translate__icon {
    transform: scale(0.9);
}

.translate__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

.translate__toggle:checked ~ .translate__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.translate__menu--language--link {
    display: block;
    background-color: #f2f2f2;
    border: #5f5f5f solid 1px;
    color: #333;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.1s ease;
}

.translate__menu--language--link:hover {
    background-color: #f2f2f2;
    border-color: #4CABAF;
    color: #4CABAF;
}

.translate__menu--language--link:active {
    transform: scale(0.95);
}

/* MEDIA QUERIES */

/* Media Query para laptops */
@media (max-width: 1200px) {
    .navbar {
        width: 70%;
    }

    .about {
        height: auto;
        padding-bottom: 50px;
        width: 100%;
    }

    .about__who,
    .about__mission,
    .about__vision {
        width: 90%;
        flex-direction: row;
        height: auto;
        padding: 20px;
        margin-top: 15px;
    }

    .about__hr {
        display: block;
    }

    .about__who--title,
    .about__mission--title,
    .about__vision--title {
        width: 20%;
        text-align: left;
        padding: 0;
    }

    .about__who--text,
    .about__mission--text,
    .about__vision--text {
        text-align: left;
        padding-left: 20px;
    }

    .benefits__container {
        width: 90%;
    }

    .products{
        height: 110vh;
    }

    .contact {
        height: auto;
        padding-bottom: 50px;
    }
}



/* Media Query para tablets */
@media (max-width: 992px) {
    .header__logo {
        width: 100px;
        height: 100px;
    }

    .about {
        height: auto;
        padding-bottom: 50px;
        width: 100%;
    }

    .about__who,
    .about__mission,
    .about__vision {
        flex-direction: column;
        width: 90%;
        text-align: center;
        padding: 20px;
        gap: 10px;
    }

    .about__hr {
        display: none;
    }

    .about__who--title,
    .about__mission--title,
    .about__vision--title {
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .about__who--text,
    .about__mission--text,
    .about__vision--text {
        text-align: center;
        padding-left: 0;
        width: 100%;
    }

    .about__mission {
        display: flex;
        flex-direction: column;
    }

    .about__mission--title {
        order: -1;
        margin-bottom: 10px;
    }

    .benefits {
        height: auto;
    }

    .benefits__container {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .benefits__container--items {
        font-size: 1.2em;
        min-height: 100px;
    }

    .products {
        height: auto;
        padding-bottom: 50px;
    }

    .products__container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .products__variety {
        height: auto;
    }

    .contact {
        height: auto;
        padding-bottom: 50px;
    }
}



/* Media Query para Celulares Grandes */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .hero__content--title {
        font-size: 2.5em;
    }

    .benefits {
        height: auto;
    }

    .benefits__container {
        grid-template-columns: 1fr;
        width: 70%;
    }

    .products {
        height: auto;
        padding-bottom: 50px;
    }

    .products__image {
        width: 100%;
        max-width: 300px;
        height: 300px;
        background-size: 100% 100%;
        margin: auto;
    }

    .products__image--right {
        right: 10px;
        left: unset;
    }

    .products__variety {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: auto;
    }

    .contact {
        height: auto;
        padding-bottom: 50px;
    }

    .contact__form {
        grid-template-columns: 1fr;
        width: 90%;
        padding: 0 20px;
    }

    .contact__form--inputs {
        width: 100%;
        min-width: unset;
        max-width: 400px;
    }

    .contact__form--textarea {
        width: 100%;
        min-width: unset;
        max-width: 400px;
        grid-column: span 1;
    }

    .contact__form--button {
        grid-column: span 1;
        justify-self: center;
    }

    .about__mission {
        display: flex;
        flex-direction: column;
    }

    .about__mission--title {
        order: -1;
        margin-bottom: 10px;
    }
}



/* Media Query para Celulares Pequeños */
@media (max-width: 576px) {
    .navbar {
        display: none;
    }

    .header__logo {
        width: 100px;
        height: 100px;
    }

    .hero__content--title {
        font-size: 2em;
    }

    .hero__content--subtitle {
        font-size: 1em;
    }

    .hero__content--button {
        padding: 10px 20px;
        font-size: 1.2em;
    }

    .about__title,
    .benefits__title,
    .products__title,
    .contact__title {
        font-size: 2.5em;
    }

    .benefits__container {
        width: 80%;
    }

    .products__image {
        width: 100%;
        max-width: 250px;
        height: 250px;
        background-size: 100% 100%;
    }

    .products__image--right {
        right: 5px;
    }

    .products__variety {
        width: 100%;
        max-width: 250px;
    }

    .footer {
        height: auto;
        padding: 30px 0;
    }

    .footer__developer {
        flex-direction: column;
        padding: 10px;
    }

    .about__mission {
        display: flex;
        flex-direction: column;
    }

    .about__mission--title {
        order: -1;
        margin-bottom: 10px;
    }
}



/* Media Query para Celulares extrachicos */
@media (max-width: 375px) {
    .navbar {
        display: none;
    }

    .header__logo {
        display: none;
    }

    .hero__content--title {
        font-size: 2em;
    }

    .hero__content--subtitle {
        font-size: 1em;
    }

    .hero__content--button {
        padding: 10px 20px;
        font-size: 1.2em;
    }

    .about__title,
    .benefits__title,
    .products__title,
    .contact__title {
        font-size: 2.5em;
    }

    .benefits__container {
        width: 80%;
    }

    .products__image {
        width: 100%;
        max-width: 250px;
        height: 250px;
        background-size: 100% 100%;
    }

    .products__image--right {
        right: 5px;
    }

    .products__variety {
        width: 100%;
        max-width: 250px;
    }

    .footer {
        height: auto;
        padding: 30px 0;
    }

    .footer__developer {
        flex-direction: column;
        padding: 10px;
    }

    .about__mission {
        display: flex;
        flex-direction: column;
    }

    .about__mission--title {
        order: -1;
        margin-bottom: 10px;
    }
}