/* =========================================
   THAT CLASSIC ROCK
   COMMUNITY PAGE STYLES
   ========================================= */

:root {
    --bg: #090909;
    --panel: #151515;
    --panel2: #1d1d1d;
    --text: #f5f5f5;
    --muted: #bdbdbd;
    --red: #d71920;
    --gold: #e3b341;
    --border: #303030;
}

/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* =========================================
   HEADER
   ========================================= */

header {
    background: linear-gradient(
        135deg,
        #050505 0%,
        #171717 100%
    );

    border-bottom: 4px solid var(--red);
    padding: 28px 20px;
    text-align: center;
}

.logo {
    color: var(--red);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 #000;
}

.tagline {
    color: var(--gold);
    font-size: 17px;
    font-weight: bold;
    margin-top: 4px;
}

/* =========================================
   NAVIGATION
   ========================================= */

nav {
    background: #111;
    border-bottom: 1px solid var(--border);
    padding: 14px 10px;
    text-align: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    margin: 0 13px;
    transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
    color: var(--gold);
}

/* =========================================
   MAIN CONTAINER
   ========================================= */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 20px 60px;
}

/* =========================================
   PAGE TITLE
   ========================================= */

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    margin: 0;
    color: var(--gold);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-title p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 18px;
}

/* =========================================
   SCHOOL SAFETY ALERT
   ========================================= */

.safety-alert {
    background:
        linear-gradient(
            145deg,
            #1a0b0b,
            #240d0d
        );

    border: 2px solid var(--red);
    border-radius: 14px;
    padding: 38px;
    margin-bottom: 45px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.45);

    position: relative;
    overflow: hidden;
}

/* Subtle accent line */

.safety-alert::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--red);
}

/* =========================================
   ALERT HEADING
   ========================================= */

.alert-heading {
    text-align: center;
    margin-bottom: 30px;
}

.alert-icon {
    font-size: 50px;
    line-height: 1;
}

.alert-heading h2 {
    margin: 12px 0 5px;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
}

.alert-heading .date {
    color: var(--gold);
    font-size: 21px;
    font-weight: bold;
}

/* =========================================
   ALERT TEXT
   ========================================= */

.safety-alert p {
    margin: 18px 0;
    color: #f2f2f2;
    font-size: 19px;
}

.highlight {
    color: var(--gold);
    font-weight: bold;
}

/* =========================================
   SCHOOL BUS WARNING
   ========================================= */

.warning {
    background: var(--red);
    color: #fff;

    border-radius: 10px;

    padding: 22px;
    margin: 28px 0;

    text-align: center;

    font-size: 23px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.35);
}

/* =========================================
   CLOSING MESSAGE
   ========================================= */

.closing {
    margin-top: 30px;

    text-align: center;

    color: #fff;

    font-size: 21px;
    font-weight: bold;
}

/* =========================================
   COMMUNITY CARDS
   ========================================= */

.community-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 22px;
}

.card {
    background: var(--panel);

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 25px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);

    border-color: var(--red);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);
}

.card h3 {
    margin-top: 0;

    color: var(--gold);

    font-size: 23px;
    font-weight: 800;
}

.card p {
    margin-bottom: 0;

    color: var(--muted);

    font-size: 16px;
}

/* =========================================
   STATION MESSAGE
   ========================================= */

.station-message {
    margin-top: 40px;

    background: var(--panel2);

    border-left: 5px solid var(--red);

    border-radius: 8px;

    padding: 25px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.25);
}

.station-message p {
    margin: 8px 0;
    color: var(--muted);
}

.station-message strong {
    color: var(--gold);
}

/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #050505;

    border-top: 1px solid var(--border);

    padding: 30px 20px;

    text-align: center;

    color: var(--muted);
}

.footer-logo {
    color: var(--red);

    font-size: 25px;
    font-weight: 900;

    letter-spacing: 2px;
}

footer p {
    margin: 6px 0;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    header {
        padding: 22px 15px;
    }

    .logo {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 15px;
    }

    nav {
        padding: 12px 8px;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
        font-size: 14px;
    }

    .container {
        padding: 35px 15px 45px;
    }

    .page-title {
        margin-bottom: 30px;
    }

    .page-title h1 {
        font-size: 34px;
    }

    .page-title p {
        font-size: 16px;
    }

    .safety-alert {
        padding: 28px 20px;
    }

    .alert-icon {
        font-size: 42px;
    }

    .alert-heading h2 {
        font-size: 26px;
    }

    .alert-heading .date {
        font-size: 18px;
    }

    .safety-alert p {
        font-size: 17px;
    }

    .warning {
        padding: 18px 12px;
        font-size: 19px;
    }

    .closing {
        font-size: 19px;
    }

    .card {
        padding: 22px;
    }

    .card h3 {
        font-size: 21px;
    }

    .station-message {
        padding: 20px;
    }
}

/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 420px) {

    .logo {
        font-size: 25px;
    }

    nav a {
        margin: 4px 5px;
        font-size: 13px;
    }

    .page-title h1 {
        font-size: 29px;
    }

    .alert-heading h2 {
        font-size: 23px;
    }

    .alert-heading .date {
        font-size: 17px;
    }

    .warning {
        font-size: 17px;
    }
}

/* =========================================
   CSS ICONS
   Avoids emoji/font compatibility problems
   ========================================= */

.alert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);

    clip-path: polygon(
        50% 0%,
        100% 100%,
        0% 100%
    );

    color: #000;
}

.warning-symbol {
    font-size: 42px;
    font-weight: 900;

    transform: translateY(8px);
}


/* STOP SIGN */

.stop-symbol {
    display: inline-flex;

    width: 62px;
    height: 62px;

    margin-right: 12px;

    align-items: center;
    justify-content: center;

    background: #fff;
    color: var(--red);

    border: 5px solid #fff;

    font-size: 13px;
    font-weight: 900;

    clip-path: polygon(
        30% 0%,
        70% 0%,
        100% 30%,
        100% 70%,
        70% 100%,
        30% 100%,
        0% 70%,
        0% 30%
    );

    vertical-align: middle;
}


/* COMMUNITY ANNOUNCEMENT ICON */

.announce-symbol {
    display: inline-flex;

    width: 32px;
    height: 32px;

    margin-right: 8px;

    align-items: center;
    justify-content: center;

    background: var(--red);
    color: #fff;

    border-radius: 50%;

    font-size: 21px;
    font-weight: 900;

    vertical-align: middle;
}

/* Guitar / Music Icon */

.rock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-right: 8px;

    background: var(--gold);
    color: #000;

    border-radius: 50%;

    font-size: 24px;
    font-weight: 900;

    vertical-align: middle;
}


/* Heart Icon */

.heart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-right: 8px;

    background: var(--red);
    color: #fff;

    border-radius: 50%;

    font-size: 23px;
    font-weight: 900;

    vertical-align: middle;
}





