* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: auto!important
}

:root {
    --header-h: 120px;
    --footer-h: 150px
}

.page-header {
    height: var(--header-h)
}

.page-footer {
    height: var(--footer-h)
}

body {
    font-family: Arial,sans-serif;
    background-color: #fdfdfb;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

.logo-container img.logo {
    max-height: 300px;
    max-width: 300px;
    height: auto;
    width: auto;
    display: block;

}

.footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    max-height: none;
    overflow: visible
}

.footer-content img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: none;
    object-fit: contain;
    margin-top: -15px
}

.cta-button,.page-footer,.page-header {
    font-size: 20px;
    font-weight: 700;
    background-size: cover;
    background-position: center
}

.page-header {
    position: relative;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    background-color: #000000;
    background-image: url(images/background_black.webp);
    background-repeat: no-repeat;
    color: #333;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000
}

.cta-button,.page-footer {
    background-image: url(images/background_gold.webp)
}

.cta-button {
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    border: 0;
    text-align: center;
    color: #000;
    transition: box-shadow .3s ease;
    position: static;
    margin-left: auto;
    margin-right: 0;
    margin-top: 16px;
    display: block;
}

.cta-button:hover {
    box-shadow: inset 0 0 0 3px #000
}

.page-footer {
    bottom: 0;
    height: 150px;
    justify-content: center;
    position: relative;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    background-color: #c9a75e;
    background-repeat: no-repeat;
    color: #333;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000
}

.page-header {
    top: 0;
    height: 120px;
    justify-content: flex-start
}

.main-content {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}

.main-content {
    flex: 1;
    flex-direction: column;
    background-color: #fff;
    min-height: calc(100vh - var(--header-h) - var(--footer-h))
}

body,html {
    width: 100%;
    margin: 0;
    padding: 0
}

#thumbnails,.slideshow-container {
    width: 900px;
    max-width: 95vw;
    position: relative
}

.slideshow-container {
    max-height: 95vh;
    height: 400px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: 20px auto 0
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover!important
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .8s ease
}

.slide {
    min-width: 100%;
    height: 100%
}

.slide img,.slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    background-color: #000
}

.next,.prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #fff;
    padding: 12px;
    cursor: pointer;
    background-color: rgba(0,0,0,.9);
    border: 0;
    z-index: 10;
    user-select: none;
    border-radius: 5px
}

.prev {
    left: 10px
}

.next {
    right: 10px
}

#thumbnails {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 10px 20px;
    background-color: #111;
    border-radius: 0 0 10px 10px;
    border: 0;
    box-sizing: border-box;
    margin: 0 auto;
    bottom: 0
}

#thumbnails img,#thumbnails video {
    height: 80px;
    cursor: pointer;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    transition: transform .2s ease,outline .2s ease
}

/*noinspection CssUnusedSymbol*/
#thumbnails img.selected,
#thumbnails video.selected {
    outline: 3px solid #f5c518;
    transform: scale(1.1);
    border-radius: 6px;
}

#thumbnails img:hover,#thumbnails video:hover {
    transform: scale(1.05)
}

.loupe img {
    position: absolute;
    right: 0
}

body.modal-open #myModal {
    pointer-events: auto;
    user-select: auto
}

.modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.9)
}

.modal-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 90vw;
    max-height: 80vh
}

.image-scroll-area {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab
}

.image-scroll-area:active {
    cursor: grabbing
}

#modalImg,.modal-content {
    display: block;
    max-height: 80vh
}

.modal-content {
    transform-origin: top left;
    transition: transform .2s;
    position: relative;
    max-width: 90%;
    margin: auto
}

#modalImg {
    max-width: 90vw;
    margin: 0 auto;
    object-fit: contain
}

.modal-arrow,.zoom-controls button {
    color: #fff;
    border-radius: 5px;
    cursor: pointer
}

.close,.modal-arrow {
    position: absolute;
    font-size: 40px
}

.modal-arrow {
    top: 50%;
    padding: 10px;
    user-select: none;
    z-index: 1001;
    background: rgba(0,0,0,.4);
    transform: translateY(-50%)
}

.modal-arrow.left {
    left: 10px;
    z-index: 4002
}

.modal-arrow.right {
    right: 10px;
    z-index: 4002
}

.close {
    top: 15px;
    right: 35px;
    z-index: 2001;
    color: #fff;
    font-weight: 700;
    cursor: pointer
}

.close:hover {
    color: #bbb
}

.zoom-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 4002
}

.zoom-controls button {
    width: 40px;
    height: 40px;
    font-size: 24px;
    background: rgba(0,0,0,.6);
    border: 0;
    transition: background .3s ease
}

.zoom-controls button:hover {
    background: rgba(255,255,255,.3)
}

.booking iframe,.maps iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.process h2 {
    font-size: 34px;
    margin-bottom: 60px;
    text-align: center
}

.step span {
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    background-image: url(images/background_gold.webp);
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px
}

.step p {
    font-size: 16px;
    color: #000;
    font-weight: 600
}

