/* Custom variables defining the visual identity (ZSU style) */
:root {
    --color-bg: #090e0a;         /* Deep dark olive black */
    --color-bg-alt: #101611;     /* Slightly lighter dark olive */
    --color-bg-card: #151e16;    /* Dark olive green card background */
    --color-gold: #c5a059;       /* Premium gold accent */
    --color-gold-glow: rgba(197, 160, 89, 0.15);
    --color-gold-hover: #e5c17d; /* Lighter gold for hover states */
    --color-text: #e2e8e4;       /* Warm light grey text */
    --color-text-muted: #8c9e93; /* Olive grey muted text */
    --color-border: #1d2b20;     /* Subtle dark green border */
    --color-red: #721c10;        /* Deep red for Last Battle */
    --color-red-glow: rgba(114, 28, 16, 0.2);
    
    --font-headers: 'Montserrat', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and basic setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Grid helper */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Section Headers styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-headers);
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-headers);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.section-subtitle {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 15px auto 0;
}

.gold-divider.left-aligned {
    margin: 15px 0 0 0;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* Sticky Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(9, 14, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.brigade-logo-svg {
    filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.2));
}

.logo-text {
    font-family: var(--font-headers);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

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

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

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

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-alt);
    border-left: 1px solid var(--color-border);
    padding: 100px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 999;
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-link {
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.mobile-nav-link:hover {
    color: var(--color-gold);
    padding-left: 10px;
}

/* Hero Section style */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for parallax effect */
    background: radial-gradient(circle at 70% 30%, #17241a 0%, #090e0a 70%);
    z-index: 1;
    transform: translateY(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, var(--color-bg) 100%);
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.candle-symbol {
    margin-bottom: 25px;
    animation: pulse-glow 3s infinite alternate;
}

.candle-svg {
    filter: drop-shadow(0 0 10px rgba(255, 127, 0, 0.4));
}

.flame {
    animation: flicker 1s infinite alternate;
    transform-origin: 50% 44%;
}

.flame-inner {
    animation: flicker 0.7s infinite alternate;
    transform-origin: 50% 42%;
}

@keyframes flicker {
    0% { transform: scale(1) rotate(-1deg); opacity: 0.9; }
    50% { transform: scale(1.05) rotate(1deg); opacity: 1; }
    100% { transform: scale(0.95) rotate(-0.5deg); opacity: 0.95; }
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 127, 0, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 127, 0, 0.6)); }
}

.hero-subtitle-top {
    font-family: var(--font-headers);
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-headers);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-bottom: 25px;
}

.hero-quote {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-gold);
    padding-left: 20px;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-dates {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.date-label {
    font-family: var(--font-headers);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.date-value {
    font-family: var(--font-headers);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

/* Button style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 4px;
    font-family: var(--font-headers);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: transparent;
    color: var(--color-gold);
    border: 1.5px solid var(--color-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
    box-shadow: 0 0 20px var(--color-gold-glow);
    transform: translateY(-2px);
}

.btn-primary svg {
    transition: var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateY(3px);
}

/* Hero Portrait Frame */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 12px;
    background-color: var(--color-bg-card);
    transition: var(--transition-smooth);
}

.hero-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    pointer-events: none;
    opacity: 0.15;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(15%) contrast(1.05);
}

/* Mourning ribbon */
.black-ribbon {
    position: absolute;
    bottom: 25px;
    right: -8px;
    width: 120px;
    height: 24px;
    background-color: #000000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transform: rotate(-45deg);
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    opacity: 0.7;
}

.scroll-text {
    font-family: var(--font-headers);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.scroll-dot {
    width: 6px;
    height: 18px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 4px;
    position: relative;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 4px;
    background-color: var(--color-gold);
    left: 50%;
    transform: translateX(-50%);
    top: 3px;
    border-radius: 1px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { top: 2px; opacity: 1; }
    50% { top: 10px; opacity: 0; }
    100% { top: 2px; opacity: 1; }
}

/* Block 2. Timeline */
.timeline {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-border), var(--color-gold) 20%, var(--color-gold) 80%, var(--color-border));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    position: relative;
    padding: 30px 45px 30px 0;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
    padding: 30px 0 30px 45px;
}

