/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}

header nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

#hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/clairesfield.jpg') no-repeat center center/cover;
    filter: blur(5px); /* Adjust the blur level as desired */
    z-index: -1; /* Place the blurred image behind the content */
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 0;
}

#hero h2 {
    position: relative;
    font-size: 2rem;
    padding: 10px;
    z-index: 1; /* Place text on top of the overlay */
}


#featured-work, #portfolio {
    padding: 2em;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    margin: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

form label, form input, form textarea, form button {
    margin: 10px 0;
    padding: 8px;
}

footer {
    text-align: center;
    padding: 1em;
    background-color: #333;
    color: #fff;
}
/* About Page Hero Section */
#about-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

#about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/clairesfield2.jpg') no-repeat center center/cover;
    filter: blur(5px); /* 5px blur for about page */
    z-index: -1;
}

#about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

#about-hero h2 {
    position: relative;
    font-size: 2rem;
    padding: 10px;
    z-index: 1;
}

/* Portfolio Page Hero Section */
#portfolio-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

#portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/clairesfield3.jpg') no-repeat center center/cover;
    filter: blur(5px); /* 5px blur for portfolio page */
    z-index: -1;
}

#portfolio-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

#portfolio-hero h2 {
    position: relative;
    font-size: 2rem;
    padding: 10px;
    z-index: 1;
}
