/* ============================================================
   SHARED — base, fonts, nav, footer, buttons
   Link this on every page as: <link rel="stylesheet" href="/style.css">
   ============================================================ */

/* ---- Fonts ---- */
@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;
}

/* ---- Tokens ---- */
:root {
    --primary: #2B0000;
    --secondary: #FFF4AA;
    --text-dark: #603D2B;
    --text-light: #FFFCE9;
    font-family: "Geist", sans-serif;
    font-weight: 400;
}

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

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

/* ---- Headings ---- */
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);
}

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);
}

/* ---- Buttons ---- */
.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;
}

.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;
}

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

/* ============================================================
   NAVIGÁCIA
   ============================================================ */
header {
    width: 100%;
    height: 90px;
    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;
}

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

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%;
    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;
    }
}

/* ============================================================
   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;
}

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;
}

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);
}

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;
}

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;
    }
}

/*Hero — Rezervácia priestorov*/

section.hero-rez {
    min-height: 900px;
    background: linear-gradient(0deg, rgba(255, 244, 170, 1) 0%, rgba(255, 244, 170, 0.35) 15%, rgba(43, 0, 0, 0.35) 20%, rgba(43, 0, 0, 0.5) 100%),
        url("/images/rezervacia-hero.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-rez .blur-circle {
    background: radial-gradient(circle, rgba(43, 0, 0, 1) 0%, rgba(43, 0, 0, 0.55) 85%);
    width: 2200px;
    height: 1500px;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-35%, -45%) rotateZ(35deg);
    filter: blur(150px);
    z-index: 10;
}

section.hero-rez .container {
    position: relative;
    z-index: 20;
    max-width: 1440px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 120px 0;
}

section.hero-rez .hero-rez__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 32px;
}

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

section.hero-rez .primary-btn {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

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

section.hero-rez .hero-rez__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 420px;
}

section.hero-rez .hero-rez__card {
    border: 1px solid rgba(255, 244, 170, 0.5);
    background: rgba(43, 0, 0, 0.35);
    border-radius: 4px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 150px;
}

section.hero-rez .hero-rez__card img {
    width: 48px;
    height: 48px;
}

section.hero-rez .hero-rez__card p {
    color: var(--text-light);
    line-height: 22px;
    margin-top: auto;
}

section.hero-rez .hero-rez__collage {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    aspect-ratio: 1 / 0.78;
}

section.hero-rez .hero-rez__collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 244, 170, 0.5);
    overflow: hidden;
}

section.hero-rez .hero-rez__collage .c1 {
    grid-row: 1 / 3;
    grid-column: 1;
}

section.hero-rez .hero-rez__collage .c2 {
    grid-row: 1;
    grid-column: 2;
}

section.hero-rez .hero-rez__collage .c3 {
    grid-row: 1;
    grid-column: 3;
}

section.hero-rez .hero-rez__collage .c4 {
    grid-row: 2;
    grid-column: 2 / 4;
}

@media (max-width: 950px) {
    section.hero-rez .container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 120px 0 80px;
    }

    section.hero-rez .hero-rez__cards {
        max-width: 100%;
    }

    section.hero-rez .blur-circle {
        transform: translate(-60%, -45%) rotateZ(35deg);
    }

    section.hero-rez .hero-rez__collage {
        display: flex;
        grid-template-columns: none;
        grid-template-rows: none;
        aspect-ratio: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 12px;
        margin: 0 -32px;
        padding: 0 32px;
    }

    section.hero-rez .hero-rez__collage::-webkit-scrollbar {
        display: none;
    }

    section.hero-rez .hero-rez__collage img {
        flex: 0 0 80%;
        scroll-snap-align: center;
        aspect-ratio: 16 / 9;
        max-height: 350px;
        height: auto;
    }

    section.hero-rez .hero-rez__collage .c1,
    section.hero-rez .hero-rez__collage .c2,
    section.hero-rez .hero-rez__collage .c3,
    section.hero-rez .hero-rez__collage .c4 {
        grid-row: auto;
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    section.hero-rez .hero-rez__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*Možnosti a podmienky*/

section.moznosti {
    background: var(--secondary);
    display: flex;
    justify-content: center;
    padding: 120px 0;
}

section.moznosti .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 32px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: start;
}

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

/* Ľavá strana */
section.moznosti .moznosti__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section.moznosti .moznosti__cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

section.moznosti .moznosti__card {
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-width: 0;
    flex: 1 1 0;
}

