/* Navbar Overlay Styles */

/* Make the header position absolute to overlay the hero image */
header#header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

/* Style the navigation with semi-transparent background */
.wpo-site-header .navigation {
    background-color: rgba(0, 0, 0, 0.5) !important;
    /* Semi-transparent black */
    border-radius: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

/* Add a hover effect to make the navbar more visible on hover */
.wpo-site-header .navigation:hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Style the logo container */
.wpo-site-header .navbar-brand {
    padding: 10px 0;
}

/* Make the logo slightly smaller */
.wpo-site-header .navbar-brand img {
    max-height: 60px;
    width: auto;
}

/* Style the navigation links */
.wpo-site-header #navbar>ul>li>a {
    color: #fff !important;
    padding: 20px 15px !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Style the navigation links on hover */
.wpo-site-header #navbar>ul>li>a:hover,
.wpo-site-header #navbar>ul>li>a:focus {
    color: #F74F22 !important;
    text-decoration: none !important;
}

/* Style the dropdown menus */
.wpo-site-header #navbar>ul .sub-menu {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.wpo-site-header #navbar>ul .sub-menu li a {
    color: #fff !important;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.wpo-site-header #navbar>ul .sub-menu li a:hover {
    background-color: rgba(247, 79, 34, 0.7);
    color: #fff !important;
}

/* Style the "Now Playing" button */
.wpo-site-header .header-btn .theme-btn {
    background-color: #F74F22;
    color: #fff;
    border: 2px solid #F74F22;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wpo-site-header .header-btn .theme-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Sticky header styles */
.sticky-header.sticky-on {
    background-color: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sticky-header.sticky-on .navigation {
    background-color: transparent !important;
}

/* Mobile styles */
@media (max-width: 991px) {

    /* Make the mobile menu button more visible */
    .wpo-site-header .mobail-menu button {
        background-color: #F74F22;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Style the mobile menu */
    .wpo-site-header #navbar {
        background-color: rgba(0, 0, 0, 0.9) !important;
    }

    /* Adjust the logo size for mobile */
    .wpo-site-header .navbar-brand img {
        max-height: 50px;
    }

    /* Ensure the mobile menu is visible over the hero image */
    .wpo-site-header {
        background-color: rgba(0, 0, 0, 0.7);
    }

    /* Style the mobile menu links */
    .wpo-site-header #navbar>ul>li>a {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Style the close button */
    .wpo-site-header #navbar .close-navbar {
        background-color: #F74F22;
        color: #fff;
    }
}

/* Adjust hero sections to account for the overlay navbar */
.page-title {
    padding-top: 120px !important;
    /* Add padding to prevent content from being hidden under the navbar */
    margin-top: 0 !important;
}

.hero-fullscreen-section {
    padding-top: 0 !important;
    /* No padding needed for full-screen hero */
    margin-top: 0 !important;
}

.hero-fullscreen-section .hero-fullscreen-wrapper {
    height: 100vh !important;
    /* Make sure it takes full viewport height */
}

.static-hero {
    padding-top: 100px !important;
    margin-top: 0 !important;
}

/* Ensure the hero content is visible */
.page-title-container,
.hero-fullscreen-wrapper,
.static-hero .hero-container {
    position: relative;
    z-index: 5;
}

/* Hero content styling - Consolidated to fix conflicts */
.hero-fullscreen-section .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    color: #fff;
    z-index: 10;
    padding: 30px;
}

.hero-title-area {
    margin-bottom: 30px;
}

.hero-content .slide-title span {
    color: #F74F22;
    font-family: 'Edu AU VIC WA NT Hand', cursive;
    font-size: 24px;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-content .slide-sub-title h2 {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    font-size: 18px;
}

.hero-details>div {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.hero-details i {
    margin-right: 8px;
    color: #F74F22;
}

/* Fix for the hero button positioning */
.hero-fullscreen-section .hero-btn {
    margin-top: 30px;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
}

.hero-fullscreen-section .hero-btn .theme-btn {
    background-color: #F74F22;
    color: #fff;
    border: 2px solid #F74F22;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen-section .hero-btn .theme-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Ensure the hero image covers the full viewport */
.hero-fullscreen-section .hero-fullscreen-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 100vh;
}

/* Add a subtle overlay to improve text readability */
.hero-fullscreen-section .hero-fullscreen-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Ensure content is above the overlay */
.hero-fullscreen-section .hero-fullscreen-wrapper>* {
    position: relative;
    z-index: 2;
}

/* Override any conflicting styles from custom.css */
.hero-fullscreen-section .hero-content h2 {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-fullscreen-section .hero-content .hero-tagline {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive styles for hero section */
@media (max-width: 991px) {
    .hero-content .slide-sub-title h2 {
        font-size: 42px;
    }

    .hero-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .hero-content .slide-title span {
        font-size: 20px;
    }

    .hero-content .slide-sub-title h2 {
        font-size: 32px;
    }

    .hero-details>div {
        font-size: 16px;
        padding: 6px 12px;
    }

    .hero-fullscreen-section .hero-btn .theme-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}