/* Pioneer High School Education Foundation - Main Stylesheet */

/* Google Fonts: Poppins (nav/headings) + Open Sans (body) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* Color Palette - Pioneer Official Colors: Blue, White, Black */
:root {
    --primary-blue: #4A7BA7;
    --dark-blue: #3A5F7D;
    --light-blue: #6B9FCA;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --text-dark: #2C2C2C;
    --text-light: #666666;

    /* Accent color using a lighter blue instead of gold */
    --accent-color: #5A8BB7;
    --accent-light: #7BA5C9;

    /* Aliases for backwards compatibility */
    --primary-maroon: #4A7BA7;
    --dark-maroon: #3A5F7D;
    --primary-gold: #5A8BB7;
    --light-gold: #7BA5C9;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-maroon);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    color: var(--primary-maroon);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-maroon);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--dark-maroon);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    color: var(--white);
}

.contact-info a {
    color: var(--white);
    margin-left: 1.5rem;
}

.contact-info a:hover {
    color: var(--light-gold);
}

.social-links a {
    color: var(--white);
    margin-left: 1rem;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--primary-gold);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 0;
}

.logo-subtitle {
    color: var(--dark-blue);
    font-size: 0.9rem;
    font-weight: normal;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--dark-blue);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-maroon);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Donate Button */
.btn-donate {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-donate:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 123, 167, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 1rem;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-content .btn {
    background-color: var(--primary-gold);
    color: var(--dark-maroon);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content .btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Featured Callouts */
.callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.callout-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.callout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.callout-image {
    width: 100%;
    height: 200px;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.callout-content {
    padding: 1.5rem;
}

.callout-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-maroon);
}

.callout-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.callout-content .btn {
    display: inline-block;
    background-color: var(--primary-maroon);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.callout-content .btn:hover {
    background-color: var(--dark-maroon);
}

/* Focus Areas/Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background-color: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-5px);
}

.pillar-card:hover h3,
.pillar-card:hover p {
    color: var(--white);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pillar-card h3 {
    margin-bottom: 1rem;
}

/* Impact Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--white);
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
}

.testimonial.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-maroon);
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-maroon);
}

/* Board Members Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.board-member:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.board-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    border: 4px solid var(--primary-gold);
}

.board-member h4 {
    color: var(--primary-maroon);
    margin-bottom: 0.25rem;
}

.board-role {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Event Cards */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.event-image {
    width: 100%;
    height: 180px;
    background-color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.event-date {
    background-color: var(--primary-maroon);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 600;
}

.event-content {
    padding: 1.5rem;
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--primary-maroon);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--dark-maroon);
    transform: translateY(-2px);
}

.contact-info-box {
    padding: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
}

.contact-detail h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-maroon);
}

.contact-detail p {
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--dark-maroon);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Newsletter Signup */
.newsletter-signup {
    background-color: var(--primary-gold);
    padding: 3rem 0;
    text-align: center;
}

.newsletter-signup h3 {
    color: var(--dark-maroon);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-maroon);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--dark-maroon);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-maroon);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: var(--dark-maroon);
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
