/* Reset margins and paddings for full-bleed video background */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
    background: rgb(243, 238, 231);
}

/* Global styles */

#audioToggle, .audio-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 20px;
    background: transparent;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: none;
    border:none !important;
}

#audioToggle:focus, .audio-toggle:focus {
    outline: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.03);
    border:none !important;
}
.text-white {
    color: #fff;
    text-decoration: none;
    border:none !important;
}


/* Font-face for AvenirNextCyr */
@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Regular.woff2') format('woff2'),
         url('../fonts/AvenirNextCyr-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Bold.woff2') format('woff2'),
         url('../fonts/AvenirNextCyr-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AvenirNextCyr';
    src: url('../fonts/AvenirNextCyr-Italic.woff2') format('woff2'),
         url('../fonts/AvenirNextCyr-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
body, html, .menu-overlay, .menu-main, .menu-secondary, .menu-languages span, .menu-bottom, .logo-center {
    font-family: 'AvenirNextCyr', Arial, sans-serif;
}

/* Fullscreen video background styles */
.video-bg-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    z-index: 1;
    background: #000;
}

/* Header navigation: place burger and 'Menu' text inline */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* space between burger and text */
}
.nav-wrapper .burger-wrapper {
    display: inline-flex;
    align-items: center;
}
.nav-wrapper .burger-wrapper + .text-white {
    margin-left: 6px;
    font-weight: 600;
    letter-spacing: 0.06em;
}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 102; /* Increased z-index to keep burger above menu overlay */
    pointer-events: none;
}
.logo-center {
    margin-top: 32px;
    width: 180px;
    max-width: 80vw;
    height: auto;
    display: block;
    pointer-events: auto;
}
.nav-wrapper {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 103; /* Higher than menu overlay */
    pointer-events: auto;
}
/* Burger to times icon animation - improved for 3 bars */
.burger-wrapper {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
    z-index: 101;
}
.burger-line-top, .burger-line-middle, .burger-line-bottom {
    background: #fff;
    height: 2px;
    border-radius: 1px;
    width: 80%;
    transition: all 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
}
.burger-line-middle {
    width: 100%;
}
.burger-wrapper.open .burger-line-top {
    transform: translateY(10px) rotate(45deg);
}
.burger-wrapper.open .burger-line-middle {
    opacity: 0;
}
.burger-wrapper.open .burger-line-bottom {
    transform: translateY(-8px) rotate(-45deg);
}
main {
//    display: none;
}
.footer-section {
    width: 100vw;
    background: #000;
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 0;
    margin: 0;
    border: none;
}
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 2rem;
    text-align: center;
}
.footer-col {
    flex: 1 1 0;
    min-width: 160px;
    text-align: center;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    text-align: center;
}
.footer-col.footer-contact h4 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 1.2rem !important;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    text-align: center;
    padding-top: 0;
    line-height: 1.1; /* Ensures alignment with other column headings */
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.footer-col ul li {
    margin-bottom: 0.7rem;
    text-align: center;
}
.footer-col a {
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.2s;
    text-align: center;
}
.footer-col a:hover {
    color: #918675;
}
.footer-contact-info {
    margin-top: 0.5rem;
    text-align: center;
}
.footer-icon-link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.7rem;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    justify-content: center;
    text-align: center;
}
.footer-icon, .footer-icon-link span {
    display: none !important;
}
@media (max-width: 900px) {
    .footer-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 2.5rem 1rem;
    }
    .footer-col {
        min-width: 120px;
    }
}
@media (max-width: 768px) {
    .video-bg-container {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        position: relative;
    }
    .video-bg {
        height: calc(100vh + 100px) !important;
        min-height: calc(100vh + 100px) !important;
        width: 100vw !important;
        object-fit: cover !important;
        position: absolute;
        bottom: -100px;
        left: 0;
    }
    html, body {
        width: 100vw;
        height: 100vh;
    }
    .logo-center {
        margin-top: 16px;
        width: 120px;
    }
    .nav-wrapper {
        top: 16px;
        left: 16px;
    }
    .burger-wrapper {
        width: 28px;
        height: 28px;
    }
    .footer-section {
        padding: 24px 0;
    }
    /* Remove the bottom 100px of the video visually on mobile */
    /* The container is 100vh-100px, but the video remains 100vh, so the bottom 100px is hidden */
    .video-bg, .video-bg-container {
        width: 100vw;
    }
    .menu-overlay {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
    }
    .menu-content {
        padding: 3rem 1rem 1rem 1rem;
    }
    .menu-main {
        font-size: 1.4rem;
    }
    .menu-secondary {
        font-size: 1rem;
    }
    .menu-bottom {
        margin-top: 18px;
    }
    .social-icon {
        width: 24px;
        height: 24px;
    }
    .home-hero-text {
        left: 5vw;
        top: 54vh;
    }
    .hero-large {
        font-size: 1.5rem;
    }
    .hero-small {
        font-size: 0.9rem;
    }
    .logo-center.fade-out {
        opacity: 0;
        transition: opacity 0.7s;
    }
    .logo-center.fade-in {
        opacity: 1;
        transition: opacity 0.7s;
    }
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.5rem;
        padding: 2rem 0.5rem;
    }
    .footer-col.footer-activities {
        grid-column: 1;
        grid-row: 1;
    }
    .footer-col.footer-rooms {
        grid-column: 2;
        grid-row: 1;
    }
    .footer-col.footer-about {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-col.footer-socials {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-col.footer-contact {
        grid-column: 1 / span 2;
        grid-row: 3;
        margin-bottom: 0;
    }
    .footer-col {
        min-width: 0;
        margin-bottom: 1.5rem;
    }
}
main {
    min-height: 60vh;
//    background: #fff;
    z-index: 10;
    position: relative;
}

/* Menu overlay styles - equal slide speed, menu text as links, spacing from top, visible social icons */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 36.66vw;
    max-width: 480px;
    min-width: 260px;
    background: rgba(20, 20, 20, 0.98);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.9s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.7s;
    box-shadow: 2px 0 16px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    pointer-events: none;
}
.menu-overlay.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.menu-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-main, .menu-secondary {
    color: rgba(255,255,255,0.75);
    opacity: 0;
    transition: opacity 1s;
    font-weight: 400;
}
.menu-overlay.open .menu-main, .menu-overlay.open .menu-secondary {
    transition-delay: 0.9s;
    opacity: 1;
}
.menu-overlay.closing .menu-main, .menu-overlay.closing .menu-secondary {
    transition-delay: 0s;
    opacity: 0;
}
.menu-main {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 18px;
}
.menu-main a, .menu-secondary a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 4px 0;
    transition: color 1s;
    font-weight: 400;
}
.menu-main a:hover, .menu-secondary a:hover {
    color: #918675;
}
.menu-separator {
    border-bottom: 1px solid #444;
    margin: 18px 0;
}
.menu-secondary {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 12px;
}
.menu-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 32px;
}