.timeline-dot {
    position: absolute;
    right: -7px;
    top: 40px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 2px solid var(--color-gold);
    z-index: 5;
    box-shadow: 0 0 10px var(--color-gold);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
    right: auto;
}

.timeline-content {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    max-width: 480px;
    transition: var(--transition-smooth);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 38px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--color-border);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
    border-left: none;
    border-right: 10px solid var(--color-border);
}

.timeline-content:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.05);
}

.timeline-content:hover .timeline-dot {
    background-color: var(--color-gold);
    scale: 1.2;
}

.timeline-header {
    margin-bottom: 15px;
}

.timeline-date {
    font-family: var(--font-headers);
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.timeline-title {
    font-family: var(--font-headers);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.timeline-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Framed Image Style for biography and service images */
.framed-image {
    position: relative;
    border-radius: 8px;
    padding: 10px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.framed-image img {
    border-radius: 4px;
    width: 100%;
    transition: var(--transition-smooth);
}

.framed-image:hover img {
    scale: 1.02;
}

.framed-caption {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Work Cards (Peaceful life) */
.peaceful-life-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.work-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 35px;
}

.work-card {
    display: flex;
    gap: 24px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.work-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.work-icon-box {
    color: var(--color-gold);
    flex-shrink: 0;
}

.work-details h4 {
    font-family: var(--font-headers);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.work-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Section list */
.service-list {
    list-style: none;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

.list-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-gold);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--color-gold);
}

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

.brigade-badge-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: rgba(21, 30, 22, 0.95);
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.badge-card-svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.brigade-badge-card h5 {
    font-family: var(--font-headers);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.brigade-badge-card p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-gold);
}

/* Awards Section cards */
.awards-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.award-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.award-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.award-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.08);
}

.award-card:hover .award-glow {
    opacity: 1;
}

.award-icon-container {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.award-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.award-title {
    font-family: var(--font-headers);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.award-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Block 6. Last Battle Section (Deep dark crimson tone) */
.last-battle-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, #150a08 50%, var(--color-bg) 100%);
    position: relative;
}

.last-battle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-battle-box {
    max-width: 800px;
    width: 100%;
    background-color: rgba(20, 10, 8, 0.8);
    border: 1px solid rgba(139, 30, 16, 0.4);
    border-radius: 8px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(139, 30, 16, 0.1);
    position: relative;
}

.last-battle-top-decor {
    margin-bottom: 25px;
}

.battle-cross {
    font-family: var(--font-headers);
    font-size: 2.2rem;
    color: #8b1e10;
    text-shadow: 0 0 10px rgba(139, 30, 16, 0.6);
}

.section-tag-red {
    font-family: var(--font-headers);
    color: #b82d1c;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-title-light {
    font-family: var(--font-headers);
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
}

.red-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b1e10, transparent);
    margin: 15px auto 30px;
}

.battle-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8e4;
    margin-bottom: 25px;
    font-weight: 300;
}

.battle-text strong {
    font-weight: 600;
    color: #ffffff;
}

.tribute-badge {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(139, 30, 16, 0.4);
    border-radius: 4px;
    background-color: rgba(139, 30, 16, 0.1);
    margin-top: 15px;
}

.tribute-badge span {
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffd2cc;
}

/* Block 7. Gallery of Memory */
.gallery-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.08);
}

.gallery-img-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