section.moznosti .card__label {
    color: var(--text-dark);
    line-height: 20px;
}

section.moznosti .card__value {
    color: var(--primary);
    font-family: "Etna", sans-serif;
    font-size: 40px;
    line-height: 40px;
    white-space: nowrap;
}

/* Zoznamy */
section.moznosti .moznosti__lists {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    position: relative;
}

section.moznosti .moznosti__lists::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1.2 / 2.2 * 100% + 4px);
    width: 1px;
    background: rgba(43, 0, 0, 0.4);
}

section.moznosti .list__head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-family: "Etna", sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}

section.moznosti .list__ico {
    width: 18px;
    height: 18px;
}

section.moznosti .moznosti__list {
    list-style: none;
}

section.moznosti .moznosti__list li {
    color: var(--text-dark);
    padding: 14px 0;
    border-bottom: 1px solid rgba(43, 0, 0, 0.2);
}

section.moznosti .moznosti__list.no-rules li {
    border-bottom: none;
}

/* Pravá strana */
section.moznosti .moznosti__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.moznosti .moznosti__right p.lead {
    color: var(--text-dark);
    line-height: 24px;
    max-width: 42ch;
}

section.moznosti .contact__label {
    color: var(--primary);
    margin-bottom: 10px;
}

section.moznosti .contact__group {
    margin-top: 8px;
}

section.moznosti .contact__pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    text-decoration: none;
}

section.moznosti .contact__pill:hover path{
    fill: var(--primary);
}


section.moznosti .contact__ico {
    width: 16px;
    height: 16px;
}

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

    section.moznosti .container {
        grid-template-columns: 1fr;
        gap: 56px;
        margin: 0 24px;
    }

    section.moznosti .moznosti__cards .moznosti__card {
        flex: 1 1 calc(50% - 8px);
    }

    section.moznosti .moznosti__lists {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    section.moznosti .moznosti__lists::before {
        display: none;
    }
}

/*Rezervačný modal*/

.rez-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(43, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rez-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.rez-modal__box {
    position: relative;
    background: var(--secondary);
    border-radius: 4px;
    padding: 56px 40px 40px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}

.rez-modal.is-open .rez-modal__box {
    transform: translateY(0) scale(1);
}

.rez-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: background 0.2s;
}

.rez-modal__close:hover {
    background: rgba(43, 0, 0, 0.1);
}

.rez-modal__close span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--primary);
}

.rez-modal__close span:nth-child(1) {
    transform: rotate(45deg);
}

.rez-modal__close span:nth-child(2) {
    transform: rotate(-45deg);
}

.rez-modal__box h2 {
    color: var(--primary);
    font-size: clamp(2rem, 1.6479rem + 1.1268vw, 2.5rem);
    line-height: clamp(2rem, 1.6479rem + 1.1268vw, 2.5rem);
}

/* riadok: meno vľavo, tlačidlo vpravo, prirodzené zalomenie */
.rez-modal__row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 24px;
}

.rez-modal__person {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rez-modal__role {
    color: var(--text-dark);
    font-size: 15px;
}

.rez-modal__name {
    color: var(--primary);
    font-size: 24px;
    line-height: 30px;
}

.rez-modal .tertiary-btn {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.rez-modal .tertiary-btn svg path {
    fill: var(--secondary);
    transition: all 0.3s;
}

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

.slideshow {
    width: 100%;
    padding: 0 32px;
}

.slideshow__track {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.78;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 244, 170, 0.5);
}

.slideshow__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.slideshow__slide.active {
    opacity: 1;
}

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

.slideshow__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;
}

.slideshow__dot:hover {
    background: rgba(255, 244, 170, 0.7);
}

.slideshow__dot.active {
    background: var(--secondary);
    width: 28px;
}

@media (max-width: 950px) {
    .slideshow__track {
        position: static;
        aspect-ratio: auto;
        border: none;
        border-radius: 0;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        gap: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .slideshow__track::-webkit-scrollbar {
        display: none;
    }

    .slideshow {
        padding: 0;
    }

    .slideshow__track> :first-child {
            margin-left: 32px;
    }

    .slideshow__track> :last-child {
        margin-right: 32px;
    }

    .slideshow__slide {
        position: static;
        opacity: 1;
        flex: 0 0 80%;
        scroll-snap-align: center;
        max-width: 80%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: 350px;
        border-radius: 4px;
        border: 1px solid rgba(255, 244, 170, 0.5);
    }

    .slideshow__dots {
        display: none;
    }
}

/* 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}
