/* Общие стили для контактов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 0vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.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;
}
/* Основной блок контактов */
.mainBlock {
    padding: 80px 0;
    background: white;
}

.text2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    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;
}

.block1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-number, .block-mail, .adresHotel {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block-number:hover, .block-mail:hover, .adresHotel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.text3, .text4, .text5 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.numforPeople, .mailforPeople {
    font-size: 1.4rem;
    color: #5a5a5a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-top: 10px;
}

.numforPeople:hover, .mailforPeople:hover {
    color: #2c3e50;
}

.text-adres-ss {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Секция с картой */
.Map {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.text7 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
    padding: 0 20px;
}

.text7::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;
}


.text8 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    position: relative;
    font-weight: 700;
}

.text8::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;
}

.map-container {
    height: 500px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin: 0 20px;
}

#map-main {
    width: 100%;
    height: 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;
}

.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;
}

.li1 {
    margin-bottom: 12px;
}

.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;
}