/***** GLOBAL *****/

/* variables */

:root {
    --main-color: #000000;
    --main-text-color: #ffffff;

    --second-color: #ffffff;
    --second-text-color: #000000;

    --third-color: #f5f5f5;
    --third-text-color: #111111;

    --page-bg: #e8e0d1;
    --page-bg-dark: #3c3527;

    --gold: #8c6d1f;
    --gold-light: #c9a227;
}

/* base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--third-text-color);
    background: var(--page-bg);
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    font-family: "Forum", serif;
    font-weight: 400;
    margin: 0;
}

p {
    margin: 0;
}

.spec-font {
    font-family: "Forum", serif;
}

/* container */

.container {
    padding-left: 25px;
    padding-right: 25px;
}

/* buttons */

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.t-btn.theme {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--main-text-color);
}

.t-btn.theme:hover {
    opacity: 0.85;
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
}

.t-btn.theme2:hover {
    opacity: 0.85;
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
}

.t-btn.theme3:hover {
    opacity: 0.85;
}

/* icons */

[data-lucide] {
    width: 22px;
    height: 22px;
}

/* icon links */

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* dividers */

.divider {
    border: none;
    border-top: 1px solid var(--third-color);
    margin: 32px 0;
}


/***** HEADER *****/

/* header */

.header {
    background: var(--second-color);
    color: var(--second-text-color);
}

.header .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
}

.header .bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 16px 0;
}

/* logo */

.header .logo {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.header .logo img {
    height: 48px;
}

.header .logo {
    grid-column: 2;
    justify-self: center;
}

@media (min-width: 992px) {
    .header .logo img {
        height: 88px;
    }
}

/* toggle */

.header .toggle {
    grid-column: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font-size: 18px;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.header .toggle:hover {
    opacity: 0.6;
}

.header .toggle svg {
    width: 31px;
    height: 31px;
    stroke-width: 1;
}

/* availability link */

.header .availability-link {
    grid-column: 3;
    justify-self: end;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-weight: 300;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.header .availability-link:hover {
    opacity: 0.6;
}

/* transparent overlay header (homepage hero) */

.header.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
    color: var(--main-text-color);
}

/* page banner (used on subpages instead of a plain dark box) */

.page-banner {
    position: relative;
    height: 46vh;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--main-text-color);
    text-align: center;
}

.page-banner .banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 10%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.85) 100%);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner .heading {
    font-size: 40px;
    margin-bottom: 12px;
}

.page-banner .text {
    max-width: 720px;
    margin: 0 auto;
}

/* offcanvas */

.header-offcanvas {
    width: 100% !important;
    background: var(--main-color);
    color: var(--main-text-color);
    transform: none !important;
    opacity: 0;
    transition: opacity 0.2s linear !important;
}

.header-offcanvas.show {
    opacity: 1;
}

.offcanvas-backdrop {
    transition: opacity 0.2s linear;
}

.header-offcanvas .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-offcanvas .close-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.header-offcanvas .logo img {
    height: 48px;
}

@media (min-width: 992px) {
    .header-offcanvas .logo img {
        height: 88px;
    }
}

.header-offcanvas .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.header-offcanvas .offcanvas-body {
    padding: 0;
}

.header-offcanvas .menu-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    min-height: 100%;
}

/* links */

.header-offcanvas .menu-links {
    padding: 48px;
    display: flex;
    align-items: center;
}

.header-offcanvas .menu-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header-offcanvas .menu-links a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-offcanvas .menu-links a:hover {
    opacity: 0.6;
    transform: translateX(12px);
}

/* info */

.header-offcanvas .menu-info {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.header-offcanvas .info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
}

.header-offcanvas .info-cell {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-offcanvas .info-cell:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.header-offcanvas .info-cell .label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 8px;
}

.header-offcanvas .info-cell a,
.header-offcanvas .info-cell p {
    text-decoration: none;
    color: inherit;
    margin: 0;
}

