/* Базові налаштування */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Забороняємо лише горизонтальну прокрутку */
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
}

/* Головний екран з фоном */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png'); /* Ваш чистий фон */
    background-size: cover;
    background-position: center bottom;
}

/* Загальний стиль для золотого тексту */
.gold-text {
    margin: 0;
    font-weight: 800;
    background: linear-gradient(180deg, #f9d97a 0%, #c6934b 45%, #8c5a1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.8));
}

/* --- ЛІВА ЧАСТИНА (Десктоп) --- */
.left-text-container {
    position: absolute;
    top: 8%;
    left: 5%;
    z-index: 10;
}

.title {
    font-size: 5vw;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 3.5vw;
    margin-top: 10px;
    margin-left: 10vw;
}

/* --- ПРАВА ЧАСТИНА (Десктоп) --- */
.right-panel {
    position: absolute;
    top: 8%;
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.contact-numbers a {
    font-size: 2.2vw;
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-numbers a:hover {
    transform: scale(1.05);
}

.form-container {
    background: rgba(0, 0, 0, 0.65);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #c6934b;
    backdrop-filter: blur(8px);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.form-subtitle {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 25px;
    margin-top: 0;
    opacity: 0.9;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registration-form input {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.registration-form input::placeholder {
    color: #ddd;
}

.registration-form input:focus {
    border-color: #f9d97a;
    background: rgba(255, 255, 255, 0.2);
}

.gold-button {
    background: linear-gradient(180deg, #f9d97a 0%, #c6934b 100%);
    color: #111;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 217, 122, 0.4);
}

/* --- ІКОНКИ МАГАЗИНІВ --- */
.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.app-badges img {
    height: 40px; /* Фіксована висота для обох іконок */
    width: auto;
    transition: transform 0.2s;
}

.app-badges a:hover img {
    transform: scale(1.05);
}

/* --- ІНФОРМАЦІЯ ПРО РОБОТУ (Десктоп) --- */
.hiring-info {
    position: absolute;
    bottom: 8%;
    left: 5%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.65);
    padding: 15px 25px;
    border-radius: 10px;
    border-left: 4px solid #c6934b;
    backdrop-filter: blur(8px);
}

.hiring-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.hiring-info p {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}


.taxi-border {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-image: 
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000),
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-color: #f9d97a;
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 20;
}


/* =========================================
   АДАПТАЦІЯ ДЛЯ МОБІЛЬНИХ ПРИСТРОЇВ
   ========================================= */
@media screen and (max-width: 768px) {
    body, html {
        overflow-y: auto; /* Дозволяємо вертикальну прокрутку */
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 150px; /* Місце для шахової смуги та машини */
    }

    /* Змінюємо позиціонування на відносне для блоків */
    .left-text-container, .right-panel, .hiring-info {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 90%;
        max-width: 400px;
        margin-bottom: 30px;
        z-index: 10;
    }

    .left-text-container {
        text-align: center;
    }

    .title {
        font-size: 10vw; /* Збільшуємо шрифт для мобільного */
    }

    .subtitle {
        font-size: 7vw;
        margin-left: 0;
        margin-top: 5px;
    }

    .contact-numbers a {
        font-size: 1.5rem; /* Фіксований розмір замість vw */
    }

    .hiring-info {
        text-align: center;
        border-left: none;
        border-top: 4px solid #c6934b; /* Змінюємо акцентну лінію */
    }

    /* Налаштування машини для мобільних екранів */
    .car-container {
        width: 65%; /* Робимо машину трохи більшою на телефоні */
        bottom: 12%; 
        animation: drive-mobile 6s linear infinite;
    }

    @keyframes drive-mobile {
        0% { transform: translateX(0) translateY(0) scale(0.8); }
        100% { transform: translateX(250vw) translateY(5vh) scale(1.2); }
    }
}