.menu-languages{
    display: none;
}

.menu-languages span {
    color: #fff;
    font-size: 13px;
    margin-right: 12px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.menu-languages span:hover {
    opacity: 1;
}
.menu-social {
    display: flex;
    gap: 16px;
    display: none;
}
.social-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.2s;
}
.social-icon.fb {
    background-image: url('data:image/svg+xml;utf8,<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="14" cy="14" r="14" fill="%23222"/><path d="M17.5 14H15V21H12V14H10V11.5H12V10.5C12 9.11929 13.1193 8 14.5 8H17.5V10.5H15.5C15.2239 10.5 15 10.7239 15 11V11.5H17.5V14Z" fill="white"/></svg>');
}
.social-icon.ig {
    background-image: url('data:image/svg+xml;utf8,<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="14" cy="14" r="14" fill="%23222"/><rect x="9" y="9" width="10" height="10" rx="5" fill="white"/><circle cx="14" cy="14" r="3" fill="%23222"/><circle cx="18" cy="12" r="1" fill="%23222"/></svg>');
}
.social-icon:hover {
    opacity: 0.7;
}
@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.home-hero-text {
    position: absolute;
    left: 6vw;
    top: 58vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}
.hero-small {
    font-family: 'AvenirNextCyr', Arial, sans-serif;
    font-size: 1.5em;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    opacity: 0.92;
}
.hero-large {
    font-family: 'AvenirNextCyr', Arial, sans-serif;
    font-size: 5svw;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    opacity: 0.98;
}
@media (max-width: 768px) {
    html, body {
        width: 100vw;
        height: 100vh;
    }
    .logo-center {
        margin-top: 16px;
        width: 120px;
    }
    .nav-wrapper {
        top: 16px;
        left: 16px;
    }
    .burger-wrapper {
        width: 28px;
        height: 28px;
    }
    .footer-section {
        padding: 24px 0;
    }
    .video-bg, .video-bg-container {
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
    }
    .menu-overlay {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
    }
    .menu-content {
        padding: 3rem 1rem 1rem 1rem;
    }
    .menu-main {
        font-size: 1.4rem;
    }
    .menu-secondary {
        font-size: 1rem;
    }
    .menu-bottom {
        margin-top: 18px;
    }
    .social-icon {
        width: 24px;
        height: 24px;
    }
    .home-hero-text {
        left: 5vw;
        top: 54vh;
    }
    .hero-large {
        font-size: 1.5rem;
    }
    .hero-small {
        font-size: 0.9rem;
    }
    .logo-center.fade-out {
        opacity: 0;
        transition: opacity 0.7s;
    }
    .logo-center.fade-in {
        opacity: 1;
        transition: opacity 0.7s;
    }
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.5rem;
        padding: 2rem 0.5rem;
    }
    .footer-col.footer-activities {
        grid-column: 1;
        grid-row: 1;
    }
    .footer-col.footer-rooms {
        grid-column: 2;
        grid-row: 1;
    }
    .footer-col.footer-about {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-col.footer-socials {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-col.footer-contact {
        grid-column: 1 / span 2;
        grid-row: 3;
        margin-bottom: 0;
    }
    .footer-col {
        min-width: 0;
        margin-bottom: 1.5rem;
    }
}

/* AvenirNextCyr font for everything */
body, html, .hotel-main-section, .hotel-title, .hotel-paragraph {
    font-family: 'AvenirNextCyr', Arial, sans-serif !important;
}
.hotel-main-section {
    background: rgb(243, 238, 231);
    color: #0e0e0e;
    padding: 3em 2em 3em 2em;
    max-width: 100%;
    margin: 0 auto;
}
.hotel-title {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 0.5em;
    text-align: center;
}
.hotel-paragraph {
    font-size: 1.1em;
    font-weight: 400;
    margin-bottom: 1.2em;
    line-height: 1.7;
    text-align: left;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .hotel-main-section {
        padding: 2em 1em;
        max-width: 100%;
    }
    .hotel-paragraph {
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .hotel-main-section {
        padding: 1.2em 0.5em;
    }
    .hotel-title {
        font-size: 1.4em;
    }
    .hotel-paragraph {
        font-size: 1em;
    }
}
.book-btn {
    display: inline-block;
    margin-top: 0.7em;
    padding: 0.5em 1.4em;
    background: #e5dfd3;
    color: #0e0e0e;
    font-family: 'AvenirNextCyr', Arial, sans-serif;
    font-size: 1em;
    font-weight: 500;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.book-btn:hover {
    background: #d6cfc2;
    color: #918675;
}
