/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #F7F4D1; /* Light beige background */
    color: #062223; /* Dark text color */
    margin: 0;
    padding: 0;
}

/* Header styles with background image */
header {
    background-image: url('assets/img/vancouver-skyline.jpg'); /* image path */
    background-size: cover; /* Cover the entire header area */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent repeating the image */
    padding: 10px 20px;
    border-bottom: 2px solid #4E977A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo styles */
header .logo img {
    height: auto;
    max-width: 100%;
}

/* Footer styles */
footer {
    background-color: #4E977A; /* Secondary color */
    color: #F7F4D1; /* Light beige text */
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid #418B7E;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Navigation styles */
nav {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #F7F4D1; /* Light beige text color */
    font-weight: bold;
    font-size: 21px;
    padding: 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #418B7E; /* Hover color */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul {
        display: block;
        width: 100%;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    nav ul li a {
        font-size: 18px;
    }
}

/* Ensuring Logo Adjusts with Smaller Window on Desktop */
@media (max-width: 1024px) {
    header .logo img {
        max-width: 70%;
        height: auto;
    }
}

/* Team Member Styles */
.team-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.team-member {
    text-align: center;
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
}

.team-member .team-photo {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Section styles */
section {
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
}

/* About Us Section */
#about-us {
    padding: 20px;
    margin: 20px;
    background-color: #F7F4D1; /* Light beige background */
    border: 1px solid #4E977A;
    border-radius: 8px;
    color: #062223; /* Dark text color */
}

#about-us h2 {
    color: #09302B; /* Heading color */
    text-align: left;
}

#about-us p {
    text-align: left;
}

/* Call-to-Action Section */
#call-to-action {
    background-color: #12502B;
    border: 1px solid #4E977A;
    color: #F7F4D1;
    text-align: left;
}

#call-to-action h2 {
    color: #F7F4D1;
}

#call-to-action p {
    color: #F7F4D1;
}

/* Button Styles (applies to hero, about-us, and call-to-action sections) */
.btn {
    background-color: #09302B;
    color: #D46A40;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.btn:hover {
    background-color: #062223;
}

/* Contact Form Styles */
#contact {
    padding: 20px;
    max-width: 600px;
    margin: auto;
    background-color: #F7F4D1;
    border: 1px solid #4E977A;
    border-radius: 8px;
}

h1 {
    color: #09302B;
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    color: #09302B;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button.btn {
    background-color: #09302B;
    color: #F7F4D1;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

button.btn:hover {
    background-color: #062223;
}

/* Text alignment adjustments for desktop view */
@media (min-width: 768px) {
    body, header, footer, section, h1, h2, h3, h4, h5, h6, p, form, .team-member, .form-group, button.btn {
        text-align: left;
    }

    footer {
        text-align: left;
    }

    .team-member {
        text-align: left;
    }

    .team-container {
        justify-content: flex-start;
    }

    #call-to-action, #contact {
        text-align: left;
    }

    #call-to-action .btn, button.btn {
        margin-left: 0;
    }
}
