/* ==================== hero-section SECTION ==================== */

.hero-section {
    padding: var(--spacing-2xl) 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -20px;
}

.hero-section-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.hero-section-image-card {
    display: none;
}

.hero-section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.hero-section-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* hero-section Image Card */
.hero-section-image-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
    z-index: 1;
}

.image-card-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-xl);
    z-index: 2;
}

.image-card-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.indicator {
    width: 24px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    width: 32px;
}

/* Image Card Controls */
.image-card-controls {
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    z-index: 3;
}

.arrow-btn-left,
.arrow-btn-right {
    display: flex;
}

/* Icon Button Position */
.hero-section-image-card .icon-btn {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 3;
}

.pager {
    width: 100%;
    display: flex;
    align-items: flex-end;
    /*  background: #8FAEC9;
   background: linear-gradient(130deg, rgba(143, 174, 201, 1) 0%, rgba(223, 235, 246, 1) 100%);
*/
}

.pages {
    padding-bottom: var(--spacing-md);
}

.page {
    font-size: var(--spacing-2xl);
    color: var(--tertiary);
    font-weight: 450;
    width: 70%;
}

.page span {
    color: var(--text-primary);
}

.page-indicator {
    font-weight: bold;
    margin-bottom: 10px;
}

.dots {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;

}

.dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    cursor: pointer;
    background: var(--bg20);
}

.dot.active {
    background: var(--accent01);
}

.page-text {
    min-height: 60px;
    margin-bottom: 15px;
    opacity: 1;
    transition: opacity 0.3s;

}

.page-text span {
    color: var(--primary-blue);
}

.fade-out {
    opacity: 0;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
}

.circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: white;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
}


/* hover efekt na button (pozadie, border) */
.circle-btn:hover {
    background: none;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.circle-btn img {
    width: 20px;
    height: 20px;
    transition: filter .2s;
    filter: brightness(0) saturate(100%);
    /* základ – čierna */
}

.circle-btn:hover img {
    /* približne #071448 – tmavá modrá */
    filter: brightness(0) saturate(100%) invert(28%) sepia(18%) saturate(2872%) hue-rotate(196deg) brightness(90%) contrast(104%);
}

@media (max-width: 800px) {

    .circle-btn {
        width: 20px;
        height: 20px;
    }
    .circle-btn img{
        width: 10px;
        height: 10px;
    }
      .hero-section {
        padding-top: var(--spacing-2xl);
    }
    .hero-image{
        width: 100%;
    }

    .hero-section-image-card{
        display: block;
        aspect-ratio: auto;
        margin-left: 2rem;
        height: 270px;
        position: absolute;
        width: auto;
        align-content: center;
    }

    .page{
        font-size: var(--spacing-md);
        color: var(--text-primary-dark);
    }
    .page span{
        color: var(--text-primary-dark);
    }
}


@media (min-width: 800px) {
    .hero-section {
        padding-top: var(--spacing-2xl);
    }
    .hero-image{
        width: 100%;
    }

    .hero-section-image-card{
        display: block;
        aspect-ratio: auto;
        margin-left: 2rem;
        height: 470px;
        position: absolute;
        width: auto;
        align-content: center;
    }

    .page{
        font-size: var(--spacing-xl);
        color: var(--text-primary-dark);
    }
    .page span{
        color: var(--text-primary-dark);
    }
}

@media (min-width: 1200px) {
    .page {
        width: 90%;
        font-size: var(--font-size-2xl);
        color: var(--text-primary);
    }

    .page span {
        color: var(--text-tertiary);
    }

    .hero-section-content {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-2xl);
    }

    .hero-section-text-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 3;
    }

    .hero-section-title {
        font-size: 40px;
    }

    .hero-section-image-card {
        display: flex;
        flex: 2;
            bottom: 20%;
        display: block;
        margin-left: none;
        height: auto;
        position: inherit;
    }
}

@media (min-width: 1440px) {
    .page {
        width: 90%;
        font-size: var(--font-size-2xl);
    }
}