.hero { 
    height: 100dvh;
    overflow: hidden;
    margin-top: -90px;
}

.hero-content-wrapper {
    position: relative;
    z-index: 15;
    padding: 0 5%;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 5;
    pointer-events: none;
}

.hero .swiper {
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero img,
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.swiper-pagination-bullet {
    background: rgb(255, 255, 255);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
}

.hero .swiper-pagination {
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
}

.hero-content {
    position: relative;
    margin-top: 35vh;
    z-index: 15;
    text-align: center;
    color: white;
}

@media (orientation: portrait) {
    .hero-content {
        margin-top: 30vh;
    }
}

.hero-content h1 {
    font-size: clamp(30px, 5vw, 60px);
    text-align: left;
    line-height: 1.25;
}
.hero-content p {
    font-size: clamp(16px, 3vw, 24px);
    margin: 25px 0;
    text-align: left;
    line-height: 1.15;
}

.hero-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: clamp(5px, 2vw, 10px) clamp(10px, 3vw, 20px);
    font-size: clamp(12px, 3vw, 18px);
    color: #fff;
    border: 2px solid rgb(167, 94, 0);
    background: rgb(167, 94, 0);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-btn:hover {
    background: rgb(205, 116, 0);
    border: 2px solid rgb(205, 116, 0);
    transform: scale(1.05);
}

.secondary-btn {
    border: 2px solid #fff;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.secondary-btn:hover {
    background: #fff;
    border: 2px solid white;
    color: #000;
    transform: scale(1.05);
}

.hero-content .buttons {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 500px;
}

@media (orientation: portrait) {
    .hero {
        height: auto;
    }

    .hero-content {
        margin-top: 120px;
        margin-bottom: 70px;
    }
}

#uvod {
    scroll-margin-top: 130px;
}

#uvod::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10vw;    
    height: 100%;   
    background-color: #f5f5f5; 
     clip-path: polygon(
        0 0,       
        75% 0,     
        100% 50%,  
        75% 100%,  
        0 100%     
    );
    z-index: -1;
}

#uvod::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;       
    width: 10vw;    
    height: 100%;   
    background-color: #f5f5f5; 
    clip-path: polygon(
        25% 0,      
        0 50%,      
        25% 100%,   
        100% 100%,  
        100% 0      
    );
    z-index: -1;    
}

@media (max-width: 1500px)
{
    #uvod::before, #uvod::after {
        display: none;
    }
}

.img-bg.info::before {
    background-image: linear-gradient(-90deg, rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url("../img/bg.webp");
    filter: blur(5px);
}

.img-bg.camps::before {
    background-image: linear-gradient(-90deg, rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url("../img/children-sport.webp");
    filter: blur(2px);
}

.img-bg.events::before {
    background-image: linear-gradient(-90deg, rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('../img/bg2.webp');
    filter: blur(4px);
}

.img-bg > * {
    position: relative;
    z-index: 1;
}

.img-bg p.paragraph {
    color: white;
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
}

.list li {
    background: #00000015;
    backdrop-filter: blur(3px);
    font-size: 17px;
    box-shadow: 0 0 5px rgb(255, 255, 255);
    padding: 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
}

.list li:hover {
    transform: translateY(-5px);
}

section.home-map {
    padding-bottom: 0 !important;
}

/*Ubytování*/
.hover-arrow {
    position: absolute;
    right: -165px;
    top: 180px;
    perspective: 400px;
    display: flex;
    flex-direction: column;
}

.text-touch {
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .text-desktop {
        display: none;
    }
    .text-touch {
        display: block;
    }
}

@media (max-width: 1700px)
{
    .hover-arrow {
        position: static;
        align-items: end;
    }  
    .hover-arrow img {
        width: 60px !important;
    }
}

.hover-arrow p {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    text-align: center;
    position: relative;
}
.hover-arrow img {
    transform: rotate(270deg) scaleX(-1);
    width: 100px;
    user-select: none;
}
.accommodation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin: 25px 0px;
}

#accommodation .container {
    position: relative;
}

.accommodation-item {
    position: relative;
    flex: 1 1 calc(33.333% - 20px);
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.accommodation-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.accommodation-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    user-select: none;
}

.accommodation-item:hover img {
    transform: scale(1.05);
}

.description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    color: #fff;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 50px;
}

.description h3 {
    font-size: clamp(20px, 3vw, 24px);
    text-align: center;
}

.description p,
.description .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
    font-size: 18px;
}

.description p {
    margin: 15px 0px;
}

.accommodation-item:hover .description {
    height: 100%;
    background: rgba(0,0,0,0.8);
    padding: 20px;
}

.accommodation-item:hover .description p,
.accommodation-item:hover .description .btn {
    opacity: 1;
    transform: translateY(0);
    line-height: 1.5;
}

section .btn {
    display: block;
    width: fit-content;
    margin: 0px auto;
    padding: 10px 20px;
    background: #e86f00;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s all;
}

section .btn:hover {
    background-color: #d95c00;
    transform: translateY(-5px);
}

.price-btn {
    text-align: center;
    margin-top: 30px;
}

.price-btn .btn {
    padding: 12px 30px;
    background-color:#e86f00;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}
.price-btn .btn:hover {
    background-color: #d95c00;
}

@media(max-width: 992px) {
    .accommodation-item {
        flex: 0 1 calc(50% - 20px);
    }
}

@media(max-width: 600px) {
    .accommodation-item {
        flex: 0 1 100%;
    }
}

/*Brigády*/
.brigady-section {
    position: relative;
    background-color: #f9f9f9;
    padding: 80px 0;
}

.brigady-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.brigady-text {
    flex: 1 1 45%;
    z-index: 1;
}

.brigady-text .paragraph {
    margin: 20px 0 30px;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .brigady-text .paragraph {
        text-align: left;
        line-height: 1.5;
    }
}

.brigady-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brigady-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.brigady-image img:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%   { transform: rotate(3deg); }
    25%  { transform: rotate(-3deg); }
    50%  { transform: rotate(3deg); }
    75%  { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.brigady-text .paragraph img {
    display: none;
    float: right;
    max-width: 35vw;
    margin: 0px 0px 5px 10px;
}

@media (max-width: 500px) {
    .brigady-image {
        display: none;
    }
    .brigady-text .paragraph img {
        display: block;
    }
}

/* Galerie */
.gallery {
    margin-bottom: 15px;
}
.images a img {
    border-radius: 10px;
}

.images a {
    transition: 0.3s all; 
}

.images a:hover {
    transform: scale(1.05);
}

#home-map {
    width: 100%;
}