/*
* Custom Leto V1.0 
* Copyright 20w0, Gary Leatherman
* www.macmonkey.tv
*/


/* #Typography
================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    text-align: left;
}

body {
    font-family: 'Work Sans', sans-serif;
}

#filter li a {
    font-family: 'Work Sans', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 28px;
}

a.tipped {
    font-family: 'Work Sans', sans-serif !important;
}

.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    display: none;
    z-index: 1000;
    max-width: 200px;
    word-wrap: break-word;
}
/* #MISC
================================================== */

.cd-primary-nav-trigger {
    display: none;
}

.padding-top-bottom {
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-social li a.linkedin:hover {
    color: #2867b2;
}

.footer-social li a.youtube:hover {
    color: #FF0000;
}

.footer-social li a.twitter:hover {
    color: #00b6f1;
}

.footer-social li a.facebook:hover {
    color: #3b5998;
}

.footer-social li a.google:hover {
    color: #df4a32;
}

.footer-social li a.vimeo:hover {
    color: #1ab7ea;
}

.footer-social li a.envato:hover {
    color: #81B441;
}

.colord-text-top {
    position: relative;
    width: 70%;
    margin: 0 auto;
    padding-bottom: 4vh;
}


/* LUCY PROJECT PAGE */

.image-parallax>img {
    width: 120%;
}


/* AUDIO PLAYER CSS  */

#myProgress {
    width: 100%;
    max-width: 420px;
    background-color: #e9ecef;
    cursor: pointer;
    border-radius: 10px;
}

#myBar {
    width: 0%;
    height: 5px;
    background-color: #007bff;
    border-radius: 10px;
}

.logo {
    fill: red;
}

.btn-action {
    cursor: pointer;
    padding-top: 10px;
    width: 30px;
    color: #495057;
    transition: color 0.2s ease;
}

.btn-action:hover {
    color: #007bff;
}

.btn-ctn,
.infos-ctn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.infos-ctn {
    padding-top: 20px;
}

.btn-ctn>div {
    padding: 5px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.infos-ctn>div {
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.first-btn {
    margin-left: 3px;
}

.duration {
    margin-left: 10px;
}

.title {
    margin-left: 10px;
    width: 210px;
    text-align: center;
}

.player-ctn {
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin: auto;
    margin-top: 50px;
    box-sizing: border-box;
}

.playlist-track-ctn {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    margin-top: 3px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.playlist-track-ctn:hover {
    background-color: #e9ecef;
}

.playlist-track-ctn.active-track {
    background-color: #007bff;
    color: white;
}

.playlist-track-ctn:last-child {
    /*border: 1px solid #ffc266; */
}

.playlist-track-ctn>div {
    margin: 10px;
}

.playlist-info-track {
    width: 80%;
}

.playlist-info-track,
.playlist-duration {
    padding-top: 7px;
    padding-bottom: 7px;
    color: #e9cc95;
    font-size: 14px;
    pointer-events: none;
}

.playlist-ctn {
    padding-bottom: 20px;
}

.active-track {
    background: #4d4d4d;
    color: #ffc266 !important;
    font-weight: bold;
}

.active-track>.playlist-info-track,
.active-track>.playlist-duration,
.active-track>.playlist-btn-play {
    color: white !important;
}

.playlist-btn-play {
    pointer-events: none;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #495057;
}

.fas {
    color: #495057;
    font-size: 20px;
}

/* Active track styles */
.active-track .fas {
    color: white;
}

/* Volume icon specific styles */
#icon-vol-up,
#icon-vol-mute {
    font-size: 20px;
    color: #495057;
    cursor: pointer;
}

#btn-faws-volume {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vertical video lightbox override */
/* Ultra-specific targeting to override SimpleLightbox hardcoded styles */
body.vertical-video-active div#slb_overlay.slbOverlay div.slbWrapOuter div.slbWrap div.slbContentOuter div.slbContent div.slbIframeCont,
body.vertical-video-active .slbOverlay .slbWrapOuter .slbWrap .slbContentOuter .slbContent .slbIframeCont,
body.vertical-video-active .slbOverlay .slbIframeCont,
body.vertical-video-active #slb_overlay .slbIframeCont {
    width: 45vw !important; /* Narrower width for vertical videos */
    max-width: 30em !important; /* Even more constrained max width */
    padding-top: 177.78% !important; /* 9:16 aspect ratio (16/9 * 100) */
    padding-bottom: 0 !important;
    height: auto !important;
    margin: 2em auto !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Force the YouTube iframe to respect our container */
body.vertical-video-active .slbOverlay .slbIframeCont .slbIframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Alternative approach - try to constrain the YouTube player */
body.vertical-video-active .slbOverlay .slbIframeCont iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Additional ultra-aggressive targeting for SimpleLightbox */
body.vertical-video-active .slbOverlay,
body.vertical-video-active #slb_overlay {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.vertical-video-active .slbWrap,
body.vertical-video-active .slbWrapOuter,
body.vertical-video-active .slbContentOuter,
body.vertical-video-active .slbContent {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
}

/* Adjust for mobile */
@media screen and (max-width: 768px) {
    body.vertical-video-active .slbOverlay .slbIframeCont {
        width: 95vw !important;
        max-width: none !important;
        padding-top: 168.89% !important; /* 9:16 aspect ratio (16/9 * 100) */
        margin: 1em auto !important;
        height: auto !important;
    }
    
    /* Make vertical videos nearly full-screen on mobile */
    body.vertical-video-active .slbOverlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }
    
    /* Ensure the container uses most of the screen */
    body.vertical-video-active .slbWrap,
    body.vertical-video-active .slbWrapOuter,
    body.vertical-video-active .slbContentOuter,
    body.vertical-video-active .slbContent {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
    }
}

/* Adjust for tablets in portrait orientation */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    body.vertical-video-active .slbOverlay .slbIframeCont {
        width: 70vw !important;
        max-width: 600px !important;
        padding-top: 124.44% !important; /* 9:16 aspect ratio (16/9 * 70) */
        margin: 2em auto !important;
        height: auto !important;
    }
    
    /* Center the video nicely on tablet portrait */
    body.vertical-video-active .slbOverlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px !important;
    }
    
    /* Tablet-specific container adjustments */
    body.vertical-video-active .slbWrap,
    body.vertical-video-active .slbWrapOuter,
    body.vertical-video-active .slbContentOuter,
    body.vertical-video-active .slbContent {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: 90vh !important;
    }
}

