/* ===================================================
   HERO.CSS - SEKCJA POWITALNA ORAZ SLIDER
====================================================== */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 160px 5% 60px; 
    text-align: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 20px;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    text-align: left;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.hero-features li span {
    font-size: 1.2rem;
}

.hero-btn {
    display: inline-block;
    padding: 13px 30px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(184, 43, 51, 0.25);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(184, 43, 51, 0.35);
}

/* ================================
   SLIDER ZDJĘĆ
=================================== */
.slider-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 20px;
    box-shadow: 0 12px 35px var(--shadow);
    overflow: hidden;
    border: 1px solid var(--nav-border);
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.slide-top {
    object-position: center 12%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--primary-color);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-arrow:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.left-arrow { left: 12px; }
.right-arrow { right: 12px; }

.slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.dark-theme .dot {
    background-color: #444;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Responsywność Hero */
@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        text-align: left;
        padding: 160px 5% 80px;
    }
}

@media (max-width: 991px) {
    .hero-text {
        padding-right: 0;
        text-align: center;
        align-items: center;
    }

    .hero-description {
        text-align: center;
    }

    .hero-features {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 130px;
    }

    .hero-text h1 {
        font-size: 2.1rem;
    }
}

/* Wideo wewnątrz slidera */
video.slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Blokuje pauzowanie przy przypadkowym kliknięciu myszą */
    background-color: #000;
}