
/* =========================================================
   OYDC ZAMBIA
   FACILITIES PAGE
   PREMIUM SPORTS DEVELOPMENT DESIGN
========================================================= */


/* =========================================================
   WORLD ATHLETICS — REGULAR
========================================================= */

@font-face {

    font-family: 'World Athletics';

    src: url('../Font/WorldAthletics.eot');

    src:
        local('World Athletics'),
        local('WorldAthletics'),
        url('../Font/WorldAthletics.eot?#iefix')
        format('embedded-opentype'),
        url('../Font/WorldAthletics.woff2')
        format('woff2'),
        url('../Font/WorldAthletics.woff')
        format('woff'),
        url('../Font/WorldAthletics.ttf')
        format('truetype');

    font-weight: normal;
    font-style: normal;
    font-display: swap;

}


/* =========================================================
   WORLD ATHLETICS — HEADLINE
========================================================= */

@font-face {

    font-family: 'World Athletics Headline';

    src: url('../Font/WorldAthleticsHeadline.eot');

    src:
        local('World Athletics Headline'),
        local('WorldAthleticsHeadline'),
        url('../Font/WorldAthleticsHeadline.eot?#iefix')
        format('embedded-opentype'),
        url('../Font/WorldAthleticsHeadline.ttf')
        format('truetype');

    font-weight: bold;
    font-style: normal;
    font-display: swap;

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        'World Athletics',
        Arial,
        sans-serif;

    color: #171717;

    background: #ffffff;

    overflow-x: hidden;

}


img {

    display: block;

    width: 100%;

}


a {

    text-decoration: none;

    color: inherit;

}


:root {

    --green: #00843d;

    --dark-green: #006b32;

    --deep-green: #004f27;

    --light-green: #69c993;

    --black: #111111;

    --white: #ffffff;

    --grey: #686868;

    --light: #f5f7f5;

    --border: #e4e8e5;

    --container: 1240px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width:
        min(
            calc(100% - 80px),
            var(--container)
        );

    margin: 0 auto;

}


/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #004f27;

    transition:
        opacity .7s ease,
        visibility .7s ease;

}


.page-loaded .page-loader {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}


.loader-inner {

    width: 230px;

    text-align: center;

}


.loader-logo {

    width: 75px;

    height: 75px;

    margin:
        0 auto 25px;

    animation:
        loaderPulse 1.5s
        infinite;

}


.loader-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}


.loader-bar {

    width: 100%;

    height: 3px;

    overflow: hidden;

    background:
        rgba(255,255,255,.2);

}


.loader-bar span {

    display: block;

    width: 45%;

    height: 100%;

    background: #69c993;

    animation:
        loaderMove 1.2s
        ease-in-out infinite;

}


.loader-inner p {

    margin-top: 14px;

    color: #ffffff;

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: bold;

}


@keyframes loaderMove {

    0% {

        transform:
            translateX(-120%);

    }

    100% {

        transform:
            translateX(330%);

    }

}


@keyframes loaderPulse {

    0%,
    100% {

        transform: scale(1);

        opacity: .8;

    }

    50% {

        transform: scale(1.08);

        opacity: 1;

    }

}


/* =========================================================
   HERO
========================================================= */

.facilities-hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #06160d;

}


.hero-background {

    position: absolute;

    inset: 0;

    background:
        url('../Images/Facilities/Facilities-Hero.jpg')
        center / cover no-repeat;

    animation:
        heroZoom 12s
        ease-out forwards;

}


@keyframes heroZoom {

    from {

        transform: scale(1.08);

    }

    to {

        transform: scale(1);

    }

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,45,23,.96) 0%,
            rgba(0,60,30,.82) 40%,
            rgba(0,0,0,.28) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 80px),
            var(--container)
        );

    margin: 0 auto;

    padding-top: 45px;

}


.hero-label {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    color: #69c993;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;

}


.hero-label::before {

    content: "";

    width: 42px;

    height: 2px;

    background: #69c993;

}


