* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 1.2em;
}

body {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.4;
}

header {
    background: #1A383F;
    color: #fff;
    padding: 1rem 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif Pro', serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 2.4rem;
}

nav .logo {
    font-size: 1.5rem;
    font-family: 'Source Serif Pro', serif;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #def0c4;
}

@media (max-width: 600px) {
    html {
        font-size: 1.1em;
    }
    ul {
        flex-direction: column;
    }
}

#hero {
    background: url('hero-comp.avif') no-repeat center center/cover;
    color: #FFF;
    text-align: center;
    text-shadow: 1px 1px 2px black, 0 0 25px #1A383F, 0 0 5px darkblue;
    padding: 35vh 1rem;
}

#hero h1 {
    font-size: 2.25rem;
}
@media (max-width: 600px) {
    #hero h1 {
        font-size: 1.75rem;
    }
}

#services, #portfolio, #about, #contact {
    padding: 2rem 2rem;
    text-align: center;
}

#services, #contact {
    background-color: #f1f7f6;
}
#about {
    background-color: #fbfbfb;
}

#services h2, #portfolio h2, #about h2, #contact h2 {
    margin-bottom: 1rem;
}

#services .service {
    margin-bottom: 1rem;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

#contact form input, #contact form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
}

#contact form button {
    padding: 0.5rem;
    border: none;
    background: #1A383F;
    color: #fff;
    cursor: pointer;
}

footer {
    background: #1A383F;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
