@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Unbounded:wght@400;500;600;700;800&display=swap');

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
.site-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

body {
    padding-top: 180px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== ЛОГОТИП ===== */
.logo {
    flex-shrink: 0;
}
.logo a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.logo-text {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Unbounded', serif;
}
.logo-sea { color: #00afac; }
.logo-orange { color: #f5a623; }
.logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* ===== ВЕРХНЯЯ СТРОКА (ПК) ===== */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f5;
    transition: all 0.3s ease;
}

.site-header.scrolled .header-top {
    padding: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* ===== РЕЖИМ РАБОТЫ ===== */
.worktime-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.worktime-block i {
    font-size: 22px;
    color: #00afac;
}
.worktime-info {
    display: flex;
    flex-direction: column;
}
.worktime-days {
    font-size: 13px;
    font-weight: 600;
    color: #1a2c3e;
}
.worktime-weekend {
    font-size: 11px;
    color: #6b7f8f;
}

/* ===== EMAIL ===== */
.email-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #4a5b6b;
    transition: color 0.2s;
}
.email-link i {
    font-size: 16px;
    color: #00afac;
}
.email-link:hover {
    color: #00afac;
}

/* ===== ТЕЛЕФОНЫ ===== */
.phone-block {
    text-align: right;
}
.phone-number {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a2c3e;
    text-decoration: none;
    transition: color 0.2s;
}
.phone-number:hover {
    color: #00afac;
}
.second-phone {
    font-size: 13px;
    font-weight: 500;
    color: #6b7f8f;
}
.callback-btn {
    background: none;
    border: none;
    color: #f5a623;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 3px;
}

/* ===== СОЦИАЛЬНЫЕ СЕТИ (основная шапка) ===== */
.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
}
.social-icon i {
    font-size: 16px;
}
.social-icon .fa-telegram-plane { color: #0088cc; }
.social-icon .fa-whatsapp { color: #25D366; }
.social-icon .fa-viber { color: #7360f2; }
.social-icon .fa-instagram { 
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.social-icon .fa-vk { color: #0077ff; }
.social-icon:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* ===== НИЖНЯЯ СТРОКА МЕНЮ (ПК) ===== */
.header-bottom {
    padding: 15px 0;
    transition: all 0.3s ease;
}
.main-nav {
    display: flex;
    justify-content: center;
}
.main-menu {
    display: flex;
    gap: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.main-menu li {
    margin: 0;
}
.main-menu a {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e44;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}
.main-menu a:hover {
    color: #00afac;
}
.main-menu a::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00afac, #f5a623);
    transition: width 0.3s;
}
.main-menu a:hover::after,
.main-menu .current-menu-item a::after {
    width: 100%;
}
.main-menu .current-menu-item a {
    color: #00afac;
}

/* ===== ФИКСИРОВАННАЯ ШАПКА ПРИ СКРОЛЛЕ (ПК) ===== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.header-fixed.visible {
    transform: translateY(0);
}
.fixed-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
}
.fixed-logo {
    flex-shrink: 0;
}
.fixed-logo img {
    max-height: 50px;
    width: auto;
}
.fixed-logo-text {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Unbounded', serif;
}
.fixed-nav {
    flex: 1;
}
.fixed-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.fixed-menu li {
    margin: 0;
}
.fixed-menu a {
    font-weight: 600;
    font-size: 12px;
    color: #2c3e44;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 5px 0;
    transition: color 0.2s;
}
.fixed-menu a:hover {
    color: #00afac;
}
.fixed-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.fixed-phone {
    font-weight: 700;
    font-size: 14px;
    color: #1a2c3e;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}
.fixed-phone i {
    color: #00afac;
    margin-right: 5px;
    font-size: 12px;
}
.fixed-social {
    display: flex;
    gap: 6px;
}
.fixed-social-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-decoration: none;
}
.fixed-social-icon i {
    font-size: 14px;
}
.fixed-social-icon .fa-telegram-plane { color: #0088cc; }
.fixed-social-icon .fa-whatsapp { color: #25D366; }
.fixed-social-icon .fa-viber { color: #7360f2; }
.fixed-social-icon .fa-instagram { 
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fixed-social-icon .fa-vk { color: #0077ff; }
.fixed-social-icon:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* ===== ЯКОРЬ ===== */
#bus-rental {
    scroll-margin-top: 100px;
}

/* ===== МОБИЛЬНАЯ ШАПКА ===== */
.mobile-header {
    display: none;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ВЕРХНИЙ БЛОК: email, режим работы, адрес, соцсети */
.mobile-top-info {
    background: #f8fafc;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eef2f5;
}

.mobile-email {
    font-size: 12px;
    color: #4a5b6b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mobile-email i {
    color: #00afac;
    font-size: 12px;
}

.mobile-worktime {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7f8f;
}
.mobile-worktime i {
    color: #00afac;
    font-size: 12px;
}

.mobile-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #6b7f8f;
}
.mobile-address i {
    color: #00afac;
    font-size: 12px;
}

.mobile-social-top {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
.mobile-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    text-decoration: none;
}
.mobile-social-icon i {
    font-size: 16px;
}
.mobile-social-icon .fa-telegram-plane { color: #0088cc; }
.mobile-social-icon .fa-whatsapp { color: #25D366; }
.mobile-social-icon .fa-viber { color: #7360f2; }
.mobile-social-icon .fa-instagram { 
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mobile-social-icon .fa-vk { color: #0077ff; }

/* НИЖНИЙ БЛОК: логотип + телефоны (столбец) + кнопка + бургер */
.mobile-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    gap: 12px;
}

.mobile-logo {
    flex-shrink: 0;
}
.mobile-logo img {
    max-height: 55px;
    width: auto;
}
.mobile-logo-text {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Unbounded', serif;
}

.mobile-contacts-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mobile-phones-column {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mobile-phone-main {
    font-weight: 700;
    font-size: 14px;
    color: #1a2c3e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mobile-phone-main i {
    color: #00afac;
    font-size: 13px;
    width: 16px;
}
.mobile-phone-second {
    font-size: 12px;
    font-weight: 500;
    color: #6b7f8f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mobile-phone-second i {
    color: #00afac;
    font-size: 12px;
    width: 16px;
}

.mobile-callback-btn {
    background: linear-gradient(135deg, #00afac, #008c89);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    white-space: nowrap;
}
.mobile-callback-btn i {
    font-size: 12px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a2c3e;
    margin: 4px 0;
    transition: 0.25s;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Выезжающее меню */
.mobile-nav-container {
    display: none;
    background: white;
    border-top: 1px solid #eef2f5;
}
.mobile-nav-container.active {
    display: block;
}
.mobile-menu-list {
    list-style: none;
    padding: 15px;
    margin: 0;
}
.mobile-menu-list li {
    margin-bottom: 15px;
}
.mobile-menu-list a {
    font-weight: 600;
    font-size: 16px;
    color: #1a2c3e;
    text-decoration: none;
    display: block;
    padding: 8px 0;
}
.mobile-menu-list a:hover {
    color: #00afac;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .fixed-menu { gap: 15px; }
    .fixed-menu a { font-size: 11px; }
    .fixed-logo img { max-height: 45px; }
    .fixed-logo-text { font-size: 20px; }
}

@media (max-width: 1100px) {
    .fixed-inner { gap: 15px; }
    .fixed-menu { gap: 12px; }
    .fixed-menu a { font-size: 10px; }
    .fixed-phone { font-size: 12px; }
    .fixed-social-icon { width: 24px; height: 24px; }
    .fixed-social-icon i { font-size: 12px; }
    .fixed-logo img { max-height: 40px; }
    .header-right { gap: 15px; }
    .main-menu { gap: 25px; }
    body { padding-top: 150px; }
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-header {
        display: block;
    }
    body {
        padding-top: 135px !important;
    }
    #bus-rental {
        scroll-margin-top: 155px;
    }
}

@media (min-width: 901px) {
    .mobile-header {
        display: none !important;
    }
    body {
        padding-top: 180px;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 145px !important;
    }
    .mobile-bottom-bar {
        padding: 10px 12px;
        gap: 10px;
    }
    .mobile-logo img {
        max-height: 48px;
    }
    .mobile-logo-text {
        font-size: 20px;
    }
    .mobile-phone-main {
        font-size: 12px;
    }
    .mobile-phone-second {
        font-size: 10px;
    }
    .mobile-callback-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    .mobile-top-info {
        padding: 8px 12px;
        gap: 8px;
    }
    .mobile-email, .mobile-worktime, .mobile-address {
        font-size: 10px;
    }
    .mobile-social-icon {
        width: 28px;
        height: 28px;
    }
    .mobile-social-icon i {
        font-size: 14px;
    }
    #bus-rental {
        scroll-margin-top: 170px;
    }
}

@media (max-width: 550px) {
    .mobile-bottom-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    .mobile-logo {
        order: 1;
        flex: 0 0 auto;
    }
    .mobile-contacts-column {
        order: 2;
        flex: 2;
        min-width: 180px;
    }
    .mobile-menu-toggle {
        order: 3;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 155px !important;
    }
    .mobile-phone-main {
        font-size: 11px;
    }
    .mobile-phone-second {
        font-size: 9px;
    }
    .mobile-callback-btn {
        padding: 5px 8px;
        font-size: 9px;
    }
    #bus-rental {
        scroll-margin-top: 180px;
    }
}
/* ===== ФОРСИРОВАННЫЕ СТИЛИ ДЛЯ БУРГЕРА ===== */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 10px !important;
        flex-shrink: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        position: relative !important;
        z-index: 100 !important;
    }
    
.mobile-menu-toggle span {
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    width: 24px !important;
    background: #1a2c3e !important;
    display: block !important;
    margin: 4px 0 !important;
}
    
    .mobile-bottom-bar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background: white !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    
    .mobile-contacts-column {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .mobile-callback-btn {
        white-space: nowrap !important;
    }
}
