/* Forum Navbar Styles */

:root {
    --text-primary: #f0f0f0;
    --accent-orange: #ff8c42;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to right, #0d0d0f, #1c0f08);
    border-bottom: 1px solid var(--accent-dark);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    color: var(--accent-orange);
    font-size: 2.2rem;
    background: rgba(25, 25, 30, 0.7);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo-gradient {
    background: linear-gradient(to right, var(--accent-orange), #ffb77a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-orange), #ffb77a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Search Bar */
.search-bar {
    display: flex;
    width: 40%;
    position: relative;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #e2e8f0;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

.search-bar input::placeholder {
    color: #94a3b8;
}

/* User Actions */
.user-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-orange);
}

.btn-signup {
    background: var(--accent-orange);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-logout {
    background: #dc3545;
    color: #ffffff;
    border: 1px solid #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-logout:hover {
    background: #c82333;
    border-color: #bd2130;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

/* Navigation */
nav {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 140, 66, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent-orange);
    opacity: 1;
}

.nav-links a.active {
    color: var(--accent-orange);
    font-weight: 600;
    opacity: 1;
}

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

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 140, 66, 0.1);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-item a,
.breadcrumb-item span {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-orange);
}

.breadcrumb-item.active span {
    color: var(--accent-orange);
    font-weight: 600;
}

.breadcrumb-divider {
    color: #94a3b8;
    font-size: 0.8rem;
    margin: 0 4px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .search-bar {
        width: 100%;
    }

    .breadcrumb-list {
        gap: 6px;
        justify-content: center;
    }

    .breadcrumb-item a,
    .breadcrumb-item span {
        font-size: 0.85rem;
    }

    .forum-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .forum-title {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .search-bar input {
        padding: 10px 40px 10px 35px;
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .breadcrumb-nav {
        padding-top: 10px;
    }

    .breadcrumb-list {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 10px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.6rem;
    }
}