/* SimpleLightbox Navigation Arrow Styling - Shadow Approach for Visibility */
.slbArrow {
    color: white !important;
    opacity: 1 !important;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        1px -1px 2px rgba(0, 0, 0, 0.8),
        -1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.9) !important;
    font-weight: bold !important;
    font-size: 16px !important;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.9)) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
}

.slbArrow:hover {
    color: #ffffff !important;
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 1),
        -2px -2px 4px rgba(0, 0, 0, 1),
        2px -2px 4px rgba(0, 0, 0, 1),
        -2px 2px 4px rgba(0, 0, 0, 1),
        0 0 12px rgba(0, 0, 0, 1) !important;
    transform: scale(1.1) !important;
    filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9)) !important;
}

/* Additional shadow styling for better visibility */
.slbArrows {
    z-index: 9999 !important;
}

.slbArrows button {
    background: none !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
}

.slbArrows button:hover {
    outline-color: rgba(0, 0, 0, 0.3) !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

/* Ensure arrows are always visible on mobile */
@media screen and (max-width: 768px) {
    .slbArrow {
        font-size: 14px !important;
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.9),
            -1px -1px 2px rgba(0, 0, 0, 0.9),
            1px -1px 2px rgba(0, 0, 0, 0.9),
            -1px 1px 2px rgba(0, 0, 0, 0.9),
            0 0 6px rgba(0, 0, 0, 1) !important;
    }
}


/* social carousel css */


/* SWIPER JS */

.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide {
    height: auto;
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    -webkit-display: flex;
    -moz-display: flex;
    -ms--display: flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.video-section {
    max-width: 1920px;
}

.video-section.square {
    max-width: 1028px;
}


/* .swiper-wrapper {
    align-items: stretch
} */

/* #Gallery Styles
================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Center the last item when there's an odd number of items */
.gallery-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 10px); /* Half width minus half the gap */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .lightbox-link {
    display: block;
    line-height: 0;
}

/* Gallery responsive adjustments */
@media only screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    /* Target video and gallery containers specifically */
    .container.video-container,
    .container.gallery-container {
        width: 90vw !important;
        max-width: 90vw;
    }
    
    /* Override skeleton twelve columns width for video/gallery sections */
    .container.video-container .twelve.columns,
    .container.gallery-container .twelve.columns {
        width: 100% !important;
    }
    
    /* Ensure video-section uses full available width */
    .video-section {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Target video and gallery containers specifically */
    .container.video-container,
    .container.gallery-container {
        width: 90vw !important;
        max-width: 90vw;
    }
    
    /* Override skeleton twelve columns width for video/gallery sections */
    .container.video-container .twelve.columns,
    .container.gallery-container .twelve.columns {
        width: 100% !important;
    }
    
    /* Ensure video-section uses full available width */
    .video-section {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

/* MEDIA QUERIES  */

@media only screen and (max-width: 415px) {
    h2 {
        font-size: 24px;
    }
    
    .colord-text-top {
        width: 90%;
    }
    
    /* Audio player mobile responsive styles */
    .player-ctn {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: 8px;
    }
    
    #myProgress {
        width: 100%;
    }
    
    .title {
        width: 150px;
        font-size: 14px;
    }
    
    .btn-action {
        width: 25px;
        font-size: 16px;
    }
    
    .fas {
        font-size: 16px;
    }
    
    .big-height {
        height: 30vh;
    }
    
    .parallax-window {
        min-height: 300px !important;
    }
}