/* Base & Reset */
:root {
    --primary-color: #9c3353; /* Reddish pink from logo/mockup */
    --accent-color: #00b8a9; /* Teal/Turquoise */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 15px rgba(0,0,0,0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #7a1d37;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px;
    margin-top: 15px;
}

.btn-block:hover {
    background-color: #008f82;
}

/* Header */
.main-header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    font-weight: 600;
}

/* Hero */
.hero {
    padding: 60px 0;
    background: linear-gradient(to right, #fdfbfb, #ebedee);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.hero-images {
    flex: 1;
    position: relative;
}

.hero-img-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.hero-img-main {
    border-radius: var(--border-radius);
    height: 350px;
    object-fit: cover;
}

.hero-img-small {
    border-radius: var(--border-radius);
    height: 350px;
    object-fit: cover;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero-content .highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.stats-mini {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.stats-mini i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Cards (Generic) */
.fundraiser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.fund-progress {
    margin: 15px 0;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar .fill {
    height: 100%;
    background: var(--accent-color);
}

.fund-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Causes Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cat-item {
    background: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: 0.3s;
}

.cat-item:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
}

.cat-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
}

/* Success Story */
.story-card {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.story-img {
    flex: 1;
}

.story-img img {
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Newsletter */
.newsletter-box {
    background: var(--white);
    border: 1px solid #eee;
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
    margin-left: 40px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Partners */
.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
}

/* Bottom CTA */
.bottom-cta {
    background: #ffe4e6;
    text-align: center;
    padding: 80px 0;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background: #f4f4f4;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-container {
        flex-direction: column-reverse;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-img-grid {
        grid-template-columns: 1fr; /* Stack images on mobile or hide one */
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .newsletter-form {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
    }

    .story-card {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