.header-offcanvas .info-cta {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.header-offcanvas .info-cta h3 {
    font-size: 24px;
}

/* footer */

.header-offcanvas .offcanvas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

.header-offcanvas .legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-offcanvas .legal a {
    color: inherit;
}

.header-offcanvas .socials {
    display: flex;
    gap: 16px;
}

.header-offcanvas .socials a {
    color: inherit;
}

@media (max-width: 991px) {
    .header-offcanvas .menu-grid {
        grid-template-columns: 1fr;
    }

    .header-offcanvas .menu-links {
        padding: 32px 24px;
    }

    .header-offcanvas .menu-links a {
        font-size: 32px;
    }

    .header-offcanvas .info-row {
        grid-template-columns: 1fr;
    }

    .header-offcanvas .info-cell:first-child {
        border-right: none;
    }
}

/***** HOME *****/

/* hero */

.home-page .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.home-page .hero-section .hero-slider {
    position: absolute;
    inset: 0;
}

.home-page .hero-section .slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 2s ease-in-out;
}

.home-page .hero-section .slide-image.active {
    opacity: 1;
    animation: hero-kenburns 7s ease-out forwards;
}

@keyframes hero-kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.home-page .hero-section .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(60, 53, 39, 0.45) 10%, rgba(60, 53, 39, 0.65) 60%, rgba(60, 53, 39, 0.95) 100%);
}

/* hero content */

.home-page .hero-section .hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--main-text-color);
    padding: 0 24px;
}

.home-page .hero-section .eyebrow-top {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.85;
}

.home-page .hero-section .hero-content .heading {
    font-family: "Forum", serif;
    font-weight: 400;
    font-size: 88px;
    line-height: 1.05;
}

.home-page .hero-section .eyebrow-left,
.home-page .hero-section .eyebrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 140px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
}

.home-page .hero-section .eyebrow-left {
    left: 6%;
    text-align: right;
}

.home-page .hero-section .eyebrow-right {
    right: 6%;
    text-align: left;
}

.home-page .hero-section .subtitle {
    margin-top: 28px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .home-page .hero-section .eyebrow-left,
    .home-page .hero-section .eyebrow-right {
        display: none;
    }

    .home-page .hero-section .hero-content .heading {
        font-size: 48px;
    }
}

.home-page .hero-section .scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 48px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--main-text-color);
    animation: scroll-down-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-down-bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

/* intro */

.home-page .intro-section {
    padding: 80px 0;
    text-align: center;
}

.home-page .intro-section .heading {
    font-size: 32px;
    margin-bottom: 16px;
}

.home-page .intro-section .lead {
    font-size: 18px;
    font-weight: 600;
    max-width: 720px;
    margin: 0 auto;
}

/* about */

.home-page .about-section {
    padding-bottom: 80px;
}

.home-page .about-section .text {
    margin-bottom: 24px;
}

/* story */

.home-page .story-section {
    padding-bottom: 80px;
}

