/*Základné nastavenia*/
@font-face {
    font-family: 'Etna';
    src: url('/fonts/Etna-Light.woff2') format('woff2'),
         url('/fonts/Etna-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-Regular.woff2') format('woff2'),
         url('/fonts/Geist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist-SemiBold.woff2') format('woff2'),
         url('/fonts/Geist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}



body {
    background-color: var(--primary);
    overflow-x: hidden;
}

:root {
    --primary: #2B0000;
    --secondary: #FFF4AA;
    --text-dark: #603D2B;
    --text-light: #FFFCE9;
}

:root {
    font-family: "Geist", sans-serif;
    font-weight: 400;
}

h1 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2.5rem, 1.9718rem + 1.6901vw, 4rem);
    line-height: clamp(2.5rem, 1.9718rem + 1.6901vw, 4rem);
}

h2 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
}

h2 {
    font-family: "Etna", sans-serif;
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 3rem);
}


h3 {
    font-family: "Etna", sans-serif;
    font-size: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
    line-height: clamp(1.5rem, 1.2359rem + 0.8451vw, 2.25rem);
}

* {
    margin: 0;
    padding: 0;
    font-family: "Geist", sans-serif;
    font-weight: 400;
    scrollbar-width: none;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    height: fit-content;
    width: fit-content;
}

.primary-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    background: var(--primary);
    color: var(--secondary);
}

