/* ---------------------------------------------------   
   THEME VARIABLES 
--------------------------------------------------- */
:root { 
    --primary: #222222;           /* Dark base color */
    --accent: #ff8c00;            /* Accent color (orange) */
    --accent-hover: #ffa733;      /* Hover effect for accents */
    --text-light: #f2f2f2;        /* Light text color */
    --text-dark: #222;            /* Dark text color */
    --bg-light: #f8f8f8;          /* Background light color */
    --card-bg: #ffffff;           /* Background for cards */
    --shadow-soft: 0px 4px 12px rgba(0,0,0,0.12);
    --shadow-strong: 0px 2px 10px rgba(0,0,0,0.35);
}

/* --------------------------------------------------- 
   GLOBAL 
--------------------------------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: opacity 0.7s ease;
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
}

/* --------------------------------------------------- 
   HEADER 
--------------------------------------------------- */
header {
    background: rgba(26,26,26,0.92);
    padding: 18px 50px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

header .logo a {
    color: var(--text-light); /* Logo color set to white */
    text-decoration: none;
}

/* --------------------------------------------------- 
   NAVIGATION 
--------------------------------------------------- */
nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

.donate-btn {
    color: var(--accent);
    font-weight: 800;
}

/* --------------------------------------------------- 
   MOBILE MENU 
--------------------------------------------------- */
.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-light);
}

@media (max-width: 820px) {
    nav {
        display: none;
        position: fixed;
        right: 0;
        top: 0;
        height: 100%;
        width: 260px;
        background: #1a1a1a;
        padding-top: 90px;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu a {
        padding: 15px;
        font-size: 18px;
        border-bottom: 1px solid #333;
    }

    .mobile-menu a:hover {
        background: #333;
    }
}

/* --------------------------------------------------- 
   HERO SECTION 
--------------------------------------------------- */
.hero {
    background: url('img/home1.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    background: rgba(0,0,0,0.6);
    border-radius: 6px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--accent);
    color: #000;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--accent-hover);
}

/* --------------------------------------------------- 
   PILLARS SECTION 
--------------------------------------------------- */
.pillars-section {
    padding: 80px 50px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.pillar {
    background: var(--card-bg);
    padding: 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateY(-6px);
}

.pillar h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.pillar a {
    text-decoration: none;
    color: var(--primary);
}

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

.pillar-grid .pillar {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------- 
   FOOTER 
--------------------------------------------------- */
footer {
    background: #1a1a1a;
    padding: 20px;
    color: var(--text-light);
    text-align: center;
}

/* --------------------------------------------------- 
   RESPONSIVE DESIGN 
--------------------------------------------------- */
@media (max-width: 820px) {
    .hero h1 {
        font-size: 36px;
    }

    .pillars-section {
        padding: 60px 25px;
    }
}
