/* -----------------------------------
   PC HEADER WRAPPER
----------------------------------- */
.pc-header {
    display: block;
    position: relative;
    z-index: 9999;
}

/* -----------------------------------
   TOP BAR
----------------------------------- */
.pc-top-bar {
    background: #000;
    color: #fff;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.pc-top-bar a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

/* -----------------------------------
   LOGO ROW
----------------------------------- */
.pc-logo-row {
    background: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.pc-logo-row img {
    height: 70px;
}

/* -----------------------------------
   MAIN NAV
----------------------------------- */
.pc-nav {
    background: #000;
    position: relative;
    z-index: 9999;
    overflow: visible !important;
}

.pc-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    overflow: visible !important;
}

.pc-nav ul li {
    position: relative;
    overflow: visible !important;
}

.pc-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.pc-nav ul li a:hover {
    background: #222;
}

/* -----------------------------------
   DROPDOWNS (FULLY FIXED)
----------------------------------- */
.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000;
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #222;
    z-index: 99999 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
}

.dropdown-menu li a:hover {
    background: #222;
}

/* Show dropdown on hover */
.dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* -----------------------------------
   BANNER
----------------------------------- */
.pc-banner {
    height: 600px;
    position: relative;
    overflow: hidden;

    /* SLIDER SETTINGS */
    animation: bannerSlider 15s infinite;
    background-size: cover;
    background-position: center;
}

/* SLIDESHOW */
@keyframes bannerSlider {

    0% {
        background-image: url("https://heritageacademyschool.co.za/assets/images/Home.png");
    }

    33% {
        background-image: url("https://heritageacademyschool.co.za/Website%20pictures/Sports%20day/IMG_0032.png");
    }

    66% {
        background-image: url("https://heritageacademyschool.co.za/Heritagepng/fun2/5.png");
    }

    100% {
        background-image: url("https://heritageacademyschool.co.za/assets/images/Home.png");
    }
}

/* Dark overlay */
.pc-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Banner text */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #ff2e2e;
    z-index: 5;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #FFFFFF;
}

/* Banner button */
.banner-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 25px;
    background: #FFFFFF;
    color: #000;
    text-decoration: none;
    font-size: 17px;
    border-radius: 4px;
    z-index: 5;
    position: relative;
}

/* Hover */
.banner-btn:hover {
    background: #cc1e1e;
    color: #fff;
}

/* -----------------------------------
   HIDE PC ON MOBILE
----------------------------------- */
@media (max-width: 900px) {

    .pc-header {
        display: none;
    }

    .pc-banner {
        height: 450px;
    }

    .banner-text {
        left: 25px;
    }

    .banner-text h1 {
        font-size: 34px;
    }
}
