/* Hero Slideshow Elementor Widget Styles */

.hero-slideshow-wrapper {
    width: 100%;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    min-height: 300px;
    overflow: visible;
    background: transparent;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide:not(.active) {
    z-index: 1;
}

.hero-slide-image {
    width: 100%;
    display: block;
    background: #000;
    position: relative !important;
    overflow: visible !important;
}

.hero-slide-image .hero-desktop-image {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mobile Mockup Overlay */
.hero-mobile-mockup-desktop {
    position: absolute !important;
    z-index: 10 !important;
    display: block !important;
    pointer-events: none !important;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out !important;
}

.hero-slide:not(.active) .hero-mobile-mockup-desktop {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.hero-slide.active .hero-mobile-mockup-desktop {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    pointer-events: none !important;
}

.hero-mobile-mockup-desktop img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    pointer-events: none !important;
}

/* Profile Section */
.hero-slide-profile {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
}

.hero-slide:not(.active) .hero-slide-profile {
    opacity: 0 !important;
    visibility: hidden !important;
}

.hero-slide.active .hero-slide-profile {
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-profile-headshot {
    flex-shrink: 0 !important;
}

.hero-profile-headshot img {
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}

.hero-profile-info {
    text-align: left !important;
    flex-shrink: 0 !important;
}

.hero-profile-name {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-profile-tagline {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slideshow-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f1;
    color: #666;
    font-size: 16px;
}

/* Elementor Editor Preview */
.elementor-editor-active .hero-slide {
    position: relative !important;
    opacity: 1 !important;
    margin-bottom: 20px;
}

.elementor-editor-active .hero-slide:not(.active) {
    border: 2px dashed #ccc;
}
