/* ===================================
   SceneLink Consistent Header & Footer
   Unified across all pages
   =================================== */

/* Enhanced Header - Consistent Across All Pages */
.header-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.header-enhanced.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    flex: 0 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-main {
    height: 48px;
    width: auto;
    transition: filter 0.3s ease;
    object-fit: contain;
    vertical-align: middle;
}

.logo-container:hover .logo-main {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.nav-center {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold-primary);
}

.nav-link.active::after {
    width: 100%;
    transform: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-icon-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-icon-btn i {
    font-size: 1rem;
}

.btn-header-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-header-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Enhanced Footer - Consistent Across All Pages */
.footer-enhanced {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-bg) 100%);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-enhanced .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    padding: 4rem 0 2rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    object-fit: contain;
}

.footer-tagline {
    color: var(--gold-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.footer-column a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-column a:hover::before {
    width: 10px;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-enhanced {
        padding: 1rem;
    }
    
    .logo-main {
        height: 42px;
    }
    
    .nav-center {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-right {
        gap: 0.5rem;
    }
    
    .nav-icon-btn {
        width: 35px;
        height: 35px;
    }
    
    .btn-header-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column a:hover {
        transform: none;
    }
    
    .footer-column a:hover::before {
        display: none;
    }
}

/* Header Animation on Scroll */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-enhanced.animate-in {
    animation: headerSlideDown 0.6s ease forwards;
}

/* Footer Animation */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-enhanced.animate-in {
    animation: footerFadeIn 0.8s ease forwards;
}