/* Estilos específicos para a navegação */

/* Topbar fixa (horários + contador) */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background: rgba(27, 38, 59, 0.96);
    color: var(--text-light);
    z-index: 1100;
    display: flex;
    align-items: center;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    width: 100%;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.topbar-item i {
    color: var(--secondary-color);
}

/* .topbar-cta removida (CTA fica apenas na hero) */

@media (max-width: 768px) {
    :root {
        --topbar-height: 88px;
    }
    .topbar-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.3rem 0;
    }
    .topbar-left {
        justify-content: center;
        width: 100%;
    }
    .topbar {
        height: auto;
        min-height: var(--topbar-height);
        padding: 0.4rem 0;
    }
}

/* Navegação principal */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    margin-right: auto;
    padding-right: 2rem;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.church-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.6px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.nav-list {
    display: flex;
    gap: 1.4rem;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 800;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

/* Menu mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: calc(var(--header-height) + var(--topbar-height));
        left: -100%;
        width: 100%;
        height: calc(100vh - (var(--header-height) + var(--topbar-height)));
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.2rem;
        transition: left 0.35s ease;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 1rem;
    }

    .logo-container {
        padding-right: 1rem;
    }
}
