/* LiamAClark.com - Hockey Player & Official */

:root {
    --navy: #1B2A4A;
    --navy-light: #243656;
    --ice-blue: #4A90D9;
    --ice-blue-light: #6BA3E0;
    --red: #C8102E;
    --red-dark: #A00D24;
    --ice-white: #F0F4F8;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-600: #6C757D;
    --gray-800: #343A40;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
}

/* Navbar */
.navbar-brand { font-weight: 700; letter-spacing: 0.5px; }
.navbar-dark .nav-link { color: rgba(255,255,255,0.85) !important; }
.navbar-dark .nav-link:hover { color: #fff !important; }
.navbar-dark .nav-link.active { color: #fff !important; border-bottom: 2px solid var(--red); }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--ice-blue) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(74,144,217,0.15) 0%, transparent 50%);
}
.hero-section h1 { font-size: 3rem; font-weight: 800; }
.hero-section .lead { font-size: 1.3rem; opacity: 0.9; }

/* Dual Track Cards */
.track-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.track-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.track-card-player { border-top: 4px solid var(--ice-blue); }
.track-card-official { border-top: 4px solid var(--red); }
.track-card .card-body { padding: 2rem; }
.track-card .track-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.track-card-player .track-icon { color: var(--ice-blue); }
.track-card-official .track-icon { color: var(--red); }

/* News Cards */
.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    height: 100%;
}
.news-card:hover { transform: translateY(-3px); }
.news-card .card-img-top { height: 200px; object-fit: cover; }
.news-card .card-body { padding: 1.25rem; }
.news-card .card-title a { color: var(--navy); text-decoration: none; }
.news-card .card-title a:hover { color: var(--ice-blue); }

/* Category Badges */
.badge-player { background-color: var(--ice-blue); }
.badge-official { background-color: var(--red); }
.badge-general { background-color: var(--gray-600); }

/* Timeline */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    background: var(--gray-200);
    transform: translateX(-50%);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 16px; height: 16px;
    background: var(--ice-blue);
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 3px var(--ice-blue);
}
.timeline-item.official::before { background: var(--red); box-shadow: 0 0 0 3px var(--red); }
.timeline-content {
    width: 45%;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; }
.timeline-item:nth-child(even) .timeline-content { margin-right: auto; }

@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item::before { left: 20px; }
    .timeline-content { width: calc(100% - 50px) !important; margin-left: 50px !important; }
    .hero-section h1 { font-size: 2rem; }
}

/* Donation Progress */
.donation-progress .progress {
    height: 24px;
    border-radius: 12px;
    background-color: var(--gray-200);
}
.donation-progress .progress-bar {
    background: linear-gradient(90deg, var(--ice-blue), var(--red));
    border-radius: 12px;
    font-weight: 600;
}

/* Support CTA */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--ice-blue) 100%);
    color: white;
    padding: 4rem 0;
}
.btn-support {
    background: var(--red);
    color: white;
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-support:hover { background: var(--red-dark); color: white; transform: scale(1.05); }

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer h5 { color: white; font-weight: 600; margin-bottom: 1rem; }

/* Section Headings */
.section-heading {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--red);
    margin-bottom: 2rem;
}

/* Admin Sidebar */
.admin-sidebar {
    background: var(--navy);
    min-height: 100vh;
    padding-top: 1rem;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    margin: 2px 0.75rem;
}
.admin-sidebar .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.admin-sidebar .nav-link.active { color: white; background: var(--ice-blue); }
.admin-sidebar .sidebar-brand {
    color: white;
    font-weight: 700;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}
.admin-content { margin-left: 250px; padding: 2rem; min-height: 100vh; background: var(--ice-white); }

/* Admin Stats Cards */
.stat-card {
    border: none;
    border-radius: 10px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.stat-card .stat-number { font-size: 2rem; font-weight: 700; }
.stat-card .stat-label { opacity: 0.85; font-size: 0.9rem; }
.stat-card-blue { background: linear-gradient(135deg, var(--ice-blue), #357ABD); }
.stat-card-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.stat-card-navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.stat-card-green { background: linear-gradient(135deg, #28a745, #1e7e34); }

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; }
}

/* Single Post */
.post-header { margin-bottom: 2rem; }
.post-header h1 { font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.post-meta { color: var(--gray-600); font-size: 0.9rem; }
.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-featured-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; }

/* Page headers */
.page-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
    padding: 3rem 0;
}
.page-header h1 { font-weight: 700; }
