/**
 * Hero Banner Styles
 * Customowe style dla Hero Banner z Owl Carousel
 *
 * @package Alfabetmarki_Theme
 * @since   1.0.0
 */

/* ===============================================
   HERO BANNER CONTAINER
   =============================================== */

.hero-banner-container {
    position: relative;
    overflow: hidden;
}

/* ===============================================
   HERO BUTTONS
   =============================================== */
   .wprowadzenie {
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
    margin-top: -140px !important;
    position: relative;
    background: #fff;
    z-index: 9;
}
.wprowadzenie p {
    font-size: 40px;
    line-height: 50px;
}
.hero-buttons-wrapper {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
    
}
.btn-hero-primary {
    background-color: #20a927;
    border-radius: 50px;
    font-weight: 600;
    font-size: 25px;
    padding: 12px 40px;
    border: 2px solid #20a927;
}
.btn-hero-primary:hover {
    background-color: #75826b;
    border-color: #75826b;
    color: #ffffff;
}
.hero-page-heading-three {
    margin-top: 60px;
}
/* Przycisk główny (primary) */
.btn-hero-more {
    background-color: transparent;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid #ffffff;
}

.btn-hero-more:hover {
    background-color: #75826b;
    border-color: #75826b;
    color: #ffffff;
}

/* Przycisk drugorzędny (secondary) */
.btn-hero-secondary {
    background-color: #666;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid #666;
}

.btn-hero-secondary:hover {
    background-color: #444;
    border-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 68, 68, 0.3);
}

/* Przycisk outline */
.btn-hero-outline {
    background-color: transparent;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===============================================
   OWL CAROUSEL CUSTOMIZATION
   =============================================== */

/* Nawigacja Owl Carousel */
.hero-banner-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 20;
    margin: 0 !important;
}

.hero-banner-slider .owl-nav button {
    position: absolute;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-banner-slider .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-banner-slider .owl-nav button.owl-prev {
    left: 20px;
}

.hero-banner-slider .owl-nav button.owl-next {
    right: 20px;
}

.hero-banner-slider .owl-nav button span {
    font-size: 32px;
    line-height: 1;
}

/* Dots (pagination) */
.hero-banner-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.hero-banner-slider .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-banner-slider .owl-dots .owl-dot.active,
.hero-banner-slider .owl-dots .owl-dot:hover {
    background: #fff;
    transform: scale(1.3);
    border-color: rgba(0, 0, 0, 0.2);
}

/* ===============================================
   HERO SLIDE ITEMS
   =============================================== */

.hero-slide-item {
    position: relative;
    width: 100%;
}

.hero-slide-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 768px) {
    .hero-buttons-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .btn-hero-more,
    .btn-hero-secondary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    /* Mniejsze przyciski nawigacji */
    .hero-banner-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hero-banner-slider .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .hero-banner-slider .owl-nav button.owl-next {
        right: 10px;
    }
    
    .hero-banner-slider .owl-dots {
        bottom: 10px;
    }
    
    .hero-banner-slider .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 460px) {
    /* Ukryj nawigację na bardzo małych ekranach */
    .hero-banner-slider .owl-nav button span {
        font-size: 24px;
    }
    
    .hero-banner-slider .owl-nav button {
        width: 35px;
        height: 35px;
    }
}

/* ===============================================
   SKELETON LOADER
   =============================================== */

.hero-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    z-index: 5;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-skeleton.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Dark overlay dla lepszej czytelności tekstu */
.hero-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Zapewnij że content wrapper jest ponad overlay */
.hero-page-container {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translate(0%, -50%);
    width: 100%;
}
.hero-page-content{
    width: 60%;
}

/* ===============================================
   ACCESSIBILITY & PERFORMANCE
   =============================================== */

/* Reduce motion dla użytkowników z preferencją */
@media (prefers-reduced-motion: reduce) {
    .hero-banner-slider,
    .hero-banner-slider .owl-item,
    .btn-hero-more,
    .btn-hero-secondary,
    .btn-hero-outline,
    .hero-skeleton {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-banner-slider .owl-nav button:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .hero-banner-slider .owl-nav,
    .hero-banner-slider .owl-dots,
    .hero-skeleton {
        display: none !important;
    }
    
    .hero-banner-container::before {
        display: none;
    }
}
