/* =========================
   HOME – VISUAL LAYER ONLY
   HERO IMAGE + SEARCH VISUAL
   ========================= */

/* =========================
   HERO (VISUAL ONLY)
   – NO POSITION FIXED
   – NO DUPLICATE GRID LOGIC
   ========================= */

.hero.hero-bg {
    width: 100%;
    min-height: 85vh;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            rgba(5,7,12,0.75),
            rgba(5,7,12,0.9)
        ),
        url("../media/hero.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ❗ HERO STRUCTURE COMES FROM premium-home.css ❗ */
/* SIIN EI OLE .hero-inner GRID-I */

/* =========================
   SEARCH BOX – VISUAL ONLY
   ========================= */

.search-box {
    background: linear-gradient(
        180deg,
        rgba(15, 21, 36, 0.98),
        rgba(11, 18, 32, 0.98)
    );
    border-radius: 22px;
    padding: 34px;

    box-shadow:
        0 40px 120px rgba(0,0,0,0.65),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.search-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
}

/* GRID (DESKTOP) */
.search-box .search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* FIELDS */
.field label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
}

.field select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #05070c;
    color: #ffffff;
}

/* BUTTON */
.search-btn {
    margin-top: 18px;
    background: linear-gradient(
        180deg,
        #1c2333,
        #121826
    );
    color: #e5e7eb;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 16px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
}

/* =========================
   BRANDS / LOGO SLIDER
   ========================= */

.brand-section {
    margin-top: 90px;
}

.brand-box {
    margin-top: 36px;
    overflow: hidden;

    background: linear-gradient(
        180deg,
        rgba(15, 21, 36, 0.85),
        rgba(11, 18, 32, 0.85)
    );

    border-radius: 22px;
    padding: 28px 0;
}

.brand-track {
    display: flex;
    gap: 56px;
    align-items: center;

    width: max-content;
    animation: brand-scroll 38s linear infinite;
}

.brand-logo {
    height: 46px;
    width: auto;
    opacity: 0.85;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Hover zoom – ONLY on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    .brand-logo:hover {
        transform: scale(1.12);
        opacity: 1;
    }
}

/* Slider animation */
@keyframes brand-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .hero.hero-bg {
        min-height: auto;
    }

    .search-box .search-grid {
        grid-template-columns: 1fr;
    }

    .brand-track {
        gap: 36px;
    }

    .brand-logo {
        height: 40px;
    }
}
