/*
CSS-kommentar: Strukturöversikt
0. Loader
1. Hero-sektion
2. Produktsektion
*/

/* 1. Hero-sektion */

.hero {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fff6f2 0%, #ffe6e0 50%, #ffd5cc 100%);
}

.hero-content {
    max-width: 32rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #403226;
}

.hero-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.hero-btn {
    padding: 0.8rem 1.6rem;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
}

.hero-image picture {
    display: block;
}

.hero-image img {
    width: 53rem;
    height: auto;
}

.main-products {
    padding: 4rem 0;
}

.main-products h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #403226;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    position: relative;
    min-height: 200px;
    margin: 1rem;
    display: flex;
    align-items: center;
    padding: 40px 40px 40px 160px;
    background: #efe9e1;
}

.product-card picture {
    display: contents;
}

.product-image {
    position: absolute;
    left: -2rem;
    bottom: -2rem;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-content {
    max-width: 520px;
}

.product-content h3 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 750;
    color: #403226;
}

.product-content p {
    margin: 0 0 24px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.products-btn {
    display: inline-block;
    color: #f5f7f4;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 10px;
    font-size: 1rem;
}

.products-btn:hover {
    opacity: 0.9;
}

.card-antiox .products-btn {
    background: #b23a48;
}

.card-boost .products-btn {
    background: #f4a300;
}

.card-carrot .products-btn {
    background: #f57c00;
}

.card-cleanse .products-btn {
    background: #4f8f2e;
}

.card-ginger .products-btn {
    background: #e6b84a;
}

.card-rose .products-btn {
    background: #e84c6a;
}

@media (max-width: 992px) {
    .hero-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        text-align: center;
        height: 5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image img {
        width: 16rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 240px;
        margin: 1rem;
    }
}

@media (max-width: 600px) {
    .product-card {
        position: relative;
        padding: 30px;
    }

    .product-image {
        position: absolute;
        left: auto;
        bottom: -3rem;
        right: -10px;
        max-height: 180px;
    }
}
