/* Universal Header Styles - Glass Cylinder Design */
.universal-header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 25px;
    padding: 0.5rem;
}

.universal-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.universal-header .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.universal-header .logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.universal-header .logo-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-header .logo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.universal-header .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F62217;
    text-decoration: none;
    transition: all 0.3s ease;
}

.universal-header .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.universal-header .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.universal-header .nav-link:hover {
    color: #F62217;
    background: rgba(246, 34, 23, 0.1);
}

.universal-header .nav-link.active {
    color: #F62217;
    background: rgba(246, 34, 23, 0.15);
}

.universal-header .mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: black;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.universal-header .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.universal-header .mobile-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 90%;
    max-width: 300px;
}

.universal-header .mobile-menu.active {
    display: block;
}

.universal-header .mobile-nav-links {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .universal-header .nav-links {
        display: none;
    }
    
    .universal-header .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .universal-header {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem;
        border-radius: 15px;
    }
    
    .universal-header .flex {
        height: 4rem;
    }
    
    .universal-header .logo-text {
        font-size: 1.25rem;
    }
    
    .universal-header .logo-circle {
        width: 2rem;
        height: 2rem;
    }
    
    .universal-header .mobile-menu {
        top: calc(100% + 0.25rem);
        width: 95%;
        max-width: 280px;
        border-radius: 15px;
    }
    
    .universal-header .mobile-nav-links {
        padding: 0.75rem;
        gap: 0.25rem;
    }
    
    .universal-header .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .universal-header {
        top: 0.25rem;
        left: 0.25rem;
        right: 0.25rem;
        padding: 0.5rem;
        border-radius: 10px;
    }
    
    .universal-header .flex {
        height: 3.5rem;
    }
    
    .universal-header .logo-text {
        font-size: 1.125rem;
    }
    
    .universal-header .logo-circle {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .universal-header .mobile-menu {
        width: 98%;
        max-width: 260px;
        border-radius: 10px;
    }
    
    .universal-header .mobile-nav-links {
        padding: 0.5rem;
    }
    
    .universal-header .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Add margin to body content to account for fixed header */
body {
    padding-top: 6rem;
}

@media (max-width: 768px) {
    body {
        padding-top: 5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 4.5rem;
    }
}

/* Remove conflicting nav-link styles */
.nav-link::after {
    display: none;
}