/*
Theme Name: TS Scouts
Theme URI: https://tsscouts.cdnet.uk
Description: Custom Scouts-style theme for Tameside South District with multisite support.
Author: Chris
Version: 1.0
*/

/* ---------------------------------------- */
/* GLOBAL BASE STYLES – Scouts Look & Feel   */
/* ---------------------------------------- */

html, body {
    margin: 0;
    padding: 0;
    font-family: "Nunito Sans", Arial, sans-serif;
    color: #222;
    line-height: 1.55;
    background: #f7f7f7;
}

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

h1, h2, h3, h4 {
    font-family: "Nunito Sans", Arial, sans-serif;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Container Wrapper (like scouts.org.uk) */
.site-main {
    display: block;
    width: 100%;
}

/* ---------------------------------------- */
/* HEADER                                   */
/* ---------------------------------------- */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

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

.site-title a {
    font-size: 1.45rem;
    text-decoration: none;
    color: #000;
    font-weight: 900;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    color: #222;
}

.main-nav a:hover {
    color: #007bba;
}

/* ---------------------------------------- */
/* HERO SECTION (Matches scouts.org.uk)     */
/* ---------------------------------------- */

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #007bba, #3d1a78);
    color: #fff;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.hero-col-left,
.hero-col-right {
    flex: 1;
}

.hero-logo {
    max-width: 260px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 550px;
    margin-bottom: 2rem;
}

.hero-buttons a {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    border-radius: 12px;
    margin-right: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.btn-primary {
    background: #fff;
    color: #007bba;
}

.btn-secondary {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-snapshot {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: rgba(0,0,0,0.25);
    border-radius: 18px;
    backdrop-filter: blur(5px);
    max-width: 360px;
}

.hero-snapshot h3 {
    margin-bottom: 0.75rem;
}

/* Mobile Stack */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-logo {
        max-width: 180px;
        margin-bottom: 1.5rem;
    }
    .hero-snapshot {
        margin: 2rem auto 0;
    }
}

/* ---------------------------------------- */
/* SECTIONS GRID (HQ Tight Version)         */
/* ---------------------------------------- */

.section {
    padding: 3.5rem 0;
    background: #fff;
}

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

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #555;
    max-width: 700px;
    margin: 0.5rem auto 0 auto;
    font-size: 1.05rem;
}

.section-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: 22px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    transition: transform 0.15s ease;
}

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

.card-img {
    max-width: 55%;
    max-height: 60px;
    object-fit: contain;
    margin: 0 auto 0.75rem auto;
}

.card-label {
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.card-meta {
    margin-top: 0.5rem;
    color: #333;
    line-height: 1.45;
}

/* ---------------------------------------- */
/* FOOTER                                   */
/* ---------------------------------------- */

.site-footer {
    padding: 2.5rem 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
}

.site-footer a {
    color: #fff;
    text-decoration: underline;
}

/* ---------------------------------------- */
/* UTILITIES                                */
/* ---------------------------------------- */

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

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

