/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    background: #ffffff;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Шапка сайта */
.headerLine {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav {
    display: flex;
    gap: 25px;
}

.navitem {
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.navitem:hover {
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.1);
}

.phone {
    border-left: solid 1px black;
    padding-left: 15px;
}

.phone-holder {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-img {
    width: 20px;
    height: 20px;
}

.num {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.num:hover {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.text1 {
    color: black;
    font-size: 14px;
    opacity: 0.9;
}

.nav-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
    position: absolute;
    right: 20px;
    top: 20px;
}

.but-in-img {
    width: 30px;
    height: 30px;
}
/* Основной контент */
.main {
    padding: 80px 0 40px;
}

.text2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
}

.text2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #5a5a5a 0%, #7a7a7a 100%);
    border-radius: 2px;
}

/* Слайдер */
.main-photo {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.swiper {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}


/* Информация о номере */
.main-info {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.text3 {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    text-align: center;
    background: rgba(248, 249, 250, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Кнопки */
.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.button-contacts, .button-rent {
    text-align: center;
}

.button-text, .button-text-2 {
    background: linear-gradient(135deg, #5a5a5a 0%, #7a7a7a 100%);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.button-text:hover, .button-text-2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(90, 90, 90, 0.3);
    background: linear-gradient(135deg, #7a7a7a 0%, #5a5a5a 100%);
}

/* Подвал сайта */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #5a5a5a 0%, #7a7a7a 100%);
}

.last-zag {
    text-align: center;
    margin-bottom: 40px;
}

.text8 {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.button-footer {
    text-align: center;
    margin-bottom: 60px;
}

.text-button-main-foot {
    background: linear-gradient(135deg, #5a5a5a 0%, #7a7a7a 100%);
    color: white;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(90, 90, 90, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-button-main-foot:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(90, 90, 90, 0.4);
    background: linear-gradient(135deg, #7a7a7a 0%, #5a5a5a 100%);
}

.footerLine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.foot-zag, .foot-zag-sec {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
}

.foot-zag::after, .foot-zag-sec::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e0e0e0;
}

.sec-nav ul, .third-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.li1 {
    margin-bottom: 12px;
    list-style: none;
}

.navitem2, .foot-num, .foot-mail {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
}

.navitem2:hover, .foot-num:hover, .foot-mail:hover {
    color: #e0e0e0;
    transform: translateX(5px);
}

.adres, .text-foot1, .text-mail {
    margin-bottom: 20px;
}

.text-adres {
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.text-adress-foot {
    color: #ecf0f1;
    line-height: 1.6;
}
/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 99;
    padding: 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-item {
    color: black;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile-nav-item:hover {
    color: #5a5a5a;
}

.mobile-phone {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-num {
    color: black;
    text-decoration: none;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.mobile-contact-text {
    color: #555;
    font-size: 14px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Стили для пагинации слайдера */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #5a5a5a;
    opacity: 1;
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: #7a7a7a;
    opacity: 1;
}