body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header & Navigation */
.main-header {
    background-color: #264653;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #264653;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: #e76f51;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #060404;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2a9d8f;
}

.background {
    background-image: url(../images/background-image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.text-overlay {
    text-wrap-style: pretty;
    text-align: left;
    padding: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    opacity: 0.2;
    transition: opacity 0.5s ease-in-out;
}

.background:hover .text-overlay {
    opacity: 1;
    color: wheat;
}

/* About Page*/
.about-background {
    background-image: url(../images/about-background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.about-background:hover .text-overlay {
    opacity: 1;
    color: wheat;
}

/* Team Section */
.team-grid {
    background-color: rgba(176, 110, 72, 0.863);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    text-align: center;
    flex: 1 1 250px;
    padding: 1rem;
}

.team-photo {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.member-name {
    font-weight: 700;
    font-size: 1.25rem;
}

.member-title {
    color: #dcd3d3;
}

/* Services Page*/
.services-background {
    background-color: rgba(176, 110, 72, 0.863);
    background-size: cover;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
}

.service-description {
    text-wrap-style: pretty;
}

/* Contact Us Page */
.contactUs-background {
    background-color: rgba(176, 110, 72, 0.863);
}
.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-item {
    text-align: center;
    max-width: 300px;
    padding: 2rem;
    background-color: beige;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    font-size: 1.25rem;
    color: #264653;
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 100%;
    margin: 0 auto;
    background-color: #264653;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: gray;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-button {
    width: 100%;
    background-color: #2a9d8f;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #264653;
}

/* Footer and Nav Bar */
.main-footer {
    background-color: #264653;
    color: white;
    padding: 2rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.main-footer address,
.main-footer p {
    margin: 0.5rem 0;
}

.main-footer a {
    color: #e9c46a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: #2a9d8f;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: left;
    }

    .nav-links {
        margin-top: 1rem;
        flex-direction: row;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.menu-button {
    display: block;
}
