:root {
    --primary-color: #e85c14;
    --secondary-color: #2c2c2c;
    --accent-color: #4a7c59;
    --light-color: #f9f9f9;
    --forest-color: #4d6543;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow-x: hidden;
}

/* Header styles */
header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c2c2c; /* Темно-серы фон по умолчанию */
    background-image: url('../images/head-bg.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    filter: brightness(0.8);
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
    width: 500px;
    height: 500px;
    background-color: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(3px);
    border-radius: 50%;
    margin-top: 60px;
    min-width: 500px;
    min-height: 500px;
}

.header-content::before {
    content: none;
}

.logo-container {
    /* margin-bottom: 40px; */
}

.logo-img {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.tagline {
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(44, 44, 44, 0.8);
    backdrop-filter: blur(5px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    color: white;
    /* font-size: 1.8rem; */
    font-weight: 700;
}

.nav-logo-img {
    width: 125px;
    height: auto;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Share section */
.share-section {
    margin-top: 40px;
    text-align: center;
}

.share-label {
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-buttons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(232, 92, 20, 0.4);
    border-color: var(--primary-color);
}

.share-buttons a i {
    font-size: 14px;
}

/* Sections */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About section */
.about-section {
    background-color: #f9f9f9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature p {
    color: #555;
    line-height: 1.6;
}

/* Rooms section */
.rooms-section {
    background-color: white;
}

/* Prices section */
.prices-section {
    background-color: #f9f9f9;
}

/* Promotions Section */
.promotions-section {
    background: linear-gradient(135deg, rgba(77, 101, 67, 0.8) 0%, rgba(74, 124, 89, 0.9) 100%), 
                url('../images/head-bg.webp') center/cover;
    color: white;
    position: relative;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 60, 40, 0.3);
    z-index: 1;
}

.promotions-section .container {
    position: relative;
    z-index: 2;
}

.promotions-section .section-title,
.promotions-section .section-subtitle {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.promotions-section .section-title::after {
    background: white;
}

.promotion-card {
    min-height: 430px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(74, 124, 89, 0.2);
}

.promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--forest-color));
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.promotion-discount {
    position: absolute;
    top: 15px;
    right: -15px;
    background: linear-gradient(135deg, #ff4444, var(--primary-color));
    color: white;
    padding: 8px 25px 8px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    z-index: 10;
    transform: rotate(0deg);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    min-width: 90px;
}

.promotion-discount::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 15px;
    height: 8px;
    background: linear-gradient(135deg, #cc3333, #c04510);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: -1;
}

.promotion-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto 0;
    font-size: 2.5rem;
}

.promotion-content {
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promotion-title {
    color: var(--forest-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.promotion-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.promotion-conditions {
    background-color: rgba(74, 124, 89, 0.1);
    color: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.9rem;
}

.promotion-conditions strong {
    color: var(--forest-color);
}

.promotion-period {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 15px;
    border-top: 2px solid #f1f3f4;
}

.promotion-period i {
    color: var(--primary-color);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.price-category {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.price-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-category h3 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.price-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 15px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item .name {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.price-item .description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.price-item .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    text-align: right;
}

/* Gallery section */
.swiper {
    width: 100%;
    height: 600px;
    margin-bottom: 50px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
}

.swiper-slide img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Features list */
.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact section */
.contact-section {
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
}

.contact-text h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-text p {
    color: #555;
}

#map {
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

.footer-social {
    margin-top: 30px;
}

.footer-social a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    color: #888;
    font-size: 0.9rem;
}

/* Media queries */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(44, 44, 44, 0.95);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 40px 0;
        transition: left 0.3s ease;
    }
    
    /* Скрываем срелки лайдера н мобильых устроствах */
    .swiper-button-next, 
    .swiper-button-prev {
        display: none !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
        text-align: center;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .swiper {
        height: 500px;
    }
    
    .logo-img {
        max-width: 200px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav-logo-img {
        width: 60px;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .price-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }
    
    .price-item .price {
        text-align: left;
        font-size: 1.4rem;
        margin-top: 5px;
    }
    
    /* Адаптация для секции аций */
    .promotion-card {
        height: auto;
        min-height: 350px;
        margin: 10px 5px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .promotion-discount {
        font-size: 0.9rem;
        padding: 6px 20px 6px 15px;
        right: -12px;
        top: 12px;
        min-width: 70px;
    }
    
    .promotion-title {
        font-size: 1.2rem;
    }
    
    .promotion-content {
        margin-top: 20px;
    }
    
    .promotion-icon {
        width: 50px;
        height: 50px;
        margin: 15px auto 0;
        font-size: 2rem;
    }

    .share-buttons {
        gap: 8px;
    }

    .share-buttons a {
        width: 35px;
        height: 35px;
    }

    .share-buttons a i {
        font-size: 12px;
    }

    .share-label {
        font-size: 0.9rem;
    }

    /* Адатация header-content дл мобильных - делам полосу вместо круга */
    .header-content {
        width: 90%;
        height: auto;
        min-width: auto;
        min-height: auto;
        max-width: 600px;
        border-radius: 20px;
        padding: 30px 25px;
        aspect-ratio: unset;
    }
}

/* Моальное окно для изображений */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    margin: auto;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* Стили для кнопи нвигации */
.nav-button {
    display: block;
    width: 250px;
    margin: 40px auto 0;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-button i {
    margin-right: 8px;
}

/* Стили для кнопки TikTok */
.tiktok-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tiktok-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tiktok-button i {
    font-size: 60px;
}

/* Hover эффекты для всех кликабльных элементов */
.nav-menu a:hover {
    color: var(--primary-color);
}

/* Сили для просроченых акций в админке */
.expired-date {
    color: #e74c3c !important;
    font-weight: bold !important;
}

.expired-status {
    color: #e74c3c !important;
    font-weight: bold !important;
}

/* Стили дл секции деталей в хедере */
.details {
    margin-top: 30px;
    text-align: center;
}

.location-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.phone-text {
    margin-bottom: 0;
}

.phone-text a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.phone-text a:hover {
    color: var(--primary-color);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}