/* Hero Section */

section.hero {
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;

    max-width: 700px;
}

.hero-banner {
    position: relative;
    width: 90vw;
    height: 50vh;
    object-fit: cover;
    border-radius: 25px;
}

/* Products Section */

section.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
    padding: 25px;
    border-radius: 25px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: clamp(160px, 35vw, 220px);
    object-fit: cover;
    border-radius: 12px;
}

.product-card p {
    min-width: 0;
    max-width: none;
    font-size: 0.9rem;
}

.product-card strong {
    color: #8a7100;
    font-size: 1.2rem;
}

/* About Section */

section.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    box-sizing: border-box;
    padding: 25px;
    border-radius: 25px;
}

section.about .about-text {
    max-width: 350px;
}

section.about .about-image {
    width: 50%;
    max-width: 400px;
    height: auto;
    border-radius: 25px;
}

section.partners {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: fit-content;
}  

    .partners-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
        padding: 25px;
    }

        .partners-container img {
            width: 25%;
            height: auto;
            object-fit: contain;
        }

@media (max-width: 760px) {
    .hero-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 32 / 15;
    }

    .hero-banner {
        object-position: center;
    }

    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    section.products,
    section.about {
        padding: 1.25rem;
    }

    .product-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card {
        padding: 16px;
    }

    section.about {
        flex-direction: column;
        gap: 1.5rem;
    }

    section.about .about-image,
    section.about .about-text {
        width: 100%;
        max-width: none;
    }

    .partners-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1rem;
    }

    .partners-container img {
        width: min(40%, 140px);
    }
}

@media (min-width: 761px) and (max-width: 900px) {
    section.about {
        flex-direction: column;
    }

    section.about .about-image,
    section.about .about-text {
        width: min(100%, 540px);
        max-width: none;
    }
}
