/* Heart to Heart - Premium Professional Charity Website */
/* Clean, sophisticated design without gimmicky animations */

/* CSS Custom Properties */
:root {
    /* Premium Color System */
    --heart-red: #C62828;
    --heart-red-dark: #8E1E1E;
    --heart-red-light: #FFEBEE;
    --heart-red-subtle: #F8E6E7;
    
    /* Professional Typography Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #6B6B6B;
    --text-disabled: #9E9E9E;
    
    /* Clean Backgrounds */
    --bg-white: #FFFFFF;
    --bg-neutral: #F8F9FA;
    --bg-section: #F5F6F7;
    --bg-dark: #2C2C2C;
    
    /* Refined Borders and Shadows */
    --border-subtle: #E8E9EA;
    --border-standard: #DDD;
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-standard: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.08);
    
    /* Premium Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    /* Consistent Spacing (4px base) */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    
    /* Clean Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Subtle Transitions */
    --transition: 200ms ease;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

/* Professional Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: var(--space-4);
    line-height: 1.65;
    font-weight: 400;
}

a {
    color: var(--heart-red);
    text-decoration: none;
    transition: color var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Clean Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-nav {
    padding: var(--space-4) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.language-toggle {
    display: flex;
    gap: var(--space-1);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-standard);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-secondary);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--heart-red);
    color: white;
    border-color: var(--heart-red);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-subtle);
}

.logo-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text .subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-10);
    margin: 0;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-primary);
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--heart-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

/* Clean Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(198, 40, 40, 0.85) 0%,
        rgba(142, 30, 30, 0.75) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: auto auto var(--space-8) auto;
    padding: var(--space-24) 0 var(--space-8) 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 auto var(--space-8) auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
    width: fit-content;
}

.hero-title {
    font-size: 4.25rem;
    font-weight: 700;
    margin-bottom: var(--space-8);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: #FFD54F;
    text-shadow: 0 2px 20px rgba(255, 213, 79, 0.3);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-12);
    opacity: 0.92;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-8);
}

.btn-primary,
.btn-secondary {
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 180px;
}

.btn-primary {
    background: white;
    color: var(--heart-red);
}

.btn-primary:hover {
    background: var(--bg-neutral);
    color: var(--heart-red-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: white;
    color: var(--heart-red);
    border-color: white;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.98);
    padding: var(--space-10) 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
}

.stat-item {
    text-align: center;
    padding: var(--space-5) var(--space-4);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
    display: block;
}

/* Portfolio Dossier Pages */
body.dossier-page {
    background: var(--bg-neutral);
}

.dossier-container {
    max-width: 1100px;
    margin: var(--space-24) auto var(--space-20);
    padding: 0 var(--space-8);
}

.dossier-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--space-12);
    align-items: start;
}

.dossier-left {
    position: sticky;
    top: 110px;
}

.patient-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-standard);
    border: 1px solid var(--border-subtle);
    background: var(--bg-white);
}

.patient-header {
    margin-bottom: var(--space-8);
}

.patient-name {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.info-section {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    margin-bottom: var(--space-6);
}

.info-section-body {
    padding: var(--space-5);
}

.info-header {
    background: linear-gradient(135deg, var(--heart-red) 0%, var(--heart-red-dark) 100%);
    color: white;
    padding: var(--space-3) var(--space-5);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border-subtle);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: var(--space-4) var(--space-5);
    font-size: 0.975rem;
}

.info-table td:first-child {
    color: var(--text-muted);
    font-weight: 600;
    width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

.info-table td:last-child {
    color: var(--text-primary);
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--heart-red-light);
    color: var(--heart-red-dark);
}

.story-section {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-10);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-subtle);
}

.story-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 3px solid var(--heart-red);
}

.story-section p {
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: 1rem;
}

.story-section p:last-child {
    margin-bottom: 0;
}

.donation-log {
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.donation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.donation-item:last-child {
    border-bottom: none;
}

.donation-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.donation-amount {
    font-weight: 700;
    color: var(--heart-red);
    font-size: 1rem;
}

.total-raised {
    background: var(--heart-red-subtle);
    padding: var(--space-5) var(--space-5);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(198, 40, 40, 0.15);
}

.total-label {
    font-weight: 600;
    color: var(--heart-red-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
}

.total-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heart-red);
}

