/* CharitySoft.org - Warm & Compassionate Design */

:root {
    /* Warm, welcoming color palette */
    --primary-color: #ff6b6b;
    --secondary-color: #ff8c42;
    --accent-color: #4ecdc4;
    --warm-purple: #a8739e;
    --soft-orange: #ffa07a;
    --gentle-green: #95e1d3;
    --dark-text: #2d3436;
    --soft-text: #636e72;
    --cream: #fef9f3;
    --light-peach: #fff5f0;
    --warm-white: #fffbf7;
    --shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
    --shadow-lg: 0 8px 24px rgba(255, 107, 107, 0.15);
}

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--cream);
}

/* Typography - Softer, More Approachable */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--soft-text);
    line-height: 1.8;
}

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

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

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

/* Navigation - Gentle and Welcoming */
nav {
    background-color: var(--warm-white);
    box-shadow: 0 2px 12px rgba(255, 140, 66, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    color: var(--soft-text);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--light-peach);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section - Warm and Inviting */
.hero {
    background: linear-gradient(135deg, #fff5f0 0%, #fef9f3 50%, #fff5ee 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero.hero-with-image {
    background: linear-gradient(135deg, #fff5f0 0%, #fef9f3 100%);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    align-items: center;
    text-align: left;
}

.hero.hero-with-image .hero-content {
    padding: 4rem;
    max-width: none;
}

.hero.hero-with-image .hero-image {
    height: 100%;
    min-height: 600px;
    background: url('../images/hero-hands.jpg') center center / cover no-repeat;
    position: relative;
}

/* Page-specific hero images */
.hero.hero-home .hero-image {
    background: url('../images/kids.jpg') center center / cover no-repeat;
}

.hero.hero-about .hero-image {
    background: url('../images/kids-hungry.jpg') center center / cover no-repeat;
}

.hero.hero-services .hero-image {
    background: url('../images/border.jpg') center center / cover no-repeat;
}

.hero.hero-stories .hero-image {
    background: url('../images/dog.jpg') center center / cover no-repeat;
}

.hero.hero-contact .hero-image {
    background: url('../images/hero-hands.jpg') center center / cover no-repeat;
}

.hero.hero-with-image .hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
                rgba(255, 245, 240, 0.85) 0%,
                rgba(255, 245, 240, 0.6) 15%,
                rgba(255, 235, 220, 0.3) 35%,
                rgba(255, 235, 220, 0.15) 50%,
                transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--dark-text);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--soft-text);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--soft-text);
    font-weight: 400;
}

/* Buttons - Warm and Friendly */
.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background-color: var(--warm-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--gentle-green));
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero.hero-with-image .cta-buttons {
    justify-content: flex-start;
}

/* Sections - Warm Backgrounds */
section {
    padding: 3rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-title p {
    color: var(--soft-text);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.15);
    border-color: var(--light-peach);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.card p {
    color: var(--soft-text);
    font-size: 1.05rem;
}

/* Stats Section - Warm Gradient */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--warm-purple) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.95;
    color: white;
}

/* Buttons in stats section - make them stand out against gradient background */
.stats .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stats .btn-primary:hover {
    background: var(--warm-white);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.stats .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.stats .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.stats .cta-buttons {
    justify-content: center;
}

/* Success Stories - Heartwarming Design */
.story-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.1);
    border-left: 6px solid var(--accent-color);
    transition: all 0.3s ease;
}

.story-card:hover {
    box-shadow: 0 8px 35px rgba(255, 107, 107, 0.15);
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.story-title h3 {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.story-meta {
    color: var(--soft-text);
    font-size: 1rem;
    opacity: 0.9;
}

.story-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--gentle-green));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.3);
}

.story-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-peach) 0%, var(--cream) 100%);
    border-radius: 15px;
    margin: 1.5rem 0;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--soft-text);
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.story-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.story-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.story-content li {
    margin-bottom: 0.75rem;
    color: var(--soft-text);
}

.story-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--soft-text);
    background: var(--light-peach);
    padding: 1.5rem;
    border-radius: 10px;
}

/* Team Section - Warm and Personal */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.15);
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-bio {
    color: var(--soft-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Services - Simple and Helpful */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
}

.service-icon {
    font-size: 2.5rem;
}

/* Contact Form - Approachable */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.75rem;
    margin-top: 0.25rem;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.08);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
}

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

/* Footer - Warm and Welcoming */
footer {
    background: linear-gradient(135deg, var(--dark-text) 0%, #434852 100%);
    color: white;
    padding: 2.5rem 2rem 1.5rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--soft-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--warm-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        gap: 0;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero.hero-with-image {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero.hero-with-image .hero-content {
        padding: 3rem 2rem;
        text-align: center;
    }

    .hero.hero-with-image .hero-image {
        min-height: 400px;
        order: -1;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* 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; }

.bg-light {
    background-color: var(--cream);
}

.bg-white {
    background-color: white;
}

.bg-warm {
    background: linear-gradient(135deg, var(--light-peach) 0%, var(--cream) 100%);
}
