/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header Styles */
header {
    background-color: #005daa;
    color: #ffffff;
    text-align: center;
    padding: 2rem 1rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0;
    font-size: 1.2rem;
}

/* Navigation Bar Styles */
nav {
    background-color: #333;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
}

/* Main Content Styles */
main {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative; /* Needed for pseudo-element positioning */
    overflow: hidden; /* Ensures pseudo-element doesn't overflow */
}

/* Background image for #about section */
#about {
    background: #fff; /* Fallback color */
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/edmonton_background.jpg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* 50% opacity */
    z-index: 0; /* Place behind content */
}

#about h2, #about p {
    position: relative; /* Ensure text content is above the background image */
    z-index: 1;
}

h2 {
    color: #005daa;
    border-bottom: 2px solid #005daa;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #218838;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect overall width */
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing */
}

.contact-form .cta-button {
    width: auto; /* Override general cta-button width if it's set to 100% */
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}