@media (max-width: 960px) {
    .dossier-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .dossier-left {
        position: relative;
        top: 0;
    }

    .patient-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .dossier-container {
        margin-top: var(--space-16);
        padding: 0 var(--space-4);
    }

    .story-section {
        padding: var(--space-6);
    }

    .info-table td {
        padding: var(--space-3) var(--space-4);
    }

    .donation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .total-raised {
        flex-direction: column;
        gap: var(--space-2);
        align-items: flex-start;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heart-red);
    display: block;
    margin-bottom: var(--space-3);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-2);
}

.stat-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-16);
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about {
    padding: var(--space-24) 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.text-content h3 {
    color: var(--heart-red);
    margin-bottom: var(--space-6);
    font-size: 1.375rem;
    font-weight: 600;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.mission-point {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.point-icon {
    font-size: 1.25rem;
    background: var(--heart-red-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    font-weight: 600;
}

.point-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-4);
    height: 480px;
}

.grid-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-section);
}

.grid-item.large {
    grid-row: span 2;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: white;
    padding: var(--space-4);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Impact Section */
.impact {
    position: relative;
    padding: var(--space-24) 0;
    color: white;
    overflow: hidden;
}

.impact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.impact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) saturate(0.8);
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(198, 40, 40, 0.92) 0%, 
        rgba(142, 30, 30, 0.88) 100%);
    z-index: -1;
}

.impact .section-title,
.impact .section-subtitle {
    color: white;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.impact-stat {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-visual {
    text-align: center;
    flex-shrink: 0;
}

.stat-visual .stat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
}

.stat-visual .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFD54F;
}

.stat-info h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    color: white;
    font-weight: 600;
}

.stat-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

/* Events Section */
.events {
    padding: var(--space-24) 0;
    background: var(--bg-neutral);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.event-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-standard);
    border: 1px solid var(--border-subtle);
}

.event-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.event-image {
    position: relative;
    height: 220px;
    background: var(--bg-section);
}

.event-card.featured .event-image {
    height: 360px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--heart-red);
    color: white;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 52px;
    font-size: 0.875rem;
}

.event-date .month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.event-content {
    padding: var(--space-8);
}

.event-category {
    display: inline-block;
    background: var(--heart-red-light);
    color: var(--heart-red-dark);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.event-title {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.event-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
    font-size: 0.95rem;
}

.event-impact {
    display: flex;
    gap: var(--space-4);
}

.impact-item {
    flex: 1;
    text-align: center;
    padding: var(--space-3);
    background: var(--bg-neutral);
    border-radius: var(--radius-sm);
}

.impact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.impact-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--heart-red);
}

/* Stories Section */
.stories {
    padding: var(--space-24) 0;
    background: var(--bg-white);
}

.story-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-16);
}

.story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 360px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.5;
    position: relative;
    padding-left: var(--space-6);
    border-left: 4px solid var(--heart-red-light);
    font-weight: 400;
}

.story-quote cite {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 500;
}

.community-support h3 {
    color: var(--heart-red);
    margin-bottom: var(--space-8);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-8);
}

.support-item {
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-neutral);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.support-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heart-red);
    margin-bottom: var(--space-2);
}

.support-source {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.support-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Future Plans Section */
.future-plans {
    padding: var(--space-24) 0;
    background: var(--bg-section);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.future-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.plan-label {
    align-self: flex-start;
    padding: var(--space-1) var(--space-3);
    background: var(--heart-red-light);
    color: var(--heart-red);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.4px;
}

.future-card h3 {
    margin: 0;
}

.future-card p {
    color: var(--text-secondary);
    margin: 0;
}

.plan-points {
    list-style: none;
    display: grid;
    gap: var(--space-2);
    padding-left: 0;
    margin: 0;
}

.plan-points li {
    position: relative;
    padding-left: var(--space-4);
    color: var(--text-primary);
}

.plan-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--heart-red);
    font-weight: 700;
}

.future-cta {
    margin-top: var(--space-12);
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    box-shadow: var(--shadow-subtle);
}

.future-cta h3 {
    margin: 0 0 var(--space-2) 0;
}

.future-cta p {
    margin: 0;
    color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio-preview {
    padding: var(--space-24) 0;
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-10);
    margin-top: var(--space-12);
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.portfolio-card__image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--bg-section);
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card__badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: rgba(231, 76, 60, 0.95);
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.portfolio-card__body {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-card__body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.portfolio-card__summary {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    font-size: 0.95rem;
    flex: 1;
}

.portfolio-card__facts {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-6);
}

.portfolio-card__facts li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.portfolio-card__facts li:last-child {
    border-bottom: none;
}

