/*
 Theme Name: Steel City LUG – Brickburgh
 Theme URI: https://www.steelcitylug.com
 Author: Steel City LUG
 Author URI: https://www.steelcitylug.com
 Description: Custom LEGO/Pittsburgh theme for Steel City LUG with bbPress + Envira integration.
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: brickburgh
*/

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #111;
    color: #f4f4f4;
}

/* Layout */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: linear-gradient(135deg, #111 0%, #181818 60%, #222 100%);
    border-bottom: 4px solid #ffc800;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.site-title {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffc800;
    margin: 0;
}

.site-description {
    font-size: .8rem;
    color: #ccc;
}

/* Nav */

.main-navigation {
    font-size: 0.9rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.main-navigation a {
    text-decoration: none;
    color: #f4f4f4;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    position: relative;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: #ffc800;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    transform: scaleX(1);
}

/* Mobile nav (simple) */

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #ffc800;
    border-radius: 999px;
    padding: .25rem .75rem;
    color: #ffc800;
    font-size: .8rem;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: .5rem 0;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* Hero */

.hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,.85), rgba(0,0,0,.7)),
        url('images/pittsburgh-hero-placeholder.jpg') center/cover no-repeat;
    padding: 3.5rem 1.25rem 2.5rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    color: #ffc800;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #eee;
    max-width: 32rem;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button {
    background: #ffc800;
    color: #111;
}

.button:hover {
    background: #ffe25e;
}

.button-secondary {
    background: transparent;
    color: #ffc800;
    border: 1px solid #ffc800;
}

.button-secondary:hover {
    background: rgba(255, 200, 0, 0.12);
}

/* Hero stats card */

.hero-card {
    background: rgba(17,17,17,0.9);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #ffc800;
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
}

.hero-card-list li + li {
    margin-top: .35rem;
}

/* Main content */

.site-main {
    flex: 1 0 auto;
}

.section {
    padding: 2.5rem 1.25rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 1.6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffc800;
    margin: 0;
}

.section-subtitle {
    font-size: .9rem;
    color: #bbb;
}

/* Cards for events / posts */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.card {
    background: #181818;
    border-radius: 1rem;
    padding: 1.1rem 1.1rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.04);
}

.card h3 {
    margin-top: 0;
    margin-bottom: .4rem;
    font-size: 1rem;
}

.card a {
    color: #ffc800;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.card-meta {
    font-size: .75rem;
    color: #aaa;
}

/* Content typography */

.entry-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: .98rem;
    line-height: 1.7;
    color: #f4f4f4;
}

.entry-content a {
    color: #ffc800;
}

/* Sidebar */

.sidebar {
    max-width: 300px;
}

.widget {
    background: #181818;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: .9rem;
}

.widget-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-top: 0;
    color: #ffc800;
}

/* Footer */

.site-footer {
    background: #050505;
    border-top: 3px solid #ffc800;
    padding: 1.5rem 1.25rem;
    font-size: .8rem;
    color: #aaa;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* bbPress tweaks */

.bbp-breadcrumb,
.bbp-topic-tags {
    display: none;
}

#bbpress-forums {
    font-size: .95rem;
}

#bbpress-forums a {
    color: #ffc800;
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
    background: #111;
    color: #eee;
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
    background: #181818;
}

#bbpress-forums li.bbp-body ul.forum:nth-child(odd),
#bbpress-forums li.bbp-body ul.topic:nth-child(odd) {
    background: #151515;
}

/* Envira tweaks */

.envira-gallery-wrap {
    background: #181818;
    border-radius: 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.envira-gallery-item img {
    border-radius: .5rem;
}

/* Utility */

.text-center { text-align: center; }

