/**
 * Hero Section - Style dla sekcji głównej
 * Responsywne style dla swipera i kontrolek
 * 
 * @package Baby
 */

/* Hero Controls Container */
.hero-controls-container {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pagination Box */
.hero-pagination-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 48px;
    display: flex;
    align-items: center;
}

.hero-pagination-box:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation Controls Group */
.hero-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Navigation Buttons */
.hero-nav-button {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.hero-nav-button:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Pause Button */
.hero-pause-button {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.hero-pause-button:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Pagination */
.hero-main-pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    max-width: 12px;
    max-height: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.hero-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-pagination-bullet-active {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    transform: scale(1.2);
    box-shadow: 0 0 16px rgba(var(--bs-primary-rgb), 0.6);
}

/* Swiper Customizations */
#hero-swiper {
    overflow: hidden;
}

#hero-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#hero-swiper .swiper-slide-active {
    opacity: 1;
}

/* Progress Bar */
#hero-progress {
    transition: width 0.1s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-controls-container {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-controls-container {
        position: fixed;
        bottom: 1.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: auto;
        max-width: calc(100vw - 2rem);
        flex-direction: row;
        gap: 1rem;
        padding: 0.75rem 1.25rem;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(15px);
        border-radius: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .hero-pagination-box {
        order: 0;
        background: none;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        border: none;
        height: auto;
        margin: 0;
    }
    
    .hero-main-pagination {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .hero-pagination-bullet {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
        max-width: 12px;
        max-height: 12px;
        background: rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    .hero-pagination-bullet-active {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
        max-width: 14px;
        max-height: 14px;
    }
    
    .hero-nav-controls {
        display: none;
    }
    
    .hero-pause-button {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
    
    .hero-pause-button:hover {
        background: rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.7);
        transform: none;
        box-shadow: none;
    }
}

/* Touch Improvements */
@media (hover: none) {
    .hero-controls-container {
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-nav-button:hover,
    .hero-pause-button:hover,
    .hero-pagination-bullet:hover {
        transform: none;
    }
    
    .hero-pagination-bullet-active {
        transform: scale(1.1);
    }
}
