/* hero sekce */
.hero {
    max-width: 80%;
    margin: auto;
    border: 3px solid #000000;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    position: relative;
    min-height: 30vh;
    overflow: hidden;
}

.hero-left {
    padding: 0 20px; /* odsazení zleva i zprava */
	padding-bottom: 28px;
    box-sizing: border-box; /* aby se obsah pořád centroval */
}

#hero-maskot {
    max-width: 300px;
    height: auto;
    margin-top: auto;            /* vytlačí obrázek ke spodní hraně boxu */
    /* žádné position/bottom/right */
}

@media screen and (max-width: 1279px){
    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2px;
    }

    .left-top h2 {
        font-size: 24px;
    }

    .left-top h3 {
        font-size: 20px;
    }
}

.hero::before {
    content: " ";
    background-image: url('../images/hero-min.jpg');
    background-size: cover;

    /* nebo contain */
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: opacity(80%) brightness(1) saturate(1);
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* drží obsah u spodní hrany */
    align-items: flex-end;       /* zarovná doprava */
    /* žádné position ani height tady není potřeba */
}

.left-top {
    padding-top: 70px;
    line-height: 1.8;
    font-size: 20px;
}

.left-top h2,
.left-top h3,
.left-bott p {
    color: white;
}

.left-bott {
    padding-top: 20px;
    line-height: 1.4;
    width: 70%;
}

.hero-buttons {
    display: flex;
    margin-top: 20px;
}

.button-prihlaska {
    border: none;
    color: var(--white);
    background-color: darkBlue;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-right: 20px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.button-prihlaska:hover {
    color: #000000;
    background-color: gray;
}

.button-oddily {
    border: none;
    color: var(--white);
    background-color: darkBlue;
    padding: 15px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-right: 20px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.button-oddily:hover {
    color: #000000;
    background-color: gray;
}

@media screen and (max-width: 725px){
    .left-top h2 {
        font-size: 20px;
    }

    .left-top h3 {
        font-size: 16px;
    }

    .hero {
        text-align: center;
    }

    .hero-left {
        gap: 5px;
    }
}

@media screen and (max-width: 522px){
    .hero-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .button-prihlaska,
        .button-oddily {
        width: 100% ;
        max-width: 250px;
        text-align: center;
        display: block;
        margin: 5px auto;
    }
}

/* hero sekce */
/* o nas sekce */
.onas-sekce {
    background-color: #CE6748;
    margin-top: 25px;
    padding: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    max-width: 100%;
}

.onas-popisky {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    gap: 15px;
}

@media screen and (max-width: 1279px){
    .onas-sekce {
        padding: 2rem;
    }

    .onas-popisky {
        grid-template-columns: repeat(1, 120%);
        gap: 5px;
    }
}

@media screen and (max-width: 757px){
    .onas-sekce {
        padding: 2rem;
    }

    .onas-popisky {
        grid-template-columns: repeat(1, 80%);
        gap: 5px;
    }
}

.onas-popisek {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1279px){
    .onas-popisek {
        margin: 15px;
        flex-direction: row;
    }
}

@media screen and (max-width: 554px){
    .onas-popisek {
        margin: 15px;
        flex-direction: column;
    }
}

.onas-popisek p {
    text-align: center;
    width: 80%;
}

@media screen and (max-width: 1279px){
    .onas-popisek p {
        text-align: center;
        padding: 20px;
    }
}

@media screen and (max-width: 757px){
    .onas-popisek p {
        text-align: left;
        padding: 20px;
    }
}

@media screen and (max-width: 554px){
    .onas-popisek p {
        text-align: center;
        padding: 0px;
    }
}

.odkaz-onas a {
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    position: relative;
}

.odkaz-onas a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    transition: transform 0.25s ease-out;
}

.odkaz-onas a:hover::after {
    transform: scaleX(1);
}

/* o nas sekce */
/* stan se clenem sekce

.clenem-ds{
    color: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: auto;
    padding: 8rem;
}

@media screen and (max-width: 903px){
    .clenem-ds{
        flex-direction: column;
        padding: 1rem;
        padding-top: 2rem;
        gap: 1rem;
    }
}



.clen-left h2 {
    background-image: linear-gradient(to right, #BF4141, #98042D);
    padding: 20px;
}

@media screen and (max-width: 903px){

    .clen-left h2{
        font-size: 24px;
        justify-self: center;
        align-items: center;
        background-image: linear-gradient(to bottom, #BF4141, #98042D);
        padding: 20px;
    }
}

.clen-left ul {
    padding: 20px;
    padding-left: 100px;
}

.clen-right img{
    width: 30vw;
}

@media screen and (max-width: 903px){

    .clen-left ul {
        padding: 15px;
        padding-left: 20px;
    }
    .clen-right img{
        width: 300px;
    }
}

.clen-left li {
    margin: 20px 0;
}

.clen-left a {
    margin: 10px 0;
    margin-left: 100px;
    display: flex;
    justify-content: end;
    text-decoration: none;
    color: var(--white);
    font-size: 18px;
    display: inline-block;
    position: relative;
}
  
.clen-left a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: transform 0.25s ease-out;
}
  
.clen-left a:hover::after {
    transform: scaleX(1);
}


 stan se clenem sekce */
/* clenske oddily sekce */
.sekce-oddily {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem;
    gap: 60px;
    color: white;
    background-color: #83262E;
}

.clenske-oddily {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    justify-content: center;
    gap: 15px;
	color: black
}

@media screen and (max-width: 1279px){
    .clenske-oddily {
        grid-template-columns: repeat(2,300px);
        gap: 40px;
        column-gap: 20%;
    }
}

@media screen and (max-width: 950px){
    .sekce-oddily {
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .clenske-oddily {
        grid-template-columns: repeat(1,300px);
    }

    .nadpis-oddily h1 {
        font-size: 30px;
    }
}

.oddil {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.oddil-foto {
    display: flex;
    text-align: center;
    justify-content: center;
    min-height: 210px;
    min-width: 300px;
}

.oddil-foto img {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.oddil-nazev {
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: large;
}

@media screen and (max-width: 553px){
    .oddil-foto img {
        width: 150px;
        height: 150px;
    }

    .oddil-foto {
        min-height: 160px;
        min-width: 160px;
    }
}

@media screen and (max-width: 394px){
    .nadpis-oddily h1 {
        font-size: 25px;
    }
}

/* clenske oddily sekce */

@media screen and (max-width: 768px) {
  .odkaz-onas {
    margin: 20px 0;
    z-index: 1;
    position: relative;
  }

  .odkaz-onas a {
    font-size: 18px;
    display: inline-block;
    padding: 10px;
  }
}



/* GALERIE NA DOMOVSKE STRANCE A DILNE */
* {box-sizing:border-box}

.galery {
    padding-top: 50px;
    padding-bottom: 50px;

    background: radial-gradient(circle, rgb(240, 118, 118) 0%, rgba(152, 4, 45, 1) 100%);
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides img {
  width: 80%;
  display: block; 
  margin: 0 auto;    
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  text-align: center;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background: rgba(32, 31, 31, 0.3); /* lehké pozadí, ať jsou vidět */
}

/* posunout je podle obrázku, ne podle celé container šířky */
.prev {
  left: 10%;
}

.next {
  right: 10%;
}

.prev:hover, .next:hover {
  background-color: rgba(26, 25, 25, 0.8);
}

/* tecky pod obrazky */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #98042D;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active1, .dot:hover {
  background-color: #FCC0C5;
}

/* Fading animace */
.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