.portfolio-card__facts li span {
    color: var(--text-muted);
    font-weight: 500;
}

.portfolio-card__facts li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--heart-red);
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: var(--space-4) var(--space-6);
    border: 2px solid var(--heart-red);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    margin-top: var(--space-4);
}

.portfolio-card__link:hover {
    background: var(--heart-red);
    color: white;
}

/* Contact Section */
.contact {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-16) 0;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.45);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.65) 100%);
    z-index: -1;
}

.contact-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto var(--space-8) auto;
    padding: 0 var(--space-6);
}

.contact-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: white;
}

.contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    color: white;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-message-wrapper {
    background: rgba(255, 255, 255, 0.96);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    max-width: 1100px;
    width: 100%;
    margin: var(--space-10) auto 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.donation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: var(--space-10);
    align-items: stretch;
}

.donation-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.donation-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heart-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.donation-heading {
    font-size: 2.3rem;
    margin-bottom: 0;
}

.donation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-6);
}

.donation-stat {
    background: var(--bg-neutral);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-subtle);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.donation-progress {
    margin-top: var(--space-4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    background: white;
    box-shadow: var(--shadow-subtle);
}

.progress-header,
.progress-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.progress-footer {
    margin-top: var(--space-3);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.progress-percent {
    font-weight: 700;
    color: var(--heart-red);
}

.progress-track {
    margin-top: var(--space-4);
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: var(--bg-neutral);
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--heart-red), var(--heart-red-dark));
    border-radius: 999px;
    transition: width 0.6s ease;
}

.donation-qr-panel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.qr-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-standard);
    text-align: center;
    max-width: 320px;
    width: 100%;
}

.qr-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.contact-email-panel {
    margin-top: var(--space-8);
    text-align: center;
}

.contact-email-note {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.contact-message {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
    line-height: 1.5;
}

.email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.contact-email-link {
    display: inline-block;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--heart-red);
    text-decoration: none;
    padding: var(--space-2) 0;
    border-bottom: 2px solid var(--heart-red);
}

.copy-email-btn {
    background: transparent;
    border: 1px solid var(--border-standard);
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-email-btn:hover {
    background: var(--bg-neutral);
    border-color: var(--heart-red);
    color: var(--heart-red);
}

.response-note {
    font-size: 0.875rem;
    margin-top: var(--space-5);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-8);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer-logo .logo-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 0;
}

.footer-logo .logo-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.footer-logo h3 {
    color: white;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-logo span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 360px;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--space-4);
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
}

.footer-credit {
    font-size: 0.8rem;
}

.footer-credit a {
    color: var(--heart-red-light);
    font-weight: 500;
}

.footer-credit a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .about-content,
    .story-featured,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .event-card.featured {
        grid-template-columns: 1fr;
    }
    
    .impact-stat {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    /* Better spacing for tablets */
    .hero-content {
        padding: var(--space-12) 0;
    }

    .contact {
        min-height: 65vh;
    }

    .contact-title {
        font-size: 2.75rem;
    }

    .contact-subtitle {
        font-size: 1.125rem;
        margin-bottom: var(--space-12);
    }

    .contact-message {
        font-size: 1.375rem;
    }

    .contact-email-link {
        font-size: 1.25rem;
    }

    .contact-message-wrapper {
        padding: var(--space-10) var(--space-8);
    }

    .donation-layout {
        grid-template-columns: 1fr;
    }

    .donation-qr-panel {
        justify-content: center;
        margin-top: var(--space-4);
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Improved header spacing on mobile */
    .main-nav {
        padding: var(--space-4) 0;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .logo-text .subtitle {
        font-size: 0.8rem;
    }
    
    /* Better hero section for mobile */
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 var(--space-2);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: var(--space-4) var(--space-6);
    }
    
    /* Better section spacing */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 var(--space-2);
    }
    
    /* Improved stats grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }
    
    .stat-item {
        padding: var(--space-3);
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Better event cards */
    .events-grid,
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content {
        padding: var(--space-6);
    }
    
    .event-title {
        font-size: 1.25rem;
    }
    
    /* Improved image grid */
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 150px 150px;
        height: auto;
        gap: var(--space-3);
    }
    
    .grid-item.large {
        grid-row: span 1;
    }

    /* Better contact section */
    .contact {
        min-height: 60vh;
        padding: var(--space-16) 0;
    }

    .contact-title {
        font-size: 2.25rem;
        margin-bottom: var(--space-6);
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-10);
    }

    .contact-message {
        font-size: 1.25rem;
    }

    .contact-email-link {
        font-size: 1.125rem;
    }

    .contact-message-wrapper {
        padding: var(--space-8) var(--space-6);
    }

    .donation-layout {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .donation-details {
        gap: var(--space-5);
    }

    .donation-qr-panel {
        justify-content: center;
    }

    .progress-header,
    .progress-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .qr-card {
        max-width: 220px;
    }

    .contact-email-panel {
        margin-top: var(--space-6);
    }

    .future-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .future-cta .btn-primary {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* Footer improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }
}

