/* UPRAVUJE STYL WEBU, KTERÝ JE NAPROGRAMOVÁN V index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #2e2e2e;
    color: #f4f1eb;
    line-height: 1.6;
}

/* 🔔 TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #5c6f5c;
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

header {
    position: fixed;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46,46,46,0.9);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: #f4f1eb;
    border: none;
    padding: 5px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

header a {
    color: #f4f1eb;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 300;
}

header a:hover {
    color: #5c6f5c;
}

section {
    padding: 120px 10%;
}

.hero {
    height: 100vh;
    background: url('images/hero.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
}

h2 {
    margin-bottom: 40px;
    font-weight: 400;
}

.about p {
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
/*    grid-auto-rows: 250px; */
      grid-auto-rows: auto;
    gap: 30px;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* HOVER k fotografiím */
.zoom-img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
}

    .zoom-img:hover {
      transform: scale(1.2);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/*---HOVER - na zarizenich bez myši nefunguje --*/
@media (hover: none) {
    .zoom-img:hover {
        transform: none;
        box-shadow: none;
    }
}

.services {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.service-box {
    flex: 1;
    min-width: 250px;
    background: #3a3a3a;
    padding: 30px;
}

form {
    max-width: 500px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    background: #444;
    color: white;
}

button {
    padding: 12px 25px;
    background: #5c6f5c;
    border: none;
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

footer {
    text-align: center;
    padding: 40px;
    background: #1f1f1f;
}

.social a {
    margin: 0 10px;
    color: #5c6f5c;
    text-decoration: none;
}

.social {
    margin-top: 30px;
}

/* 📱 MOBILNÍ ÚPRAVY */
@media (max-width: 768px) {

    header {
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
}

.menu-toggle {
    display: block;
}

nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(46,46,46,0.95);
    padding: 10px 20px 20px;
}

nav.active {
    display: flex;
}

header a {
    margin-left: 0;
    padding: 8px 0;
}

    section {
        padding: 100px 5%;
    }

    .hero h1 {
        font-size: 28px;
        padding: 15px 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

     .gallery img {
        height: auto;
        grid-column: auto !important;
        grid-row: auto !important;
    }

     .zoom-img:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .services {
        flex-direction: column;
    }

    .service-box {
        min-width: 100%;
    }
}

/* Vypnutí HOVERu na všech dotykových zařízeních */
@media (hover: none) {
    .zoom-img:hover {
        transform: none;
        box-shadow: none;
    }
}
/* --Rozbalitko v galerii--*/
.trip-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trip-menu button {
    background: transparent;
    border: 1px solid #5c6f5c;
    color: #5c6f5c;
    padding: 8px 16px;
    cursor: pointer;
}

.trip-menu button:hover {
    background: #5c6f5c;
    color: white;
}

.trip p {
    margin-bottom: 20px;
}

/* 📸 NÁHLEDY */
.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

/* 🔍 LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox.show {
    display: flex;
}

/* 🔍 LIGHTBOX šipky */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}