/*
 * জুলাই আর্কাইভ ২০২৪ - Main Stylesheet
 * Premium Historical Documentary Style (Black, White & Red Theme)
 */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Serif+Bengali:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-light: #f9fafb;
    --text-light: #1f2937;
    --text-muted: #4b5563;
    --text-dark: #111827;
    --accent-red: #d32f2f;
    --accent-red-hover: #b71c1c;
    --border-color: #e5e7eb;
    --border-light: #e5e7eb;
    
    --font-serif: 'Noto Serif Bengali', 'Georgia', serif;
    --font-sans: 'Hind Siliguri', 'Inter', sans-serif;
    --font-english: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1300px;
    --header-height: 80px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.english-num {
    font-family: var(--font-english);
}

/* Common Components */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero buttons — on red background */
.btn-hero-primary {
    background-color: #ffffff;
    color: var(--accent-red);
    border: 2px solid #ffffff;
    font-weight: 700;
    border-radius: 30px;
    padding: 0.85rem 2.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
    background-color: #fff0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.7);
    font-weight: 700;
    border-radius: 30px;
    padding: 0.85rem 2.25rem;
}

.btn-hero-secondary:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

/* Header / Navbar */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--accent-red);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-text {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--accent-red);
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--accent-red);
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: var(--header-height);
    padding: 6rem 0;
}

.hero-bg {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle-top {
    font-family: var(--font-sans);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0.9;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Statistics Section */
.stats-section {
    background-color: var(--bg-dark);
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-english);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Filter System */
.gallery-filter-bar {
    padding: 3rem 0 2rem 0;
    position: sticky;
    top: var(--header-height);
    background-color: var(--bg-dark);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-light);
    border-color: var(--accent-red);
    background-color: rgba(211, 47, 47, 0.1);
}

.filter-search-form {
    display: flex;
    gap: 0.5rem;
    min-width: 320px;
}

.search-input {
    flex: 1;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.6rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

.search-submit {
    background-color: var(--accent-red);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-submit:hover {
    background-color: var(--accent-red-hover);
}

/* Gallery Section (Masonry Grid) */
.gallery-section {
    padding: 4rem 0;
}

.masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
    width: 100%;
}

.gallery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    break-inside: avoid;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--accent-red);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #151515;
}

.gallery-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-card-content {
    padding: 1.25rem;
}

.gallery-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

.meta-category {
    color: var(--accent-red);
    font-weight: 700;
}

.gallery-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-light);
}

/* Pagination */
.pagination-nav {
    width: 100%;
}

.pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-card);
    transition: var(--transition);
    white-space: nowrap;
}

.page-link:hover,
.page-link.active {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 0.4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
}

.photo-location {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Lightbox Module */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content-wrapper {
    display: flex;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    background-color: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.lightbox-media {
    flex: 2;
    height: 100%;
    background-color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background-color: var(--accent-red);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-info {
    flex: 1;
    height: 100%;
    padding: 3rem 2rem;
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--accent-red);
    color: #ffffff;
}

.lightbox-details {
    margin-bottom: 2rem;
}

.lightbox-category {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.lightbox-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.lightbox-caption {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.lightbox-metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1.5rem 0;
}

.meta-item {
    font-family: var(--font-sans);
}

.meta-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.meta-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.lightbox-actions {
    display: flex;
    gap: 1rem;
}

.lightbox-info .btn-download {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

.lightbox-info .btn-download:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.lightbox-info .btn-share {
    background-color: #ffffff !important;
    border: 1px solid #ffffff !important;
    color: var(--accent-red) !important;
}

.lightbox-info .btn-share:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    background: transparent;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark);
    border: 3px solid var(--accent-red);
    top: 2.5rem;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-date {
    font-family: var(--font-sans);
    color: var(--accent-red);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    display: inline-block;
}

.timeline-content {
    background-color: var(--accent-red);
    border: none;
    padding: 1.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.15);
    transition: var(--transition);
    color: #ffffff;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.timeline-content-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.timeline-content-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Photographer Profile Section */
.photographer-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

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

.photographer-image-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.photographer-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.5) 0%, transparent 100%);
}

.photographer-info {
    font-family: var(--font-sans);
}

.photographer-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-red);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.photographer-name {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.photographer-bio {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.photographer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--text-light);
    border-color: var(--accent-red);
    background-color: var(--accent-red);
}

/* Stories / Photo Stories Section */
.stories-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.story-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.story-image-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.story-content {
    padding: 1.5rem;
}

.story-meta {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.story-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-read-more {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.story-read-more:hover {
    color: var(--accent-red);
}

/* Footer */
.site-footer {
    background-color: #050505;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    font-family: var(--font-serif);
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photographer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none; /* Add JS toggle support later */
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .timeline-container::after {
        left: 2rem;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 4rem;
        padding-right: 0;
    }
    .timeline-item::after {
        left: 2rem;
        margin-left: -8px;
    }
    .timeline-item.left::after {
        right: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .lightbox-content-wrapper {
        flex-direction: column;
        height: 90vh;
    }
    .lightbox-info {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        column-count: 1;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .hero-cta {
        flex-direction: column;
    }
}
