/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d1b2a;
    --primary-light: #1b263b;
    --secondary: #415a77;
    --accent: #c1121f;
    --accent-hover: #a1121f;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container, .section-container, .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-flag {
    width: 50px;
    max-height: 40px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent);
}

.donate-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.donate-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(193, 18, 31, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    overflow: hidden;
}

.hero.hero-with-background-image {
    background: var(--primary); /* Fallback color */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.hero-with-background-image .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(193, 18, 31, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(193, 18, 31, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(193, 18, 31, 0.15);
    border: 1px solid rgba(193, 18, 31, 0.3);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: white;
    text-transform: uppercase;
}

.title-line {
    display: block;
}

.title-line:last-child {
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 18, 31, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-title.compact-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

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

.about-image-section {
    position: relative;
}

.about-images-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-image-2 {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.image-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 12px;
    z-index: 0;
    opacity: 0.1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-text {
    font-size: 1.375rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
}

.about-details p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Issues Section */
.issues-section {
    background: var(--bg-white);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.issue-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.issue-card:hover::before {
    transform: scaleY(1);
}

.issue-card.featured {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    grid-column: span 2;
}

.issue-card.featured::before {
    background: var(--accent);
}

.issue-card.featured h3,
.issue-card.featured p {
    color: white;
}

.issue-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.2;
}

.issue-card.featured .issue-number {
    color: var(--accent);
    opacity: 0.3;
}

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

.issue-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Gallery Section */
.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: var(--bg-gray);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.85), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

/* Gallery Detail Page */
.gallery-detail-section {
    padding: 6rem 0 4rem;
    background: var(--bg-light);
    min-height: 80vh;
}

.gallery-detail-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gallery-detail-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-photo-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-photo-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.gallery-photo-caption {
    padding: 1rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
    text-align: center;
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-medium);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .gallery-photos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-detail-title {
        font-size: 2rem;
    }
}

/* Gallery Modal Overlay */
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.gallery-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-modal-overlay.active .gallery-modal-content {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
    padding: 0;
}

.gallery-modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.gallery-modal-body {
    padding: 3rem 2rem 2rem;
}

.gallery-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.gallery-modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gallery-modal-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-modal-body .gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-modal-body .gallery-photo-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-modal-body .gallery-photo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-modal-body .gallery-photo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.gallery-modal-body .gallery-photo-caption {
    padding: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    text-align: center;
}

.gallery-modal-body .gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-medium);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .gallery-modal-content {
        max-height: 95vh;
        margin: 1rem;
        padding: 0;
    }
    
    .gallery-modal-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .gallery-modal-title {
        font-size: 2rem;
    }
    
    .gallery-modal-body .gallery-photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}

/* Donation Modal Overlay */
.donate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donate-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.donate-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.donate-modal-overlay.active .donate-modal-content {
    transform: scale(1);
}

.donate-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
    padding: 0;
}

.donate-modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.donate-modal-body {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.donate-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.donate-modal-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.donate-modal-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 1rem;
}

.donate-modal-button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.donate-modal-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(193, 18, 31, 0.3);
}

