/* =================== THEME & BASE =================== */
:root {
    --primary: #22237d;
    --white: #fff;
    --gray-bg: #f4f4f4;
    --shadow: 0 2px 8px rgba(34,35,125,0.08);
    --radius: 16px;
    --font-main: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--gray-bg);
    color: #222;
    line-height: 1.6;
}

/* =================== NAVBAR =================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 100;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
}

.navbar .logo img {
    height: 85px;       
    width: 85px;        
    display: block;
}



.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-mobile-toggle {
    display: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: 1rem;
}

/* =================== HERO SECTION =================== */
.hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius);
    margin: 1.5rem auto 2rem auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('../images/group/celebration.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 32px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* =================== SECTION BASE =================== */
.section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* =================== CARDS =================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* =================== SCOREBOARD =================== */
.scoreboard-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.scoreboard-card {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teams {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.score {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

.match-info {
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.next-match {
    background: #eef0ff;
    border: 1px solid #dbe2ff;
}

/* =================== NEWS SECTION =================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.news-img {
    height: 160px;
    background: #dbe2ff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.news-content {
    padding: 1.2rem;
}

.news-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: var(--primary);
}

.news-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
    display: block;
}

.btn-secondary {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 24px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #18195a;
}

/* =================== HISTORY SECTION =================== */
.history-section .history-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.history-img {
    width: 320px;
    height: 220px;
    background: #dbe2ff;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.history-text {
    flex: 1 1 300px;
    font-size: 1.1rem;
    color: #333;
}

/* =================== WIN/LOSS TABLE =================== */
.standings-card {
    overflow-x: auto;
    padding: 0;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.standings-table th,
.standings-table td {
    padding: 0.75rem 1rem;
    text-align: center;
}

.standings-table th {
    background: #eef0ff;
    color: var(--primary);
    font-weight: 600;
}

.standings-table tbody tr:nth-child(even) {
    background: #f4f4f4;
}

.standings-table tbody tr:nth-child(odd) {
    background: var(--white);
}

/* =================== TEAM / PLAYERS =================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
}

.player-img {
    width: 100px;
    height: 100px;
    background: #dbe2ff;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.player-info h3 {
    margin: 0 0 0.3rem 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.player-info span {
    display: block;
    color: #555;
    margin-bottom: 0.2rem;
}

.player-link {
    margin-top: 0.5rem;
    color: var(--primary);
    text-decoration: underline;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.player-link:hover {
    color: #18195a;
}

/* =================== MATCH RESULTS / FIXTURES =================== */
.matches-list {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.match-card {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 6px solid #dbe2ff;
    transition: border-color 0.2s;
}

.match-card.win { border-left-color: #2ecc40; }
.match-card.draw { border-left-color: #ffdc00; }
.match-card.loss { border-left-color: #ff4136; }

.match-teams {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.match-score {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
}

.match-details {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* =================== VIDEO HIGHLIGHTS =================== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.highlight-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: #dbe2ff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* =================== GALLERY =================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.gallery-img {
    height: 120px;
    background: #dbe2ff;
    border-radius: var(--radius);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.gallery-img:hover {
    box-shadow: 0 4px 16px rgba(34,35,125,0.15);
    transform: scale(1.04);
}

.gallery-lightbox-placeholder {
    text-align: center;
    color: #888;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* =================== FAN SECTION =================== */
.fans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.fan-img {
    height: 100px;
    background: #dbe2ff;
    border-radius: var(--radius);
}

.fans-text {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}

/* =================== SPONSORS =================== */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    align-items: center;
}

.sponsor-logo {
    height: 60px;
    background: #bbb;
    border-radius: var(--radius);
    filter: grayscale(1);
    transition: filter 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo:hover {
    filter: grayscale(0);
    box-shadow: 0 4px 16px rgba(34,35,125,0.15);
}

/* =================== CONTACT US =================== */
.contact-section .contact-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 260px;
    background: #eef0ff;
    border-radius: var(--radius);
    padding: 1.2rem;
    color: #222;
    margin-bottom: 1rem;
}

.contact-form {
    flex: 2 1 320px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.contact-form label {
    font-weight: 500;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #dbe2ff;
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
    background: #f8f8ff;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.contact-form button {
    align-self: flex-start;
}

/* =================== FOOTER =================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
/* 
.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    position: relative;
    transition: background 0.2s;
}

.social-icon.facebook::before {
    content: "f";
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #4267B2;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.social-icon.instagram::before {
    content: "I";
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #E1306C;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.social-icon.youtube::before {
    content: "Y";
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #FF0000;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #dbe2ff;
}
    */

.back-to-top {
    display: inline-block;
    margin-top: 1rem;
    color: var(--white);
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.2s;
}

.back-to-top:hover {
    color: #ffdc00;
}

/* =================== PLACEHOLDER IMAGES =================== */
.placeholder-img,
.placeholder-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
    font-weight: 600;
    background: #dbe2ff;
    border-radius: var(--radius);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }
    .section {
        padding: 0 1rem;
    }
    .scoreboard-cards,
    .matches-list {
        flex-direction: column;
        gap: 1.2rem;
    }
    .history-section .history-content,
    .contact-section .contact-content {
        flex-direction: column;
        gap: 1.2rem;
    }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: var(--white);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        box-shadow: var(--shadow);
        padding: 1rem 0;
        z-index: 99;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-mobile-toggle {
        display: block;
    }
    .navbar-container {
        position: relative;
    }
    .hero {
        min-height: 220px;
        margin: 1rem auto 1.5rem auto;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .footer {
        padding: 1.2rem 0 0.7rem 0;
    }
}

@media (max-width: 500px) {
    .logo {
        font-size: 1.1rem;
    }
    .card {
        padding: 1rem;
    }
    .news-img,
    .highlight-card,
    .gallery-img,
    .fan-img,
    .history-img {
        height: 80px;
        min-height: 80px;
    }
    .player-img {
        width: 70px;
        height: 70px;
    }
}

/* =================== MOBILE NAV JS-FREE =================== */
/* Show nav-links when .show class is added (toggle manually for demo) */
/* To simulate hamburger menu, add/remove .show to .nav-links in HTML for mobile */