/* Header Card Specific Styles */

/* Header wrapper to contain both parts */
.header-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Specific styling for the header card */
.header-card {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 5px; /* Reduced to bring navbar closer */
}

.header-card .card-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-card .header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.header-card .header-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    margin-top: 8px;
}

.header-card .title {
    font-size: 2.5rem;
    margin: 0;
}

.header-card .tagline {
    font-size: 1rem;
    color: #aaa;
    margin: 5px 0 0;
}

/* Sticky nav container */
.header-nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(10, 10, 10, 0.9); /* More opaque background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.3s ease;
    /* Box shadow when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Header navigation styles */
.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

/* Updated navigation link style - simplified with no background */
.header-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 16px;
    text-decoration: none;
    color: #e0e0e0;
    padding: 8px 15px;
    transition: all 0.25s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.header-nav-link:hover {
    transform: translateY(-2px);
    color: var(--circle-primary-color, #D4AF37);
}

/* Add a subtle underline indicator on hover */
.header-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--circle-primary-color, #D4AF37);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.header-nav-link:hover::after {
    width: 75%;
    opacity: 0.7;
}

/* Remove the hover gradient effect */
.header-nav-link::before {
    display: none;
}

/* Make active link stand out with theme color */
.header-nav-link.active {
    color: var(--circle-primary-color, #D4AF37) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--circle-primary-color, #D4AF37);
    padding-bottom: 6px; /* compensate for border */
    transform: none; /* Don't apply the hover transform */
}

/* Ensure the active link doesn't show the hover animation */
.header-nav-link.active::after {
    display: none;
}

/* Prevent hover effects on active link */
.header-nav-link.active:hover {
    transform: none;
    color: var(--circle-primary-color, #D4AF37) !important;
}

/* Responsive adjustments for header card */
@media (max-width: 768px) {
    .header-card .header-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-card .header-logo {
        margin-right: 0;
    }
    
    .header-nav {
        gap: 10px;
    }
    
    .header-nav-link {
        font-size: 14px;
        padding: 6px 15px;
    }
    
    .header-nav-link.active {
        padding-bottom: 4px; /* compensate for border */
    }
}

@media (max-width: 576px) {
    .header-card .title {
        font-size: 2rem;
    }
    
    .header-card .tagline {
        font-size: 0.9rem;
    }
    
    .header-nav-link {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .header-nav-link.active {
        padding-bottom: 3px; /* compensate for border */
    }
} 