/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh; /* Ensure the body takes at least full viewport height */
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4; /* Light background color for the page */
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #008080, #00bcd4); /* Teal to cyan gradient */
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header h1 {
    font-size: 2rem;
    margin: 0;
    font-family: 'Verdana', sans-serif; /* Different font for the header */
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Main Styles */
main {
    flex: 1; /* Allow the main content to grow and push footer down */
    padding: 20px;
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* For overlay positioning */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05); /* Zoom effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.gallery-item img {
    width: 100%; /* Make sure image takes full width */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    opacity: 0.7; /* Dim image on hover */
}

/* Overlay Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5); /* Slight background to improve readability */
    border-radius: 5px;
}

/* Info Section Styles */
.info {
    padding: 15px;
    text-align: center;
}

.info h2 {
    margin: 0 0 10px;
    font-size: 18px;
    font-family: 'Verdana', sans-serif; /* Consistent font for titles */
}

.info p {
    margin: 0 0 15px;
    color: #888;
}

/* Button Styles */
.buy-button {
    background-color: #28a745;
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.buy-button:hover {
    background-color: #218838;
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    overflow: hidden;
    background: #fff; /* Ensure the background is visible */
    padding: 20px; /* Add some padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add shadow for better visibility */
    border-radius: 8px;
}

.modal img {
    max-width: 100%;
    max-height: 80vh; /* Ensures the image fits within the viewport height */
    object-fit: contain; /* Ensures the image fits within the modal without distortion */
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7); /* Light background for visibility */
    border-radius: 50%;
    padding: 5px;
}

.close:hover {
    color: #f00;
}/* Footer Content */
.footer-content {
    max-width: 1200px; /* Restrict content width for better layout */
    margin: 0 auto; /* Center align content */
}

/* Footer Links */
.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: darkmagenta;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700; /* Change color on hover */
}

/* Social Media Icons */
.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color:red;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffd700; /* Change color on hover */
}

/* Copyright */
.footer-copyright {
    font-size: 14px;
    color: #00bcd4;
    margin: 10px 0;
}
/* text */
/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

.text {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

header, footer {
    text-align: center;
    padding: 20px 0;
}

.heading {
    font-size: 2em;
    margin: 20px 0;
    color: #444;
}

.introduction, .benefits, .care {
    margin: 20px 0;
}

.introduction p, .benefits p, .care p {
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5em;
    color: #666;
}

ul {
    list-style-type: disc;
    margin: 10px 0;
    padding: 0 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .heading {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    ul {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .heading {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }

    ul {
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1em;
    }

    ul {
        padding-left: 5px;
    }
}
