/* Oak Lawn Park District Judo Club - Website Styles */

:root {
    --navy: #0d1b4a;
    --navy-light: #1a237e;
    --red: #c62828;
    --red-dark: #a31d1d;
    --gold: #d4a017;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --gray-light: #e0e0e0;
    --text: #212121;
    --text-light: #555555;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

a {
    color: var(--navy-light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.site-nav {
    background: var(--navy);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-inner a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-inner a:hover {
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

/* Hero */
.hero {
    background: url('../images/olpd-judo-fb-banner.jpg') center center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 74, 0.6);
}

.hero-logo {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 4px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.hero h1 {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero .subtitle {
    position: relative;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 400;
}

/* Sections */
.section {
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-alt {
    background: var(--off-white);
}

.section-alt .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section h2 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.section-intro {
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    max-width: 700px;
    font-size: 1.05rem;
}

/* About */
.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--navy);
}

.location-info {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    border-radius: 0 4px 4px 0;
}

.section-alt .location-info {
    background: var(--white);
}

.location-info p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.map-container {
    margin-top: 1.5rem;
    max-width: 700px;
}

/* Program Cards */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.program-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--navy);
    transition: transform 0.2s, box-shadow 0.2s;
}

.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.program-card h3 {
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.program-card .ages {
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.program-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.register-link {
    display: inline-block;
    margin-top: 2rem;
    background: var(--red);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.register-link:hover {
    background: var(--red-dark);
    text-decoration: none;
}

/* Documents & Connect Cards */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.section-alt .card {
    background: var(--white);
}

.card-qr {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-qr img,
.card-qr canvas,
.card-qr svg {
    width: 120px;
    height: 120px;
}

.card-info h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.card-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.card-info a.card-link {
    display: inline-block;
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
}

.card-info a.card-link:hover {
    color: var(--red-dark);
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--gold);
}

.site-footer p {
    margin-bottom: 0.35rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (min-width: 600px) {
    .hero {
        padding: 4rem 2rem;
    }

    .hero-logo {
        width: 280px;
        height: 280px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

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

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

@media (min-width: 900px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
