/* ==================== 
   BIG BRAIN FC - MAIN STYLESHEET
   Colors: White, Red (#e60000), Green (#008000)
   Motto: "Tomala Gasamba"
   ==================== */

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

/* ==================== 
   RESET & BASE STYLES 
   ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background: #f9f9f9;
    color: #222;
    line-height: 1.6;
}

/* ==================== 
   TYPOGRAPHY 
   ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #008000;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e60000;
    margin: 10px auto;
    border-radius: 2px;
}

/* ==================== 
   HEADER & LOGO 
   ==================== */
header {
    background: #008000;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-area {
    flex-shrink: 0;
}

.team-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.team-logo:hover {
    transform: scale(1.05);
}

.logo-placeholder {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #008000;
    border: 3px solid #e60000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-placeholder span {
    font-size: 0.7rem;
    margin-top: 5px;
}

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

.header-text h1 {
    margin-bottom: 5px;
}

.motto {
    font-style: italic;
    font-size: 1rem;
    margin-top: 8px;
    opacity: 0.95;
    letter-spacing: 1px;
    font-weight: 500;
    color: #FFD700;
}

/* ==================== 
   NAVIGATION BAR 
   ==================== */
nav {
    background: #e60000;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==================== 
   MAIN CONTAINER 
   ==================== */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

/* ==================== 
   HERO SECTION 
   ==================== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/hero-bg.jpg') center/cover no-repeat;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 100px 20px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .slogan {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-style: italic;
    color: #FFD700;
}

.btn-group {
    margin-top: 25px;
}

/* ==================== 
   BUTTONS 
   ==================== */
.btn {
    background: #e60000;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-green {
    background: #008000;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-green:hover {
    background: #006600;
}

/* ==================== 
   CARD GRID (What We Offer) 
   ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 25px 20px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card h3 {
    color: #e60000;
    margin: 15px 0 10px;
    font-size: 1.5rem;
}

.card p {
    color: #555;
    font-size: 0.95rem;
}

/* ==================== 
   PLAYER GRID (Featured Players) 
   ==================== */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.player-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.player-card .player-img {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #008000, #e60000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.player-card .player-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-card h4 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
    color: #222;
}

.player-card p {
    color: #777;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* ==================== 
   STATS TABLE (Top Scorers) 
   ==================== */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.stats-table th {
    background: #008000;
    color: white;
    padding: 14px;
    font-weight: 600;
}

.stats-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.stats-table tr:hover {
    background: #f5f5f5;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

/* ==================== 
   TRAINING SCHEDULE 
   ==================== */
.training-schedule {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.schedule-day {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.schedule-day:last-child {
    border-bottom: none;
}

.day-name {
    width: 140px;
    background: #008000;
    color: white;
    padding: 18px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
}

.day-details {
    flex: 1;
    padding: 18px;
    background: #fafafa;
}

.day-time {
    color: #e60000;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.day-info {
    color: #555;
    font-size: 0.95rem;
}

/* ==================== 
   GALLERY / MEDIA 
   ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-item video {
    width: 100%;
    height: auto;
    min-height: 220px;
    background: #000;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.gallery-date {
    font-size: 0.75rem;
    color: #e60000;
    margin-top: 5px;
    font-weight: 500;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container video,
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==================== 
   SPONSORS SECTION 
   ==================== */
.sponsors-showcase {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
}

.sponsor-card {
    text-align: center;
    width: 160px;
}

.sponsor-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 12px;
    background: #f8f8f8;
    border-radius: 15px;
    padding: 10px;
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
}

.sponsor-name {
    font-weight: 700;
    color: #008000;
    font-size: 1rem;
}

.sponsor-level {
    font-size: 0.8rem;
    color: #e60000;
    margin-top: 4px;
}

.sponsor-call {
    background: linear-gradient(135deg, #008000, #e60000);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.sponsor-call h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sponsor-call .btn {
    background: white;
    color: #e60000;
    margin-top: 20px;
}

.sponsor-call .btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* ==================== 
   ANNOUNCEMENTS / NEWS 
   ==================== */
.announcement-list {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.announcement-item {
    padding: 18px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: #fafafa;
}

.announcement-date {
    color: #e60000;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 8px 0 5px;
    color: #222;
}

.announcement-item p {
    color: #666;
    font-size: 0.9rem;
}

/* ==================== 
   CTA SECTION 
   ==================== */
.cta-section {
    background: linear-gradient(135deg, #008000, #e60000);
    color: white;
    text-align: center;
    padding: 60px 30px;
    border-radius: 20px;
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section .btn {
    background: white;
    color: #e60000;
    margin-top: 20px;
}

.cta-section .btn:hover {
    background: #f0f0f0;
}

/* ==================== 
   FORMS 
   ==================== */
form {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #e60000;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* ==================== 
   FOOTER 
   ==================== */
footer {
    background: #008000;
    color: white;
    text-align: center;
    padding: 35px 20px;
    margin-top: 50px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ==================== 
   RESPONSIVE DESIGN 
   ==================== */
@media (max-width: 992px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .slogan {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav a {
        margin: 0 8px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .schedule-day {
        flex-direction: column;
    }
    
    .day-name {
        width: 100%;
    }
    
    .btn-group .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .card-grid, .player-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .sponsors-grid {
        gap: 25px;
    }
    
    .stats-table {
        font-size: 0.85rem;
    }
    
    .stats-table th, .stats-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .sponsor-call h3 {
        font-size: 1.4rem;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
    }
}

/* ==================== 
   UTILITY CLASSES 
   ==================== */
.text-center {
    text-align: center;
}

.text-red {
    color: #e60000;
}

.text-green {
    color: #008000;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ==================== 
   ADMIN PANEL STYLES (Optional) 
   ==================== */
.admin-panel {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: #008000;
    color: white;
    padding: 12px;
    text-align: left;
}

.admin-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.status-active {
    color: #008000;
    font-weight: bold;
}

.status-inactive {
    color: #e60000;
    font-weight: bold;
}