/* ==========================================================================
   1. ШРИФТИ ТА ЗМІННІ (КОРЕНЬ)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Oswald:wght@700&display=swap');

:root {
    --bg-black: #0b0b0b;
    --bg-card: #141414;
    --bg-input: #1a1a1a;
    --accent-yellow: #f5b915;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --border-color: #222222;
    --font-title: 'Oswald', sans-serif;
    --font-text: 'Montserrat', sans-serif;
}

/* ==========================================================================
   2. БАЗОВІ СТИЛІ СТОРІНКИ
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-text);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.section-subtitle {
    color: var(--accent-yellow);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.yellow-text {
    color: var(--accent-yellow);
}

/* ==========================================================================
   3. ШАПКА (HEADER) ТА БУРГЕР
   ========================================================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-yellow);
}

.phone-btn {
    background-color: var(--accent-yellow);
    color: #000000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(245, 185, 21, 0.2);
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.phone-btn:hover {
    background-color: #e0a812;
    transform: translateY(-2px);
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.mobile-only { display: none; }

/* Контейнер для двух телефонов на ПК */
.header-phones-desktop {
    display: flex;
    flex-direction: column; /* Кнопки ложатся строго друг под друга */
    gap: 5px;               /* Расстояние между кнопками */
    align-items: flex-end;  /* Выравнивание по правому краю */
}

/* Делаем кнопки на ПК чуть компактнее, чтобы две штуки идеально влезли по высоте шапки */
.header-phones-desktop .phone-btn {
    font-size: 13px !important;
    padding: 5px 12px !important;
    white-space: nowrap;
}
/* ==========================================================================
   4. ГОЛОВНИЙ ЕКРАН (HERO)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(11, 11, 11, 0.75), rgba(11, 11, 11, 0.95)), 
                url('main.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 60px;
}

.hero-content {
    max-width: 650px;
}

.hero .badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-filled, .btn-outlined {
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-filled {
    background-color: var(--accent-yellow);
    color: #000;
}

.btn-filled:hover { background-color: #e0a812; }

.btn-outlined {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.btn-outlined:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
}

/* ==========================================================================
   5. СЕКЦІЯ ПОСЛУГ (SERVICES)
   ========================================================================== */
.services-section {
    padding: 80px 5%;
}

.services-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    transition: background-color 0.3s ease;
    position: relative;
}

