/* =========================================
   ASCars.cc - index.php
========================================= */

.home-page {
    width: 100%;
    min-height: 100vh;
    height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.35)
        ),
        url("/assets/img/home-bg.png") center center / cover no-repeat;
}

/* Hero */

.hero {
    flex: 1;
    min-height: 0;

    display: flex;
    align-items: center;

    padding: 40px 70px 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 780px;
    margin-top: -35px;
}

.hero h1 {
    margin-bottom: 22px;

    font-size: 30px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero p {
    max-width: 720px;
    margin-bottom: 34px;

    font-size: 20px;
    line-height: 1.55;

    opacity: 0.9;
}

/* ASAI box */

.asai-box {
    width: 100%;
    max-width: 720px;

    padding: 24px;
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.asai-title {
    margin-bottom: 14px;

    font-size: 20px;
    font-weight: 800;
}

.asai-search {
    display: flex;
    gap: 12px;
}

.asai-search input {
    flex: 1;
    min-width: 0;

    padding: 16px;
    border: none;
    border-radius: 12px;

    background: #ffffff;
    color: #111111;

    font-size: 16px;
    outline: none;
}

.asai-search input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.asai-search button {
    padding: 0 26px;

    border: none;
    border-radius: 12px;

    background: #ffffff;
    color: #111111;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.asai-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.asai-answer {
    margin-top: 14px;

    font-size: 14px;
    line-height: 1.4;

    opacity: 0.82;
}

/* Responsive */

@media (max-width: 950px) {
    .home-page {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .hero {
        padding: 40px 24px;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .asai-search {
        flex-direction: column;
    }

    .asai-search button {
        padding: 15px;
    }
}

@media (max-height: 720px) and (min-width: 951px) {
    .top-menu {
        height: 82px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
    }

    .logo-circle img {
        width: 55px;
        height: 55px;
    }

    .hero {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .hero-content {
        margin-top: -10px;
    }

    .hero p {
        margin-bottom: 22px;
    }

    .asai-box {
        padding: 20px;
    }

    .site-footer {
        padding: 12px;
    }
}