.donate-modal-footer {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .donate-modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .donate-modal-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .donate-modal-title {
        font-size: 1.75rem;
    }
    
    .donate-modal-description {
        font-size: 1rem;
    }
    
    .donate-modal-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .donate-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .donate-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    color: white;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-title,
.contact-info .section-label {
    color: white;
}

.contact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-method h3 {
    font-size: 1.375rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.contact-details {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.contact-details a {
    color: var(--accent);
}

.contact-details a:hover {
    color: var(--accent-hover);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.0625rem;
    color: var(--text-medium);
}

.form-error {
    background: #fee;
    color: #c33;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #fcc;
    margin-bottom: 1rem;
}

/* Registration Section */
.register-section {
    background: var(--bg-light);
    padding: 8rem 0 6rem;
    min-height: calc(100vh - 200px);
}

.register-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.register-header {
    text-align: center;
    margin-bottom: 3rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.form-errors {
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-errors h4 {
    color: #c33;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.form-errors ul {
    list-style: none;
    padding-left: 0;
}

.form-errors li {
    color: #c33;
    padding: 0.5rem 0;
    border-bottom: 1px solid #fcc;
}

.form-errors li:last-child {
    border-bottom: none;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-medium);
}

.form-footer a {
    color: var(--accent);
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0 1rem;
}

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

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

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    font-size: 1.0625rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
}

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

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

.disclaimer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    @media (max-width: 768px) {
        .hero-image-wrapper {
            margin-top: 5rem !important;
        }
    }

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

    .about-image-section {
        max-width: 500px;
        margin: 0 auto;
    }

    .issue-card.featured {
        grid-column: span 1;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-menu li .donate-btn {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding-top: 7rem !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }
    
    .hero-content {
        padding-top: 1.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .hero-image-wrapper {
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .mobile-break {
        display: inline;
    }
    
    .hero-badge {
        margin: 0 auto !important;
        display: block !important;
        width: fit-content;
    }
    
    .hero-actions {
        justify-content: center !important;
    }

    .title-line:last-child {
        margin-left: 0;
    }

    .section-container {
        padding: 0 1.5rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .register-wrapper {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }
}

/* Issue Detail Page */
.issue-detail-section {
    padding: 8rem 0 6rem;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

.issue-detail-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.back-link {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
    z-index: 10;
    pointer-events: auto;
}

.back-link:hover {
    color: var(--accent-hover);
}

.issue-number-large {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    opacity: 0.1;
    margin: 2rem 0;
}

.issue-detail-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--primary);
}

.issue-detail-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.issue-detail-content {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    line-height: 1.8;
}

.issue-detail-content h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.issue-detail-content h3:first-child {
    margin-top: 0;
}

.issue-detail-content p {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.issue-detail-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.issue-detail-content li {
    font-size: 1.0625rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.issue-detail-content strong {
    color: var(--primary);
    font-weight: 600;
}

.issue-detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.issue-detail-actions .btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.issue-detail-actions .btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Handle missing images */
img[src=""],
img:not([src]) {
    display: none;
}

.hero-image-wrapper:has(img:not([src])),
.about-image-section:has(img:not([src])),
.gallery-item:has(img:not([src])) {
    display: none;
}

@media (max-width: 768px) {
    .issue-detail-content {
        padding: 2rem 1.5rem;
    }
    
    .back-link {
        position: static;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    .issue-number-large {
        font-size: 5rem;
    }
}

/* Sunday Dinner Page Styles */
.sunday-dinner-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0 1.5rem;
    text-align: center;
}

.sunday-dinner-header {
    max-width: 800px;
    margin: 0 auto;
}

.sunday-dinner-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0.25rem 0;
    color: white;
}

.sunday-dinner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-top: 0.25rem;
}

/* Next Event Section */
.next-event-section {
    padding: 1.5rem 0;
    background: var(--bg-white);
}

.section-header.compact {
    margin-bottom: 1rem;
}

.next-event-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.next-event-image {
    position: relative;
    min-height: 200px;
    background: var(--primary);
}

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

.event-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.next-event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 6px;
    text-align: center;
    padding: 0.3rem;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.event-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 0.15rem;
}

.next-event-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.event-meta-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.event-meta-item strong {
    color: var(--primary);
    min-width: 70px;
    font-weight: 600;
    font-size: 0.875rem;
}

.event-meta-item span {
    color: var(--text-medium);
}

.head-of-table-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.head-of-table-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.head-of-table-name {
    font-weight: 600;
    color: var(--primary);
}

.head-of-table-description {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin: 0;
    font-style: italic;
}

.head-of-table-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.head-of-table-info-small {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.head-of-table-desc-small {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.5;
}

.event-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin: 0;
}

/* Events Grid Section */
.events-section {
    padding: 1.5rem 0;
    background: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-card-image {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--primary);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-date-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.event-month-small {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    line-height: 1;
}

.event-day-small {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-top: 0.25rem;
}

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

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

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-medium);
}

.event-icon {
    font-size: 1.1rem;
}

.event-card-description {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin: 0;
}

.no-events {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.no-events p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin: 0;
}


.why-section {
    padding: 1.5rem 0;
    background: var(--bg-white);
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-content .lead-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.why-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.why-item p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin: 0;
}

@media (max-width: 1024px) {
    .next-event-card {
        grid-template-columns: 1fr;
    }
    
    .next-event-image {
        min-height: 300px;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .next-event-content {
        padding: 2rem 1.5rem;
    }
}

/* Hide mobile break on desktop */
@media (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}
