/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: transparent;
    border-bottom: 0px;
    box-shadow: none;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--header-bg-color);
    height: 80px;
}

.headerLogo {
    margin-bottom: 0px;
}

.headerLogo img{
    height: 75px;
}

.site-home-link {
    text-decoration: none;
}

h1.main-logo {
    text-decoration: none !important;
    color: white;
    font-family: 'kento-light';
    font-size: 24px;
    margin: 0;
}

.burger-menu {
    background-color: var(--header-bg-color);
    width: 170px;
    height: 64px;
    border-radius: 0px 0px 15px 0px;
    padding: 0 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-radius 0.3s ease;
}

.burger-menu:has(.burger-toggle.active) {
    border-radius: 0px 0px 0px 0px;
}

/* Burger Toggle Button */
.burger-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5.3px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.burger-toggle:hover {
    transform: scale(1.1);
}

.burger-line {
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Burger Toggle Animation */
.burger-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.burger-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* Burger Dropdown Menu */
.burger-wrap {
    position: absolute;
    top: 64px;
    left: 0;
    background-color: var(--primary-color);
    width: 250px;
    border-radius: 0px 0px 15px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.burger-wrap.active {
    max-height: 500px;
    opacity: 1;
    width: 100%;
}

.burger-wrap li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.burger-wrap li:last-child {
    border-bottom: none;
}

.burger-wrap .burger-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-family: 'kento-light';
    font-weight: 400;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.burger-wrap .burger-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.header-container {
    width: 100%;
    margin: 0 30px;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* Site Branding */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 64px;
    background-color: var(--header-bg-color);
    border-radius: 0 0 15px 15px;
    transition: 0.2s ease;
}

.site-branding:hover {
    transform: scale(0.92);
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--accent-color);
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
}

/* Custom Logo */
.custom-logo-link {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation  {
    position: relative;
}

.main-navigation a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: block;
}

.main-navigation .btnDefault{
    color: var(--text-color);
    background-color: var(--button-color);
    padding: 3px 25px;
    border: 0px;
    box-shadow: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
}
.main-navigation .btnEnquire-link {
    margin-left: 30px;
    transition: 0.2s ease;
}

.main-navigation .btnEnquire-link:hover {
    background: var(--button-color-hover);
    color: var(--text-color);
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dropdown menus */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--secondary-color);
}

.main-navigation ul ul a:hover {
    background: var(--accent-color);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-color);
    color: var(--text-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-navigation .btnEnquire-link {
        margin-left: 10px;
        transition: 0.2s ease;
        padding: 3px 12px;
        font-size: 12px;
    }
    .headerLogo img{
        height: 65px;
    }    

    .header-container {
        gap: 0px;
        flex-wrap: nowrap;
        margin: 0;
    }
    .main-navigation {
        /* width: 40%; */
    }
    
    .site-branding {
        align-items: center;
        text-align: center;
        /* width: 30%; */
        /* display: none; */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--primary-color);
        border: 1px solid var(--secondary-color);
        border-radius: 4px;
        padding: 1rem;
        gap: 0;
    }
    
    .main-navigation.toggled ul {
        display: flex;
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid var(--secondary-color);
    }
    
    .main-navigation ul li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        padding: 1px;
        font-size: 12px;
    }
    
    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--accent-color);
        margin-left: 1rem;
    }
}

/* Skip link */
.skip-link.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
    background-color: var(--background-color);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--primary-color);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 7px;
    width: auto;
    z-index: 100000;
}

.right-side-nav-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   YouTube Video Button
   ========================================================================== */

.youtubeVideoBtn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin-right: 0.6rem;
}

.youtubeVideoBtn svg {
    width: 24px;
    height: 24px;
    color: white;
}

.youtubeVideoBtn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #FF0000 0%, #E60000 100%);
}

.youtubeVideoBtn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Video Modal  (2-step: playlist → player)
   ========================================================================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: videoOverlayFadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    width: 66vw;
    max-height: 85vh;
	background: var(--secondary-color);
    border-radius: 10px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    animation: videoContentSlideIn 0.35s ease;
}

@keyframes videoOverlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes videoContentSlideIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    background: transparent;
    top: 5px;
    right: 5px;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    background: var(--accent-color);
    transform: scale(1.04);
}

/* ---- Step 1: Playlist ---- */

.video-step-1 {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-step-1-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-color, #c0392b);
    padding: 28px 20px 0;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.video-playlist {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: 0;
}

/* Scrollbar styling */
.video-playlist::-webkit-scrollbar {
    width: 5px;
}
.video-playlist::-webkit-scrollbar-track {
    background: transparent;
}
.video-playlist::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

/* ---- Playlist Card ---- */

.video-playlist-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    width: 100%;
    transition: background 0.2s ease;
    border-radius: 0;
}

.video-playlist-card:last-child {
    border-bottom: none;
}

.video-playlist-card:hover {
    background: rgba(255,255,255,0.04);
}

/* Thumbnail */
.video-playlist-thumb {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.video-playlist-card:hover .video-playlist-thumb img {
    transform: scale(1.05);
}

/* Play icon overlay on thumbnail */
.video-playlist-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-playlist-play-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

.video-playlist-card:hover .video-playlist-play-icon {
    opacity: 1;
}

/* Card info */
.video-playlist-info {
    flex: 1;
    min-width: 0;
}

.video-playlist-info h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.video-playlist-info p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Step 2: Video Player ---- */

.video-step-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    padding: 14px 24px 8px;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.video-back-btn:hover {
    color: #ffffff;
}

.video-back-btn svg {
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtubeVideoBtn {
        margin-right: 0.5rem;
    }
    
    .youtubeVideoBtn svg {
        width: 20px;
        height: 20px;
    }
    
    /* Fullscreen video modal for mobile */
    .video-modal {
        padding: 0;
    }

    .video-modal-content {
        width: 90vw;
        max-height: 90vh;
        border-radius: 15px;
    }

    .video-modal-close {
        position: absolute;
        top: 5px;
        right: 5px;
        /* background: var(--accent-color); */
        border-radius: 50%;
        width: 34px;
        height: 34px;
        font-size: 24px;
        z-index: 10002;
    }

    /* Step 1: playlist mobile */
    .video-step-1-heading {
        font-size: 1.15rem;
        padding: 20px 18px 0;
    }

    .video-playlist-card {
        gap: 14px;
        padding: 12px 18px;
    }

    .video-playlist-thumb {
        width: 120px;
    }

    .video-playlist-info h4 {
        font-size: 0.9rem;
    }

    .video-playlist-info p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Step 2: video player mobile */
    .video-step-2 {
        justify-content: center;
        overflow: hidden;
        border-radius: 10px;
    }

    .video-back-btn {
        padding: 10px 16px 4px;
        font-size: 0.82rem;
    }

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        width: 100%;
    }
}

#videoModal p, h1, h2, h4, span {
	text-align: left !important;
}