/* products.css */

/* Intro section styling */
.intro {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin: 2rem;
}

.intro a {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-top: 1rem;
}

.intro img {
    max-width: 25%;
    height: auto;
    border-radius: 8px;
}

.intro h2 {
    margin-top: 1rem;
}

.intro p {
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

/* Product section styling */
.angel-number-products {
    margin: 2rem auto; /* Center the section horizontally */
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    width: 75%; /* Contain in the middle 75% of the screen */
    text-align: center;
}

.angel-number-products h2 {
    margin-bottom: 1.5rem;
}

.product-card {
    display: inline-block;
    width: 30%;
    margin: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.product-card h2 {
    margin: 0.5rem 0;
}

.product-card p {
    padding: 0 1rem 1rem;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .intro img {
        max-width: 50%; /* Increase image size for better visibility on mobile */
    }

    .intro p {
        font-size: 1rem; /* Adjust font size for mobile readability */
    }

    .angel-number-products {
        width: 90%; /* Increase width for better use of mobile screen space */
        padding: 1rem; /* Adjust padding for mobile */
    }

    .product-card {
        width: 100%; /* Make each product card take full width on mobile */
        margin: 0.5rem 0; /* Adjust margin for spacing between cards */
    }
}
