/* ==========================================
   Dalni - Main Styles
   Version: 1.0
========================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Cairo',sans-serif;

    background:#f5f7fb;

    color:#222;

    min-height:100vh;

}

/* Loader */

#loader{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    height:100vh;

    background:#0F172A;

    color:#fff;

}

#loader h1{

    font-size:50px;

    font-weight:800;

    margin-bottom:10px;

}

#loader p{

    opacity:.8;

}

/* Header */

header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    background:#ffffff;

    position:sticky;

    top:0;

    z-index:100;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.logo h1{

    color:#2563EB;

    font-size:34px;

}

.logo span{

    color:#888;

    font-size:13px;

}

nav{

    display:flex;

    gap:25px;

}

nav a{

    text-decoration:none;

    color:#444;

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:#2563EB;

}

/* Hero */

.hero{

    padding:80px 10%;

    text-align:center;

}

.hero h2{

    font-size:48px;

    margin-bottom:20px;

    color:#0F172A;

}

.hero p{

    max-width:700px;

    margin:auto;

    color:#666;

    line-height:1.9;

    margin-bottom:40px;

}

.search-box{

    display:flex;

    justify-content:center;

    gap:10px;

    flex-wrap:wrap;

}

.search-box input{

    width:500px;

    max-width:100%;

    padding:18px;

    border:none;

    border-radius:14px;

    font-size:17px;

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

    outline:none;

}

.search-box button{

    padding:18px 35px;

    border:none;

    border-radius:14px;

    background:#2563EB;

    color:#fff;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}

.search-box button:hover{

    background:#1E40AF;

}

/* Responsive */

@media(max-width:768px){

header{

flex-direction:column;

gap:20px;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

.hero h2{

font-size:34px;

}

}
/* ===========================
   Categories Section
=========================== */

.categories{

    padding:80px 8%;

    background:#ffffff;

}

.categories h2{

    text-align:center;

    font-size:38px;

    color:#0F172A;

    margin-bottom:15px;

}

.categories>p{

    text-align:center;

    color:#64748B;

    max-width:700px;

    margin:0 auto 50px;

    line-height:1.8;

}

.categories-grid{

    display:grid;

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

    gap:25px;

}

.category-card{

    background:#ffffff;

    border-radius:20px;

    padding:35px 20px;

    text-align:center;

    cursor:pointer;

    transition:.35s;

    border:1px solid #E2E8F0;

    box-shadow:0 10px 30px rgba(15,23,42,.05);

}

.category-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(37,99,235,.18);

    border-color:#2563EB;

}

.category-card{

    font-size:48px;

}

.category-card h3{

    margin-top:18px;

    font-size:20px;

    color:#0F172A;

}
/* ===========================
   Location Button
=========================== */

.location-btn{

    background:#ffffff;

    color:#2563EB;

    border:2px solid #2563EB;

    transition:.3s;

}

.location-btn:hover{

    background:#2563EB;

    color:#ffffff;

}
/* ===========================
   Trending Section
=========================== */

.trending{

    padding:40px 8%;

}

.trending h2{

    margin-bottom:25px;

    text-align:center;

    font-size:32px;

    color:#0F172A;

}

.trending-list{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.trend-item{

    padding:14px 22px;

    border:none;

    border-radius:50px;

    background:#EFF6FF;

    color:#2563EB;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.trend-item:hover{

    background:#2563EB;

    color:#ffffff;

    transform:translateY(-3px);

}