.service-card:hover { background-color: #1a1a1a; }

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; 
    background-color: var(--accent-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .icon {
    font-size: 36px;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   6. СЕКЦІЯ ПЕРЕВАГ (ADVANTAGES)
   ========================================================================== */
.advantages-section {
    padding: 60px 5%;
    background-color: #0e0e0e;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.advantages-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.adv-item {
    flex: 1;
    text-align: center;
}

.adv-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.adv-item h4 {
    font-size: 18px;
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.adv-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   7. СЕКЦІЯ ПРО НАС (ABOUT)
   ========================================================================== */
.about-section {
    padding: 80px 5%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text, .about-image {
    flex: 1;
}

.about-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: 900;
    font-size: 18px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   8. СЕКЦІЯ КОНТАКТІВ ТА ФОРМИ (BOOKING)
   ========================================================================== */
.booking-section {
    padding: 80px 5%;
}

.booking-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contacts-info, .form-card {
    flex: 1;
}

.contacts-info h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    margin-bottom: 25px;
}

.contacts-info p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.promo-badge {
    background-color: rgba(245, 185, 21, 0.1);
    border: 1px dashed var(--accent-yellow);
    padding: 15px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.promo-badge strong { color: var(--accent-yellow); }

/* Главный контейнер блока телефонов */
.contact-block-phones {
    display: flex;
    align-items: center;    /* <--- Выравнивает иконку строго по центру высоты двух номеров */
    gap: 15px;              /* Фиксированный отступ от трубки до начала номеров */
    margin-bottom: 20px;
}

/* Наша иконка */
.phone-icon-main {
    font-size: 20px;
    display: inline-block;
    flex-shrink: 0;         /* Чтобы иконку не сжимало */
}

/* Контейнер только для номеров */
.phones-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;            /* Даем ширину только блоку с номерами */
}

.phone-line-item {
    display: flex;
    align-items: center;
}

.phone-line-item .phone-link {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

/* Красивая тонкая разделительная линия под ПЕРВЫМ номером */
.phone-line-item.border-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;    /* Расстояние от верхнего номера до линии */
    margin-bottom: 8px;     /* Полка от линии до нижнего номера */
}
.contact-block span {
    color: var(--accent-yellow);
    font-size: 20px;
}

.map-wrapper {
    margin-top: 30px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 300px; 
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.form-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    height: max-content;
}

.form-card h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-card input, 
.form-card textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid #2a2a2a;
    padding: 14px;
    color: var(--text-white);
    font-family: var(--font-text);
    font-size: 14px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-card textarea {
    resize: vertical;
    min-height: 100px;
}

.form-card input:focus, 
.form-card textarea:focus {
    border-color: var(--accent-yellow);
    outline: none;
}

.submit-btn {
    background-color: var(--accent-yellow);
    color: #000000;
    border: none;
    padding: 16px;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}
/* ==========================================
   1. СТИЛИ ДЛЯ ВСЕХ ИКОНОК НА САЙТЕ (Цвета и размеры)
   ========================================== */
.social-icons a {
    color: #ffcc00; /* Фирменный желтый цвет */
    font-size: 26px; 
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.social-icons a:hover {
    color: #ffffff; /* Белый при наведении */
    transform: scale(1.1); 
}

.social-title, 
.social-heading {
    color: #ffffff !important;
    opacity: 0.9;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==========================================
   2. АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНОГО МЕНЮ (#navMenu)
   ========================================== */
#navMenu .social-icons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Центрируем блок в бургере */
    gap: 15px;
    margin-top: 35px;
}

/* Настраиваем горизонтальный ряд с хорошим отступом для пальцев */
#navMenu .social-icons-row,
#navMenu .social-icons div {
    display: flex !important;
    flex-direction: row !important; /* В одну линию */
    justify-content: center !important;
    gap: 30px !important; /* <--- Большое удобное расстояние между иконками на телефоне */
}

/* ==========================================
   3. НАСТРОЙКА ДЛЯ СЕКЦИИ "ПРО НАС" (.about-section)
   ========================================== */
.about-section .social-icons {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Ровно под галочками по левому краю */
    gap: 12px;
    margin-top: 25px;
}

/* Горизонтальный ряд для секции "Про нас" */
.about-section .social-icons-row,
.about-section .social-icons div {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 20px !important; /* Отступ между Инстой и Тиктоком в контенте */
}
/* Выравниваем иконки в шапке на компьютере идеально по центру меню */
@media (min-width: 769px) {
    .header .social-icons {
        margin: 0 0 0 15px !important; /* Полностью убираем отступы сверху/снизу, делаем только небольшой отступ слева от "Контакты" */
        align-self: center !important; /* Выравниваем строго по центру по вертикали */
    }
    
    .header .social-icons-row {
        gap: 15px !important; /* Делаем аккуратное расстояние между инстой и тиктоком в шапке */
    }

    /* На компьютере скрываем подпись в меню, чтобы она не ломала строку */
    .header .social-title {
        display: none !important;
    }
}
/* --- АДАПТИВНОСТЬ ДЛЯ ШАПКИ НА ПК --- */
@media (min-width: 769px) {
    /* Если в шапке на ПК этот блок используется, там иконки будут просто в ряд без текста */
    .header .social-icons {
        flex-direction: row;
        align-items: center;
        margin: 0;
    }
    .header .social-icons p {
        display: none;
    }
}

.submit-btn:hover { background-color: #e0a812; }

/* ==========================================================================
   9. АДАПТИВНІСТЬ ДЛЯ ПЛАНШЕТІВ (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .about-container, 
    .booking-container {
        flex-direction: column; 
        gap: 40px;
    }
    .about-image {
        order: -1; /* Картинка "Про нас" на планшетах встает над текстом */
    }
}

/* ==========================================================================
   10. АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    /* Контейнер для двух телефонов на мобилке (внутри бургер-меню) */
    .mobile-phones-block {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 15px 0 5px 0;
        width: 100%;
        align-items: center;
    }
    
    /* Делаем мобильные кнопки на весь экран бургер-меню для удобства нажатия */
    .mobile-phones-block .phone-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin-top: 0 !important; /* убираем старый отступ */
    }

    /* Полностью скрываем блок с двумя ПК-номерами, когда сайт открыт на телефоне */
    .header-phones-desktop.desktop-only {
        display: none !important;
    }

    .burger-menu {
        display: flex; 
    }

    /* Анімація перетворення бургера в хрестик */
    .burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--accent-yellow); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--accent-yellow); }

    /* Повністю виправлене мобільне меню */
    .nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background-color: var(--bg-black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 999;
        padding: 20px;
    }

    .nav.active {
        right: 0; 
    }

    .nav a {
        font-size: 20px;
        margin: 0;
        text-transform: uppercase;
        font-family: var(--font-title);
        letter-spacing: 1px;
    }

    .nav .phone-btn {
        margin-top: 15px;
        font-size: 16px;
    }

    /* Адаптація блоків */
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr; 
    }

    .advantages-container { 
        flex-direction: column; 
        gap: 30px; 
    }

    .form-card {
        padding: 30px 20px;
    }
}
.footer {
    background-color: #0b0b0b; /* Чуть темнее или в цвет основного фона */
    padding: 20px 0;
    border-top: 1px solid #1a1a1a; /* Тонкая линия разделения */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* На компьютерах делаем в одну линию */
@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: #666666;
    font-size: 13px;
    margin: 0;
}

.footer-links a {
    color: #888888;
    font-size: 13px;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00; /* Твой фирменный желтый при наведении */
}
.phone-link {
    color: #ffcc00; /* наследует белый цвет от родительского блока */
    text-decoration: none; /* убирает подчеркивание */
}