/* ========================================
   COMMON NAVIGATION & FOOTER STYLES
   ======================================== */

/* Main Navbar - Fixed at top */
.main-navbar {
    background: rgba(3, 7, 18, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Navbar on scroll - enhanced sticky effect */
.main-navbar.scrolled {
    background: rgba(3, 7, 18, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.2);
    border-bottom-color: rgba(59, 130, 246, 0.3);
    padding: 0.75rem 2rem;
}

.main-navbar .nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.main-navbar .navbar-brand img {
    height: 40px;
    filter: brightness(1.1);
}

.main-navbar .brand-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.main-navbar .brand-title i {
    color: #3b82f6;
    font-size: 1rem;
}

.main-navbar .back-to-docs {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.main-navbar .back-to-docs:hover {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
}

.main-navbar .back-to-docs i {
    font-size: 0.75rem;
}

.main-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navbar .nav-link-item {
    color: #94a3b8;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.main-navbar .nav-link-item:hover {
    color: #fff;
}

.main-navbar .btn-signup {
    background: #3b82f6;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.main-navbar .btn-signup:hover {
    background: #2563eb;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Site Footer - Matching index.html styling */
.site-footer {
    background: #030712 !important;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 20px 30px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    border-top: none !important;
    box-shadow: none !important;
}

.site-footer::before,
.site-footer::after {
    display: none !important;
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer .footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.site-footer .footer-col {
    display: flex;
    flex-direction: column;
}

.site-footer .footer-col-inner h3.title,
.site-footer .footer-col h3,
.site-footer .footer-col-inner h5,
.site-footer .footer-col h5,
.site-footer h3,
.site-footer h5 {
    color: #60a5fa !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    letter-spacing: normal !important;
    background: none !important;
    border: none !important;
    border-left: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    position: static !important;
}

.site-footer h3::before,
.site-footer h5::before,
.site-footer .footer-col h3::before,
.site-footer .footer-col h5::before {
    display: none !important;
    content: none !important;
}

.site-footer .footer-col-inner ul,
.site-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-col-inner ul li,
.site-footer .footer-col ul li {
    margin-bottom: 0.75rem;
}

.site-footer .footer-col-inner ul li a,
.site-footer .footer-col ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-shadow: none !important;
    margin: 0 !important;
}

.site-footer .footer-col-inner ul li a::after,
.site-footer .footer-col ul li a::after {
    display: none !important;
}

.site-footer .footer-col-inner ul li a:hover,
.site-footer .footer-col ul li a:hover {
    color: #60a5fa !important;
    text-shadow: none !important;
}

.site-footer .footer-col-inner ul li a i,
.site-footer .footer-col ul li a i {
    width: 16px;
    text-align: center;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.site-footer .footer-trademark,
.site-footer .footer-copyright,
.site-footer .footer-bottom small {
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navbar {
        padding: 0.75rem 1rem;
    }

    .site-footer .footer-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .site-footer .footer-row {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

