/* F360 Hero Slider - Frontend Styles */

.f360-hero-slider-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.f360-hero-slider {
    width: 100%;
    height: 100%;
}

.f360-hero-slider .swiper-wrapper {
    height: 100%;
}

.f360-hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.f360-slide-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.f360-slide-content img,
.f360-slide-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Show media only on active slides */
.swiper-slide-active .f360-slide-content img,
.swiper-slide-active .f360-slide-content video {
    opacity: 1;
}

/* Logo Overlay */
.f360-hero-logo {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    max-width: var(--logo-size);
    max-height: var(--logo-size);
}

.f360-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Logo Positions */
.f360-logo-top-left {
    top: 40px;
    left: 40px;
}

.f360-logo-top-right {
    top: 40px;
    right: 40px;
}

.f360-logo-bottom-left {
    bottom: 40px;
    left: 40px;
}

.f360-logo-bottom-right {
    bottom: 40px;
    right: 40px;
}

/* Navigation Arrows */
.f360-hero-slider .swiper-button-next,
.f360-hero-slider .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.f360-hero-slider .swiper-button-next:after,
.f360-hero-slider .swiper-button-prev:after {
    font-size: 24px;
}

.f360-hero-slider .swiper-button-next:hover,
.f360-hero-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* Pagination */
.f360-hero-slider .swiper-pagination {
    bottom: 30px;
    z-index: 10;
}

.f360-hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.f360-hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .f360-hero-slider-wrapper {
        height: 60vh;
        min-height: 400px;
    }
    
    .f360-hero-slider .swiper-button-next,
    .f360-hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .f360-hero-slider .swiper-button-next:after,
    .f360-hero-slider .swiper-button-prev:after {
        font-size: 18px;
    }
    
    .f360-hero-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    /* Logo responsive sizing - never larger than 30vw OR user setting */
    .f360-hero-logo {
        max-width: min(var(--logo-size), 30vw);
        max-height: min(var(--logo-size), 30vw);
    }
    
    /* Logo responsive positioning */
    .f360-logo-top-left,
    .f360-logo-top-right {
        top: 20px;
    }
    
    .f360-logo-bottom-left,
    .f360-logo-bottom-right {
        bottom: 20px;
    }
    
    .f360-logo-top-left,
    .f360-logo-bottom-left {
        left: 20px;
    }
    
    .f360-logo-top-right,
    .f360-logo-bottom-right {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .f360-hero-slider-wrapper {
        height: 50vh;
        min-height: 300px;
    }
    
    /* Logo mobile - never larger than 25vw OR user setting */
    .f360-hero-logo {
        max-width: min(var(--logo-size), 25vw);
        max-height: min(var(--logo-size), 25vw);
    }
    
    /* Logo mobile positioning */
    .f360-logo-top-left,
    .f360-logo-top-right {
        top: 15px;
    }
    
    .f360-logo-bottom-left,
    .f360-logo-bottom-right {
        bottom: 15px;
    }
    
    .f360-logo-top-left,
    .f360-logo-bottom-left {
        left: 15px;
    }
    
    .f360-logo-top-right,
    .f360-logo-bottom-right {
        right: 15px;
    }
}
