/* Header Component Styles */
/* Rohi Prathana Bhawan - Header CSS */

/* FIXED HEADER - Always visible at top */
.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
    width: 100% !important;
    transition: all 0.3s ease;
}

/* Header shadow on scroll */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

/* Navigation Container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a.active {
    background: rgba(255,255,255,0.2);
}

.nav-links a:hover {
    background: rgba(255,255,255,0.1);
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(45deg, #ffffff, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #fbbf24;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 5px #fbbf24; }
    to { text-shadow: 0 0 20px #fbbf24, 0 0 30px #fbbf24; }
}

/* Auth Buttons Container */
.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform: translateY(0) scale(1);
}

.btn-outline {
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1e3a8a !important;
    border-color: white !important;
}

.btn-primary {
    background: #ff8000;
    color: white;
}

.btn-primary:hover {
    background: #ffaa00 !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
}

.btn:not(:hover) {
    transform: translateY(0) !important;
}

.btn:active {
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
}

/* Tablet view: show only cross icon in logo (hide text) */
@media (min-width: 769px) and (max-width: 1025px) {
    .logo {
        font-size: 0;
    }
    .logo i {
        font-size: 1.8rem;
    }

    /* Make navigation more compact in this width range */
    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }

    .auth-buttons {
        gap: 0.6rem;
    }

    .auth-buttons .btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .header, .nav-links, .auth-buttons {
        display: none;
    }
}
