
/* ========================================
   SPORTS CENTER BOTSWANA
   Main Website Stylesheet
======================================== */

:root {
    --navy: #071c34;
    --blue: #1264a9;
    --white: #ffffff;
    --light: #f3f6fa;
    --text: #172b40;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--text);
}

/* HEADER */


.site-header {
    background: var(--navy);
    width: 100%;
    border-bottom: 3px solid var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.site-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #62b9ff;
}

/* FOOTER */

.site-footer {
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #6c7d8d;
}

.facebook-stats {
    grid-template-columns: minmax(220px, 230px);
    justify-content: center;
}

/* MOBILE HEADER */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 18px;
    }

    .site-logo {
        width: 150px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 20px;
    }

    .main-nav a {
        font-size: 13px;
    }
}


/* ========================================
   HOMEPAGE HERO SECTION
======================================== */

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background: linear-gradient(
        120deg,
        #071c34 0%,
        #103b67 55%,
        #1264a9 100%
    );
    color: #ffffff;
    padding: 90px 24px;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    color: #72c6ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 750px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.12;
    margin: 0 0 24px;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: #59b8ff;
}

.hero p {
    max-width: 610px;
    font-size: 19px;
    line-height: 1.7;
    color: #dcecf9;
    margin-bottom: 32px;
}

/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: #1686dc;
    color: #ffffff;
}

.btn-primary:hover {
    background: #36a4f5;
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #071c34;
}

/* MOBILE HERO */

@media (max-width: 768px) {
    .hero {
        min-height: 480px;
        padding: 65px 22px;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 46px);
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 13px 22px;
        font-size: 14px;
    }
}


/* ========================================
   HOMEPAGE INTRODUCTION
======================================== */

.home-intro {
    background: #ffffff;
    padding: 85px 24px;
    text-align: center;
}

.intro-container {
    max-width: 850px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: #1264a9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.home-intro h2 {
    color: #071c34;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 28px;
}

.home-intro p {
    color: #526579;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 20px;
}

/* MOBILE INTRODUCTION */

@media (max-width: 768px) {
    .home-intro {
        padding: 60px 22px;
    }

    .home-intro p {
        font-size: 16px;
        line-height: 1.7;
    }
}


/* =========================================
   UPCOMING LIVE STREAMS
========================================= */

.upcoming-streams {
    background: #f3f6fa;
    padding: 80px 24px;
}

.streams-container {
    max-width: 1200px;
    margin: 0 auto;
}

.streams-heading {
    text-align: center;
    margin-bottom: 40px;
}

.streams-heading h2 {
    font-size: 36px;
    color: #071c34;
    margin: 14px 0;
}

.streams-heading p {
    font-size: 16px;
    color: #60758b;
    line-height: 1.6;
}

/* Stream cards */

.streams-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.stream-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(7, 28, 52, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(7, 28, 52, 0.15);
}

/* YouTube artwork */

.stream-image {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071c34;
}

.stream-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1686dc;
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Broadcast information */

.stream-details {
    padding: 22px;
}

.stream-details h3 {
    color: #071c34;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.stream-date {
    color: #60758b;
    font-size: 14px;
    margin: 0 0 20px;
}

.stream-watch {
    display: inline-block;
    color: #1264a9;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.stream-watch:hover {
    color: #1686dc;
}

.no-streams {
    text-align: center;
    color: #60758b;
    padding: 30px;
}

/* Tablet */

@media (max-width: 900px) {
    .streams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 600px) {
    .upcoming-streams {
        padding: 55px 20px;
    }

    .streams-heading h2 {
        font-size: 28px;
    }

    .streams-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .stream-details {
        padding: 20px;
    }
}

/* Make the entire broadcast card clickable */

.stream-card {
    position: relative;
}

.stream-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.stream-card {
    cursor: pointer;
}

/* LIVE BROADCAST BADGE */
.stream-badge-live {
    background: #e11d32;
    color: #ffffff;
}

/* LIVE STREAMS PAGE - MULTIPLE PLAYERS */

.live-players-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.live-player-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.live-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #061c33;
}

.live-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.live-player-details {
    padding: 20px;
}

.live-player-details .stream-badge-live {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.live-player-details h3 {
    margin: 14px 0 0;
    color: #071e38;
    font-size: 17px;
    line-height: 1.5;
}

/* MOBILE - STACK PLAYERS VERTICALLY */

@media (max-width: 767px) {
    .live-players-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .live-player-details {
        padding: 16px;
    }
}
/* LIVE STREAMS PAGE - CONTENT WIDTH */

.live-streams .streams-container,
.upcoming-streams .streams-container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* LIVE PAGE - UPCOMING BROADCAST GRID */

.live-players-grid,
.live-streams .streams-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================
   SPORTS CENTER BOTSWANA - CONTACT PAGE
   ========================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
    margin-top: 45px;
    text-align: left;
}

.contact-info {
    padding: 25px 0;
}

.contact-info h2,
.contact-form-card h2 {
    color: #071f3b;
    font-size: 26px;
    margin: 0 0 20px;
}

.contact-info h3 {
    color: #071f3b;
    font-size: 18px;
    margin: 28px 0 10px;
}

.contact-info p,
.contact-form-card p {
    color: #536b83;
    line-height: 1.8;
    margin-bottom: 18px;
}

.contact-info a {
    color: #087dcb;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 25, 55, 0.08);
}

.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.contact-form-card label {
    color: #071f3b;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #cbd5df;
    border-radius: 6px;
    background: #ffffff;
    color: #071f3b;
    font: inherit;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #168cda;
    box-shadow: 0 0 0 3px rgba(22, 140, 218, 0.12);
}

.contact-form-card textarea {
    resize: vertical;
}

.contact-submit {
    background: #168cda;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 15px 24px;
    margin-top: 15px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit:hover {
    background: #086eaf;
}

/* Hide the spam protection field */
.contact-honeypot {
    display: none;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 25px;
    }

    .contact-info {
        padding: 10px 0;
    }

    .contact-form-card {
        padding: 25px 20px;
    }

    .contact-info h2,
    .contact-form-card h2 {
        font-size: 23px;
    }
}
