/* Header-specific styles */

.hero {
    position: relative;
    width: 100%;
    height: 40vh;
    max-height: 750px;
    overflow: hidden;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 2rem;
}

.logo {
    width: 20vw;
    max-width: 150px;
    display: block;
    margin: 0 auto 1rem;

}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


header .nav {
    width: 100%;
    position: relative;
}


.nav-toggle {
    display: none;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle img {
    width: 32px;
    height: 32px;
}

@media (max-width: 767px) {
    .hero {
        max-height: 400px;
    }

    header .nav {
        background: var(--color-primary);
    }

    .nav-toggle {
        display: flex;
        width: 100%;
        justify-content: right;
        padding-right: 10%;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    #nav-menu.active {
        display: flex;
    }
}


