/* Newseragh Custom Navbar Styles */

.sticky-top-utility {
    position: sticky;
    top: 0;
    z-index: 1040;
}

.utility-bar {
    background: #181a1b;
    color: #f1f1f1;
    font-size: 0.95rem;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid #222;
}

.utility-bar .trending-badge {
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 1rem;
}

.utility-bar .ticker {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    display: inline-block;
}

.utility-bar .date {
    margin-right: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.utility-bar .social-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.utility-bar .social-icons a {
    color: #f1f1f1;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.utility-bar .social-icons a:hover {
    color: #007bff;
}

.utility-bar .follow-label {
    margin-right: 8px;
    font-weight: 500;
    color: #ccc;
}

@media (max-width: 768px) {
    .utility-bar .social-icons {
        display: none;
    }

    .utility-bar .follow-label {
        display: none;
    }
}

.main-navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.5rem 0;
    position: sticky;
    top: 0px;
    z-index: 1030;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.main-navbar.glass {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.main-navbar .navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff !important;
    letter-spacing: 1px;
}

.main-navbar .navbar-subtitle {
    font-size: 0.95rem;
    color: #888;
    margin-top: -6px;
    margin-bottom: 2px;
    margin-left: 2px;
}

.main-navbar .nav-link {
    color: #222 !important;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.2s;
}

.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
    color: #007bff !important;
}

.main-navbar .weather-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #222;
    margin-right: 16px;
}

.main-navbar .search-btn {
    border-radius: 50%;
    border: 2px solid #007bff;
    background: #fff;
    color: #007bff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.2s, color 0.2s;
}

.main-navbar .search-btn:hover {
    background: #007bff;
    color: #fff;
}

@media (max-width: 991px) {
    .main-navbar .weather-widget {
        margin-top: 8px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .main-navbar .navbar-brand {
        font-size: 1.3rem;
    }

    .main-navbar .navbar-subtitle {
        font-size: 0.8rem;
    }

    .main-navbar .weather-widget {
        font-size: 0.95rem;
        flex-direction: column;
        align-items: flex-start;
        margin-right: 0;
    }
}