
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    min-height: 56px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    background: #2e7d32;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
}

    nav a {
        text-decoration: none;
        color: #222;
        margin: 0 10px;
        font-weight: 500;
        font-size: 0.98rem;
        transition: color 0.2s;
        position: relative;
        padding: 4px 0;
    }

        nav a.active,
        nav a:hover {
            color: #2e7d32;
        }

            nav a.active::after,
            nav a:hover::after {
                content: '';
                display: block;
                height: 2px;
                background: #2e7d32;
                width: 100%;
                position: absolute;
                left: 0;
                bottom: -2px;
            }

.header-contact {
    font-weight: 600;
    color: #2e7d32;
    font-size: 1rem;
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 16px 8px 8px 8px;
        min-height: 44px;
    }

    .logo {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

        .logo img {
            margin: 0 auto;
            display: block;
            max-width: 180px;
            width: 70vw;
            height: auto;
            padding: 8px 0;
            transition: box-shadow 0.3s;
        }

    nav {
        width: 100%;
        justify-content: center !important;
        flex-wrap: wrap;
        margin-top: 2px;
    }

        nav a {
            margin: 0 10px 6px 10px;
            font-size: 1rem;
        }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 12px 2px 6px 2px;
        min-height: 38px;
    }

    .logo {
        width: 100%;
        margin-bottom: 8px;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

        .logo img {
            margin: 0 auto;
            display: block;
            max-width: 188px;
            width: 60vw;
            height: auto;
            padding: 4px 0;
        }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0;
    }

        nav a {
            font-size: 0.95rem;
            margin: 0 6px 4px 6px;
        }
}