.home-page .story-section .story-block {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.home-page .story-section .story-block .content {
    padding-right: 60px;
    position: relative;
    z-index: 2;
}

.home-page .story-section .story-block .heading {
    font-size: 64px;
    color: var(--gold);
    margin-bottom: 24px;
}

.home-page .story-section .story-block .text {
    font-size: 19px;
    line-height: 1.7;
}

.home-page .story-section .story-block .image-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 47%;
    height: 110%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home-page .story-section .story-block:nth-child(1) .image-panel {
    z-index: 1;
}

.home-page .story-section .story-block:nth-child(2) .image-panel {
    z-index: 2;
}

.home-page .story-section .story-block:nth-child(3) .image-panel {
    z-index: 3;
}

.home-page .story-section .story-block:last-child .image-panel {
    height: 100%;
}

/* reversed (image on the left) */

.home-page .story-section .story-block.reverse .image-panel {
    left: 0;
    right: auto;
}

.home-page .story-section .story-block.reverse .content {
    margin-left: auto;
}

@media (max-width: 991px) {
    .home-page .story-section .story-block {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding-bottom: 40px;
    }

    .home-page .story-section .story-block .content {
        width: 100%;
        padding-right: 0;
        padding-bottom: 24px;
    }

    .home-page .story-section .story-block .image-panel {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 300px;
    }
}

/* opinions */

.home-page .opinions-section {
    padding: 80px 0;
}

.home-page .opinions-section .heading {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.home-page .opinions-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.home-page .opinions-section .opinion {
    background: var(--second-color);
    color: var(--second-text-color);
    padding: 24px;
    border-radius: 6px;
    margin: 0;
}

.home-page .opinions-section .opinion cite {
    display: block;
    margin-top: 16px;
    font-style: normal;
    font-weight: 600;
}

/* cta */

.home-page .cta-section {
    padding: 80px 0;
    text-align: center;
}

.home-page .cta-section .heading {
    font-size: 28px;
    margin-bottom: 12px;
}

.home-page .cta-section .text {
    margin-bottom: 24px;
}


/***** MENU *****/

/* menu */

.menu-page .menu-section {
    padding: 80px 0;
}

.menu-page .menu-section .title {
    font-size: 18px;
    margin-bottom: 16px;
}

.menu-page .menu-section .subtitle {
    font-size: 15px;
    color: var(--main-color);
    margin-bottom: 8px;
}

.menu-page .menu-section .list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.menu-page .menu-section .list li {
    padding: 4px 0;
    border-bottom: 1px solid var(--third-color);
}

.menu-page .menu-section .list.list-bold li {
    font-weight: 500;
}


/***** SLUZBY *****/

/* services */

.sluzby-page .services-section {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.sluzby-page .services-section .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sluzby-page .services-section .image img {
    width: 100%;
    border-radius: 6px;
}

.sluzby-page .services-section .heading {
    font-size: 24px;
    margin-bottom: 12px;
}


/***** UBYTOVANIE *****/


/* capacity */

.ubytovanie-page .capacity-section {
    padding: 60px 0;
    text-align: center;
}

.ubytovanie-page .capacity-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.ubytovanie-page .capacity-section .item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--third-color);
    color: var(--third-text-color);
    border-radius: 6px;
    padding: 24px;
}

.ubytovanie-page .capacity-section .count {
    font-size: 32px;
    font-weight: 700;
}

.ubytovanie-page .capacity-section .text {
    max-width: 560px;
    margin: 0 auto;
}

/* aerial view */

.ubytovanie-page .aerial-section {
    padding: 40px 0;
}

.ubytovanie-page .aerial-section .map {
    position: relative;
}

.ubytovanie-page .aerial-section .map img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.ubytovanie-page .aerial-section .marker {
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--second-color);
    border: none;
    transform: translate(-50%, -50%);
    padding: 0;
    cursor: pointer;
    transition: 0.3s ease;
    animation: marker-pulse 1.8s ease-out infinite;
}

.ubytovanie-page .aerial-section .marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

@keyframes marker-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }
}

/* cottage modal */

.cottage-modal .params {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cottage-modal .params li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cottage-modal .params li span {
    flex: 1;
}

.cottage-modal .params .status.yes {
    color: #1a7f37;
}

.cottage-modal .params .status.no {
    color: #c92a2a;
}

/* gallery */

.ubytovanie-page .gallery-section {
    padding: 40px 0;
}

.ubytovanie-page .gallery-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.ubytovanie-page .gallery-section .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}


/***** GALERIA *****/

/* gallery */

.galeria-page .gallery-section {
    padding: 40px 0;
}

.galeria-page .gallery-section .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.galeria-page .gallery-section .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
}


/***** KONTAKT *****/

/* contacts */

.kontakt-page .contacts-section {
    padding: 80px 0;
}

.kontakt-page .contacts-section .title {
    font-size: 20px;
    margin-bottom: 24px;
}

.kontakt-page .contacts-section .person {
    margin-bottom: 24px;
}

.kontakt-page .contacts-section .person .name {
    font-size: 18px;
    margin-bottom: 4px;
}

.kontakt-page .contacts-section .email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

/* map */

.kontakt-page .map-section {
    padding-bottom: 60px;
}

.kontakt-page .map-section .title {
    text-align: center;
    margin-bottom: 24px;
}

.kontakt-page .map-section #map-canvas {
    height: 400px;
    background: var(--third-color);
}


/***** FOOTER *****/

/* main */

.footer .main {
    background: var(--third-color);
    color: var(--third-text-color);
    padding: 60px 0;
}

.footer .logo {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.footer .logo img {
    height: 48px;
}

/* links */

.footer .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer .links a {
    text-decoration: none;
    color: inherit;
}

/* contact */

.footer .contact p {
    margin-bottom: 8px;
}

/* bottom */

.footer .bottom {
    background: var(--main-color);
    color: var(--main-text-color);
    padding: 16px 0;
    font-size: 14px;
}

.footer .bottom .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.footer .bottom p {
    margin: 0;
}

.footer .bottom a {
    color: inherit;
}
