/* assets/css/style.css */
:root {
    --primary: #1a1a2e;
    --secondary: #0f3460;
    --accent: #f0c040;
    --accent-dark: #d4a020;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

/* HEADER */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.header-logo img {
    height: 50px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--accent);
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* USER MENU */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    background: var(--bg-light);
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 220px;
    display: none;
    padding: 10px 0;
    margin-top: 10px;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown li {
    list-style: none;
}

.user-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown li a:hover {
    background: var(--bg-light);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 5px 0;
}

.logout-btn {
    color: #e53e3e !important;
}

/* MAIN NAV */
.main-nav {
    border-top: 1px solid #e2e8f0;
    padding: 0 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    padding: 0;
    margin: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s, background 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* FOOTER */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin: 15px 0 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    font-size: 1.3rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-links h4,
.footer-programs h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links ul,
.footer-programs ul,
.footer-contact ul {
    list-style: none;
}

.footer-links ul li,
.footer-programs ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-programs ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-programs ul li a:hover {
    color: var(--accent);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.6);
}

.footer-contact ul li i {
    color: var(--accent);
    width: 20px;
}

.footer-don {
    margin-top: 15px;
}

.footer-don .btn-donate {
    display: inline-block;
    padding: 10px 25px;
    background: #003087;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.footer-don .btn-donate:hover {
    background: #002266;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-credit a {
    color: var(--accent);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .header-actions {
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav-menu.open {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 20px;
        border-bottom: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .header-buttons .btn {
        text-align: center;
    }
}