/* WHITE PLAINS DELIVERANCE - Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@400;700&family=Merriweather:wght@400;700&family=Source+Sans+Pro:wght@400;600;700&family=Cormorant+Garamond:wght@400;600;700&family=Nunito:wght@400;600;700&family=EB+Garamond:wght@400;700&family=Inter:wght@400;500;700&family=Bitter:wght@400;700&family=Open+Sans:wght@400;600;700&family=Cinzel:wght@400;700&family=Roboto:wght@400;500;700&family=Crimson+Text:wght@400;700&family=Poppins:wght@400;500;700&family=Oswald:wght@400;500;700&family=Montserrat:wght@400;600;700&family=Raleway:wght@400;500;700&family=Archivo:wght@400;600;700&family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
    --primary: #8B1A1A;
    --secondary: #DAA520;
    --accent: #F5F0E1;
    --bg: #FFF8F0;
    --text: #2C1810;
    --hero-overlay: rgba(139,26,26,0.7);
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Lora', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-donate {
    background: var(--secondary);
    color: var(--primary) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/image1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* Sections */
.section {
    padding: 80px 2rem;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--accent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card-content {
    padding: 1.5rem;
}

.event-card h3 {
    font-family: var(--heading-font);
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.event-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Volunteer Section */
.volunteer {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.volunteer .section-title {
    color: #fff;
}

.volunteer .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.volunteer-text {
    text-align: left;
}

.volunteer-text h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.volunteer-text p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.volunteer-image {
    border-radius: 12px;
    overflow: hidden;
}

.volunteer-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 2rem 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-family: var(--heading-font);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.footer-col p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.footer-col .email-large {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
    word-break: break-all;
}

.footer-col a {
    color: var(--secondary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-col .legal-status {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary);
}

.footer-col .legal-status p {
    margin-bottom: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: var(--secondary);
    color: var(--primary);
}

.scroll-top.visible {
    display: flex;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal h2 {
    font-family: var(--heading-font);
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal input, .modal textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal input:focus, .modal textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.modal button[type="submit"] {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal button[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .volunteer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
