/* styles.css */
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header Styles */
.header {
    background: #010b16;
    color: #fff;
    padding: 1rem;
    text-align: center;
    position: relative;
}

/* Home Section Styles */
.home {
    background: white;
    text-align: center;
    padding: 2rem 1rem;
}

.home-features {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.feature-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    width: 30%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    color: #c90e17;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #333;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .home-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 80%;
        margin-bottom: 1rem;
    }
}


/* About Us Section */
.about {
       background: #fce4ec; /* Light pink background */
 
    color: #333; /* Dark text for better readability */
    text-align: center;
    padding: 2rem 1rem;
}

/* Services Section */
.services {
    background: #c8e6c9; /* Light green background */
    padding: 2rem 1rem;
    text-align: center;
}

.services h2 {
    margin-bottom: 1rem;
    color: #010b16; /* Dark color for the heading */
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Responsive grid */
    gap: 1rem;
    margin-top: 1rem;
}

/* Service Item */
.service-item {
    background: white; /* White background for each service item */
    border: 1px solid #ddd; /* Light border for better visibility */
    border-radius: 8px; /* Rounded corners */
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth hover effect */
    text-align: center; /* Center align text */
}

.service-icon {
    width: 100px; /* Adjust icon size to square */
    height: 100px; /* Make icon square */
    object-fit: cover; /* Ensure image covers the area */
    margin-bottom: 0.5rem; /* Space between icon and text */
}

.service-item:hover {
    transform: scale(1.05); /* Scale effect on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Gallery Section */
.gallery {
    background: #fce4ec; /* Light pink background */
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 150px; /* Set a fixed width for images */
    height: 150px; /* Set a fixed height for images to make them square */
    object-fit: cover; /* Ensure images cover the square area */
    border-radius: 8px; /* Optional rounded corners */
}

/* Contact Section */
.contact {
    background: #bbdefb; /* Light blue background */
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea,
.contact form select {
    margin: 0.5rem 0;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact form button {
    padding: 0.5rem;
    background: #010b16; /* Dark button background */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact form button:hover {
    background: #c90e17; /* Button hover color */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 2em;
    max-width: 500px;
    width: 90%;
    margin: auto;
    text-align: center;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #000; /* Dark footer background */
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .header .nav ul li {
        display: block;
        margin: 10px 0;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust for smaller screens */
    }
}