.hero-content h1 {

    font-family:
        'World Athletics Headline',
        Arial,
        sans-serif;

    color: #ffffff;

    font-size:
        clamp(
            65px,
            9vw,
            115px
        );

    line-height: .86;

    letter-spacing: -2px;

}


.hero-content h1 span {

    display: block;

    color: #69c993;

}


.hero-content p {

    max-width: 600px;

    margin-top: 35px;

    color:
        rgba(255,255,255,.88);

    font-size: 18px;

    line-height: 1.7;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 38px;

    padding: 17px 25px;

    background: #ffffff;

    color: #006b32;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: .3s ease;

}


.hero-button:hover {

    background: #69c993;

    color: #003c20;

}


.hero-button i {

    transition:
        transform .3s ease;

}


.hero-button:hover i {

    transform:
        translateY(4px);

}


.hero-side-number {

    position: absolute;

    right: 6%;

    bottom: 30px;

    z-index: 2;

    font-family:
        'World Athletics Headline';

    font-size: 110px;

    color:
        rgba(255,255,255,.07);

}


/* =========================================================
   INTRO
========================================================= */

.facility-intro {

    padding: 120px 0;

    background: #ffffff;

}


.intro-layout {

    display: grid;

    grid-template-columns:
        .65fr 1.35fr;

    gap: 80px;

}


.intro-label {

    padding-top: 10px;

}


.intro-label span {

    color: #00843d;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2.5px;

}


.intro-label div {

    width: 55px;

    height: 3px;

    margin-top: 18px;

    background: #00843d;

}


.intro-text h2 {

    font-family:
        'World Athletics Headline';

    font-size:
        clamp(45px, 5vw, 72px);

    line-height: .94;

}


.intro-text h2 span {

    display: block;

    color: #00843d;

}


.intro-text p {

    max-width: 780px;

    margin-top: 28px;

    color: #686868;

    font-size: 17px;

    line-height: 1.75;

}


/* =========================================================
   MAIN FACILITY SECTIONS
========================================================= */

.facility-section {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.facility-main-image {

    position: absolute;

    inset: 0;

}


.facility-main-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}


.facility-section:hover
.facility-main-image img {

    transform: scale(1.04);

}


.facility-dark-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,30,15,.96),
            rgba(0,60,30,.74),
            rgba(0,0,0,.15)
        );

}


.facility-number {

    position: absolute;

    right: 6%;

    top: 45px;

    font-family:
        'World Athletics Headline';

    font-size: 100px;

    color:
        rgba(255,255,255,.08);

}


.facility-main-content {

    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 80px),
            var(--container)
        );

    margin: 0 auto;

}


.facility-label {

    color: #69c993;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;

}


.facility-main-content h2 {

    max-width: 850px;

    margin-top: 18px;

    font-family:
        'World Athletics Headline';

    color: #ffffff;

    font-size:
        clamp(
            52px,
            7vw,
            92px
        );

    line-height: .9;

}


.facility-main-content h2 span {

    display: block;

    color: #69c993;

}


.facility-main-content > p {

    max-width: 620px;

    margin-top: 30px;

    color:
        rgba(255,255,255,.85);

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   LARGE FACILITY ICON
========================================================= */

.facility-large-icon {

    width: 70px;

    height: 70px;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #00843d;

    color: #ffffff;

    font-size: 28px;

}


/* =========================================================
   COURT SPORTS
========================================================= */

.sports-grid-section {

    padding: 110px 0 130px;

    background: #f5f7f5;

}


.sports-heading {

    margin-bottom: 55px;

}


.sports-heading > span {

    color: #00843d;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

}


.sports-heading h2 {

    margin-top: 12px;

    font-family:
        'World Athletics Headline';

    font-size:
        clamp(45px, 5vw, 70px);

    line-height: .9;

}


.sports-heading strong {

    color: #00843d;

}


.sports-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

}


.sport-card {

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 12px 40px
        rgba(0,0,0,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}


.sport-card:hover {

    transform:
        translateY(-9px);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.12);

}


.sport-image {

    height: 250px;

    overflow: hidden;

}


.sport-image img {

    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;

}


.sport-card:hover
.sport-image img {

    transform:
        scale(1.08);

}


