/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 5.0.0-public-beta.1.1.1761676488
Updated: 2025-10-28 18:34:48

*/



  /* ---------- Layout ---------- */
  .hero-container {
    position: relative;
  }

  #hero {
    position: relative;
    transform: scale(0.8);
    height: 100vh;
    width: 30%;
    overflow: hidden;
    contain: layout paint size; /* perf hint while pinned */
  }

  #hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
    z-index: 0;
  } 

  /* ---------- Letter overlay ---------- */
  .letter-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 3; /* keep above the video */
    pointer-events: none;
  }

  .letter {
    opacity: 0; /* start hidden */
    transform: translateY(8px);
 

    text-align: center;

    will-change: opacity, transform;
  }
  
  #page-container {
        width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
}
  
#hero {--vidOpacity: 1; }
#hero video { opacity: var(--vidOpacity); will-change: transform, opacity; }

/* keep pinned section height stable on mobile */
.hero-container { min-height: 100svh; }  /* modern iOS/Android */
@supports not (height: 1svh) {
  .hero-container { min-height: 100vh; } /* fallback */
}


       .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        .video-card {
            position: relative;
            border-radius: 0;
            overflow: hidden;
            cursor: pointer;
            background: #000;
            aspect-ratio: 16/9;
           box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.3);
        }

       

        .video-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: opacity 0.3s ease;
        }

        .video-card:hover img {
            opacity: 0.8;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            border: 4px solid rgba(255, 255, 255, 0.9);
            opacity: 0;
        }

        .video-card:hover .play-button {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(255, 255, 255, 1);
            opacity: 1;
        }

        .play-button::after {
            content: '';
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 16px 0 16px 28px;
            border-color: transparent transparent transparent #000;
            margin-left: 6px;
        }

        /* Lightbox Styles */
        .lightbox {
            display: none;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(0, 0, 0, 0.95);
            z-index: 999999 !important;
            align-items: center;
            justify-content: center;
            overflow-y: auto;
            padding: 40px 20px;
            margin: 0 !important;
            transform: none !important;
        }

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            position: relative;
            width: 90%;
            max-width: 1400px;
            margin: auto;
        }

        .lightbox video,
        .lightbox iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            display: block;
            background: #000;
            border: none;
        }

        /* Safari-specific fixes */
        @supports (-webkit-appearance: none) {
            .lightbox iframe {
                -webkit-transform: translateZ(0);
                transform: translateZ(0);
            }
        }

        .lightbox-close {
            position: fixed;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #fff;
            font-size: 48px;
            cursor: pointer;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.2s ease;
            font-weight: 300;
            z-index: 1000000;
        }

        .lightbox-close:hover {
            opacity: 0.7;
        }

        .lightbox-nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: none;
            color: #fff;
            font-size: 32px;
            cursor: pointer;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-weight: 300;
            z-index: 1000000;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        .lightbox-prev {
            left: 40px;
        }

        .lightbox-next {
            right: 40px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }

            .lightbox-prev {
                left: 20px;
            }

            .lightbox-next {
                right: 20px;
            }
        }

        @media (max-width: 768px) {

            .gallery {
                gap: 24px;
            }

            .play-button {
                width: 70px;
                height: 70px;
                border: 3px solid rgba(255, 255, 255, 0.9);
            }

            .play-button::after {
                border-width: 14px 0 14px 24px;
            }

            .lightbox-content {
                width: 95%;
                padding-bottom: 80px; /* Add space for navigation buttons */
            }

            .lightbox-close {
                top: 10px;
                right: 10px;
                font-size: 40px;
            }

            .lightbox-nav {
                position: absolute;
                top: auto;
                bottom: 20px;
                transform: none;
                width: 50px;
                height: 50px;
                font-size: 28px;
            }

            .lightbox-prev {
                left: calc(50% - 60px);
                right: auto;
            }

            .lightbox-next {
                right: calc(50% - 60px);
                left: auto;
            }
        }

        @media (max-width: 640px) {
            .gallery {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .play-button {
                width: 60px;
                height: 60px;
            }

            .play-button::after {
                border-width: 12px 0 12px 20px;
            }
        }

body multi-view-image-fade-animation{
  opacity: 1 !important;
}