@media (max-width: 480px) {
    /* Hide header top on very small screens */
    .header-top {
        display: none;
    }
    
    /* Even more compact navigation */
    .main-nav {
        padding: var(--space-3) 0;
    }
    
    .logo {
        gap: var(--space-2);
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.125rem;
    }
    
    .logo-text .subtitle {
        font-size: 0.75rem;
    }
    
    /* Compact hero for small screens */
    .hero {
        min-height: 75vh;
    }
    
    .hero-content {
        padding: var(--space-8) 0;
    }
    
    .hero-badge {
        padding: var(--space-1) var(--space-4);
        font-size: 0.8rem;
        margin-bottom: var(--space-6);
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.15;
        margin-bottom: var(--space-5);
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--space-8);
        padding: 0 var(--space-1);
    }
    
    .hero-actions {
        margin-bottom: var(--space-12);
    }
    
    /* Compact stats */
    .hero-stats {
        padding: var(--space-6) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
    }
    
    .stat-item {
        padding: var(--space-2);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Compact section headers */
    .section-header {
        margin-bottom: var(--space-12);
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-3);
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Compact mission points */
    .mission-points {
        gap: var(--space-6);
    }
    
    .mission-point {
        gap: var(--space-3);
    }
    
    .point-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .point-content h4 {
        font-size: 0.95rem;
    }
    
    .point-content p {
        font-size: 0.85rem;
    }
    
    /* Compact image grid */
    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 180px 130px 130px;
        gap: var(--space-2);
    }
    
    /* Compact event cards */
    .event-content {
        padding: var(--space-5);
    }
    
    .event-title {
        font-size: 1.125rem;
        margin-bottom: var(--space-3);
    }
    
    .event-description {
        font-size: 0.9rem;
        margin-bottom: var(--space-5);
    }
    
    .impact-item {
        padding: var(--space-2);
    }
    
    .impact-label {
        font-size: 0.65rem;
    }
    
    .impact-value {
        font-size: 1rem;
    }
    
    /* Compact story quote */
    .story-quote blockquote {
        font-size: 1.125rem;
        padding-left: var(--space-4);
    }
    
    /* Compact support grid */
    .support-item {
        padding: var(--space-6);
    }
    
    .support-amount {
        font-size: 1.5rem;
    }

    /* Compact contact section */
    .contact {
        min-height: 55vh;
        padding: var(--space-12) 0;
    }

    .contact-title {
        font-size: 1.875rem;
        margin-bottom: var(--space-5);
    }

    .contact-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-8);
        padding: 0 var(--space-2);
    }

    .contact-message {
        font-size: 1.125rem;
        margin-bottom: var(--space-8);
    }

    .contact-email-link {
        font-size: 1rem;
    }

    .contact-message-wrapper {
        padding: var(--space-6) var(--space-5);
    }

    .donation-layout {
        gap: var(--space-5);
    }

    .donation-details {
        gap: var(--space-4);
    }

    .donation-qr-panel {
        justify-content: center;
        margin-top: var(--space-4);
    }

    .progress-header,
    .progress-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .qr-card {
        max-width: 260px;
    }

    .response-note {
        font-size: 0.85rem;
    }

    /* Compact CTA card */
    .cta-card {
        padding: var(--space-8);
        margin: 0 var(--space-2);
    }
    
    .cta-card h3 {
        font-size: 1.125rem;
    }
    
    .cta-card p {
        font-size: 0.9rem;
    }
    
    /* Single column footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: var(--space-3);
    }
    
    .footer-section a {
        font-size: 0.85rem;
    }
}

/* Extra small screens - 320px and below */
@media (max-width: 320px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero-title {
        font-size: 1.625rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }
    
    .stat-item {
        padding: var(--space-3);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: var(--space-3) var(--space-5);
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    * {
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
}
