/* ===========================
   FINDLIX HUB - STYLE.CSS
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0d0d0d;
    color:#fff;
}

/* ================= HEADER ================= */

header{
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(15,15,15,.95);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
    font-size:30px;
    font-weight:800;
    color:#ff2b2b;
    letter-spacing:1px;
}

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

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

nav a:hover{
    color:#ff3131;
}

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

.hero{

    min-height:90vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:40px;

    background:

    radial-gradient(circle at top,#ff1e1e22,transparent 45%),

    linear-gradient(180deg,#141414,#090909);

}

.hero h1{

    font-size:64px;

    max-width:900px;

    line-height:1.1;

    margin-bottom:20px;

}

.hero p{

    color:#cfcfcf;

    font-size:20px;

    margin-bottom:40px;

}

.search-box{

    width:100%;

    max-width:700px;

    display:flex;

    background:#1b1b1b;

    border-radius:60px;

    overflow:hidden;

    border:2px solid #ff3131;

    box-shadow:0 0 30px rgba(255,49,49,.25);

}

.search-box input{

    flex:1;

    padding:18px 25px;

    background:transparent;

    color:#fff;

    border:none;

    outline:none;

    font-size:16px;

}

.search-box button{

    width:70px;

    border:none;

    background:#ff3131;

    color:#fff;

    cursor:pointer;

    font-size:18px;

}

/* ================= TITLES ================= */

.section-title{

    text-align:center;

    margin:80px 0 40px;

}

.section-title h2{

    font-size:42px;

}

/* ================= CATEGORIES ================= */

.categories{

    padding:80px 8%;

}

.categories h2{

    text-align:center;

    font-size:42px;

    margin-bottom:50px;

}

.category-grid{

    display:grid;

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

    gap:25px;

}

.category-card{

    background:#161616;

    border-radius:20px;

    padding:40px 20px;

    text-align:center;

    transition:.35s;

    border:1px solid rgba(255,255,255,.08);

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

    font-size:55px;

}

.category-card h3{

    font-size:20px;

    margin-top:20px;

}

.category-card:hover{

    transform:translateY(-10px);

    border-color:#ff3131;

    box-shadow:0 20px 45px rgba(255,49,49,.35);

}

/* ================= PRODUCTS ================= */

.products{

    padding:0 8% 80px;

    display:grid;

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

    gap:30px;

}

/* PRODUCT CARD */

.product-card{
background:#171717;
border-radius:18px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,.3);
transition:.3s;
border:1px solid rgba(255,255,255,.08);
}

.product-card:hover{
transform:translateY(-8px);
border-color:#ff3131;
}

.product-card img{
width:100%;
height:260px;
object-fit:cover;
}

.product-content{
padding:20px;
}

.category{
display:inline-block;
background:#ff3131;
padding:6px 14px;
border-radius:30px;
font-size:13px;
font-weight:600;
margin-bottom:12px;
}

.product-content h3{
font-size:20px;
margin-bottom:10px;
}

.rating{
color:#ffc107;
margin-bottom:10px;
}

.product-content h2{
color:#ff3131;
margin-bottom:20px;
}

.buy-btn{
display:block;
text-align:center;
background:#ff3131;
color:#fff;
padding:14px;
border-radius:50px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.buy-btn:hover{
background:#d60000;
}

/* Product cards will be added later */

/* ================= ABOUT ================= */

.about{

    padding:80px 8%;

    text-align:center;

}

.about h2{

    font-size:40px;

    margin-bottom:25px;

}

.about p{

    max-width:900px;

    margin:auto;

    color:#bdbdbd;

    line-height:1.8;

}

/* ================= FOOTER ================= */

footer{

    background:#090909;

    text-align:center;

    padding:60px 20px;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-logo{

    font-size:32px;

    color:#ff3131;

    font-weight:800;

    margin-bottom:15px;

}

.social{

    margin:25px 0;

}

.social a{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:50px;

    height:50px;

    margin:0 8px;

    border-radius:50%;

    background:#181818;

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.social a:hover{

    background:#ff3131;

    transform:translateY(-5px);

}

footer p{

    color:#bfbfbf;

    margin-top:15px;

}

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

@media(max-width:900px){

header{

flex-direction:column;

gap:20px;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.search-box{

max-width:100%;

}

}

@media(max-width:600px){

.hero h1{

font-size:34px;

}

.logo{

font-size:24px;

}

nav{

gap:18px;

}

.section-title h2,

.categories h2,

.about h2{

font-size:30px;

}

}