/* ===========================
   GodGive2Thrift
=========================== */

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

body{
    background:#f5f5f5;
    color:#333;
}

/* ===========================
   Header
=========================== */

header{

    background:#1E293B;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    position:sticky;

    top:0;

    z-index:1000;

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

}

.logo h1{
    color:#D4AF37;
}

nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#D4AF37;
}

.header-icons i{
    color:white;
    margin-left:20px;
    cursor:pointer;
    font-size:20px;
    transition:.3s;
}

.header-icons i:hover{
    color:#D4AF37;
}

/* ===========================
   Hero
=========================== */
button,
.btn,
.product-card,
.category-card,
nav a,
.header-icons i,
input,
select,
textarea{

    transition:.25s ease;

}
.hero{
    height:90vh;
    background:url("https://images.unsplash.com/photo-1523381210434-271e8be1f52b?auto=format&fit=crop&w=1600&q=80") center center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content{
    background:rgba(0,0,0,.55);
    padding:40px;
    border-radius:15px;
}

.hero h2{
    font-size:55px;
}

.hero p{
    margin:20px 0;
    font-size:20px;
}

.btn{

    display:inline-block;

    padding:15px 35px;

    background:#F59E0B;

    color:white;

    text-decoration:none;

    border-radius:10px;

    font-weight:600;

}

.btn:hover{

    background:#d97706;

    transform:translateY(-3px);

}

/* ===========================
   Categories
=========================== */

.categories{
    padding:70px 8%;
}

.categories h2{
    text-align:center;
    margin-bottom:40px;
}

.category-container{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.category-card{

    background:#1E293B;

    color:white;

    padding:18px 30px;

    border-radius:12px;

    font-weight:600;

}

.category-card:hover{

    background:#F59E0B;

    color:black;

}

/* ===========================
   Products
=========================== */

.products{
    padding:70px 8%;
}

.products h2{
    text-align:center;
    margin-bottom:40px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.product-card{

    border-radius:18px;

    overflow:hidden;

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

}

.product-card:hover{

    transform:translateY(-8px);

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

}

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

.product-card h3{
    margin:15px;
}

.product-card p{
    color:#D4AF37;
    font-size:22px;
    margin:15px;
    font-weight:bold;
}

.product-card button{
    width:90%;
    margin:15px;
    padding:12px;
    border:none;
    background:#111;
    color:white;
    cursor:pointer;
    border-radius:8px;
    transition:.3s;
}

.product-card button:hover{
    background:#D4AF37;
    color:black;
}

/* ===========================
   Why Choose Us
=========================== */

.why{
    background:white;
    padding:70px 8%;
}

.why h2{
    text-align:center;
    margin-bottom:40px;
}

.why-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    text-align:center;
}

.why-container div{
    background:#f7f7f7;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
}

/* ===========================
   Footer
=========================== */

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

footer{

    background:#0F172A;

    color:white;

    padding:70px 8% 30px;

}

.footer-grid{

    display:grid;

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

    gap:40px;

}

.footer-grid h2,
.footer-grid h3{

    color:#FBBF24;

    margin-bottom:20px;

}

.footer-grid a{

    display:block;

    color:#d1d5db;

    text-decoration:none;

    margin-bottom:12px;

}

.footer-grid a:hover{

    color:#FBBF24;

}

.socials{

    display:flex;

    gap:15px;

}

.socials a{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#1E293B;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

}

.socials a:hover{

    background:#FBBF24;

    color:#111827;

}

footer hr{

    margin:50px 0 25px;

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

}

.copyright{

    text-align:center;

    color:#94A3B8;

}

footer h2{
    color:#D4AF37;
    margin-bottom:15px;
}

footer p{
    margin:10px 0;
}

/* ===========================
   Responsive
=========================== */

@media(max-width:768px){

header{
    flex-direction:column;
}

nav{
    margin:20px 0;
}

.hero h2{
    font-size:36px;
}

.hero p{
    font-size:18px;
}
/* ===========================
   SEARCH & FILTER
=========================== */

.search-bar{

    width:100%;

}

.search-bar input{

    width:100%;

    padding:18px 20px;

    border:1px solid #ddd;

    border-radius:14px;

    font-size:16px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    outline:none;

}

.search-bar input:focus{

    border-color:#F59E0B;

}

.filters{

    margin-top:20px;

    display:flex;

    gap:15px;

    flex-wrap:wrap;

}

.filters select{

    padding:14px 18px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:15px;

    background:white;

    cursor:pointer;

    box-shadow:0 5px 12px rgba(0,0,0,.08);

}
.hero{

    height:260px;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    background:url("https://images.unsplash.com/photo-1523381210434-271e8be1f52b?auto=format&fit=crop&w=1600&q=80");

    background-size:cover;

    background-position:center;

}

.hero h2{

    font-size:48px;

}

.hero p{

    margin-top:10px;

    font-size:18px;

}

.search-section{

    width:90%;

    max-width:1200px;

    margin:40px auto;

}

.search-section input{

    width:100%;

    padding:18px;

    border-radius:12px;

    border:1px solid #ddd;

    font-size:16px;

}

.filters{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.filters select{

    padding:14px;

    border-radius:10px;

}

.products{

    width:90%;

    max-width:1400px;

    margin:50px auto;

    display:grid;

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

    gap:35px;

}
.product-card{

    position:relative;

    overflow:hidden;

}

.product-card img{

    width:100%;

    height:320px;

    object-fit:cover;

}

.content{

    padding:20px;

}

.badge{

    position:absolute;

    top:15px;

    left:15px;

    background:#F59E0B;

    color:black;

    padding:8px 14px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

}

.favorite{

    position:absolute;

    right:15px;

    top:15px;

    width:42px;

    height:42px;

    border-radius:50%;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    box-shadow:0 3px 10px rgba(0,0,0,.2);

}

.favorite:hover{

    color:red;

}
}
/* ==========================
   CATEGORY SECTION
========================== */

.categories-section{

    padding:100px 8%;

    background:#fff;

}

.section-header{

    text-align:center;

    margin-bottom:60px;

}

.section-header span{

    color:#FBBF24;

    letter-spacing:3px;

    font-weight:700;

    font-size:14px;

}

.section-header h2{

    margin:15px 0;

    font-size:42px;

    color:#111827;

}

.section-header p{

    color:#6B7280;

    font-size:18px;

}

.categories-grid{

    display:grid;

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

    gap:30px;

}

.category-card{

    background:white;

    text-decoration:none;

    color:#111827;

    border-radius:20px;

    padding:40px 25px;

    text-align:center;

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

    transition:.35s;

}

.category-card:hover{

    transform:translateY(-10px);

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

}

.category-card i{

    font-size:55px;

    color:#FBBF24;

    margin-bottom:20px;

}

.category-card h3{

    margin-bottom:10px;

    font-size:24px;

}

.category-card p{

    color:#6B7280;

}
/* ==========================
   FEATURED PRODUCTS
========================== */

.featured-products{

    padding:100px 8%;

    background:#F8FAFC;

}

.featured-grid{

    display:grid;

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

    gap:35px;

    margin-top:50px;

}

.home-card{

    background:white;

    border-radius:18px;

    overflow:hidden;

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

    transition:.35s;

}

.home-card:hover{

    transform:translateY(-10px);

}

.home-card img{

    width:100%;

    height:320px;

    object-fit:cover;

}

.home-info{

    padding:25px;

}

.home-info h3{

    font-size:22px;

    margin-bottom:10px;

}

.home-price{

    color:#F59E0B;

    font-size:26px;

    font-weight:bold;

    margin:15px 0;

}

.home-btn{

    display:block;

    text-align:center;

    padding:14px;

    background:#111827;

    color:white;

    text-decoration:none;

    border-radius:10px;

    font-weight:600;

}

.home-btn:hover{

    background:#FBBF24;

    color:#111827;

}
/* ==========================
   TESTIMONIALS
========================== */

.testimonials-section{

    padding:100px 8%;

    background:white;

}

.testimonial-grid{

    display:grid;

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

    gap:35px;

    margin-top:60px;

}

.testimonial-card{

    background:#fff;

    border-radius:20px;

    padding:40px;

    text-align:center;

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

    transition:.35s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

}

.testimonial-card img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:20px;

}

.testimonial-card h3{

    margin-bottom:10px;

}

.stars{

    color:#FBBF24;

    font-size:20px;

    margin-bottom:20px;

}

.testimonial-card p{

    color:#6B7280;

    line-height:1.8;

}

