* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lora", serif;
}

nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

.branding {
    text-align: center;
    flex-grow: 1;
    padding: 0 2rem;
}

.branding h2 {
    color: #2c3e50;
    margin-bottom: 0.4rem;
    font-size: 2.2rem;
}

.branding p {
    color: #800000;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
}

.nav-row {
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    gap: 2.5rem;
    background: #800000;
    border-bottom: 1px solid #e0e0e0;
}

.nav-row a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-row a:hover {
    color: #ff6d03;
}

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .top-row {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .branding {
        display: none;
    }

    .nav-row {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        position: absolute;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .nav-row.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .menu-icon.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}