/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a1a2e;
    --accent-color: #ffd700;
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--accent-color);
}

.cta-btn-small {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn-small:hover {
    background-color: #a01828;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Email Banner */
.email-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d32f2f 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.email-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.email-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.email-banner-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    padding: 0.3rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    transition: var(--transition);
}

.email-banner-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Mobile Menu Popup */
.mobile-menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.mobile-menu-popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    min-width: 300px;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 2rem;
}

.mobile-nav-list li {
    margin: 1.5rem 0;
}

.mobile-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-list a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e8eaf6 100%);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-headline {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-email-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.2);
}

.hero-email-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.hero-email-link {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.hero-email-link:hover {
    color: #a01828;
    transform: scale(1.05);
}

.cta-btn-large {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn-large:hover {
    background-color: #a01828;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Quick Facts */
.quick-facts {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quick-facts h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fact-label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.fact-value {
    font-size: 1.1rem;
    color: var(--text-color);
}

.email-large {
    font-size: 1.6rem !important;
    font-weight: 800;
}

.email-large a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.2rem 0.5rem;
    background-color: rgba(196, 30, 58, 0.05);
    border-radius: 5px;
}

.email-large a:hover {
    color: #a01828;
    background-color: rgba(196, 30, 58, 0.1);
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.activities-list {
    list-style-position: inside;
    margin-left: 1rem;
}

.activities-list li {
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.legal-status {
    margin-top: 2rem;
}

.legal-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
}

.legal-box p {
    margin: 0.5rem 0;
}

.donation-note {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem !important;
}

.email-cta-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--primary-color);
    text-align: center;
}

.email-cta-box p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem !important;
}

.email-cta-link {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #fff5f5;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.email-cta-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
    background-color: var(--light-bg);
}

.team-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.board-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.board-member {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.board-member h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.board-member p {
    font-size: 1.05rem;
}

/* Events Section */
.events {
    background-color: var(--bg-color);
}

.events-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.events-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.events-text h3:first-child {
    margin-top: 0;
}

.event-item {
    margin-bottom: 2rem;
}

.event-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-item p {
    font-size: 1.05rem;
}

.involvement-list {
    list-style: none;
    margin-left: 0;
}

.involvement-list li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.involvement-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.cta-box h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.events-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, var(--light-bg) 0%, #f0f0f0 100%);
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.email-gallery-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d32f2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 300px;
}

.gallery-email-content {
    text-align: center;
    color: white;
}

.gallery-email-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.gallery-email-label {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-email-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.gallery-email-link:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: scale(1.02);
}

.gallery-phone {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-item p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.email-highlight {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid var(--primary-color);
}

.email-extra-large {
    font-size: 1.6rem !important;
    font-weight: 700;
}

.email-extra-large a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    background-color: rgba(196, 30, 58, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.email-extra-large a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.contact-form-section {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-form-section h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.form-note {
    margin-top: 1.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-email {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-email:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-top {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: #a01828;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(196, 30, 58, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .cta-btn-small {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content,
    .about-content,
    .events-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-content {
        padding: 2rem;
    }

    .email-banner-link {
        font-size: 1.2rem;
    }

    .hero-email-link {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-email-link {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .email-extra-large {
        font-size: 1.3rem !important;
    }

    .gallery-email-link {
        font-size: 1.1rem;
    }

    .footer-email {
        font-size: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
}
