:root {
    --primary-color: #2c4a3e;
    --primary-light: #446e5c;
    --accent-color: #d4a373;
    --background-light: #f4f1de;
    --text-dark: #333333;
    --text-light: #ffffff;
    --card-background: #ffffff;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--text-light);
    line-height: 1.6;
}

.no-break {
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.button:hover {
    background-color: #c29262;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.top-navigation-bar {
    background-color: #233b31;
    height: 58px;
    transition: var(--transition);
}

.top-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.top-navigation-right {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 20px;
}

.social-networks-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon-link img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.social-icon-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.map-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--accent-color);
}

.header-email {
    color: #a8c5b8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.header-email:hover {
    color: var(--accent-color);
}

.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: -5px;
}

.phone-number {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
}

.phone-number:hover {
    color: var(--accent-color);
}

.bottom-navigation-bar {
    background-color: rgba(44, 74, 62, 0.96);
    height: 65px;
    transition: var(--transition);
}

.bottom-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation-link {
    color: var(--text-light);
    text-decoration: none;
    margin-right: 25px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.navigation-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.navigation-link:hover {
    color: var(--accent-color);
}

.navigation-link.active::after {
    width: 100%;
}

.mobile-menu-hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: 123px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-logo-container {
    margin-bottom: 25px;
}

.hero-logo-image-large {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
}

.button-large {
    padding: 16px 40px;
    font-size: 18px;
}

section {
    padding: 100px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0 auto;
}

.about-section {
    background-color: var(--background-light);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.about-photo-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-photo-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.about-photo-wrapper img:hover {
    opacity: 0.95;
    transform: scale(1.01);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #444;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: auto;
}

.feature-item {
    background: var(--card-background);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item span {
    display: block;
    font-weight: bold;
    color: var(--primary-light);
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.interior-section {
    background-color: var(--text-light);
}

.floor-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.floor-block:last-child {
    margin-bottom: 0;
}

.floor-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.floor-info p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

.floor-info ul {
    margin-left: 20px;
    margin-top: 10px;
    color: #555;
}

.floor-info li {
    margin-bottom: 8px;
}

.floor-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-main {
    grid-column: span 2;
}

.floor-gallery img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.floor-gallery img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

.gallery-main img {
    height: 300px;
}

.gallery-sub img {
    height: 140px;
}

.terrace-block .floor-info {
    order: 2;
}

.terrace-block .floor-gallery {
    order: 1;
}

.spa-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.spa-section h2 {
    color: var(--text-light);
}

.spa-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.spa-content h2 {
    text-align: left;
}

.spa-content h2::after {
    margin: 15px 0 0 0;
}

.spa-content p {
    margin-bottom: 20px;
    font-size: 17px;
    opacity: 0.9;
}

.spa-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spa-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.spa-gallery img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

.spa-gallery .gallery-main img {
    height: 350px;
}

.spa-gallery .gallery-sub img {
    height: 350px;
}

.territory-section {
    background-color: var(--background-light);
}

.territory-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.territory-info p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.territory-info h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.territory-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.territory-card {
    background: var(--card-background);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.territory-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.territory-card img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

.territory-card h4 {
    text-align: center;
    margin-top: 10px;
    color: var(--primary-color);
    font-size: 15px;
}

.rules-section {
    background-color: #fafafa;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rules-block {
    background: var(--card-background);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.rules-block h3 {
    margin-bottom: 20px;
    color: var(--primary-light);
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 10px;
    font-size: 18px;
}

.rules-block ul {
    list-style: none;
}

.rules-block li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: #555;
}

.rules-block li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

.rules-block small {
    display: block;
    color: #888;
    margin-top: 2px;
}

.location-section {
    text-align: center;
    background-color: var(--text-light);
}

.location-section p {
    font-size: 18px;
    margin-bottom: 10px;
}

.location-section .sub-text {
    color: #666;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.map-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1 / 1;
    background-color: #e5e3df;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.album-section {
    background-color: var(--background-light);
}

.album-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.album-viewport {
    overflow: hidden;
    flex: 1;
}

.album-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.album-slide {
    flex: 0 0 calc((100% - 60px) / 4);
}

.album-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.album-slide img:hover {
    opacity: 0.9;
    transform: scale(1.01);
}

.album-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.album-arrow:hover {
    background-color: var(--accent-color);
}

.album-arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.booking-section {
    background-color: var(--background-light);
    text-align: center;
}

.booking-calendar-wrapper {
    max-width: 400px;
    margin: 0 auto 40px auto;
    padding: 25px;
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.booking-calendar-wrapper h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.booking-calendar-hint {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

.custom-calendar {
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: capitalize;
}

.calendar-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px 10px;
    transition: var(--transition);
}

.calendar-btn:hover {
    color: var(--accent-color);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--primary-light);
    font-weight: bold;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border-radius: 50%;
    color: var(--text-dark);
    user-select: none;
    transition: var(--transition);
}

.calendar-day.empty {
    pointer-events: none;
}

.calendar-day.past {
    color: #ccc;
    pointer-events: none;
}

.calendar-day.booked {
    background-color: #e53935;
    color: #ffffff;
    font-weight: bold;
    cursor: not-allowed;
}

.calendar-day.available:not(.empty):not(.past) {
    cursor: default;
}

.calendar-day.today {
    border: 1px solid var(--accent-color);
}

.form-subtitle {
    margin-bottom: 40px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-form {
    max-width: 650px;
    margin: 0 auto;
}

.booking-form iframe {
    width: 100% !important;
    border: none;
    border-radius: 8px;
    display: block;
}

.button-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer {
    background-color: #1a2e26;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-socials {
    justify-content: flex-start;
}

.footer-email {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.footer-email:hover {
    color: var(--accent-color);
}

.footer-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.footer-phone {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--accent-color);
}

.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image-container {
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-image-container {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
    z-index: 2100;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close-button:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .top-navigation-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-navigation-container {
        flex-direction: column;
        gap: 15px;
    }

    .top-navigation-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .header-phones {
        align-items: center;
    }

    .bottom-navigation-bar {
        height: 60px;
        background-color: transparent;
        box-shadow: none;
    }

    .bottom-navigation-container {
        justify-content: flex-end;
        padding: 0;
        max-width: none;
    }

    .header {
        transform: translateY(0) !important;
    }

    .mobile-menu-hamburger-button {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1100;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        transition: left 0.3s ease-in-out;
        z-index: 1050;
    }

    .navigation.active {
        left: 0;
    }

    .navigation-link {
        margin-right: 0;
        margin-bottom: 25px;
        font-size: 20px;
        width: auto;
        text-align: center;
    }

    .about-layout,
    .floor-block,
    .spa-container,
    .territory-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-wrapper {
        height: auto;
        margin-bottom: 20px;
    }

    .terrace-block .floor-info {
        order: 1;
    }

    .terrace-block .floor-gallery {
        order: 2;
    }

    .spa-container .spa-gallery {
        order: 2;
    }

    .spa-content h2 {
        text-align: center;
    }

    .spa-content h2::after {
        margin: 15px auto 0 auto;
    }

    .mobile-menu-open {
        overflow: hidden;
    }

    .mobile-menu-hamburger-button.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-hamburger-button.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-hamburger-button.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .album-slide {
        flex: 0 0 calc((100% - 40px) / 3);
    }

    .hero-section {
        padding-top: 220px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .territory-images {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-phones {
        align-items: center;
    }

    .album-slide {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .hero-section {
        padding-top: 240px;
    }
}