/* Všeobecné styly */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
h1 {
    text-align: center;
}

h2 {
    text-align: center;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/*##### pronájem */

.shop-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 1000px;
    width: 100%;
  }
  
  .product {
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
  }
  
  .product:hover {
    transform: scale(1.03);
  }
  
  .product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .product h2 {
    font-size: 1.2em;
    margin: 10px 0 5px;
    color: #444;
  }

.price {
    font-size: 1.1em;
    color: #27ae60;
    margin: 5px 0 15px;
  }

.header {
    height: calc(100vh - 100px);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/header.jpg.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.center-container {
    text-align: center;
}

/*##### tlačíto uprostřed nabídka */

.center-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF; /* Nastav barvu pozadí */
    color: white; /* Bílý text */
    text-decoration: none; /* Zruší podtržení */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.center-button:hover {
    background-color: #0056b3; /* Tmavší modrá při hoveru */
    transform: scale(1.1);
}

.center-button:focus {
    outline: none;
}



/* Navigace pomocí CSS Grid */
nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

/* Navigační menu */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    position: relative;
}

.menu li {
    position: relative;
}

.menu li a {
    color: #009688;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 10px;
    display: block;
}

.menu li a:hover {
    color: #ff5722;
}

/* Dropdown menu */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    min-width: 250px;
    z-index: 10;
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    padding: 10px;
    width: 100%;
    display: block;
    white-space: nowrap;
}

.menu li:hover > .dropdown {
    display: block;
}

/* Tlačítko hamburger menu pro mobilní verzi */
#hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #009688;
}

#hamburger.active {
    transform: rotate(90deg);
}

/* Responzivní navigace */
@media (max-width: 768px) {
    nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 100%;
        padding: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        text-align: center;
    }

    /* Skrýt dropdown ve výchozím stavu na mobilu */
    .dropdown {
        display: none;
        position: static;
        background: none;
        box-shadow: none;
    }

    /* Zobrazit dropdown při kliknutí na položku "NABÍDKA" */
    .menu li.clicked > .dropdown {
        display: block;
    }

    #hamburger {
        display: block;
    }
}

/* Slider */
.slides-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slide {
    flex: 0 0 100%;
    text-align: center;
    font-size: 2rem;
    padding: 50px;
    background-color: #ddd;
}

.slider-button {
    text-decoration: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 150, 136, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

/* Styl pro mobilní zařízení */
@media (max-width: 768px) {
    .slider-button {
        position: static; /* Odstraní absolutní pozicování */
        margin: 10px 0; /* Přidá mezery mezi obrázky a tlačítky */
        display: block; /* Zobrazí tlačítka pod obrázky */
        width: 100%;
        text-align: center;
    }
}

/* Styly sekcí s efekty */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    transition: background-color 0.8s ease, transform 0.6s ease;
}

section:nth-child(odd) {
    background: linear-gradient(45deg, rgba(0, 150, 136, 0.1), rgba(255, 255, 255, 0.2));
}

section:nth-child(even) {
    background: linear-gradient(45deg, rgba(0, 150, 136, 0.1), rgba(255, 255, 255, 0.5));
}

section:hover {
    transform: translateY(-10px);
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
    transition: color 0.3s ease;
}

section:hover h2 {
    color: #009688;
}

/* Styly tlačítek */
button {
    text-decoration: none;
    color: #fff;
    background-color: #009688;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00796b;
}

.btn-show-more {
    background-color: #FFA500;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-show-more:hover {
    background-color: #FF8C00;
}

/*styly pro o nás*/
.hidden-text {
    display: none;
    margin-top: 20px;
} 

.about-us-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.about-us {
    margin-top: 30px;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.about-us-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    padding: 10px;
    border: 5px solid white;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-us-content {
    text-align: left;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.wave-line {
    width: 100px;
    margin: 10px 0;
}

.btn-show-more {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-show-more:hover {
    background: #0056b3;
}

.about-us-content h2 {
    margin-top: 0;
    color: #444;
}

.about-us-experience {
    margin-top: 20px;
}

.button-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.trainers-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.trainer-profile {
    flex: 1; /* Oba bloky se roztáhnou rovnoměrně */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrování obsahu */
    text-align: center;
    transition: transform 0.3s ease; /* Plynulá animace */
}

.trainer-profile img {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Kruhový tvar */
    object-fit: cover; /* Zajistí, že obrázek vyplní kruh */
    margin-top: 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Jemný stín */
}

.trainer-description {
    flex-grow: 1; /* Zajistí, že se oba popisy roztáhnou na stejnou výšku */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px; 
}

.trainer-description h3 {
    margin-bottom: 5px;
}

.trainer-profile:hover {
    transform: scale(1.05); /* Zvětšení při najetí myší */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Výraznější stín */
}      

/*styly pro kotakty*/
.contact {
    background-color: #009688;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon { /* Nový kontejner pro ikonu */
    width: 70px; /* Nastavte stejnou velikost pro obě ikony */
    height: 70px;
    border-radius: 50%; /* Kruhový tvar */
    overflow: hidden; /* Ořízne případné přečnívající části obrázku */
    display: flex; /* Pro centrování obrázku uvnitř kruhu */
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    background-color: #f0f0f0; /* Nebo barva pozadí dle potřeby */
}

.contact-icon img {
    max-width: 100%; /* Zajistí, že obrázek nepřesáhne kruh */
    max-height: 100%;
}

/*kontaktní formulář*/
.form {

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

/* Kontaktní formulář */
.contact-form {
    display: flex;
    flex-direction: column;
    width: 90%; /* Změna šířky na procenta */
    max-width: 500px; /* Maximální šířka pro větší obrazovky */
    margin: 20px auto; /* Centrování formuláře */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #333;

}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%; /* Důležité pro responzivitu */
    box-sizing: border-box; /* Zahrnutí paddingu a borderu do šířky */
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #3e8e41;
}

/* Media Query pro menší obrazovky (např. mobily) */
@media (max-width: 768px) {
    .contact-form {
        width: 95%; /* Ještě menší šířka pro menší mobily */
        padding: 10px; /* Menší padding */
    }
}

  /* Kontaktní formulář */
--------

/* Join Us */
.join-us .btn-apply {
    margin-top: 30px;
    text-align: center;
    display: flex;
    position: fixed;
}

/* Styl pro footer */
footer {
    text-align: center;
    background-color: #f4f4f4;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    color: #333;
    font-size: 14px;
    margin-top: 10px;
}


footer a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0 10px;
}

footer a:hover {
    color: #ff5722;
}

.copyright {
    text-align: center;
    }

/* Přizpůsobení pro mobilní zařízení */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    button {
        width: 100%;
    }
    
    footer {
        font-size: 0.9rem;
    }
}
