*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark: #1a1a18;
    --mid: #2e2e2a;
    --cream: #f5f0e8;
    --warm: #e8dfc8;
    --accent: #8b6f47;
    --accent-light: #c4a97a;
    --text: #3a3530;
    --text-light: #7a7268;
    --white: #ffffff;
    --white2: #f8f8f8;
    --border: rgba(139, 111, 71, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    
}





/* ── SECTIONS ── */
section { padding: 40px 20px; }

.container { max-width: 1100px; margin: 50px auto; }

.section-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.phone-link {
    color: var(--accent);
    text-decoration: none;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 em { font-style: italic; color: var(--accent); }

/* ── WEBY - GALERIE ── */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.weby {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    touch-action: pan-y;
    width: 100%;
}


.weby-dark{
    background: var(--white);
    padding: 100px 20px; 
    }


.weby-light{ 
    background: var(--white2);
    padding: 100px 20px; }

.weby-desc {
    padding-left: 20px;
}

.weby-desc li {
    text-align: justify;
}

/* NOVĚ */
.slider.weby {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 600px;
}
/* ── ŠIPKY ── */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 200px;

    font-size: 30px;
    color: white;
    background: rgba(0,0,0,0.4);

    border: none;
    border-radius: 8px;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow.left  { left: 10px; }
.arrow.right { right: 10px; }

.slider.weby:hover .arrow {
    opacity: 1;
    pointer-events: auto;
}

/* carousel item */
.carousel-item {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.weby .carousel-item.active {
    display: block;
}

/* obrázky */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* vyplní celý prostor */
    display: block;
}

/* ── OBSAH ── */
.carousel-content {
    position: absolute;
    left: 3%;
    bottom: 3%;

    display: inline-block;

    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 8px;
}

.carousel-label {
    display: block;
    font-weight: 700;
    font-size: clamp(10px, 1vw, 14px);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

.carousel-title {
    margin: 0 0 6px;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 700;
    font-family: Georgia, serif;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-title a {
    color: inherit;
    text-decoration: none;
}
.carousel-title a:hover {
    text-decoration: underline;
}

.carousel-desc {
    margin: 0;
    font-size: clamp(0.8rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    
}


@media (max-width: 768px) {

    .slider.weby {
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .carousel-content {
    position: absolute;
    padding: 10px 5px;
    display: none; /* skryje obsah na mobilu */
}

    .carousel-desc{
        display: none; /* skryje popis na mobilu */
    }

    .carousel-title {
        font-size: 0.5rem; /* zmenší velikost nadpisu na mobilu */
       
    }

    .arrow {
        width: 40px;
        height: 120px;
        font-size: 24px;

        background: transparent; /* průhledné pozadí */
        border: none;
        box-shadow: none;
    }

    /* aby byly šipky na mobilu stále viditelné */
    .weby .arrow {
        opacity: 1;
        pointer-events: auto;
    }
}
