/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    padding: 10px 20px;
    background-color: #222;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo-container {
    width: 80px;
    margin: 0 auto;
}

.logo {
    width: 100%;
    max-width: 80px;
}

h1 {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: bold;
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
}

nav ul li {
    margin: 10px 10px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffb3b3;
}

/* Portfolio Section */
#portfolio {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

#portfolio h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
}

#portfolio p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    justify-items: center;
}

.thumbnail {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
    text-align: center;
}

.modal-content {
    margin: auto;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ffb3b3;
}

/* Services Intro Section */
#services-intro {
    padding: 40px 20px;
    background-color: #fff;
    text-align: left;
}

#services-intro h2 {
    font-size: 2.4rem;
    color: #1e3c72;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#services-intro p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

#services-intro ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 1rem;
    color: #444;
}

/* Artistic Text Style */
.artistic-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #1e3c72;
    text-align: center;
    margin: 40px 80px;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Contact Us Section */
#contact-us {
    padding: 20px 20px;
    background: #dce4f7;
    background-image: linear-gradient(135deg, #dce4f7, #f1f8ff);
    width: 100%;
    margin: 0;
}

#contact-us-content {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
    color: #333;
    font-size: 0.95rem;
}

#contact-us-content h2 {
    font-size: 2.4rem;
    color: #1e3c72;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#contact-us-content p {
    font-size: 1rem;
    margin-bottom: 2px;
    line-height: 1.4;
    font-family: 'Roboto', sans-serif;
    color: #444;
}

#contact-us-content a {
    color: #6e7fdb;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-us-content a:hover {
    color: #1e3c72;
}

#contact-us-content input,
#contact-us-content textarea {
    padding: 12px;
    font-size: 0.95rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 100%;
    transition: border-color 0.3s ease;
}

#contact-us-content input:focus,
#contact-us-content textarea:focus {
    border-color: #6e7fdb;
    outline: none;
}

#contact-us-content button {
    padding: 12px;
    font-size: 1rem;
    background-color: #6e7fdb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-us-content button:hover {
    background-color: #1e3c72;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    margin-top: 10px;
}

footer p {
    font-size: 1rem;
    font-weight: 400;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    header {
        padding: 1px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .thumbnail {
        max-width: 100%;
    }

    #contact-us {
        padding: 15px;
    }

    #contact-us-content {
        padding: 10px;
    }

    #contact-us-content h2 {
        font-size: 1.8rem;
    }

    #contact-us-content p {
        font-size: 0.9rem;
    }

    #contact-us-content button {
        width: 100%;
    }

    h1 {
        font-size: 1.2rem;
    }

    nav ul li {
        margin: 5px;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    /* Adjustments for Portfolio Section on Mobile */
    #portfolio h2 {
        font-size: 1.1rem; /* Smaller font size for mobile */
        margin-bottom: 1px; /* Adjusted margin for mobile */
	}	
	#portfolio p {
        font-size: 0.7rem; /* Smaller font size for mobile */
        margin-bottom: 1px; /* Adjusted margin for mobile */
    
    }

    /* Adjustments for Artistic Text on Mobile */
    .artistic-text {
        font-size: 0.8rem; /* Smaller font size for mobile */
        margin: 1px 1px; /* Reduced margin for mobile */
    }
}
