body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header {
    background-image: url('./images/background.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


header h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    padding: 1%;

    &.scroll {
        position: fixed;
        background: #101010;
    }

    &.fixed {
        position: fixed;
        background: #101010;

    }

    z-index: 99;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 30px;
    flex-wrap: nowrap;
}

nav ul li {
    white-space: nowrap;
    font-size: 1.2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #498ee3;
}

section {
    /* padding: 50px 20px; */
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: #000000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: justify;
}

.section-fullgallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.section-fullimg {
    font-size: 1.1rem;
    color: #000000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 40px;
    /* gap: 10px; */
}

.gallery img {
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease;
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

.gallery img:hover {
    transform: scale(1.05);
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.attraction-item {
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s linear;
}

.attraction-item:hover {
    scale: 1.2;
}

.attraction-item img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.attraction-item p {
    font-size: 1.1rem;
    margin: 0;
}

.attraction-item span {
    color: #555;
    font-size: 0.9rem;
}

/* Kontajner obrázka */
.image-container {
    position: relative;
    width: 100%;
    /* Celá šírka */
    height: 100vh;
    /* Výška cez celú obrazovku (alebo zmeniť na fixnú výšku, ak preferuješ) */
    overflow: hidden;
}

/* Obrázok na pozadí */
.background-image {
    width: 100%;
    /* Obrázok sa roztiahne na šírku kontajnera */
    height: 100%;
    /* Obrázok sa roztiahne na výšku kontajnera */
    object-fit: cover;
    /* Zachová proporcie obrázka a vyplní celý kontajner */
    display: block;
}


/* Textový overlay */
.text-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    width: 300px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    /* Skrytý na začiatku */
    transform: translateY(20px);
    /* Posunutie dole */
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* Plynulý prechod */
}

.image-container.scrolled .text-overlay {
    opacity: 1;
    /* Zobrazí sa */
    transform: translateY(0);
    /* Návrat na pôvodnú pozíciu */
}

.read-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    /* Modrá farba */
    color: #fff;
    /* Biele písmo */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.read-more-button:hover {
    background-color: #0056b3;
    /* Tmavšia modrá pri hover */
}

.gallery-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0fad0d;
    /* Modrá farba */
    color: #fff;
    /* Biele písmo */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.gallery-button:hover {
    background-color: #0056b3;
    /* Tmavšia modrá pri hover */
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 80%;
    max-width: 700px;
    object-fit: contain;
    border: none;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 36px;
    font-weight: bold;
    user-select: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.map-filter-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 15px;
    /* Zaoblené rohy */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    /* Jemný tieň */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.map-filter-wrapper:hover {
    transform: scale(1.02);
    /* Jemné zväčšenie pri hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    /* Zvýraznený tieň pri hover */
}

.map-filter-wrapper iframe {
    border-radius: inherit;
    /* Zachovanie zaoblených rohov pre mapu */
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    /* Nastavenie pozície na absolútnu */
    top: 20px;
    /* Vzdialenosť od horného okraja */
    left: 20px;
    /* Vzdialenosť od ľavého okraja */
    color: rgb(0, 0, 0);
    /* Uistite sa, že je text čitateľný */
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    max-width: 300px;
    background-color: #333;
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu .close-btn {
    font-size: 24px;
    cursor: pointer;
    text-align: right;
    display: block;
}

#head-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#head-nav ul li {
    margin: 0 10px;
}

#head-nav ul li a {
    color: white;
    text-decoration: none;
}

.content-section {
    padding: 40px;
    background-color: #f8f8f8;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    width: 250px;
    margin: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.card i {
    font-size: 40px;
    color: #28a745;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 0.9rem;
    color: #666;
}

.full-equipment {
    padding: 2em;
    text-align: center;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.section-subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 2em;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    /* Medzery medzi zoznamami */
    justify-items: start;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.equipment-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-list li {
    font-size: 1em;
    margin-bottom: 1em;
    /* Väčšia medzera medzi riadkami */
    display: flex;
    align-items: center;
    color: #333;
}

.equipment-list i {
    color: #28a745;
    margin-right: 0.5em;
}

#logo_mobile {
    display: none;
}

#logo_w {
    scale: .5;
    /* position: fixed; */
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #0fad0d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#scrollToTopBtn:hover {
    background-color: #0fad0d;
}

#scrollToTopBtn::before {
    content: '↑'; /* Unicode šípka nahor */
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

/* Media query for mobile */
@media (max-width: 768px) {
    #head-nav {
        display: none;
    }

    .hamburger {
        display: block;
        scale: 2;
    }

    #logo_mobile {
        display: block;
        scale: .3;
        position: relative;
        top: -60vw;
    }

    .mobile-menu {
        display: none;
    }
}

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

    /* Adjust header content */
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #head-nav ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0;
        background-color: #f8f8f8;
        /* Light background for better visibility */
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    #head-nav ul li {
        margin: 5px 0;
    }

    #head-nav ul li a {
        font-size: 1.1rem;
        padding: 10px;
        color: #333;
        text-decoration: none;
        display: block;
        text-align: center;
        border-bottom: 1px solid #ddd;
        transition: background-color 0.3s ease;
    }

    #head-nav ul li a:hover {
        background-color: #eaeaea;
    }

    /* Adjust sections */
    .content-section {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Gallery adjustments */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .gallery-img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    /* Table adjustments */
    .price-table {
        width: 100%;
        font-size: 0.9rem;
    }

    .price-table th,
    .price-table td {
        padding: 10px;
        text-align: center;
    }

    /* Attractions grid adjustments */
    .attractions-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .attraction-item {
        text-align: center;
    }

    /* Map adjustments */
    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    /* Footer adjustments */
    footer {
        text-align: center;
        font-size: 0.9rem;
    }

    .social-links a {
        margin: 0 5px;
    }
}



h1#cennik  {
    font-size: 28px;
    margin-bottom: 20px;
}

.price-sections {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.price-sections::-webkit-scrollbar {
    display: none;
}

.price-section {
    flex: 0 0 auto;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
    background: #ffffff;
    scroll-snap-align: center;
    margin-bottom: 20px;
}

.current {
    border: 2px solid red;
    background: #ffe5e5;
}

.season {
    font-weight: bold;
    font-size: 20px;
    color: #444;
}

.price {
    font-size: 24px;
    color: #0fad0d;
    font-weight: bold;
}

.min-nights {
    font-size: 16px;
    color: #666;
}

.note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Šípky na posúvanie len na PC */
@media (min-width: 768px) {
    .arrows {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: absolute;
        top: 50%;
        left: 60px;
        right: 60px;
        transform: translateY(-50%);
    }

    .arrow {
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 50%;
        transition: background 0.3s ease;
    }

    .arrow:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .arrow-left {
        position: absolute;
        left: -50px;
    }

    .arrow-right {
        position: absolute;
        right: -50px;
    }
}

/* Skrytie šípok na mobile */
@media (max-width: 767px) {
    .arrows {
        display: none;
    }
}
