﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header-container {
    position: relative;
}

.header-img {
    width: 100%;
    height: 200px;        /* 👈 adjust this */
    object-fit: cover;    /* keeps image looking good */
}

/* FADE EFFECT */
.header-fade {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.4) 30%,
        rgba(0,0,0,0.1) 60%,
        rgba(0,0,0,0) 80%
    );
}

/* TITLE */
.header-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
}

.header-title h1 {
    margin: 0;
    font-size: 45px;
}

/* NAVIGATION */
nav {
    background: #111;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    padding: 10px;
    cursor: pointer;
}

#menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#menu li {
    position: relative;
}

#menu li a {
    color: white;
    padding: 14px;
    display: block;
    text-decoration: none;
}

#menu li:hover {
    background: #333;
}

/* DROPDOWN */
.dropdown ul {
    display: none;
    position: absolute;
    background: #222;
    list-style: none;
    padding: 0;
}

.dropdown:hover ul {
    display: block;
}

.dropdown ul li a {
    padding: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    #menu {
        display: none;
        flex-direction: column;
    }

    #menu.show {
        display: flex;
    }

    .dropdown ul {
        position: static;
    }
}

/* MAIN */
main {
    padding: 20px;
}

/* FOOTER */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 10px;

}.left-image {
  float: left;
  margin-right: 15px;
  width: 200px;
}.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #333;
}/* INDEX PAGE LAYOUT ONLY */
.home-layout {
    display: grid;
    grid-template-columns: 80% 20%;
    gap: 20px;
    padding: 20px;
    align-items: start;
}

/* MAIN AREA */
.main-content {
    min-width: 0;
}

/* SIDEBAR */
.sidebar {
    min-width: 0;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 6px;
}@media (max-width: 768px) {

    .home-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        margin-top: 20px;
    }

}.sidebar {
    max-height: 270px;
    overflow-y: auto;
} /* ===== SPONSOR SLIDER (NEW CLEAN VERSION) ===== */

.sponsor-slider {
    overflow: hidden;
    background: #111;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.slide {
    flex: 0 0 auto;
    margin: 0 10px;
}

.slide img {
    width: 200px;
    height: 100px;
    object-fit: contain;

    background: #222;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;

    transition: transform 0.3s;
}

.slide img:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .slide img {
        width: 150px;
        height: 80px;
    }

    .slider-track {
        animation: scroll 22s linear infinite;
    }
}
/* RULES DOWNLOAD GRID */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    padding: 20px;
}

/* CARD */
.download-card {
    background: #222;

    color: white;

    padding: 20px;

    border-radius: 8px;

    text-align: center;

    box-shadow: 0 2px 6px rgba(0,0,0,0.4);

    transition: 0.3s;
}

/* HOVER EFFECT */
.download-card:hover {
    transform: translateY(-5px);
    background: #2d2d2d;
}

/* TITLES */
.download-card h3 {
    margin-top: 0;
    margin-bottom: 15px;

    font-size: 20px;
}

/* BUTTON */
.download-btn {
    display: inline-block;

    margin-top: 15px;
    padding: 10px 20px;

    background: #c00000;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: 0.3s;
}

/* BUTTON HOVER */
.download-btn:hover {
    background: #ff0000;
}@media (max-width: 768px) {

    .download-grid {
        grid-template-columns: 1fr;
    }

}/* CONTACT GRID */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    padding: 20px;
}

/* CARD */
.contact-card {
    background: #222;

    color: white;

    text-align: center;

    border-radius: 8px;

    overflow: hidden;

    padding-bottom: 20px;

    transition: 0.3s;
}

/* HOVER */
.contact-card:hover {
    transform: translateY(-5px);
    background: #2d2d2d;
}

/* IMAGE */
.contact-card img {
    width: 100%;
    height: 250px;

    object-fit: cover;
}

/* NAME */
.contact-card h3 {
    margin: 15px 0 5px;
}

/* ROLE */
.contact-card p {
    margin-bottom: 15px;

    color: #ccc;
}

/* PHONE BUTTON */
.contact-btn {
    display: inline-block;

    padding: 10px 20px;

    background: #c00000;

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: 0.3s;
}

/* BUTTON HOVER */
.contact-btn:hover {
    background: #ff0000;
}@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

}body {
    background-image: url('Images/background.jpg');

    background-size: cover;

    background-attachment: fixed;
}main {
    background: rgba(255,255,255,0.92);

    padding: 5px;

    border-radius: 8px;
}/* ===== FIXTURE CARDS ===== */

.calendar-container {
    max-width: 1100px;
    margin: 0 auto;
}

.calendar-section {
    margin-bottom: 30px;
}

.calendar-meeting {
    background: #005a87;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.fixtures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.fixture-card {
    background: white;
    border-left: 5px solid #005a87;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    transition: 0.3s;
}

.fixture-card:hover {
    transform: translateY(-3px);
}

.fixture-date {
    font-weight: bold;
    color: #005a87;
    margin-bottom: 8px;
}

