/* ============================================ */
/* HEADER STYLES                                 */
/* ============================================ */

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ---- LOGO ---- */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
}

.logo-text h2 {
    font-size: 18px;
    font-weight: 800;
    color: #064e3b;
    line-height: 1.1;
    margin: 0;
}

.logo-text span {
    font-size: 10px;
    color: #059669;
    display: block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---- NAVIGATION LINKS ---- */
.nav-links ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links ul li a {
    color: #4a4a6a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #059669, #047857);
    transition: width 0.3s ease;
}

.nav-links ul li a:hover {
    color: #059669;
}

.nav-links ul li a:hover::after,
.nav-links ul li a.active::after {
    width: 100%;
}

.nav-links ul li a.active {
    color: #059669;
}

/* ---- NAV ACTIONS ---- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-recipient {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-recipient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-donor {
    padding: 8px 20px;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-donor:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
}

.btn-login {
    padding: 8px 16px;
    background: transparent;
    color: #064e3b;
    border: 2px solid #d1d5db;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #f0fdf4;
    border-color: #059669;
    color: #059669;
}

/* ---- HAMBURGER ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #064e3b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---- SIDEBAR ---- */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #ffffff;
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0fdf4;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo-img {
    height: 36px;
    width: auto;
}

.sidebar-logo h2 {
    font-size: 18px;
    font-weight: 800;
    color: #064e3b;
    line-height: 1.1;
    margin: 0;
}

.sidebar-logo span {
    font-size: 10px;
    color: #059669;
    display: block;
    font-weight: 600;
}

.close-btn {
    width: 36px;
    height: 36px;
    background: #f0fdf4;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #064e3b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #d1fae5;
}

.sidebar-body {
    padding: 16px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #4a4a6a;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover {
    background: #f0fdf4;
    color: #059669;
}

.sidebar-menu li a i {
    width: 20px;
    color: #6b7280;
}

.sidebar-menu li a:hover i {
    color: #059669;
}

.sidebar-divider {
    height: 1px;
    background: #f0fdf4;
    margin: 16px 20px;
}

.sidebar-actions {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.sidebar-actions li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-btn-recipient {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.sidebar-btn-recipient i {
    color: white;
}

.sidebar-btn-recipient:hover {
    opacity: 0.9;
}

.sidebar-btn-donor {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.sidebar-btn-donor i {
    color: white;
}

.sidebar-btn-donor:hover {
    opacity: 0.9;
}

.sidebar-btn-login {
    color: #064e3b;
    border: 2px solid #d1d5db;
}

.sidebar-btn-login:hover {
    background: #f0fdf4;
    border-color: #059669;
    color: #059669;
}

.sidebar-btn-logout {
    color: #ef4444;
    border: 2px solid #fecaca;
}

.sidebar-btn-logout:hover {
    background: #fef2f2;
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0fdf4;
    margin-top: 16px;
}

.sidebar-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-social a {
    width: 38px;
    height: 38px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-social a:hover {
    background: #059669;
    color: white;
}

.sidebar-contact {
    text-align: center;
    margin-bottom: 12px;
}

.sidebar-contact p {
    font-size: 13px;
    color: #065f46;
    margin: 4px 0;
}

.sidebar-contact p i {
    color: #059669;
    margin-right: 8px;
}

.sidebar-copy {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 16px;
        height: 64px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text h2 {
        font-size: 15px;
    }
    
    .logo-text span {
        font-size: 9px;
    }
    
    .sidebar {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 12px;
        height: 58px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .logo-text h2 {
        font-size: 13px;
    }
    
    .logo-text span {
        font-size: 8px;
    }
    
    .sidebar {
        width: 260px;
    }
}