
/* GENERAL SETTINGS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #26332b;
    background: #f7f9f7;
}

/* HEADER */
header {
    background: #063b20;
    color: white;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h2 {
    font-size: 23px;
    letter-spacing: 1px;
}

.logo p {
    font-size: 12px;
    color: #d8eadf;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

.menu-btn {
    display: none;
    background: none;
    color: white;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    min-height: 480px;

    background-image:
        linear-gradient(
            rgba(0, 45, 20, 0.35),
            rgba(0, 45, 20, 0.35)
        ),
        url("images/Godtime celebration.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #ffcc00;
    color: #063b20;
    padding: 13px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* GENERAL SECTIONS */
.section {
    padding: 65px 7%;
    text-align: center;
}

.section h2 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #063b20;
}

.section > p {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #555;
}

.gray {
    background: #edf3ef;
}

/* SEARCH */
#searchInput {
    width: 90%;
    max-width: 550px;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ccd6cf;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

#searchInput:focus {
    border-color: #176b35;
}

/* CATEGORY BUTTONS */
.categories {
    margin-bottom: 30px;
}

.categories button {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #063b20;
    background: white;
    color: #063b20;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.categories button:hover {
    background: #063b20;
    color: white;
}

/* NEWS */
.news-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    text-align: left;
    margin-top: 30px;
    align-items: stretch;
}
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eeeeee;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.13);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.news-content {
    padding: 20px;
}

.news-content h3 {
    color: #064d2b;
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.news-category {
    display: inline-block;
    background: #e6f4eb;
    color: #08733c;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-content a {
    display: inline-block;
    color: #08733c;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.news-content a:hover {
    color: #034d27;
    text-decoration: underline;
}

.news-card:hover img {
    transform: scale(1.04);
}
.news-card h3 {
    padding: 15px 15px 5px;
    color: #063b20;
    font-size: 18px;
}

.news-card p {
    padding: 0 15px 15px;
}

.news-card .category {
    color: #168044;
    font-size: 13px;
    font-weight: bold;
    padding-bottom: 5px;
}

/* FEATURE IMAGES */
.feature-image {
    width: 100%;
    max-width: 850px;
    height: 400px;
    object-fit: cover;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* OTHER SPORTS */
.sports-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.sport-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    border: 1px solid #eeeeee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}
.sport-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.sport-card:hover img {
    transform: scale(1.04);
}
.sport-card h3 {
    color: #064d2b;
    padding: 15px 15px 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.sport-card p {
    color: #555;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}
/* RESULTS AND FIXTURES */
.results-container,
.fixtures-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.result-card,
.fixture-card {
    background: white;
    padding: 25px;
    border-left: 5px solid #168044;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.result-card h2 {
    color: #168044;
    margin: 8px 0;
}

.result-card p {
    color: #777;
    font-size: 13px;
}

.fixture-card h3 {
    color: #063b20;
    margin-bottom: 10px;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
    align-items: stretch;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* CONTACT */
#contact p {
    margin: 10px;
}

/* FOOTER */
footer {
    background: #063b20;
    color: white;
    text-align: center;
    padding: 35px 20px;
}

footer h3 {
    margin-bottom: 8px;
}

footer p {
    margin: 5px;
    color: #d8eadf;
}

/* TABLET */
@media (max-width: 900px) {
    .news-container,
    .sports-container,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    nav {
        gap: 12px;
    }
}
@media (max-width: 900px) {
    .sport-card {
        margin-bottom: 10px;
    }
}
/* MOBILE */
@media (max-width: 768px) {
    header {
        position: relative;
    }

    nav {
        display: none;
        width: 100%;
        padding-top: 15px;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        padding: 7px 0;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: 380px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .results-container,
    .fixtures-container {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 280px;
    }

    .section {
        padding: 45px 5%;
    }
}

/* SMALL PHONES */
@media (max-width: 480px) {
    .news-container,
    .sports-container,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 26px;
    }

    .section h2 {
        font-size: 25px;
    }

    .feature-image {
        height: 230px;
    }
}
@media (max-width: 900px) {
    .news-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-card img {
        height: 200px;
    }
}
.results-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.result-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    border: 1px solid #eeeeee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.result-card h3 {
    color: #064d2b;
    font-size: 18px;
    margin: 8px 0;
}

.result-card h2 {
    color: #08733c;
    font-size: 30px;
    margin: 12px 0;
}

.result-card p {
    color: #777;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}
.fixture-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    border: 1px solid #eeeeee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fixture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.fixture-card h3 {
    color: #064d2b;
    font-size: 18px;
    margin-bottom: 12px;
}

.fixture-card p {
    color: #08733c;
    font-size: 14px;
    font-weight: bold;
}
@media (max-width: 600px) {
    .results-container {
        grid-template-columns: 1fr;
    }
        .fixtures-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 220px;
    }
}
#about {
    padding: 65px 25px;
    text-align: center;
    background: #f1f6f2;
}

#about h2 {
    color: #064d2b;
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

#about p {
    max-width: 850px;
    margin: 0 auto;
    color: #444;
    font-size: 16px;
    line-height: 1.9;
}
footer {
    background: #063b20;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

footer h3 {
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

footer p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #e0eee5;
}
/* READ FULL STORY BUTTON */

.read-more {
    display: inline-block;
    background: #006b35;
    color: white;
    padding: 10px 20px;
    margin: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #004d26;
    color: white;
}
/* PHOTO PREVIEW */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.photo-modal img {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
}

.close-photo {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

#downloadPhoto {
    margin-top: 20px;
    padding: 12px 22px;
    background: #008000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
/* REGISTERED PLAYERS */
#playersContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.player-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
}

.player-card h3 {
    color: #006400;
    margin-bottom: 12px;
}

.player-card p {
    margin: 8px 0;
    line-height: 1.5;
}

/* REGISTERED CLUBS */
#clubsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.club-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
}

