/* Main CSS for Inqilab Delta Forum Hugo Theme */

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem;
    position: relative;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 50%, var(--light-gray) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-label::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--primary-red);
}

.hero h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    color: var(--primary-red);
}

.hero-subtitle {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.9;
}

.hero-tagline {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.95rem;
    color: var(--bangladesh-green);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

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

.btn {
    font-family: 'Sora', -apple-system, sans-serif;
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.01em;
}

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

.btn-primary:hover {
    background: #c91a1f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--dark-gray);
}

.btn-outline:hover {
    background: var(--dark-gray);
    color: var(--white);
}

.delta-symbol {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--primary-red);
    opacity: 0.05;
    z-index: 1;
}

/* Sections */
section {
    padding: 5rem 4rem;
}

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

.section-label {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

/* Vision/Programs Section */
.vision {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-green) 100%);
}

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

.vision-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    transition: all 0.3s;
}

.vision-card:hover {
    border-color: var(--bangladesh-green);
    box-shadow: 0 10px 40px rgba(0,106,78,0.15);
    transform: translateY(-5px);
}

.vision-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--bangladesh-green);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vision-card p {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Content Types Section */
.content-types {
    background: var(--bangladesh-green) !important;
}

.content-types .section-label {
    color: var(--accent-green);
}

.content-types h2 {
    color: var(--white);
}

.content-types .vision-card {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.content-types .vision-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.content-types .vision-card h3 {
    color: var(--white);
}

.content-types .vision-card p {
    color: rgba(255,255,255,0.8);
}

/* Memorial Section */
.memorial {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.memorial::before {
    content: '"';
    position: absolute;
    right: 5%;
    top: 10%;
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    color: var(--primary-red);
    opacity: 0.05;
}

.memorial-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.memorial-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.memorial-image-caption {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 1rem;
    color: var(--text-muted);
}

.memorial-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.memorial-text h2 span {
    color: var(--primary-red);
}

.memorial-quote {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-red);
    color: var(--text-dark);
}

.memorial-bio {
    color: var(--text-muted);
    columns: 2;
    column-gap: 2rem;
}

.memorial-bio p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Archive Section */
.archive {
    background: var(--light-gray);
}

.archive-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--medium-gray);
}

.archive-tab {
    font-family: 'Sora', -apple-system, sans-serif;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.archive-tab.active {
    color: var(--primary-red);
}

.archive-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.archive-item {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.archive-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.archive-thumbnail {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--dark-gray), var(--black));
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-thumbnail .play-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s;
}

.archive-item:hover .play-icon {
    opacity: 1;
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.archive-thumbnail .play-icon::after {
    content: '';
    border-left: 10px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}

.archive-info {
    padding: 1.25rem;
}

.archive-type {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bangladesh-green);
    margin-bottom: 0.5rem;
}

.archive-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.archive-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Blog Section */
.blog {
    background: var(--white);
}

.blog-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.blog-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card.featured {
    grid-row: span 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3)), linear-gradient(135deg, var(--primary-red), var(--accent-purple));
    color: var(--white);
}

.blog-card.featured:hover {
    border-color: transparent;
}

.blog-category {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.blog-card.featured .blog-category {
    color: var(--accent-green);
}

.blog-card h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.blog-card.featured h3 {
    font-size: 1.6rem;
    color: var(--white);
}

.blog-excerpt {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.75;
}

.blog-card.featured .blog-excerpt {
    color: rgba(255,255,255,0.8);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.read-more {
    font-family: 'Sora', -apple-system, sans-serif;
    color: var(--primary-red);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-card.featured .read-more {
    color: var(--white);
}

.read-more:hover {
    gap: 0.75rem;
}

.read-more::after {
    content: '→';
}

/* Join Section */
.join {
    background: var(--light-gray);
    text-align: center;
    padding: 5rem 4rem;
}

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

.join p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
}

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

.join .btn:hover {
    background: #c91a1f;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 4rem 4rem 3rem;
    border-bottom: 1px solid var(--medium-gray);
}

.series-badge {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary-red);
    padding: 0.4rem 0.75rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.program-label {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bangladesh-green);
    display: block;
    margin-bottom: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 4rem 5rem;
}

.article-content h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--bangladesh-green);
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.article-content ul, .article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content strong {
    color: var(--text-dark);
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--medium-gray);
    margin: 2.5rem 0;
}