.sport-content {

    position: relative;

    padding: 27px;

}


.sport-icon {

    width: 48px;

    height: 48px;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e7f4ec;

    color: #00843d;

    font-size: 20px;

    transition: .3s ease;

}


.sport-card:hover
.sport-icon {

    background: #00843d;

    color: #ffffff;

}


.sport-content > span {

    position: absolute;

    right: 22px;

    top: 25px;

    color: #c6cdc9;

    font-family:
        'World Athletics Headline';

    font-size: 30px;

}


.sport-content h3 {

    font-family:
        'World Athletics Headline';

    font-size: 29px;

}


.sport-content p {

    margin-top: 12px;

    color: #686868;

    font-size: 14px;

    line-height: 1.65;

}


/* =========================================================
   BOXING
========================================================= */

.boxing-section {

    min-height: 700px;

}


/* =========================================================
   POOL
========================================================= */

.pool-section {

    min-height: 700px;

}


.pool-info {

    display: flex;

    align-items: center;

    gap: 16px;

    width: fit-content;

    margin-top: 30px;

    padding: 16px 20px;

    border-left:
        4px solid #69c993;

    background:
        rgba(255,255,255,.1);

    backdrop-filter:
        blur(6px);

}


.pool-info-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #00843d;

    color: #ffffff;

}


.pool-info div:last-child {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.pool-info strong {

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 1px;

}


.pool-info span {

    color:
        rgba(255,255,255,.7);

    font-size: 12px;

}


/* =========================================================
   FACILITY POINTS
========================================================= */

.facility-points {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;

}


.facility-points div {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 11px 15px;

    border:
        1px solid
        rgba(255,255,255,.2);

    color: #ffffff;

    font-size: 13px;

}


.facility-points i {

    color: #69c993;

}


/* =========================================================
   FIELDS INTRO
========================================================= */

.fields-intro {

    padding: 110px 0;

    background: #111111;

}


.fields-heading {

    max-width: 850px;

}


.fields-heading > span {

    color: #69c993;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

}


.fields-heading h2 {

    margin-top: 18px;

    color: #ffffff;

    font-family:
        'World Athletics Headline';

    font-size:
        clamp(55px, 7vw, 90px);

    line-height: .9;

}


.fields-heading h2 strong {

    display: block;

    color: #69c993;

}


.fields-heading p {

    max-width: 600px;

    margin-top: 25px;

    color:
        rgba(255,255,255,.7);

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   OUTDOOR FACILITIES
========================================================= */

.outdoor-facility {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.outdoor-image {

    position: absolute;

    inset: 0;

}


.outdoor-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88),
            rgba(0,0,0,.35),
            rgba(0,0,0,.15)
        );

}


.outdoor-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}


.outdoor-facility:hover
.outdoor-image img {

    transform:
        scale(1.04);

}


.outdoor-content {

    position: relative;

    z-index: 2;

    width:
        min(
            calc(100% - 80px),
            var(--container)
        );

    margin: 0 auto;

}


