/* Global Styles */
:root {
    --primary-color: #f4a261;
    --secondary-color: #2a9d8f;
    --dark-color: #264653;
    --light-color: #e9c46a;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 56px; /* Height of navbar */
}

/* Add padding-top only to pages without hero section */
.needs-padding {
    padding-top: 56px;
}

main {
    flex: 1 0 auto;
    position: relative;
    background: white;
    width: 100%;
    z-index: 4;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    margin-bottom: 0;
    padding-top: 56px; /* Account for navbar */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
}

/* Footer */
footer {
    flex-shrink: 0;
}

/* Donation Section */
.donation-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
}

.donation-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    height: 100%;
}

.entertainment-box {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    color: var(--dark-color);
}

/* Activities Page */
.activity-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

/* Schedule Page */
.schedule-item {
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

/* Sponsors Page */
.sponsor-card {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sponsor-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.sponsor-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sponsor-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .hero {
        height: 85vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 3rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-content .lead {
        font-size: 1.25rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 1.5rem;
        width: 95%;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .hero-content {
        padding: 1.25rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
}
