@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #c8102e;
    /* Classic Baseball Red */
    --secondary: #0a192f;
    /* Midnight Navy */
    --accent: #2d5a27;
    /* Turf Green */
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* --- Navigation --- */
.top-bar {
    background: var(--top-bar-bg, var(--secondary));
    color: var(--white);
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}

.navbar-custom {
    background: var(--white);
    padding: 0.75rem 0;
    border-bottom: 2px solid #f1f5f9;
    box-shadow: var(--shadow);
}

.navbar-custom .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--secondary);
}

.navbar-custom .navbar-brand span {
    color: var(--primary);
}

.navbar-custom .nav-link {
    font-weight: 600;
    color: var(--secondary);
    margin-left: 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
        var(--hero-bg, url('/assets/img/modern_baseball_hero_bg.png')) center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* --- Layout & Components --- */
.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.card-custom {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Removed translateY shift on hover, kept shadow increase */
.card-custom:hover {
    box-shadow: var(--shadow-lg);
}

.card-custom .card-header {
    background: var(--secondary);
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0 !important;
    padding: 1.25rem;
    border: none;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px 0 rgba(200, 16, 46, 0.39);
}

.btn-primary-custom:hover {
    background: #a00d25;
    transform: scale(1.05);
    color: var(--white);
}

/* --- Tables --- */
.table thead th {
    background: var(--bg-light);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-top: none;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.table-hover tbody tr:hover {
    background-color: #f8fafc;
}

/* --- Utilities --- */
.tracking-wider {
    letter-spacing: 0.05em;
}

.bg-midnight {
    background-color: var(--secondary);
}

.text-primary-custom {
    color: var(--primary);
}

/* --- Facebook Feed Fix --- */
.fb-container {
    width: 100%;
}

.fb-page,
.fb-page span,
.fb-page iframe {
    width: 100% !important;
}


/* Animated entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero p,
.hero .btn {
    animation: fadeInUp 0.8s ease forwards;
}

.hero p {
    animation-delay: 0.2s;
}

.hero .btn {
    animation-delay: 0.4s;
}