.elementor-kit-7{--e-global-color-primary:#F37A20;--e-global-color-secondary:#1A1A1A;--e-global-color-text:#000000;--e-global-color-accent:#F37A20;--e-global-typography-primary-font-family:"Oswald";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Source Sans 3";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Source Sans 3";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-page-transition-entrance-animation:e-page-transition-fade-out;--e-page-transition-animation-duration:1500ms;--e-preloader-animation-duration:1500ms;--e-preloader-delay:1500ms;--e-preloader-color:#FFF;--e-preloader-size:75px;}.elementor-kit-7 e-page-transition{background-color:#F68633;}.elementor-kit-7 a{font-family:"Source Sans 3", Sans-serif;}.elementor-kit-7 h1{font-family:"Oswald", Sans-serif;}.elementor-kit-7 h2{font-family:"Oswald", Sans-serif;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .header-inner{width:1600px;max-width:100%;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ========================================
   CAROUSEL SECTION - GLOBAL STYLES
   ======================================== */

.works-section { 
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: -175px 0 0 0;
    padding: 170px 0 40px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Layer */
.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://wearehirschfeld.com/wp-content/uploads/2025/11/IMG_5910-scaled.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease;
    z-index: -1;
}

.section-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
}

/* ========================================
   MAIN IMAGE SECTION WITH SIDE ARROWS
   ======================================== */

.project-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    gap: 20px;
}

.main-image-frame {
    position: relative;
    width: 100%;
    max-width: 1140px;
    background: transparent;
}

#main-display-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.project-caption {
    font-size: 16px;
    color: #ffffff;
    margin: 16px 0 0 0;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-align: left;
    transition: opacity 0.3s ease;
    line-height: 1.5;
}

/* ========================================
   MAIN CAROUSEL NAVIGATION BUTTONS
   ======================================== */

.main-carousel-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.main-carousel-btn:hover {
    background: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}

.main-carousel-btn:active {
    transform: scale(0.95);
}

.main-carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #000000;
}

.main-carousel-btn:disabled:hover {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.main-carousel-btn svg {
    pointer-events: none;
}

.main-carousel-btn:focus-visible {
    outline: 3px solid #ff6600;
    outline-offset: 2px;
}

/* ========================================
   CAROUSEL SECTION
   ======================================== */

.carousel-wrapper { 
    background: transparent;
    padding: 20px 0 0 0;
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.media-carousel { 
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}

/* Carousel Container (overflow holder) */
.carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Carousel Track */
.carousel-track { 
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Carousel Slides (Thumbnails) */
.carousel-slide {
    flex: 0 0 150px;
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 4px;
    opacity: 0.6;
}

.carousel-slide:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.carousel-slide.active {
    opacity: 1;
    border: 3px solid #ff6600;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.4);
}

/* ========================================
   THUMBNAIL CAROUSEL NAVIGATION BUTTONS
   ======================================== */

.carousel-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.carousel-btn:hover {
    background: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #000000;
}

.carousel-btn:disabled:hover {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.carousel-btn svg {
    pointer-events: none;
}

.carousel-btn:focus-visible {
    outline: 3px solid #ff6600;
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .works-section {
        min-height: auto;
    }
    
    .content-wrapper {
        gap: 30px;
    }
    
    .project-container {
        max-width: 95%;
        gap: 15px;
    }
    
    .main-image-frame {
        max-width: 100%;
    }
    
    .carousel-slide {
        flex: 0 0 130px;
        width: 130px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .works-section {
        min-height: auto;
    }
    
    .content-wrapper {
        gap: 25px;
        padding: 15px;
    }
    
    .project-container {
        gap: 10px;
    }
    
    .main-carousel-btn, .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .main-carousel-btn svg, .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .project-caption {
        font-size: 14px;
        margin: 12px 0 0 0;
    }
    
    .carousel-slide {
        flex: 0 0 110px;
        width: 110px;
        height: 75px;
        border-width: 2px;
    }
    
    .carousel-track {
        gap: 8px;
    }
    
    .media-carousel {
        padding: 0 10px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    

    .content-wrapper {
        gap: 20px;
        padding: 10px;
    }
    
    .project-container {
        gap: 8px;
    }
    
    /*.main-carousel-btn {*/
    /*    width: 40px;*/
    /*    height: 40px;*/
    /*}*/
    
    /*.main-carousel-btn svg {*/
    /*    width: 18px;*/
    /*    height: 18px;*/
    /*}*/
    
    .project-caption {
        font-size: 13px;
        margin: 10px 0 0 0;
    }
    
    .carousel-slide {
        flex: 0 0 90px;
        width: 90px;
        height: 60px;
    }
    
    .carousel-track {
        gap: 6px;
    }
    
    .media-carousel {
        padding: 0 5px;
        gap: 6px;
    }
}

/* ========================================
   ACCESSIBILITY & PERFORMANCE
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .carousel-track,
    #main-display-image,
    .carousel-slide,
    .section-background {
        transition: none;
    }
}

.carousel-slide:focus-visible {
    outline: 3px solid #ff6600;
    outline-offset: 2px;
}/* End custom CSS */