.outdoor-number {

    color:
        rgba(255,255,255,.45);

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.outdoor-icon {

    width: 65px;

    height: 65px;

    margin-top: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #00843d;

    color: #ffffff;

    font-size: 25px;

}


.outdoor-label {

    display: block;

    margin-top: 25px;

    color: #69c993;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

}


.outdoor-content h2 {

    margin-top: 13px;

    color: #ffffff;

    font-family:
        'World Athletics Headline';

    font-size:
        clamp(
            60px,
            8vw,
            105px
        );

    line-height: .84;

}


.outdoor-content h2 span {

    display: block;

    color: #69c993;

}


.outdoor-content p {

    max-width: 550px;

    margin-top: 28px;

    color:
        rgba(255,255,255,.82);

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   CTA
========================================================= */

.facilities-cta {

    position: relative;

    overflow: hidden;

    padding: 125px 0;

    background:
        linear-gradient(
            120deg,
            #004f27,
            #00843d
        );

}


.cta-background {

    position: absolute;

    inset: 0;

    opacity: .08;

    background-image:
        linear-gradient(
            45deg,
            transparent 45%,
            #ffffff 46%,
            #ffffff 54%,
            transparent 55%
        );

    background-size:
        55px 55px;

}


.cta-content {

    position: relative;

    z-index: 2;

}


.cta-content > span {

    color: #9be0b5;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

}


.cta-content h2 {

    max-width: 900px;

    margin-top: 20px;

    color: #ffffff;

    font-family:
        'World Athletics Headline';

    font-size:
        clamp(
            50px,
            6vw,
            82px
        );

    line-height: .9;

}


.cta-content h2 strong {

    display: block;

    color: #69c993;

}


.cta-content p {

    max-width: 600px;

    margin-top: 28px;

    color:
        rgba(255,255,255,.8);

    font-size: 17px;

    line-height: 1.7;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    gap: 17px;

    margin-top: 35px;

    padding: 17px 25px;

    background: #ffffff;

    color: #006b32;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: .3s ease;

}


.cta-button:hover {

    background: #111111;

    color: #ffffff;

}


.cta-button i {

    transition:
        transform .3s ease;

}


.cta-button:hover i {

    transform:
        translateX(7px);

}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {


    .container {

        width:
            calc(100% - 50px);

    }


    .hero-content {

        width:
            calc(100% - 50px);

    }


    .facility-main-content {

        width:
            calc(100% - 50px);

    }


    .outdoor-content {

        width:
            calc(100% - 50px);

    }


    .intro-layout {

        gap: 45px;

    }


    .sports-grid {

        grid-template-columns:
            1fr 1fr;

    }


}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {


    .container {

        width:
            calc(100% - 36px);

    }


    /* HERO */

    .facilities-hero {

        min-height: 600px;

    }


    .hero-content {

        width:
            calc(100% - 36px);

    }


    .hero-content h1 {

        font-size:
            clamp(
                55px,
                14vw,
                78px
            );

    }


    .hero-content p {

        font-size: 16px;

    }


    .hero-side-number {

        display: none;

    }


    /* INTRO */

    .facility-intro {

        padding: 80px 0;

    }


    .intro-layout {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .intro-text h2 {

        font-size: 47px;

    }


    /* MAIN FACILITY */

    .facility-section {

        min-height: 620px;

    }


    .facility-main-content {

        width:
            calc(100% - 36px);

    }


    .facility-main-content h2 {

        font-size:
            clamp(
                48px,
                12vw,
                70px
            );

    }


    .facility-main-content > p {

        font-size: 15px;

    }


    .facility-number {

        font-size: 75px;

        top: 25px;

        right: 20px;

    }


    /* SPORTS */

    .sports-grid-section {

        padding: 80px 0;

    }


    .sports-grid {

        grid-template-columns: 1fr;

    }


    .sport-image {

        height: 280px;

    }


    /* FIELDS */

    .fields-intro {

        padding: 80px 0;

    }


    .fields-heading h2 {

        font-size: 60px;

    }


    /* OUTDOOR */

    .outdoor-facility {

        min-height: 600px;

    }


    .outdoor-content {

        width:
            calc(100% - 36px);

    }


    .outdoor-content h2 {

        font-size:
            clamp(
                60px,
                15vw,
                90px
            );

    }


    .outdoor-content p {

        font-size: 15px;

    }


    /* CTA */

    .facilities-cta {

        padding: 85px 0;

    }


    .cta-content h2 {

        font-size: 50px;

    }


}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {


    .hero-button {

        width: 100%;

        justify-content: center;

    }


    .facility-section {

        min-height: 590px;

    }


    .facility-main-content h2 {

        font-size: 43px;

    }


    .facility-large-icon {

        width: 58px;

        height: 58px;

        font-size: 22px;

    }


    .facility-points {

        flex-direction: column;

        align-items: flex-start;

    }


    .pool-info {

        width: 100%;

    }


    .outdoor-facility {

        min-height: 560px;

    }


    .outdoor-content h2 {

        font-size: 59px;

    }


    .cta-content h2 {

        font-size: 43px;

    }


}

