/* Plaistow Junior Firefighters - Main Stylesheet */
/* Colors: Red primary (#DC143C), White backgrounds, Black text */

:root {
    --fire-red: #DC143C;
    --fire-red-dark: #B91C3C;
    --fire-red-light: #FF1744;
    --fire-orange: #FF6B35;
    --black: #1a1a1a;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-lighter: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 8px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--fire-red); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--fire-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--fire-red-dark);
    text-decoration: underline;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--fire-red-dark);
    border-color: var(--fire-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--fire-red);
    border-color: var(--fire-red);
}

.btn-secondary:hover {
    background-color: var(--fire-red);
    color: var(--white);
    text-decoration: none;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--black);
    text-decoration: none;
}

.logo-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.badge-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
}

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

.title-main {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--fire-red);
}

.title-sub {
    font-size: 0.8rem;
    color: var(--gray-medium);
}

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

.nav-menu a {
    color: var(--black);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--fire-red);
    text-decoration: none;
}

.nav-cta .btn-join {
    background-color: var(--fire-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-cta .btn-join:hover {
    background-color: var(--fire-red-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.badge-container {
    margin-bottom: 30px;
}

.fire-badge {
    display: inline-block;
    background: var(--white);
    color: var(--fire-red);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fire-badge .badge-number {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.fire-badge h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--fire-red);
}

.established {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--gray-medium);
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Info Grid */
.quick-info {
    padding: 60px 0;
    background-color: var(--gray-lighter);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--fire-red);
    margin-bottom: 15px;
}

/* Achievement Section */
.recent-achievement {
    padding: 60px 0;
    background: var(--white);
}

.achievement-card {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.achievement-card h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.achievement-date {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.achievement-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.achievement-stats {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.stat {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Areas */
.service-areas {
    padding: 60px 0;
    background: var(--gray-lighter);
    text-align: center;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.area-item {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--fire-red);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Join CTA */
.join-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--white);
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-info h3 {
    color: var(--fire-red);
    margin-bottom: 15px;
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-red-dark));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.mission-section,
.what-we-do,
.success-stories,
.opportunities,
.requirements {
    padding: 60px 0;
}

.what-we-do {
    background: var(--gray-lighter);
}

.activities-grid,
.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.activity-card,
.opportunity-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.activity-card h3,
.opportunity-card h3 {
    color: var(--fire-red);
    margin-bottom: 20px;
}

.activity-card ul {
    list-style: none;
    padding-left: 0;
}

.activity-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.activity-card li:before {
    content: '🔥';
    position: absolute;
    left: 0;
}

.story-highlight {
    background: var(--white);
    padding: 40px;
    border-left: 5px solid var(--fire-red);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.requirements-list,
.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.requirements-list li,
.benefits-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid var(--gray-lighter);
}

.requirements-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fire-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-list li:before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--fire-red);
    font-size: 1.2rem;
}

.apply-section {
    background: var(--gray-lighter);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.site-footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--fire-red);
    border-radius: 50%;
    color: var(--white);
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--fire-red-dark);
}

address {
    font-style: normal;
    line-height: 1.8;
}

address a {
    color: var(--white);
}

.hours {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .fire-badge h1 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* What We Teach Section */
.what-we-teach {
    padding: 60px 0;
    background: var(--white);
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray-dark);
}

.training-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--white);
    border: 2px solid var(--fire-red);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

.category-card h3 {
    color: var(--fire-red);
    margin-bottom: 20px;
    text-align: center;
}

.category-card ul {
    list-style: none;
    padding: 0;
}

.category-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid var(--gray-lighter);
}

.category-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fire-red);
    font-weight: bold;
}

/* Training Approach */
.training-approach {
    padding: 60px 0;
    background: var(--gray-lighter);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.approach-item h3 {
    color: var(--fire-red);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Competencies Preview */
.competencies-preview {
    padding: 60px 0;
    background: var(--white);
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.competency-item {
    padding: 20px;
    background: var(--gray-lighter);
    border-left: 4px solid var(--fire-red);
    border-radius: 4px;
}

.competency-item strong {
    color: var(--fire-red);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

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

/* Logo Patch Styles */
.logo-patch {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}

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

/* Hero Patch Styles */
.hero-patch {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.badge-container {
    text-align: center;
    margin-bottom: 30px;
}

.badge-container h1 {
    color: var(--white);
    margin-bottom: 10px;
}