/* Key Findings Box */
.key-points {
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.03), rgba(0, 106, 78, 0.08));
    border-left: 4px solid var(--bangladesh-green);
    border-top: 1px solid rgba(0, 106, 78, 0.15);
    border-right: 1px solid rgba(0, 106, 78, 0.15);
    border-bottom: 1px solid rgba(0, 106, 78, 0.15);
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.key-points::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bangladesh-green), var(--delta-green), transparent);
    border-radius: 0 8px 0 0;
}

.key-points h4 {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bangladesh-green);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-points h4::before {
    content: '◆';
    font-size: 0.5rem;
}

.key-points ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.key-points li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.key-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bangladesh-green);
    font-weight: 600;
}

.key-points li:last-child {
    margin-bottom: 0;
}

.key-points li strong {
    color: var(--bangladesh-green);
}

blockquote {
    border-left: 4px solid var(--primary-red);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.callout-box {
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.05), rgba(0, 106, 78, 0.1));
    border: 1px solid rgba(0, 106, 78, 0.2);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.callout-box h4 {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bangladesh-green);
    margin-bottom: 0.75rem;
}

/* Tables - style all tables in article content */
.article-content table,
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.article-content th,
.article-content td,
.data-table th,
.data-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.article-content th,
.data-table th {
    background: linear-gradient(135deg, var(--bangladesh-green), var(--delta-green));
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    border-bottom: none;
}

.article-content tbody tr:nth-child(even),
.data-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.article-content tbody tr:hover,
.data-table tbody tr:hover {
    background: rgba(0, 106, 78, 0.08);
}

.article-content tbody tr:last-child td,
.data-table tbody tr:last-child td {
    border-bottom: none;
}

.article-content td strong,
.data-table td strong {
    color: var(--bangladesh-green);
    font-weight: 600;
}

.author-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--bangladesh-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.share-btn {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    border-color: var(--bangladesh-green);
    color: var(--bangladesh-green);
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.tag {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    background: transparent;
    color: var(--delta-green);
    border: 1px solid var(--delta-green);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--delta-green);
    border-color: var(--delta-green);
    color: var(--white);
}

.tag-sm {
    font-family: 'Sora', -apple-system, sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--medium-gray);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-sm:hover {
    border-color: var(--delta-green);
    color: var(--delta-green);
}

.related-articles {
    background: var(--light-gray);
    padding: 3rem 4rem;
}

.related-articles h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-card .series-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
}

.related-card h4 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.quote-footer {
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

/* Video Container */
.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-top { padding: 1rem 2rem; }
    nav { padding: 0 2rem; }
    section { padding: 4rem 2rem; }
    .memorial-content { grid-template-columns: 1fr; }
    .memorial-bio { columns: 1; }
    .blog-featured { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .delta-symbol { display: none; }
}

@media (max-width: 768px) {
    .header-top { flex-direction: column; gap: 1rem; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .nav-links a { padding: 0.75rem 1rem; font-size: 0.85rem; }
    .hero { padding: 4rem 2rem; min-height: auto; }
    .archive-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .article-header { padding: 2rem 1.5rem; }
    .article-content { padding: 2rem 1.5rem 3rem; }
    footer { padding: 1.5rem; }
    .author-box { flex-direction: column; }
}

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.hero-label { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-tagline { animation-delay: 0.25s; }
.hero-cta { animation-delay: 0.3s; }