:root {
    --fire-red: #C41E3A;
    --fire-red-dark: #8B0000;
    --fire-red-light: #DC143C;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --navy: #1a1a2e;
    --charcoal: #2d2d2d;
    --smoke: #4a4a4a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
}

.nav.scrolled {
    background: var(--fire-red-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0.75rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 60px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.nav.scrolled .nav-logo {
    height: 50px;
}

.nav-title {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-title span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/all-apparatus.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 0, 0, 0.85) 0%,
        rgba(26, 26, 46, 0.9) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.03) 2px,
            rgba(212, 175, 55, 0.03) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--fire-red-dark);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--fire-red-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

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

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

/* Events Banner */
.events-banner {
    background: linear-gradient(90deg, var(--fire-red-dark) 0%, var(--fire-red) 50%, var(--fire-red-dark) 100%);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.events-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.events-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
}

.events-header {
    text-align: center;
    margin-bottom: 2rem;
}

.events-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.events-header h2 span {
    color: var(--gold);
}

.events-header p {
    color: rgba(255,255,255,0.8);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 360px));
    justify-content: center;
    gap: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.event-image-wrapper::after {
    content: 'Click to view full flyer';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-image-wrapper::after {
    opacity: 1;
}

.event-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;   /* show the whole flyer, never crop it */
    transition: transform 0.3s ease;
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--fire-red);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.lightbox-caption {
    text-align: center;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Text Lightbox */
.lightbox-text-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 900px;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-text-image {
    width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
}

.lightbox-text-body {
    flex: 1;
}

.lightbox-text-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: var(--fire-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lightbox-text-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.lightbox-text-content .lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
}

@media (max-width: 768px) {
    .lightbox-text-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-height: 85vh;
        overflow-y: auto;
    }

    .lightbox-text-image {
        width: 150px;
    }
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    display: inline-block;
    background: var(--fire-red);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.event-title {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.event-description {
    color: var(--smoke);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.event-rules-link {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.event-rules-link:hover {
    background: var(--gold);
    color: var(--navy);
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--smoke);
    font-size: 0.9rem;
}

.event-location svg {
    width: 16px;
    height: 16px;
    fill: var(--fire-red);
}

.event-placeholder {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

.event-placeholder h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about-image-overlay {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 60%;
    border: 5px solid var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-content {
    padding: 1rem;
}

.section-label {
    display: inline-block;
    background: var(--fire-red);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--fire-red);
}

.about-content p {
    color: var(--smoke);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fire-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--smoke);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Apparatus Section */
.apparatus {
    padding: 6rem 2rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.apparatus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(212, 175, 55, 0.03) 100px,
            rgba(212, 175, 55, 0.03) 102px
        );
}

.apparatus-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.apparatus-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.apparatus-header h2 span {
    color: var(--gold);
}

.apparatus-header p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.apparatus-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.apparatus-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.apparatus-item.large {
    grid-column: span 2;
}

.apparatus-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apparatus-item:hover img {
    transform: scale(1.1);
}

.apparatus-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 60%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.apparatus-label {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.apparatus-label span {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 0.25rem;
}

/* History Section */
.history {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.history-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.history-header h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.history-header h2 span {
    color: var(--fire-red);
}

.history-header p {
    color: var(--smoke);
    max-width: 700px;
    margin: 0 auto;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.history-era {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.history-era-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--fire-red);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.history-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.history-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.history-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.history-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-item:hover img {
    transform: scale(1.1);
}

.history-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(139, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.history-item-label {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.history-item-label span {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    margin-top: 0.25rem;
}

/* Training Section */
.training {
    padding: 6rem 2rem;
    background: var(--navy);
    position: relative;
}

.training::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(212, 175, 55, 0.02) 100px,
            rgba(212, 175, 55, 0.02) 102px
        );
}

.training-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.training-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.training-header h2 span {
    color: var(--gold);
}

.training-header p {
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

.training-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.training-category {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.training-category-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.training-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.training-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.training-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.training-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.training-item:hover img {
    transform: scale(1.1);
}

.training-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(196, 30, 58, 0.9) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.training-item-label {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Crew Section */
.crew {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.crew-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.crew-header h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.crew-header h2 span {
    color: var(--fire-red);
}

.crew-header p {
    color: var(--smoke);
    max-width: 600px;
    margin: 0 auto;
}

.crew-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.crew-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.crew-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.crew-item:hover img {
    transform: scale(1.05);
}

.crew-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.9), transparent);
    padding: 2rem 1rem 1rem;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Leadership Section */
.leadership {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid rgba(196, 30, 58, 0.2);
}

.leadership-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.leadership-header h3 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.leadership-header h3 span {
    color: var(--fire-red);
}

.leadership-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 360px));
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.leadership-group {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid rgba(196, 30, 58, 0.1);
}

.leadership-group-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--fire-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
    text-align: center;
}

.leadership-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leadership-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.leadership-list li:last-child {
    border-bottom: none;
}

.leadership-role {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.leadership-name {
    color: var(--fire-red);
    font-weight: 600;
    text-align: right;
}

/* Past Members Section */
.past-members {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    position: relative;
}

.past-members::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.past-members-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.past-members-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.past-members-header h2 span {
    color: var(--gold);
}

.past-members-header p {
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

.past-members-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 360px));
    justify-content: center;
    gap: 2rem;
}

.past-members-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.past-members-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border-color: var(--gold);
}

.past-members-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.past-members-item:hover img {
    transform: scale(1.05);
}

.past-members-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 3rem 1.5rem 1.5rem;
    color: var(--white);
}

.past-members-item-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.past-members-item-label span {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 0.25rem;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: none;
    letter-spacing: normal;
}

/* Station Section */
.station {
    padding: 6rem 2rem;
    background: var(--white);
}

.station-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.station-header h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.station-header h2 span {
    color: var(--fire-red);
}

.station-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.station-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.station-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.station-item:hover img {
    transform: scale(1.05);
}

/* Social Hall Link */
.social-hall {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
    text-align: center;
}

.social-hall-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-hall h2 {
    font-size: 2rem;
    color: var(--fire-red-dark);
    margin-bottom: 1rem;
}

.social-hall p {
    color: var(--fire-red-dark);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-hall .btn {
    background: var(--fire-red-dark);
    color: var(--white);
}

.social-hall .btn:hover {
    background: var(--fire-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
}

/* Join Section */
.join {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    position: relative;
}

.join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.join-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.join-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.join-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.join-header h2 span {
    color: var(--gold);
}

.join-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
}

.application-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fire-red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.form-submit {
    background: var(--fire-red);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--fire-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--charcoal);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-info h2 span {
    color: var(--gold);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--fire-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-details h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p, .contact-details a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 1.1rem;
}

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

.emergency-box {
    background: var(--fire-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.emergency-box h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.emergency-box p {
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: var(--smoke);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold);
}

.footer-text h4 {
    color: var(--white);
    font-size: 1rem;
}

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

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--fire-red);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal);
    text-align: center;
    color: var(--smoke);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-credit a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-overlay {
        position: relative;
        bottom: auto;
        right: auto;
        width: 80%;
        margin: -2rem auto 0;
    }

    .apparatus-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .apparatus-item.large {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--fire-red-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

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

    .apparatus-item.large {
        grid-column: span 1;
    }

    .history-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

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

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.event-time {
    margin-bottom: 0.4rem;
}

.event-card:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
