/* CSS Variables for consistent values */
:root {
    --color-primary: #ED1F26;
    --color-text-muted: #ADABAB;
    --color-background: #0E0E0E;
    --border-radius: 40px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

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

/* Base Styles */
body {
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: var(--color-background);
    color: white;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: inline-block;
}

.nav-button {
    background: white;
    color: black;
    padding: 8px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.button-text {
    display: none;
}

.button-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.nav-button:hover {
    background: #f0f0f0;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 48rem;
    margin: 3% auto 5rem;
}

.hero-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: var(--spacing-sm);
    background: rgba(237, 31, 38, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.desktop-break {
    display: none;
}

.hero-description {
    color: #ADABAB;
    font-size: 1.25rem;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

/* Programs Section */
.programs {
    margin: 4rem auto;
    position: relative;
}

.programs-header {
    max-width: 72rem;
    margin: 0 auto 4rem;
}

.programs-tag {
    color: #ED1F26;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.programs-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.programs-description {
    color: #ADABAB;
    font-size: 1.25rem;
    line-height: 1.75;
    max-width: 32rem;
}

.programs-gallery {
    position: relative;
    width: 100vw;
    overflow: hidden;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.programs-gallery-inner {
    display: flex;
    gap: 2.5rem;
    padding-left: 2rem;
}

.program-card {
    flex: 0 0 auto;
}

.program-card img {
    width: 200px; /* Smaller size for mobile */
    height: auto;
    border-radius: 40px;
}

/* Media Queries */
@media (min-width: 780px) {
    .desktop-break {
        display: block;
    }
}

@media (min-width: 800px) {
    .container {
        padding: 0 4rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .programs-gallery {
        margin-left: calc(-8rem);
        margin-right: calc(-8rem);
        width: calc(100% + 16rem);
    }
    
    .programs-gallery-inner {
        padding-left: 8rem;
    }

    .programs-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8.75rem;
        align-items: end;
    }

    .programs-title {
        margin-bottom: 0;
    }

    .desktop-break {
        display: block;
    }

    .program-card img {
        width: 359px; /* Original size for desktop */
    }
}

@media (min-width: 500px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .programs-gallery-inner {
        padding-left: 4rem;
    }
    
    .program-card img {
        width: 300px; /* Medium size for tablet */
    }

    .donation-buttons {
        flex-direction: row;
    }
    
    .donate-btn {
        width: auto;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2; /* Tighter line height for desktop */
    }
}

/* Donation Buttons */
.donation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.donate-btn {
    width: auto;
    text-align: center;
    padding: 0 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    height: 44px;
    cursor: pointer;
    border: 1px solid white;
    background: transparent;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.donate-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.donate-btn.active {
    background: white;
    color: black;
}

.donate-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
}

.donate-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 499px) {
    .donation-buttons {
        flex-direction: column;
    }
    
    .donate-btn {
        width: 100%;
    }
} 