.fixture-event {
    font-size: 18px;
}

/* Mobile */

@media (max-width: 768px) {

    .fixtures-grid {
        grid-template-columns: 1fr;
    }

    .fixture-card {
        padding: 12px;
    }

    .fixture-event {
        font-size: 16px;
    }
}/* ===== CALENDAR CARDS ===== */

.calendar-container {
    max-width: 1100px;
    margin: 0 auto;
}

.calendar-section {
    margin-bottom: 30px;
}

.calendar-meeting {
    background: #005a87;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.fixtures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.fixture-card {
    background: #fff;
    border-left: 6px solid #005a87;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.fixture-date {
    font-weight: bold;
    margin-bottom: 8px;
}

.fixture-event {
    font-size: 18px;
}

/* Event colours */

.league { border-left-color: #005a87;background: #CCE5FF; }

.kocup {
    border-left-color: #d4a000;
    background: #fff9e6;
}

.competition {
    border-left-color: #008000;
    background: #f1fff1;
}

.osc {
    border-left-color: #7a00cc;
    background: #f8f0ff;
}

.finals {
    border-left-color: #c00000;
    background: #fff0f0;
}F

.break {
    border-left-color: #777;
    background: #f5f5f5;
}

@media (max-width: 768px) {

    .fixtures-grid {
        grid-template-columns: 1fr;
    }

}.sponsors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #111;
    margin-bottom: 15px;

    
}.sponsor-box {
    text-align: center;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #111;
}
.sponsor-box img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sponsor-box a {
    display: block;
}/* ===== SPONSORS GRID ===== */

.sponsors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

    padding: 25px;
    background: #111;
}

.sponsor-box {
    background: #1b1b1b;

    border: 1px solid #333;

    border-radius: 8px;

    min-height: 140px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: transform 0.3s ease;
}

.sponsor-box:hover {
    transform: translateY(-3px);
}

.sponsor-box a {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
    height: 100%;
}

.sponsor-box img {
    max-width: 85%;
    max-height: 100px;

    width: auto;
    height: auto;

    object-fit: contain;

    display: block;
}

/* TABLET */

@media (max-width: 768px) {

    .sponsors {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* MOBILE */

@media (max-width: 480px) {

    .sponsors {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    .sponsor-box {
        min-height: 120px;
    }

    .sponsor-box img {
        max-height: 80px;
    }

}.winners-list {
    max-width: 900px;
    margin: 0 auto;
}

.winners-list h2 {
    background: #222;
    color: white;
    padding: 12px 15px;
    margin: 25px 0 0 0;
    border-radius: 6px 6px 0 0;
}

.winners-list p {
    margin: 0;
    padding: 10px 15px;
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
}

.winners-list p:last-child {
    border-radius: 0 0 6px 6px;
}

.winners-list strong {
    display: inline-block;
    min-width: 130px;
}@media (max-width: 768px) {

    .winners-list {
        width: 100%;
    }

    .winners-list h2 {
        font-size: 18px;
    }

    .winners-list p {
        font-size: 16px;
    }

    .winners-list strong {
        display: block;
        margin-bottom: 3px;
    }
  /* =========================
   ALL FIXTURES
   PREMIER
   CHAMPIONSHIP
   CHAMPIONSHIP 2
   ========================= */

.fixture-week {
    width: 75%;
    max-width: 900px;
    margin: 0 auto 25px auto;
    background: #ffffff;
    box-sizing: border-box;
}

/* WEEK / MATCH TITLE */

.fixture-week h2 {
    margin: 0;
    padding: 10px 15px;
    background: #222222 !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
}

/* FIXTURE */

.fixture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-bottom: 1px solid #dddddd;
    box-sizing: border-box;
}

/* HOME TEAM */

.fixture .home {
    width: 42%;
    padding: 8px 10px;
    text-align: right;
    font-weight: bold;
    box-sizing: border-box;
}

/* V */

.fixture .vs {
    width: 16%;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    color: #222222;
    box-sizing: border-box;
}

/* AWAY TEAM */

.fixture .away {
    width: 42%;
    padding: 8px 10px;
    text-align: left;
    font-weight: bold;
    box-sizing: border-box;
}

/* BYE */

.fixture .bye {
    color: #777777;
    font-style: italic;
    font-weight: normal;
}

/* REMOVE BORDER FROM LAST FIXTURE */

.fixture:last-child {
    border-bottom: none;
}


/* =========================
   MOBILE
   ========================= */

@media screen and (max-width: 600px) {

    .fixture-week {
        width: 95%;
        margin-bottom: 20px;
    }

    .fixture-week h2 {
        font-size: 18px;
        padding: 9px 8px;
    }

    .fixture {
        min-height: 40px;
        font-size: 14px;
    }

    .fixture .home,
    .fixture .away {
        width: 43%;
        padding: 7px 5px;
    }

    .fixture .vs {
        width: 14%;
        padding: 7px 0;
    }
}  
  