/* ============================
   SLIDER.CSS — HLAVNÍ SLIDER
   ============================ */

/* SLIDER WRAPPER */
#home {
    height: 100vh; /* slider přes celou obrazovku */
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}



/* SLIDE OBRAZKY */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

/* TEXTY NA SLIDERU */
.slide-texts {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.slide-text {
    pointer-events: auto;
    text-align: center;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    max-width: 800px;
    opacity: 0;
    transition: opacity 1.2s ease;
}

/* Fade textu při změně slidu */
.slide-text.visible {
    opacity: 1;
}

/* NADPIS */
.slide-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #2a200f;
}

/* POPIS */
.slide-text p {
    font-size: 22px;
    margin-bottom: 30px;
    color: #2a200f;
}

/* TLAČÍTKO */
.slide-text a {
    display: inline-block;
    padding: 14px 28px;
    background: #dd4e0a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background .25s ease;
}

.slide-text a:hover {
    background: #b93f07;
}

/* ŠIPKY */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: background .25s ease;
}

.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.55);
}

/* TEČKY */
.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 4;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.dot.active {
    background: #dd4e0a;
    transform: scale(1.2);
}