.right>.map-container .maps iframe {
    width: 100%;
    max-height: 350px;;
    border: 0;
    display: block
}

.two-column .left,.two-column .right {
    width: 50%;
    box-sizing: border-box;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 750px;
}

.two-column .left {
    align-items: center
}

.two-column .right {
    margin-top: 0;
    padding-top: 0
}

.booking iframe {
    height: 600px
}

.right h2 {
    font-size: 28px;
    margin-bottom: 28px;
    margin-top: 0;
    line-height: 1.2
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px
}

.faq-item p {
    font-size: 15px;
    color: #222
}

#screen-warning {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.screen-warning-content {
    background: #ffffff;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.screen-warning-content h2 {
    margin-bottom: 15px;
}

.screen-warning-content p {
    margin-bottom: 25px;
}

@media (max-width:1023px) {

    #thumbnails {
        display: none;
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
    }

    body {
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    body.no-scroll-mobile {
        overflow: hidden !important;
    }

    .main-content {
        position: absolute;
        top: var(--header-h, 150px);
        bottom: var(--footer-h, 150px);
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    body.allow-scroll-mobile .main-content {
        overflow-y: auto !important;
        overflow-x: hidden;
        display: block;
    }

    /* Slideshow – közös */
    .slideshow-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        background: #000;
        position: relative;
        overflow: hidden;
        margin: 0;
    }

    .slideshow-container img,
    .slide img,
    .slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: #000;
    }

    .slides-wrapper {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform .8s ease;
    }

    .slide {
        min-width: 100%;
        height: 100%;
    }

    /* Header */
    .page-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: url(images/background_black.webp) center / cover no-repeat;
        box-shadow: 0 2px 5px rgba(0,0,0,.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .logo-container * {
        margin: 0;
        padding: 0;
    }

    .logo-container img.logo {
        max-height: 150px;
        max-width: 150px;
        height: auto;
        width: auto;
    }

    .cta-button {
        width: 60%;
        padding: 10px 10px 5px 10px;
        font-weight: 700;
        border-radius: 5px;
        background: url(images/background_gold.webp) center / cover no-repeat;
        color: #000;
        border: 0;
        text-align: center;
        transition: box-shadow .3s ease;
        position: static;
        margin-left: auto;
        margin-right: auto;
        margin-top: -5px;
        display: block;
        height: 50%;
        font-size: 0.7em;
    }

    .cta-button:hover {
        box-shadow: inset 0 0 0 3px #000;
    }

    /* Footer */
    .page-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        z-index: 1000;
        background: url(images/background_gold.webp) center / cover no-repeat;
        box-shadow: 0 2px 5px rgba(0,0,0,.2);
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-height: 150px;
        overflow: hidden;
    }

    .footer-content img {
        max-height: 350px;
        max-width: 350px;
        margin-top: -10px;
        height: auto;
        width: auto;
    }

}

@media (max-width:900px) {
    .process h2 {
        text-align: center;
    }

    .two-column .left,
    .two-column .right {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .two-column .right > * {
        text-align: center;
        width: 100%;
    }
}

@media (max-width:1023px) and (orientation: landscape) {

    .footer-content img {
        max-height: 350px;
        max-width: 350px;
        margin-top: -10px;
        height: 100%;
        width: 100%;
    }

    .main-content {
        position: absolute;
        left: auto;
        right: 0;
        display: flex;
        align-items: end;
        overflow: hidden;
        width: 50%;
        height: 100%;
        top: 0;
        bottom: 0;
    }
    .page-header {
        height: 50%;
        width: 50%;
    }
    .page-footer {
        width: 50%;
        height: 50%;
    }
    .cta-button {
        width: 75%;
        height: 20%;
        padding: 1.4em;
        font-size: 0.8em;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .logo-container img.logo {
        max-height: 100%;
        padding: 1em 0 1em 0;
    }
    .two-column .left,
    .two-column .right {
        width: 50%;
        min-width: 0;
        display: flex;
        align-items: center;
    }

}

@media (max-width:600px) {
    .process h2 {
        font-size: 28px;
    }

    .booking iframe {
        height: 350px;
    }

    .right h2 {
        font-size: 22px;
    }
}


@media (max-width:380px) {
    .footer-content img {
        max-height: 300px;
        max-width: 300px;
    }
}

@media (max-width:325px) {
    .footer-content img,
    .logo-container img.logo {
        padding-top: 5px;
        max-height: 200px;
        max-width: 200px;
    }

    .logo-container img.logo {
        margin-top: -15px;
    }
}


@media (min-width:1920px) and (min-height:1080px) {

    .logo-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .logo-container img.logo {
        max-height: 600px;
        max-width: 600px;
    }

    .page-header,
    .page-footer {
        height: 300px;
    }

    .main-content {
        padding-top: 300px;
        padding-bottom: 300px;
        display: flex;
        flex-direction: column;
    }

    .slideshow-container {
        width: 1200px;
        height: 700px;
        max-width: 95vw;
        margin: 30px auto 0;
    }
}
