body { font-family: "Segoe UI", Roboto, Arial, sans-serif; margin: 0; color: #1a1a1a; background: #fff; line-height: 1.4; }
.container { max-width: 1050px; margin: 0 auto; padding: 0 15px; }

/* Header */
.header { border-bottom: 1px solid #e7e7e7; padding: 10px 0; background: #fff; position: sticky; top: 0; z-index: 100; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 45px; }
.booking-score { display: flex; align-items: center; gap: 8px; }
.score-num { background: #003580; color: #fff; padding: 6px 8px; border-radius: 6px 6px 6px 0; font-weight: bold; }
.btn-whatsapp { background: #008009; color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 4px; font-weight: bold; }

.hero {
    height: 80vh; /* Оптимальная высота для витрины */
    width: 100vw; /* Растягиваем на 100% ширины окна браузера */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Легкое затемнение на 30% */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Текст должен быть НАД затемнением */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Тень для букв, чтобы они читались на любом фоне */
}

/* Кнопки в Hero-блоке */
.hero-buttons {
    margin-top: 25px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 12px 28px;
    margin: 5px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

/* Зеленая кнопка как на Booking */
.hero-buttons .primary {
    background: #008009 !important;
    color: white !important;
}

/* Прозрачная кнопка с белой рамкой */
.hero-buttons .secondary {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid white !important;
    color: white !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.cta-buttons a {
    padding: 14px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* Кнопка Booking в фирменном синем цвете */
.cta-buttons .secondary {
    background: #003580;
    color: white;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.thumb {
    height: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.thumb:hover img {
    transform: scale(1.05);
}

/* Эффект "+15 фото" на последней картинке */
.more-photos .overlay-count {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}


/* Grid System */
.quick-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.spec { background: #f2f6fa; padding: 12px; border-radius: 4px; text-align: center; font-size: 14px; }
.photo-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-bottom: 25px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.sub-imgs { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }

/* Details */
.details-flex { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; border-top: 1px solid #ebebeb; padding-top: 25px; }
.footer { margin-top: 40px; padding: 25px 0; background: #f5f5f5; border-top: 1px solid #e7e7e7; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.qr-code { height: 70px; }


/* Адаптация для мобильных устройств (экраны меньше 768px) */
@media (max-width: 768px) {
    .nav-flex {
        flex-direction: column; /* Шапка в колонку */
        gap: 10px;
    }

    .quick-specs {
        grid-template-columns: repeat(2, 1fr); /* Иконки по 2 в ряд вместо 4 */
    }

    .photo-grid {
        grid-template-columns: 1fr; /* Галерея в одну колонку */
    }

    .details-flex {
        grid-template-columns: 1fr; /* Текст и удобства друг под другом */
    }

    .hero {
        height: 60vh; /* Чуть уменьшаем высоту главного фото на мобиле */
        width: 100%;
        left: 0;
        margin: 0;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}



.menu a {
    white-space: nowrap; /* Запретит словам в меню разрываться на две строки */
}

.booking-score {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05); /* Легкое увеличение */
    filter: brightness(1.1); /* Птица станет чуть ярче */
}

.logo {
    /* Твои текущие стили для логотипа остаются тут */
    display: block; 
}

/* Кнопка Viber */
.btn-viber {
    display: inline-block;
    padding: 15px 30px;
    background-color: #7360f2; /* Фирменный фиолетовый */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-viber:hover {
    background-color: #5d4dbd;
}

/* Кнопка Airbnb */
.btn-airbnb {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FF5A5F; /* Розовый Airbnb */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-airbnb:hover {
    background-color: #e34d52;
}

/* Убедимся, что кнопки стоят красиво на мобилках */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}


/* Календарь бронирования*/
.availability-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f9f9f9; /* Тот самый светлый фон, как на Островке */
}

.calendar-wrapper {
    max-width: 1000px; /* Ограничиваем ширину, чтобы на огромных мониторах календарь не растягивался слишком сильно */
    margin: 30px auto 0;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Легкая тень для объема */
    overflow: hidden; /* Чтобы скругления рамки работали корректно */
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 20px;
}


/* ФУТЕР*/
.site-footer {
    padding:20px 0 40px 0; /* Увеличиваем верхний отступ (80px), чтобы отодвинуть футер от кнопок */
    background-color: #f9f9fa; /* Убедись, что этот цвет совпадает с фоном под кнопками */
    border-top: none; /* Убираем любую разделительную линию */
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Выравнивание по низу, чтобы иконки и QR были на одной линии */
    padding: 0 20px;
}

.footer-left {
    text-align: left;
}

.social-links {
    margin-bottom: 15px;
}

.social-links a {
    color: #333;
    font-size: 1.4rem;
    margin-right: 25px;
    text-decoration: none;
    opacity: 0.7; /* Делаем их чуть спокойнее, чтобы не кричали */
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    color: #FF5A5F;
    transform: translateY(-3px);
}

.footer-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0;
}

.footer-qr {
    width: 90px;
    height: auto;
    border-radius: 8px; /* Немного скруглим углы QR для мягкости */
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-left {
        order: 2;
        margin-top: 30px;
    }
    .social-links a {
        margin: 0 15px;
    }
    .footer-right {
        order: 1;
    }









