/* Obecné styly */
body {
    font-family: 'Nunito', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #333;
    color: #333;
    line-height: 1.6;
}

h1 {
    color: #e9e8e8;
    text-align: center;
    font-size: xx-large;
}

h2 {
    color: #ffffff;
    text-align: center;
}

h3 {
    color: #beb7b7;
    text-align: center;
}

h4 {
    color: #ececec;
    text-align: left;
    margin-left: 15px;
    font-size: larger;
}

h5 {
    color: #ececec;
    text-align: left;
    margin: 10px 15px;
    font-size: 20px;
}

p {
    margin: 0 0 15px;
    text-align: center;
    color: #c4bfbf;
}

/* Odstranění markeru pro konkrétní třídu */
.no-marker {
    list-style-type: none; /* Skryje marker */
    padding-left: 0; /* Zruší odsazení */
}

/* Pro zajištění normálních markerů u ostatních <li> */
ul li {
    list-style-type: disc; /* Typ markeru */
    padding-left: 20px; /* Přidá odsazení */
}

/* Hlavní nastavení pro header */
.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    padding: 20px 30px;
    background-color: #3333339a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: top 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Když je stránka na vrcholu, header se bude chovat jako normální */
.header.scrolled {
    position: fixed;
    top: 0;
    transition: top 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Kontejner pro logo a název */
.logo {
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    height: 50px;
    margin-right: 10px;
}

/* Text vedle loga */
.logo h1 {
    color: #fff;
    font-size: 1.6em;
    margin: 0;
}

/* Styl pro navigační tlačítka */
.nav-buttons {
    display: flex;
    gap: 15px;
    margin-right: 15px;
}

.nav-button {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 7px;
    background-color: #444;
}

.nav-button:hover {
    background-color: #555;
}

/* Efekt při aktivním tlačítku */
.nav-buttons a.active {
    background-color: #202020;
    color: rgb(253, 253, 253);
}

/* Reset stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', 'Arial', sans-serif;
}

/* Tlačítko pro menu */
.menu-toggle {
    display: none;
    background-color: #484848;
    border: none;
    color: white;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Styl pro mobilní menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: #222222e1;
    padding: 10px 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    padding: 10px 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
    display: block;
    background-color: #484848;
    border-radius: 15px;
    padding: 10px 0px;
}

/* Efekt při aktivním tlačítku */
.mobile-menu a.active {
    background-color: #202020;
    color: rgb(253, 253, 253);
}

/* Navigace */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

header h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

nav ul li a.active {
    text-decoration: underline;
}

/* Obsah */
main {
    max-width: 1250px;
    margin: 20px auto;
    background-image: url('backround/backround.png');
    background-position: auto;
    background-repeat: repeat;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.main-store {
    max-width: 1920px;
    margin: auto;
    padding: 20px;
    border-radius: 0px;
    box-shadow: none;
}

.li-rules{
    margin: 0 0 15px;
    font-size: medium;
    font-weight: 400;
    text-align: left;
    list-style-type: none;
    color: #c4bfbf;
}

.column-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.column {
    flex: 1;
    padding: 20px;
    background-color: #222;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Sekce */
section {
    margin-bottom: 20px;
}

.section-main {
    display: flex; /* Používáme flexbox pro rozložení */
    justify-content: space-between; /* Mezi textem a tlačítkem bude co největší prostor */
    align-items: center; /* Vertikálně centrováno na střed */
}
.text-left {
    max-width: 60%;
}
.rules-container {
    max-width: 1250px;
    margin: 20px auto;
    background-image: url('backround/rulesbackround.png');
    background-repeat: repeat;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.1);
}

section h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-item h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.grid-item p {
    margin: 5px 0;
    color: #555;
}

.accordion {
    width: 80%;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    width: 100%;
    padding: 15px;
    text-align: left;
    color: #c4bfbf;
    font-size: 18px;
    font-weight: bold;
    background-color: #1b1b1b;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex; /* Přidá flexbox pro zarovnání */
    justify-content: space-between; /* Mezera mezi textem a ikonou */
    align-items: center; /* Vertikální zarovnání */
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #2c2c2c;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    background-color: #333;
}

.accordion-content p {
    margin: 15px 0;
    margin-left: 15px;
    text-align: left;
    font-size: 16px;
    color: #cecece;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Nastavte maximální výšku podle potřeby */
}

/* Styl pro ikonu plus/mínus */
.accordion-icon {
    font-size: 20px;
    font-weight: bold;
    margin-right: 5px;
    transition: transform 0.3s ease;
    color: #c4bfbf; /* Barva ikony */
}

.accordion-item.active .accordion-icon {
    transform: rotate(90deg); /* Rotace pro změnu z plus na mínus */
}

/* Pozadí sekce fotek */
.gallery-section {
    background: url('backround/backround.png');
    background-position: center;
    background-repeat: repeat;
    max-width: 1250px;
    padding: 50px 20px;
    margin: 20px auto;
    color: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Mřížka pro zarovnání obrázků ve 3 sloupcích */
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sloupce stejné šířky */
    gap: 15px; /* Mezery mezi obrázky */
    max-width: 1200px;
    margin: 0 auto; /* Vycentrování celé galerie */
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    cursor: pointer; /* Ukazatel na kliknutí */
    border-radius: 10px; /* Lehce zakulacené rohy obrázků */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery img:hover {
    transform: scale(1.05); /* Zvýraznění při najetí myší */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  
  /* Modal (fullscreen náhled obrázku) */
  .modal {
    display: none; /* Skryté ve výchozím stavu */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Černé poloprůhledné pozadí */
  }
  
  .modal-content {
    margin: auto;
    margin-top: 50px;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
  }

  .modal-caption {
    color: #fff;
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
  }  
  
  .modal-content:focus {
    outline: none;
  }
  
  /* Zavírací křížek */
  .modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .modal .close:hover {
    color: #bbb;
  }

button.prev {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  
button.next {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

/* Tlačítka */
button, a.button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 1em;
    cursor: pointer;
}

button:hover, a.button:hover {
    background-color: #555;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #1e1e1e;
    color: #fff;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Kontejner pro sekci */
.section-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    margin-bottom: 20px 0;
}

/* Styl pro text */
.section-text .text-container .p-main-text {
    flex: 1;
    font-size: large;
    font-weight: 600;
    text-align: left;
    color: #c4bfbf;
    margin: 0px 0px 15px;
    margin-right: 25px;
}

/* Styl pro kontejner tlačítka */
.section-text .button-container {
    flex-shrink: 0;
}

/* Základní styl tlačítek */
button, a.button {
    display: inline-block;
    background-color: #f0eeee;
    color: #202020;
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 25px; /* Zakulacení rohu - čím větší číslo, tím zaoblenější */
    text-decoration: none;
    text-align: center;
    font-size: 1em;
    cursor: pointer;
}

/* Při hover efektu */
button:hover, a.button:hover {
    background-color: #858383;
}


/* Příklad pro tlačítko s konkrétním stylem */
.button-main {
    display: inline-block;
    background-color: #33333350;
    color: #e3e3e3;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 50px; /* Zakulacení rohu - čím větší číslo, tím zaoblenější */
    text-decoration: none;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
}

.button-main:hover {
    background-color: #181818; /* Změní barvu na tmavší při hoveru */
}

.team-section {
    background: rgb(32, 32, 32);
    margin: 20px 0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.team-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member {
    display: flex;
    align-items: center;
    background: #323232;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.team-info {
    flex: 1;
}

.team-section p{
    text-align: left;
    margin: 10px;
}

.team-section h3{
    text-align: left;
}

/* Základní nastavení pro sekce s paralaxovým efektem */
.parralax-section {
    position: relative;
    background-attachment: fixed;
  }

/* Sekce s obrázky v pozadí */
.section-bg-info1 {
    background-image: url('./../res/backround/A10_2.png'); /* Obrázek pro sekci "Info" */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 100px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: 0 -100px;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 0px;
}

.section-bg-rules1 {
    background-image: url('backround/rules1.png'); /* Obrázek pro sekci "Pravidla" */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 90px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: 0 -80px;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-rules2 {
    background-image: url('backround/rules2.png'); /* Obrázek pro sekci "Pravidla" */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 120px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-rules3 {
    background-image: url('backround/rules3.png'); /* Obrázek pro sekci "Pravidla" */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 120px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-rules4 {
    background-image: url('backround/rules4.png'); /* Obrázek pro sekci "Pravidla" */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 120px 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-store1 {
    background-image: url('backround/store1.png'); /* Obrázek pro sekci main */
    color: black; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 100px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: 0 -100px;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 0px;
}

.section-bg-store2 {
    background-image: url('backround/store2.png'); /* Obrázek pro sekci main */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 70px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-main1 {
    background-image: url('backround/main_banner.png'); /* Obrázek pro sekci main */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 70px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-main2 {
    background-image: url('backround/main2_banner.png'); /* Obrázek pro sekci "Store" */
    color: rgb(214, 212, 212); /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 50px 20px;
    background-size: auto; /* Přizpůsobení obrázku sekci */
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-bg-AT {
    background-image: url('backround/groupfoto.png'); /* Obrázek pro sekci main */
    color: white; /* Barva textu, aby byl dobře viditelný */
    text-align: center;
    padding: 90px 50px;
    background-size: cover; /* Přizpůsobení obrázku sekci */
    background-position: 0 -270px;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin-bottom: 10px;
}

.shop-container {
    display: flex;
    width: 100%;
    padding: 20px;
}

.left-side {
    flex: 1;
    padding: 20px;
}

.product {
    background: rgb(32, 32, 32);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.product-info {
    margin-bottom: 10px; /* Mezera mezi textem a tlačítkem */
}

.product h2 {
    margin: 0 0 10px;
}

.product p {
    margin: 0 20px 5px;
    font-size: 18px;
    text-align: left;
}

.button-container {
    text-align: right; /* Změň na "center" pro střed */
    margin-bottom: 10px;
}

.product a {
    background: #7a7a7a;
    color: rgb(255, 255, 255);
    padding: 10px 45px;
    margin-right: 5px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-size: 16px;
}

.product a:hover {
    background: #4e4e4e;
}

.right-side {
    width: 40%;
    text-align: center;
    padding: 20px;
}

.banner {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .parralax-section {
      background-attachment: scroll; /* Vypne paralax efekt na menších zařízeních */
      background-size: 200%;
      background-position: center;
    }
    .container {
        flex-direction: column;
        align-items: center;
    }
    .column {
        width: 100%;
        max-width: 400px; /* Zamezení příliš širokých bloků na mobilu */
    }
    .nav-buttons {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .gallery {
        display: block;
    }
    nav ul li {
        display: block;
        margin: 5px 0;
    }
    main {
        padding: 10px;
    }
    .mobile-menu.menu-open {
        display: block;
    }
    button.prev {
        padding: 70px 15px;
        top: 75%;
    }
      
    button.next {
        padding: 70px 15px;
        top: 75%;
    }
  }
