/*
Theme Name: Anlav.by - Баскетбольный Центр
Author: PBN Creative
Description: Динамичный, "уличный" и профессиональный дизайн для баскетбольного портала Беларуси.
Version: 1.0.0
*/

:root {
    /* Basketball Court & Street Palette */
    --primary: #F15A24;        /* Official Ball Orange */
    --secondary: #1A1A1B;      /* Night Court Black */
    --accent: #FFD700;         /* MVP Gold */
    --bg-light: #EDF2F7;
    --white: #FFFFFF;
    --text-main: #1A1A1B;
    --text-muted: #4A5568;
    --border: #CBD5E0;
    
    --container-width: 1200px;
    --content-width: 900px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    padding-top: 80px;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header - Bold & Urban */
.site-header {
    background: var(--white);
    border-bottom: 5px solid var(--primary);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1;
}

.logo span {
    color: var(--primary);
    border-bottom: 4px solid var(--secondary);
}

.main-nav ul {
    display: flex;
    gap: 3.5rem;
    list-style: none;
}

.main-nav a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
    text-transform: uppercase;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
}

/* Hero - Option B (Image Left, Text Right) */
.hero-bball {
    background: var(--secondary);
    color: var(--white);
    padding: 0;
    margin-bottom: 6rem;
    display: flex;
    align-items: stretch;
    min-height: 550px;
    overflow: hidden;
}

.hero-img-side {
    flex: 1;
    background: url('banner.jpg') center/cover no-repeat;
    position: relative;
}

.hero-img-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary));
}

.hero-text-side {
    flex: 1;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-side h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-text-side h1 span {
    color: var(--primary);
}

.hero-text-side p {
    font-size: 1.2rem;
    color: #A0AEC0;
    margin-bottom: 3.5rem;
    max-width: 500px;
}

/* Bball Cards - Professional Layout */
.bball-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 8rem;
}

.b-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 4px;
    border-left: 8px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.b-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.b-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.b-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Post Grid - Courtside Layout */
.grid-header {
    margin-bottom: 4rem;
    border-bottom: 2px solid var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.grid-header h2 {
    font-size: 2.5rem;
}

.bball-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.post-card-bball {
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card-bball:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.post-card-bball .thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.post-card-bball .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-bball .cat {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
}

.post-card-bball .content {
    padding: 2rem;
    flex-grow: 1;
}

.post-card-bball h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.post-card-bball .btn {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Single Post - Professional View */
.post-main-bball {
    max-width: var(--content-width);
    margin: 4rem auto;
    background: var(--white);
    padding: 5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.post-header-bball {
    margin-bottom: 4rem;
    text-align: center;
}

.post-header-bball h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.post-meta-bball {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.post-body-bball {
    font-size: 1.15rem;
}

.post-body-bball p {
    margin-bottom: 2rem;
}

.post-body-bball h2, .post-body-bball h3 {
    margin-top: 5rem;
    margin-bottom: 2rem;
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2rem;
    display: inline-block;
}

/* Bball Lists */
.post-body-bball ul {
    list-style: none;
    margin: 4rem 0;
    padding: 3rem;
    border: 2px solid var(--primary);
}

.post-body-bball li {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.post-body-bball li::before {
    content: '🏀';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 7rem 0 3rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1.2rem;
}

.footer-nav a {
    color: #CBD5E0;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #718096;
}

/* Pagination */
.pagi-wrap {
    display: flex;
    justify-content: center;
    margin: 5rem 0;
}

.pagi-list {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.pagi-list a, .pagi-list span {
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    font-weight: 700;
}

.pagi-list .is-active, .pagi-list a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-inner { gap: 2rem; }
    .hero-text-side { padding: 4rem; }
    .hero-text-side h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.is-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 3rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .main-nav ul { flex-direction: column; gap: 1.5rem; }
    .hero-bball { flex-direction: column; }
    .hero-img-side { height: 300px; }
    .bball-features, .bball-grid, .footer-inner { grid-template-columns: 1fr; }
    .post-main-bball { padding: 3rem; }
}