.secondary-btn {
    background: none;
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.secondary-btn:hover {
    background: var(--primary);
}

.tertiary-btn {
    background: var(--primary);
    color: var(--secondary);
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tertiary-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.tertiary-btn path {
    fill: var(--secondary);
}

.tertiary-btn:hover path{
    fill: var(--primary);
}

/*Navigácia*/
header {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(0deg,rgba(43, 0, 0, 0) 0%, rgba(43, 0, 0, 0.44) 25%, rgba(43, 0, 0, 1) 100%);
    position: fixed;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
}


.nav_container_desktop {
    max-width: 1440px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 32px;
    overflow-y: hidden;
    height: 90px;
}

nav ul.desktop{
    list-style: none;
    text-decoration: none;
    display: flex;
    gap: 24px;
}

nav ul.desktop li a{
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
}

nav ul.desktop li a:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul.desktop li.active a{
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

nav ul.desktop a{
    text-decoration: none;
}

.logo_container img{
    height: 60px;
}

.nav_hamburger {
    height: 40px;
    width: 40px;
    display: none;
    align-items: center;
    justify-content: space-around;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
    flex-direction: column;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    gap: 4px;
}

.nav_hamburger__line {
    height: 2px;
    width: 100%;
    background-color: var(--secondary);
}

.nav_hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


nav div.nav_container_mobile {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--secondary);
    height: 100vh;
    width: 100%;            /* use 100% not 100vw to avoid scrollbar overshoot */
    flex-direction: column;
    visibility: hidden;
    right: -100%;  
    transition: right 0.3s ease, visibility 0.3s;
    overflow-y: auto;
}

nav ul.mobile {
    list-style: none;
    text-decoration: none;
}

nav ul.mobile li{
    border-bottom: solid 1px rgba(43, 0, 0, 0.25);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    padding: 12px 0;
}

nav ul.mobile li.active{
    background-color: var(--primary);
}

nav ul.mobile li.active a{
    color: var(--secondary);
}

nav ul.mobile a{
    color: var(--primary);
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 32px;
    transition: all 0.3s;
    font-size: 28px;
}

nav ul.mobile li:hover{
    background-color: var(--primary);
}

nav ul.mobile li:hover a{
    color: var(--secondary);
}

.nav_mobile_exit {
    min-height: 90px;
    display: flex;
    align-items: center;
    margin: 0 32px;
    justify-content: space-between;
}

.nav_exit_btn {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
}

.nav_exit_btn:hover {
    background-color: rgba(43, 0, 0, 0.1);
}

.nav_exit_btn__line {
    height: 2px;
    width: 32px;
    background-color: var(--primary);
    position: absolute;
}

.nav_exit_btn__line:nth-child(1) {
    transform: rotateZ(45deg);
}

.nav_exit_btn__line:nth-child(2) {
    transform: rotateZ(-45deg);
}

@media (max-width: 950px) {
    nav ul.desktop {
        display: none;
    }

    .nav_hamburger {
        display: flex;
    }

    nav div.nav_container_mobile.active {
        right: 0;
        visibility: visible;
    }

}

/*Web content*/

/*Hero sekcia*/
section.hero {
    height: 980px;
    background: linear-gradient(0deg,rgba(43, 0, 0, 1) 0%, rgba(43, 0, 0, 0) 20%), url(/images/hero-image.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;   
    position: relative; 
}

section.hero p {
    color: var(--text-light);
    max-width: 50ch;
}

section.hero h1 {
    color: var(--secondary);
}

section.hero .container {
    position: relative;
    z-index: 20;
    max-width: 1440px;
    width: 100%;
    margin: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.review_highlight {
    margin-bottom: -24px;
    display: flex;
    gap: 8px;
}

.review_highlight p {
    font-size: 14px;
}

.text-highlight {
    font-weight: 600;
}

.cta-container {
    display: flex;
    gap: 16px;
}

.blur-circle {
    background: radial-gradient(circle,rgba(43, 0, 0, 1) 0%, rgba(43, 0, 0, 0.65) 85%);
    width: 2200px;
    height: 1500px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-30%, -50%) rotateZ(35deg);
    filter: blur(150px);
    z-index: 10;
}

@media (max-width: 950px) {
    .container {
        gap: 32px;
    }

    .review_highlight {
        margin-bottom: -8px;
        display: flex;
        gap: 8px;
    }

    section.hero {
        height: 700px;
    }

    .blur-circle {
        background: radial-gradient(circle,rgba(43, 0, 0, 1) 0%, rgba(43, 0, 0, 0.35) 85%);
        transform: translate(-70%, -50%) rotateZ(35deg);
    }
}

/* Jedlá sekcia*/

section.jedlo {
    height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
}

section.jedlo .container {
    width: 100%;
    max-width: 1440px;
    padding: 0 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.jedlo h2 {
    color: var(--secondary);
}

section.jedlo .text-content p{
    color: var(--text-light);
    max-width: 50ch;
}

section.jedlo .text-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

section.jedlo .text-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.carousel-container {
    overflow: auto;
    width: 100%;
    display: flex;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-reel {
    display: flex;
    gap: 24px;
    align-items: center;
    min-height: 480px;
    animation: spin 12s infinite linear;
    padding-right: 24px;
}

.carousel-container:hover .carousel-reel{
    animation-play-state: paused;
}

.carousel__card {
    max-width: 280px;
    width: 280px;
    height: 400px;
    background: var(--secondary);
    transition: all 0.3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.carousel__card img {
    object-fit: cover;
}

.carousel__card:hover {
    height: 480px;
}

.carousel__content {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background-color: rgba(255, 244, 170, 0.8);
    opacity: 0;
    transition: all 0.3s;
}

.carousel__card:hover .carousel__content{
    opacity: 1;
}

.carousel__content__header{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carousel__content__header h3{
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    font-family: "Geist";
    line-height: 20px;
}

.carousel__content__header p{
    color: var(--primary);
}

@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}


@media (max-width: 950px) {
    .carousel__card {
        max-width: 225px;
        width: 225px;
        height: 250px;
    }

    .carousel__card:hover {
        height: 350px;
    }

    .carousel-reel {
        min-height: 350px;
    }

    .carousel__content {
        padding: 24px;
    }
}



/*Ubytovanie sekcia*/

section.ubytovanie {
    background: linear-gradient(180deg, var(--primary) 0px, var(--secondary) 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 240px 0 0;
    position: relative;
    gap: 96px;
}

/* Nadpis */
section.ubytovanie .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    max-width: 700px;
    padding: 0 32px;
}

section.ubytovanie .text-container h2 {
    color: var(--primary);
}

section.ubytovanie .text-container p {
    color: var(--text-dark);
    max-width: 50ch;
}

section.ubytovanie .text-container button {
    width: max-content;
}

/* Stage — carousel + vrstvený picker */
section.ubytovanie .ubytovanie__stage {
    position: relative;
    width: 100%;
}

/* Carousel fotiek */
section.ubytovanie .ubytovanie__viewport {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

section.ubytovanie .ubytovanie__viewport::-webkit-scrollbar {
    display: none;
}

section.ubytovanie .ubytovanie__track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    padding: 48px max(32px, calc(50% - 527px));
}

section.ubytovanie .ubytovanie__item {
    flex: 0 0 auto;
    width: 1054px;
    max-width: 90vw;
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(43, 0, 0, 0.25);
    box-shadow: 0 8px 12px rgba(43, 0, 0, 0.18);
    opacity: 0.4;
    transform: scale(0.94);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.ubytovanie .ubytovanie__item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 12px 28px -6px rgba(43, 0, 0, 0.28);
}

section.ubytovanie .ubytovanie__item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Vrstvený picker — dole vpravo v 1440 kontajneri */
section.ubytovanie .ubytovanie__picker-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    padding: 0 32px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 5;
}
section.ubytovanie .room-picker {
    pointer-events: auto;
    background-color: var(--primary);
    padding: 32px;
    border-radius: 12px;
    gap: 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 30px 60px -18px rgba(43, 0, 0, 0.5);
}

section.ubytovanie h3 {
    color: var(--secondary);
}

section.ubytovanie p {
    color: var(--primary);
}

section.ubytovanie .room__name {
    display: flex;
    gap: 8px;
    align-items: center;
    transform: translateY(50px);
}

section.ubytovanie .room__name.active {
    animation: izbaNumber 0.5s ease forwards;
}

section.ubytovanie .room__name.exit {
    animation: izbaNumberExit 0.5s ease forwards;
}

section.ubytovanie .room__number {
    background-color: var(--secondary);
    width: max-content;
    padding: 4px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.ubytovanie .room__header {
    display: flex;
    justify-items: center;
    justify-content: space-between;
    overflow: hidden;
}

section.ubytovanie .room__header .primary-btn {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.ubytovanie .room__header .primary-btn svg path {
    fill: var(--primary);
    transition: all 0.3s;
}

section.ubytovanie .room__header .primary-btn:hover svg path {
    fill: var(--secondary);
}

section.ubytovanie .room__header .primary-btn:nth-child(1) svg {
    transform: rotateZ(180deg);
}

section.ubytovanie .room__nav {
    display: flex;
    gap: 8px;
}

section.ubytovanie .room-picker .divider {
    height: 1px;
    width: 100%;
    background-color: var(--secondary);
}

section.ubytovanie button.reservation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

section.ubytovanie button.reservation svg path {
    fill: var(--primary);
    transition: all 0.3s;
}

section.ubytovanie button.reservation:hover svg path {
    fill: var(--secondary);
}

section.ubytovanie .room__spec {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

section.ubytovanie .room__spec p {
    color: var(--text-light);
    white-space: nowrap;
}

section.ubytovanie .room__spec__cards {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

section.ubytovanie .room__spec__cards .card {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: max-content;
    padding: 8px 12px;
    border-radius: 4px;
    border: solid 1px rgba(255, 244, 170, 0.5);
}

section.ubytovanie .room__photos p {
    color: var(--text-light);
}

section.ubytovanie .room__photos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

section.ubytovanie .room__photos__cards {
    display: flex;
    gap: 8px;
}

section.ubytovanie .room__photo__card {
    border-radius: 100px;
    background-color: rgba(255, 244, 170, 0.5);
    height: 8px;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

section.ubytovanie .room__photo__card:hover {
    background-color: rgba(255, 244, 170, 1);
}

section.ubytovanie .room__photo__card.active {
    border-radius: 100px;
    height: 8px;
    flex: 2;
}

section.ubytovanie .room__photo__card.active .room__photo__load {
    animation: load 3s ease forwards;
}

section.ubytovanie .room__photo__load {
    height: 100%;
    background-color: var(--secondary);
    width: 0%;
}

@keyframes load {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes izbaNumber {
    0% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes izbaNumberExit {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(50px);
    }
}

@media (max-width: 950px) {
    section.ubytovanie {
        padding: 160px 0 80px;
        gap: 48px;
        background: linear-gradient(180deg, var(--primary) 0px, var(--secondary) 140px);
    }

    section.ubytovanie .ubytovanie__stage {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    section.ubytovanie .ubytovanie__track {
        gap: 24px;
        padding: 36px calc(50% - 43vw);
    }

    section.ubytovanie .ubytovanie__item {
        width: 86vw;
        max-width: 86vw;
    }

    section.ubytovanie .ubytovanie__picker-wrap {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    section.ubytovanie .ubytovanie__picker-wrap .room-picker {
        pointer-events: auto;
    }

    section.ubytovanie .room-picker {
        max-width: 100%;
    }

    section.ubytovanie .room__spec__cards {
        flex-wrap: nowrap;
        overflow: auto;
        scroll-snap-type: x mandatory;
    }

    section.ubytovanie .room__spec__cards .card {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/*Recenzie*/

section.reviews {
    background-color: var(--secondary);
    height: 200vh;
    display: flex;
    justify-content: center;
}

section.reviews .reviews__pin-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: 1440px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

section.reviews .reviews__container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

section.reviews .reviews__pin-wrapper-container {
    display: flex;
    width: 100%;
    margin: 0 32px;
    gap: 48px;
    justify-content: space-between;
}

section.reviews h2 {
    color: var(--primary);
    font-size: clamp(4.5rem, 0.0619rem + 4.9485vw, 6rem);
    line-height: clamp(4.5rem, 0.0619rem + 4.9485vw, 6rem);
}

section.reviews .reviews__heading--left {
    display: flex;
    align-items: flex-start;
}

section.reviews .reviews__heading--left h2{
    text-align: right;
}


section.reviews .reviews__heading--right {
    display: flex;
    align-items: flex-end;
}

section.reviews .reviews__background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%);
    width: 50%;
}

section.reviews .review__card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    min-height: 400px;
    border-radius: 4px;
    border: 1px solid var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    z-index: 10;
}
section.reviews .review__card__content p {
    color: var(--text-light);
    line-height: 24px;
}

section.reviews .review__card__name{
    color: var(--secondary);
    line-height: 24px;
    font-size: 20px;
}

section.reviews .review__card__numbers {
    display: flex;
    gap: 8px;
    align-items: center;
}

section.reviews .review__card__numbers p{
    color: var(--text-light);
}

section.reviews .review__card__stars{
    display: flex;
    gap: 4px;
}

section.reviews .review__card__stars img{
    width: 12px;
}

section.reviews .review__card__divider {
    width: 4px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 100%;
}

section.reviews .review__card[data-card="1"] {
    position: relative;
}

@media (max-width: 950px) {
    section.reviews .reviews__pin-wrapper-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    section.reviews .reviews__background {
        display: none;
    }
}

@media (max-width: 600px) {
    section.reviews .reviews__pin-wrapper-container {
        gap: 24px;
        margin: 0 20px;
    }

    section.reviews h2 {
        font-size: 3rem;
        line-height: 3rem;
    }

    section.reviews .reviews__container {
        max-width: 100%;
    }

    section.reviews .review__card {
        min-height: 350px;
        padding: 20px;
        gap: 16px;
    }

    section.reviews .review__card__content p {
        font-size: 14px;
        line-height: 20px;
    }

}

/*Rezervácia priestorov*/


section.priestory {
    background: linear-gradient(0deg, rgba(255, 244, 170, 1) 0%, rgba(43, 0, 0, 1) 10%, rgba(43, 0, 0, 1) 50%, rgba(43, 0, 0, 1) 90%, rgba(255, 244, 170, 1) 100%);
    display: flex;
    justify-content: center;
    padding: 250px 0;
}

section.priestory .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* Horný riadok */
section.priestory .priestory__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: start;
}

section.priestory .priestory__intro h2 {
    color: var(--secondary);
}

section.priestory .priestory__intro p {
    color: var(--text-light);
    max-width: 42ch;
    line-height: 24px;
    margin-top: 24px;
}

section.priestory .priestory__cta {
    justify-self: end;
}

/* Dolný riadok — slider a akordeón zarovnané na stred */
section.priestory .priestory__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
}

section.priestory .priestory__slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--secondary);
}

section.priestory .priestory__slide {
    position: absolute;
    inset: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

section.priestory .priestory__slide.active {
    opacity: 1;
}

section.priestory .priestory__dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

section.priestory .priestory__dot {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background: rgba(255, 244, 170, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

section.priestory .priestory__dot:hover {
    background: rgba(255, 244, 170, 0.7);
}

section.priestory .priestory__dot.active {
    background: var(--secondary);
    width: 28px;
}

section.priestory .primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-btn svg path {
    fill: var(--primary);
    transition: all 0.3s;
}

.primary-btn:hover svg path {
    fill: var(--secondary);
}

section.priestory .accordion__item {
    border-bottom: 1px solid rgba(255, 244, 170, 0.4);
    padding: 24px 0;
}

section.priestory .accordion__item:first-child {
    padding-top: 0;
}

section.priestory .accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 16px;
}

section.priestory .accordion__title {
    color: var(--secondary);
}

section.priestory .accordion__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--secondary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

section.priestory .accordion__icon svg {
    transition: transform 0.4s ease;
}

section.priestory .accordion__icon svg path {
    stroke: var(--secondary);
}

section.priestory .accordion__item.open .accordion__icon svg {
    transform: rotate(180deg);
}

section.priestory .accordion__header:hover .accordion__icon {
    background: rgba(255, 244, 170, 0.1);
}

section.priestory .accordion__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

section.priestory .accordion__item.open .accordion__body {
    grid-template-rows: 1fr;
}

section.priestory .accordion__body-inner {
    overflow: hidden;
}

section.priestory .accordion__body p {
    color: var(--text-light);
    line-height: 24px;
    max-width: 50ch;
    padding-top: 16px;
}

@media (max-width: 950px) {
    section.priestory {
        padding: 250px 0;
    }

    section.priestory .container {
        gap: 48px;
    }

    section.priestory .priestory__top,
    section.priestory .priestory__bottom {
        grid-template-columns: 1fr;
        row-gap: 40px;
        margin: 0;
    }

    section.priestory .priestory__cta {
        justify-self: start;
    }

    section.priestory .container {
        margin: 0 24px;
    }
}

/*História*/

section.historia {
    background: var(--secondary);
    padding: 80px 0 64px;
    overflow: hidden;
}

section.historia .historia__head {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

section.historia .historia__head h2 {
    color: var(--primary);
}

section.historia .historia__head p {
    color: var(--text-dark);
    max-width: 44ch;
    margin: 16px auto 0;
    line-height: 24px;
}

section.historia .historia__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

section.historia .historia__viewport::-webkit-scrollbar {
    display: none;
}

section.historia .historia__track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    padding: 80px max(32px, calc((100vw - 1100px) / 2));
}

section.historia .historia__item {
    position: relative;
    flex: 0 0 auto;
    width: 560px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

section.historia .historia__item:nth-child(odd) {
    transform: rotate(-2.5deg);
}

section.historia .historia__item:nth-child(even) {
    transform: rotate(2deg);
}

section.historia .historia__caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

section.historia .historia__caption-top {
    margin-bottom: 24px;
}

section.historia .historia__caption-bottom {
    margin-top: 24px;
}

section.historia .historia__item:nth-child(odd) .historia__caption-top {
    align-items: flex-start;
    text-align: left;
}

section.historia .historia__item:nth-child(odd) .historia__caption-bottom {
    align-items: flex-start;
    text-align: left;
}

section.historia .historia__item:nth-child(even) .historia__caption-top {
    align-items: flex-end;
    text-align: left;
}

section.historia .historia__item:nth-child(even) .historia__caption-bottom {
    align-items: flex-start;
    text-align: left;
}

section.historia .historia__frame {
    position: relative;
    background: var(--text-light);
    padding: 14px;
    border: 1px solid rgba(43, 0, 0, 0.35);
    box-shadow: 0 18px 40px rgba(43, 0, 0, 0.25);
    border-radius: 2px;
}

section.historia .historia__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: sepia(0.45) contrast(0.95);
}

section.historia .historia__badge {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 100%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 6px 16px rgba(43, 0, 0, 0.35);
}

section.historia .historia__item:nth-child(odd) .historia__badge {
    top: -18px;
    right: -10px;
}

section.historia .historia__item:nth-child(even) .historia__badge {
    bottom: -18px;
    right: 30px;
}

section.historia .historia__quote {
    color: var(--primary);
    font-size: 26px;
    line-height: 32px;
    font-style: italic;
}

section.historia .historia__desc {
    color: var(--text-dark);
    line-height: 24px;
    max-width: 38ch;
}

section.historia .historia__connector {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 80px;
    height: 40px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

section.historia .historia__item:last-child .historia__connector {
    display: none;
}

section.historia .historia__connector path {
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-dasharray: 2 10;
    stroke-linecap: round;
    fill: none;
}

section.historia .historia__nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

section.historia .historia__nav .primary-btn {
    padding: 14px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

section.historia .historia__nav .primary-btn svg path {
    fill: var(--primary);
    transition: all 0.3s;
}

section.historia .historia__nav .primary-btn:hover {
    background: var(--primary);
}

section.historia .historia__nav .primary-btn:hover svg path {
    fill: var(--secondary);
}

section.historia .historia__nav .prev svg {
    transform: rotate(180deg);
}

@media (max-width: 950px) {
    section.historia .historia__track {
        gap: 0;
        padding: 60px 0;
    }

    section.historia .historia__item {
        width: 100vw;
        padding: 0 32px;
    }

    section.historia .historia__connector {
        display: none;
    }

    section.historia .historia__item:nth-child(odd),
    section.historia .historia__item:nth-child(even) {
        transform: rotate(0deg);
    }

    section.historia .historia__item:nth-child(even) .historia__caption-top {
        align-items: flex-start;
    }

    section.historia .historia__badge {
        top: -18px;
        right: 20px;
        bottom: auto;
        left: auto;
    }
}

/*Footer*/

footer.site-footer {
    background: var(--primary);
    display: flex;
    justify-content: center;
    padding: 80px 0 0;
}

footer.site-footer .footer__container {
    width: 100%;
    max-width: 1440px;
    margin: 0 32px;
}

footer.site-footer .footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 64px;
}

footer.site-footer .footer__logo img {
    height: 60px;
}

footer.site-footer .footer__col-title {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Navigácia — rovnaké efekty ako desktop nav */
footer.site-footer .footer__nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: -12px;
}

footer.site-footer .footer__nav li a {
    color: var(--secondary);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0);
    text-decoration: none;
    display: inline-block;
    width: max-content;
}

footer.site-footer .footer__nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

footer.site-footer .footer__nav li.active a {
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Otváracie hodiny */
footer.site-footer .footer__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    max-width: 240px;
}

footer.site-footer .footer__hours-row span:first-child {
    color: var(--text-light);
}

footer.site-footer .footer__hours-row span:last-child {
    color: var(--secondary);
}

/* Mapa + kontakt */
footer.site-footer .footer__map {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 170, 0.3);
}

footer.site-footer .footer__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.3);
}

footer.site-footer .footer__address {
    color: var(--text-light);
    line-height: 24px;
    margin-top: 16px;
}

footer.site-footer .footer__address a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

footer.site-footer .footer__address a:hover {
    text-decoration: underline;
}

/* Spodná lišta */
footer.site-footer .footer__bottom {
    border-top: 1px solid rgba(255, 244, 170, 0.25);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

footer.site-footer .footer__bottom p {
    color: rgba(255, 252, 233, 0.6);
    font-size: 14px;
}

@media (max-width: 950px) {
    footer.site-footer {
        padding-top: 56px;
    }

    footer.site-footer .footer__cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer.site-footer .footer__logo img {
        height: 48px;
    }

    footer.site-footer .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Alert */

.alert_container {
    display: flex;
    padding: 4px 32px;
    background-color: var(--secondary);
    max-width: 1440px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.alert_wrapper {
    width: 100%;
    background-color: var(--secondary);
    display: none;
    justify-content: center;
}

.alert_wrapper.active {
    display: flex;
}

.alert_text {
    display: flex;
    gap: 8px;
}

.alert_text img {
    width: 16px;
}

.alert_exit_btn {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    padding: 8px 8px;
    border-radius: 12px;
}

.alert_exit_btn:hover {
    background-color: rgba(43, 0, 0, 0.1);
}


.alert_exit_line {
    height: 2px;
    width: 24px;
    background-color: var(--primary);
    position: absolute;
}

.alert_exit_line:nth-child(1) {
    transform: rotateZ(45deg);
}

.alert_exit_line:nth-child(2) {
    transform: rotateZ(-45deg);
}

/* odkaz na zásady v pätičke */
.footer__bottom a { color: var(--text-light, #FFFCE9); text-decoration: underline; }
.footer__bottom a:hover { opacity: .8; }

/* logo ako odkaz na domov */
.logo-link{display:inline-flex;align-items:center;line-height:0}
