/* ========== ОСНОВА ========== */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

/* 🎬 ГЛАВНЫЙ ФОН */
.hero {
    width: 100%;
    height: 520px;
    background: url("images/bg.jpg") center center / cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 80px;
}

/* ====================================== */
/*  📞 ТЕЛЕФОН СВЕРХУ                      */
/* ====================================== */

.topbar {
    position: absolute;
    width: 100%;
    top: 18px;
    right: 0;
    text-align: right;
    padding-right: 25px;
    z-index: 50;
}

.phone {
    font-size: 20px;
    font-weight: bold;
    color: #4da6ff;
    text-decoration: none;
}

/* ====================================== */
/*  🍔 БУРГЕР                              */
/* ====================================== */

.burger {
    display: none;
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 32px;
    color: #4da6ff;
    cursor: pointer;
    z-index: 100;
}

/* ====================================== */
/*  🔵 МЕНЮ                                */
/* ====================================== */

.menu {
    position: absolute;
    top: 160px;                     /* 🔥 ниже логотипа */
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;                /* 🔥 не ломает ПК */
    gap: 20px;
    z-index: 30;
}

.menu a {
    color: #4da6ff;
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 22px;
    border: 2px solid #4da6ff;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    transition: 0.3s;
}

.menu a:hover {
    background: rgba(77, 166, 255, 0.25);
    box-shadow: 0 0 12px #4da6ff;
}

/* ====================================== */
/*  🔘 КНОПКА ЗАКАЗА                       */
/* ====================================== */

.main-btn {
    display: block;
    margin: 0 auto;
    padding: 16px 48px;
    font-size: 22px;
    background: rgba(0,0,0,0.6);
    border: 2px solid #4da6ff;
    color: #4da6ff;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
    z-index: 30;
}

.main-btn:hover {
    background: rgba(77,166,255,0.3);
}

/* ====================================== */
/*  📱 АДАПТИВ                             */
/* ====================================== */

@media (max-width: 768px) {

    .hero {
        height: 520px;
        padding-bottom: 60px;
        background-position: center top;
    }

    .topbar .phone {
        font-size: 16px;
    }

    /* показываем бургер */
    .burger {
        display: block;
    }

    /* меню скрыто */
    .menu {
        position: static;
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.88);
        padding: 20px;
        gap: 15px;
        border-radius: 10px;
        margin-top: 60px;
    }

    /* при открытии */
    .menu.open {
        display: flex;
    }

    .menu a {
        font-size: 18px;
        width: 100%;
        padding: 12px;
    }

    .main-btn {
        font-size: 18px;
        padding: 14px 34px;
    }
}

/* ====================================== */
/*  FOOTER                                 */
/* ====================================== */

.footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    padding: 30px 0;
    text-align: center;
    color: #ccc;
    backdrop-filter: blur(4px);
    position: relative;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.f-title {
    font-size: 22px;
    color: #4da6ff;
    font-weight: 600;
}

.f-sub {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 5px;
}

.f-phone {
    color: #4da6ff;
    font-size: 16px;
    margin-top: 12px;
}

.f-links {
    margin-top: 12px;
}

.f-links a {
    color: #4da6ff;
    margin: 0 8px;
    text-decoration: none;
}

.f-copy {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 12px;
}
