/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    /* Removed 'cursor: none;' to enable the default cursor */
}

/* Watermark */
#watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(255, 0, 0, 0.1); /* Red color with transparency */
    pointer-events: none; /* Prevents interaction */
    z-index: -1; /* Sends watermark behind other elements */
}

/* Product page container */
.product-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading */
h1 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
}

/* Product card */
.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    display: flex; /* Use flexbox for better alignment */
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Distribute space evenly */
    height: 100%; /* Make the card responsive */
}

/* Ensure image responsiveness */
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    max-height: 150px; /* Set a max height for images */
    object-fit: cover; /* Cover the area while maintaining aspect ratio */
}

/* Title styles */
.product-card h2 {
    font-size: 1.2em;
    margin: 10px 0;
    min-height: 40px; /* Ensure a minimum height for consistent alignment */
}

/* Description styles */
.product-card p {
    font-size: 0.9em;
    color: #555;
    text-align: left;  
    margin: 0;        
    line-height: 1.5;  
    padding-left: 20px; /* Indentation for bullet points */
    list-style-type: disc; /* Use bullet points */
    flex-grow: 1; /* Allow the paragraph to grow and fill available space */
}

/* Button styling */
.product-card a.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card a.btn:hover {
    background-color: #0056b3;
}

/* Hover effect on product card */
.product-card:hover {
    transform: translateY(-5px);
}

/* Removed custom cursor styling */
/* Responsive Design */
@media (max-width: 1200px) {
    .product-card {
        height: auto; /* Allow height to adjust for smaller screens */
    }
    h1 {
        font-size: 2em;
    }
    .product-card h2 {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
}
