
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f8fafc;
    color:#1e293b;
}

/* HEADER */

header{
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 80px;
    border-bottom:1px solid #e5e7eb;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:42px;
    font-weight:800;
    color:#1E40AF;
}

.logo span{
    color:#14B8A6;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#1e293b;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#6366F1;
}

/* HERO */

.hero{
    background:linear-gradient(
        135deg,
        #1E40AF 0%,
        #6366F1 100%
    );

    color:white;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:70px;

    padding:100px 80px;
}

.hero-text{
    max-width:700px;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    font-size:24px;
    line-height:1.7;
    opacity:.95;
    margin-bottom:40px;
}

/* BUTTONS */

.btn{
    padding:18px 35px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-primary{
    background:#F97316;
    color:white;
}

.btn-secondary{
    background:white;
    color:#1E40AF;
    margin-left:15px;
}

/* FEATURE CARD */

.feature-card{
    background:white;
    color:#1e293b;

    width:420px;

    border-radius:24px;

    padding:40px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.feature-card h2{
    color:#6366F1;
    margin-bottom:20px;
}

.feature-card h3{
    margin-bottom:15px;
}

.feature-card p{
    color:#64748b;
    line-height:1.7;
}

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

.search-section{
    padding:60px 20px;
    display:flex;
    justify-content:center;
}

.search-container{
    width:100%;
    max-width:700px;
    position:relative;
    text-align:center;
}

.search-container h1{
    font-size:42px;
    font-weight:700;
    color:#1e293b;
    margin-bottom:30px;
}

#searchInput{
    width:100%;
    padding:20px 22px;
    font-size:18px;
    border-radius:15px;
    border:2px solid #dbe2ea;
    background:#ffffff;
    color:#1e293b;
    outline:none;
    box-sizing:border-box;
    transition:.3s;
}

#searchInput:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.15);
}

#searchInput::placeholder{
    color:#94a3b8;
}

#searchResults{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#ffffff;
    border-radius:15px;
    margin-top:10px;
    overflow:hidden;
    display:none;
    z-index:999;
    box-shadow:0 15px 40px rgba(0,0,0,.10);
    text-align:left;
}

.search-item{
    padding:18px 22px;
    cursor:pointer;
    border-bottom:1px solid #eef2f7;
    transition:.2s;
}

.search-item:last-child{
    border-bottom:none;
}

.search-item:hover{
    background:#f8fafc;
}

/* SECTION TITLE */

.section-title{
    text-align:center;
    font-size:64px;
    margin-bottom:60px;
    color:#1e293b;
}

/* BUSINESS LIST */

.businesses{
    padding:80px;
}

#results{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.business-card{
    background:white;

    border-radius:20px;

    padding:30px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.3s;
}

.business-card:hover{
    transform:translateY(-5px);
}

.business-card h3{
    color:#1E40AF;
    margin-bottom:20px;
    font-size:28px;
}

.business-card p{
    color:#64748b;
    margin-bottom:12px;
    line-height:1.6;
}

.business-card strong{
    color:#1e293b;
}

.business-card a{
    color:#F97316;
    text-decoration:none;
    font-weight:700;
}

.business-card a:hover{
    text-decoration:underline;
}

/* FOOTER */

footer{
    margin-top:80px;

    background:white;

    border-top:1px solid #e5e7eb;

    text-align:center;

    padding:40px;

    color:#64748b;
}

/* MOBILE */

@media(max-width:900px){

    header{
        flex-direction:column;
        gap:20px;
        padding:20px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        flex-direction:column;
        text-align:center;
        padding:60px 25px;
    }

    .hero h1{
        font-size:48px;
    }

    .feature-card{
        width:100%;
    }

    .search-section{
        padding:30px 20px;
    }

    .businesses{
        padding:20px;
    }

    .section-title{
        font-size:42px;
    }
}

#pagination{
    margin-top:40px;
    text-align:center;
}

#pagination button{
    padding:12px 18px;
    margin:5px;
    border:none;
    border-radius:8px;
    background:#ff7a18;
    color:white;
    cursor:pointer;
    font-weight:600;
}

#pagination button:hover{
    background:#ff9a3d;
}

.featured-section {
    padding: 50px;
    text-align: center;
}

.featured-section h2 {
    color: #1e40af;
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.featured-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.featured-card h3 {
    color: #1e40af;
    margin-bottom: 10px;
}

.featured-card a {
    color: #f97316;
    font-weight: bold;
    text-decoration: none;
}
#featuredBusinesses {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}
@media (max-width: 1200px) {
    #featuredBusinesses {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #featuredBusinesses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #featuredBusinesses {
        grid-template-columns: 1fr;
    }
}