/* #region HERO */

.mainpage-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1)), url('/IMAGES/MAINPAGE/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.mainpage-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.mainpage-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.mainpage-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.mainpage-hero-content a {
    margin-left: 1rem;
    margin-right: 1rem;
}

.mainpage-hero-testimonials-container {
    display: flex;
    justify-content: center;
}

.mainpage-hero-testimonials-container div {
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: fit-content;
    gap: 10px;
}

.mainpage-hero-testimonials-container div img {
    height: 30px;
}

/* #endregion */

/* #region CATEGORY SECTION */

.mainpage-category-section-image {
    background-size: cover;
    background-position: center;
    width: 50%;
}
/* #endregion */

/* #region CATEGORY SECTION RIGHT */

.mainpage-category-section-right {
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.mainpage-category-section-right-text {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    gap: 20px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: right;
}

.mainpage-category-section-right-text p {
    padding-bottom: 10px;
}

.mainpage-category-section-right-text a {
    text-decoration: none;
    color: var(--primary-color);
}

/* #endregion */

/* #region CATEGORY SECTION LEFT */

.mainpage-category-section-left {
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

.mainpage-category-section-left-text {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: left;
}

.mainpage-category-section-left p {
    padding-bottom: 10px;
}

.mainpage-category-section-left-text a {
    text-decoration: none;
    color: var(--primary-color);
}

/* #endregion */

/* #region BENEFITS */

.mainpage-benefits-section {
    padding: 5rem 0;
}

.mainpage-benefits-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mainpage-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;

    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
}

.mainpage-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mainpage-benefit-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: var(--card-background);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.mainpage-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mainpage-benefit-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

.mainpage-benefit-icon img {
    width: 100%;
    height: 100%;
}

.mainpage-benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* #endregion */

@media (max-width: 768px) {

    .mainpage-category-section-left-text {
        width: 100%;
    }

    .mainpage-category-section-right-text {
        width: 100%;
    }

    .mainpage-hero-testimonials-container {
        display: none;
    }

    .mainpage-category-section-image {
        display: none;
    }
}

@media (min-width: 769px) {

    .mainpage-category-section-right {
        background-image: none !important;
    }

    .mainpage-category-section-left {
        background-image: none !important;
    }
}