.club-card h3 {
    color: #006400;
    margin: 0;
}

/* INDIVIDUAL PLAYER PROFILE */

.full-player-profile {
    max-width: 850px;
    margin: 25px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.profile-photo {
    display: block;
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 25px;
}

.full-player-profile h2 {
    color: #006400;
    text-align: center;
    margin-bottom: 20px;
}

.full-player-profile h3 {
    color: #006400;
    margin-top: 25px;
}

.full-player-profile p {
    line-height: 1.8;
    margin: 10px 0;
}

@media (max-width: 600px) {
    .full-player-profile {
        padding: 15px;
    }

    .profile-photo {
        height: 280px;
    }
}

/* PROFESSIONAL LIVE SCORES */

#live-scores {
    background: #f4f7f5;
    padding: 35px 20px;
}

#live-scores h2 {
    color: #063b20;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 800;
}

#liveScoresContainer {
    max-width: 900px;
    margin: auto;
}

#liveScoresContainer .result-card {
    background: white;
    border-left: 5px solid #e32636;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

#liveScoresContainer .result-card:hover {
    transform: translateY(-4px);
}

#liveScoresContainer .result-card h3 {
    color: #063b20;
    font-size: 19px;
    margin: 12px 0;
}

#liveScoresContainer .result-card h2 {
    color: #168044;
    font-size: 34px;
    margin: 10px 0;
}

#liveScoresContainer .result-card p {
    display: inline-block;
    background: #e32636;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

@media (max-width: 600px) {

    #liveScoresContainer {
        grid-template-columns: 1fr;
    }

    #liveScoresContainer .result-card {
        padding: 18px;
    }

    #liveScoresContainer .result-card h3 {
        font-size: 16px;
    }

    #liveScoresContainer .result-card h2 {
        font-size: 29px;
    }

}

/* PROFESSIONAL LEAGUE TABLE */

.league-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.league-heading {
    background: #063b20;
    color: white;
    text-align: center;
    padding: 35px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.league-heading h2 {
    font-size: 25px;
    margin: 12px 0;
}

.league-heading h3 {
    color: #d9f2df;
    margin: 8px 0;
}

.league-label {
    color: #b9e6c8;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.league-subtitle {
    color: #d9f2df;
    font-size: 14px;
}

.league-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}

.status-dot {
    width: 9px;
    height: 9px;
    background: #168044;
    border-radius: 50%;
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.league-table thead {
    background: #063b20;
    color: white;
}

.league-table th {
    padding: 15px 10px;
    font-size: 13px;
    text-align: center;
}

.league-table td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
}

.league-table tbody tr:nth-child(even) {
    background: #f5f8f6;
}

.league-table tbody tr:hover {
    background: #e8f5ec;
}

.league-table td:nth-child(2) {
    text-align: left;
    font-weight: bold;
    color: #063b20;
}

.league-table td:first-child {
    font-weight: bold;
}

.league-table td:last-child {
    color: #168044;
    font-weight: bold;
}

.league-legend {
    margin-top: 25px;
    padding: 18px;
    background: #f4f7f5;
    border-radius: 8px;
}

.league-legend h4 {
    color: #063b20;
    margin-bottom: 10px;
}

.league-legend p {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.league-legend strong {
    margin-right: 5px;
    color: #063b20;
}

.league-footer {
    text-align: center;
    color: #777;
    font-size: 13px;
    margin-top: 25px;
}

@media (max-width: 600px) {

    .league-container {
        margin: 15px 8px;
        padding: 12px;
    }

    .league-heading {
        padding: 25px 12px;
    }

    .league-heading h2 {
        font-size: 19px;
    }

    .league-heading h3 {
        font-size: 15px;
    }

    .table-responsive {
        overflow-x: auto;
        width: 100%;
    }

    .league-table th,
    .league-table td {
        padding: 12px 8px;
        font-size: 12px;
    }

}

/* TOP THREE LEAGUE POSITIONS */

.league-table tbody tr.first-place {
    background: #fff4cc;
    font-weight: bold;
}

.league-table tbody tr.second-place {
    background: #eeeeee;
    font-weight: bold;
}

.league-table tbody tr.third-place {
    background: #f8e1d2;
    font-weight: bold;
}

.league-table tbody tr.first-place td:first-child {
    color: #b8860b;
}

.league-table tbody tr.second-place td:first-child {
    color: #777777;
}

.league-table tbody tr.third-place td:first-child {
    color: #a0522d;
}
