/* =========================================
   MyFly Club - Main Page Styles
   Consolidated + Responsive
   ========================================= */

/* =========================================
   HERO
   ========================================= */

.mainpage .kb-hero {
    background: #0f2c40;
    color: #fff;
    text-align: center;
    padding: 2.5rem 1.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainpage .kb-hero h1,
.mainpage .kb-hero p,
.mainpage .kb-hero a {
    color: #fff !important;
}

.mainpage .kb-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mainpage .kb-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    margin: 0 0 1.5rem;
    color: #fff;
    line-height: 1.15;
}

/* =========================================
   SEARCH BAR
   ========================================= */

.mainpage .kb-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 4px;
    background: #c54b1d;
    border-radius: 50px;
    overflow: hidden;
}

.mainpage .kb-search input[type="search"] {
    width: 280px;
    max-width: 100%;
    border: none;
    outline: none;
    background: #fff;
    color: #222;
    border-radius: 50px 0 0 50px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.mainpage .kb-search input[type="search"]::placeholder {
    color: #666;
}

.mainpage .kb-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: none !important;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.mainpage .kb-search button:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 50px 50px 0;
}

.mainpage .kb-search button:focus,
.mainpage .kb-search button:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.mainpage .kb-search .search-icon::before {
    content: "\1F50D";
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

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

@media (max-width: 768px) {
    .mainpage .kb-hero {
        padding: 2rem 1.2rem;
        min-height: 180px;
    }

    .mainpage .kb-title {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }

    .mainpage .kb-search input[type="search"] {
        width: 220px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mainpage .kb-hero {
        padding: 1.8rem 1rem;
        min-height: 160px;
    }

    .mainpage .kb-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .mainpage .kb-search {
        width: 90%;
        max-width: 360px;
    }

    .mainpage .kb-search input[type="search"] {
        width: 100%;
        padding: 0.55rem 0.9rem;
    }

    .mainpage .kb-search button {
        padding: 0.55rem 0.8rem;
    }
}