/* Adjust aspect-ratio dynamically for items to look correct */
.gallery-grid .gallery-item:nth-child(1) .gallery-img-container {
    aspect-ratio: 3 / 4; /* Portrait */
}
.gallery-grid .gallery-item:nth-child(2) .gallery-img-container {
    aspect-ratio: 1 / 1; /* Comrades Square */
}
.gallery-grid .gallery-item:nth-child(3) .gallery-img-container {
    aspect-ratio: 16 / 9; /* Family Landscape */
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-thumb {
    scale: 1.05;
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 14, 10, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.zoom-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

.gallery-caption-box {
    padding: 16px 8px 8px;
}

.gallery-caption-box h4 {
    font-family: var(--font-headers);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.gallery-caption-box p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Block 8. Commemoration section */
.commemoration-section {
    background: radial-gradient(circle at 50% 100%, #151e16 0%, var(--color-bg) 80%);
}

.commemoration-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.commemoration-content {
    max-width: 800px;
    text-align: center;
}

.wheat-icon {
    margin-bottom: 25px;
    animation: wheat-sway 6s infinite ease-in-out alternate;
    transform-origin: 50% 90%;
}

.wheat-svg {
    filter: drop-shadow(0 4px 8px rgba(197, 160, 89, 0.3));
}

@keyframes wheat-sway {
    0% { transform: rotate(-2deg); }
    100% { transform: rotate(2deg); }
}

.commemoration-quote {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 40px;
}

.burial-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 30px;
    border: 1px dashed var(--color-gold);
    border-radius: 4px;
    background-color: var(--color-bg-card);
    color: var(--color-text-muted);
    max-width: 700px;
}

.location-icon {
    color: var(--color-gold);
    flex-shrink: 0;
}

.burial-info strong {
    color: #ffffff;
}

/* Footer style */
.footer {
    background-color: #050805;
    border-top: 1px solid var(--color-border);
    padding: 50px 0;
    color: var(--color-text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left h3 {
    font-family: var(--font-headers);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-tribute-text {
    font-size: 0.9rem;
    color: var(--color-gold);
}

.footer-right {
    text-align: right;
}

.copyright {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.sub-copyright {
    font-size: 0.75rem;
    color: #4f5f54;
}

/* Lightbox Modal UI */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 8, 6, 0.96);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    z-index: 2002;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 20px;
    z-index: 2002;
    transition: var(--transition-smooth);
}

.lightbox-arrow:hover {
    color: var(--color-gold);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2001;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(197, 160, 89, 0.2);
    object-fit: contain;
}

.lightbox-caption {
    font-family: var(--font-headers);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    max-width: 600px;
    padding: 10px 20px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Entrance Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for cascaded entrance */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .grid-2col {
        gap: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .gallery-grid, .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .awards-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 40px auto 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 40px auto 0;
    }
    
    .gallery-grid .gallery-item:nth-child(1) .gallery-img-container,
    .gallery-grid .gallery-item:nth-child(2) .gallery-img-container,
    .gallery-grid .gallery-item:nth-child(3) .gallery-img-container {
        aspect-ratio: 4 / 3; /* Standard aspect ratio for mobile scroll */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reverse-on-mobile {
        direction: rtl; /* Flip columns for ZSU section layout */
    }
    .reverse-on-mobile > * {
        direction: ltr; /* Reset text direction inside */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-quote {
        margin: 0 auto 30px;
        border-left: none;
        border-top: 1px solid var(--color-gold);
        border-bottom: 1px solid var(--color-gold);
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Navigation drawer mobile display */
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Timeline adjustments for mobile screens */
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 45px;
        padding-right: 0;
    }
    
    .timeline-dot {
        left: 13px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
        border-left: none !important;
        border-right: 10px solid var(--color-border) !important;
    }
    
    .brigade-badge-card {
        bottom: -10px;
        left: 10px;
        padding: 10px 16px;
    }
    
    .last-battle-box {
        padding: 40px 24px;
    }
    
    .commemoration-quote {
        font-size: 1.4rem;
    }
    
    .burial-info {
        padding: 14px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
    
    .lightbox-arrow {
        font-size: 2rem;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}
