/* Základní reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tělo a pozadí */
body {
    font-family: 'Roboto Slab', serif; /* Přírodní vzhled písma */
    background-color: #f1efe9; /* Jemná krémová barva pozadí */
    color: #2e2b26; /* Tmavě hnědá barva textu */
    overflow-x: hidden;
}

/* Sekce */
.slide {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    animation: fadeInUp 1.5s ease-out both;
}

/* Hero sekce */
.hero {
    background: url(medvěd1.jpg) center/cover no-repeat;
    color: white;
    animation: heroZoom 10s infinite alternate;
}

.hero-content {
    height: 100%;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Nadpisy a text */
h1 {
    /* margin-bottom: 20px; */
    font-weight: 700;
    font-size: 3.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    /* margin-top: -300px; */
}

h2 {
    /* margin-bottom: 20px; */
    font-weight: 700;
    font-size: 2.5rem;
    color: #5d4037;
    
}

p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Seznamy */
ul {
    list-style-type: none;
    padding: 0;
}

/* CTA tlačítka */
.cta-container {
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    color: white;
    background-color: #6d4c41; /* Medvědí hnědá */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #4e342e; /* Tmavší odstín hnědé */
    transform: translateY(-5px);
}

/* Animace */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

/* Rámeček s obrázky a šipkami pro každou sekci */
.image-slider {
    position: relative;
    width: 80%;
    max-width: 900px;
    overflow: hidden;
    margin: 20px auto;
}

.image-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-image {
    width: 100%;
    object-fit: cover;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

/* Scroll-up šipka */
.scroll-up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #795548; /* Medvědí hnědá */
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 20px;
    transition: transform 0.3s, opacity 0.3s;
}

.scroll-up:hover {
    transform: scale(1.2);
}

/* Zobrazení šipky při skrolování */
.show {
    display: block;
    opacity: 1;
}

/* Nastavení kurzoru na křižek pro celou stránku */
body {
    cursor: crosshair;
}

/* Když najedeš na tlačítko, kurzor se změní na ručičku s tloušťkou */
button {
    cursor: pointer; /* Ručička pro tlačítka */
    transition: transform 0.2s ease-in-out;
}

button:hover {
    transform: scale(1.1); /* Zvětšení tlačítka při hoveru */
}




/* Rámeček pro obrázky medvědů */
.image-slider {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    border: 5px solid #6d4c41; /* Medvědí hnědá barva */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

button {
    position: absolute;
    top: 50%;
    background-color: #6d4c41;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #4e342e;
}

.prev {
    left: 10px;
    transform: translateY(-50%);
}

.next {
    right: 10px;
    transform: translateY(-50%);
}


/* Šipka pro skrolování nahoru */
.scroll-up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #795548; /* Medvědí hnědá */
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none; /* Skrytá, dokud nezačne skrolování */
    transition: transform 0.3s, opacity 0.3s;
}

.scroll-up:hover {
    transform: scale(1.2); /* Zvětšení při najetí myší */
}


html {
    scroll-behavior: smooth;
}

.fontus {font-weight: 800;
        font-size: larger;
        font-size: larger;}

a {text-decoration: none;
    color: black;}
