/* 
=================================================================
PRODUCTS SECTION STYLES
=================================================================
*/

.products-section {
    padding: 4rem 2rem;
    position: relative;
}

.products-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.products-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.parallax-products {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .products-section {
        padding: 2rem 1rem;
    }

    .products-header h2 {
        font-size: 2rem;
    }

    .products-header p {
        font-size: 1rem;
    }

    .parallax-products {
        background-attachment: scroll;
        min-height: 250px;
    }
}

/* ================================================================
   MOBILE CENTERING - Products Section
   ================================================================ */

@media (max-width: 480px) {
    .products-section {
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .products-section-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .products-header {
        text-align: center;
        margin-bottom: 2rem;
        width: 100%;
    }

    .products-header h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    .products-header p {
        font-size: 0.95rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .parallax-products {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .products-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .products-section-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .products-header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .products-header h2,
    .products-header p {
        text-align: center;
        width: 100%;
    }
}
