/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f7f7f7;
    color:#222;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

/* ==========================
   HEADER
========================== */

header{
    width:100%;
    height:90px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 7%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.logo img{
    height:75px !important;
    width:auto !important;
}

/* ==========================
   NAVBAR
========================== */

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    color:#333;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#ff6600;
}
/* ==========================
   SEARCH  PRODUCT
========================== */
.search-products{
    width:50%;
    display:flex;
    justify-content:flex-end;
    margin:20px 0;
}

.search-products input{
    width:350px;
    max-width:100%;
    padding:12px 18px;
    border:2px solid #e5e7eb;
    border-radius:30px;
    font-size:15px;
    outline:none;
    background:#fff;
    transition:.3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.search-products input::placeholder{
    color:#888;
}

.search-products input:focus{
    border-color:#ff6600;
    box-shadow:0 0 0 4px rgba(255,102,0,.15);
}

@media(max-width:768px){

.search-products{
    justify-content:center;
}

.search-products input{
    width:100%;
}

}
/* ==========================
   LOGIN BUTTON
========================== */

.login-btn{

    background:#ff6600;
    color:#fff;
    border:none;
    padding:11px 28px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
    transition:.3s;

}

.login-btn:hover{

    background:#e65100;

}


#logoutBtn button{

    background:#ff6600;
    color:#fff;
    border:none;
    padding:11px 28px;
    border-radius:6px;
    cursor:pointer;
    font-size:15px;
    font-weight:bold;
    transition:.3s;

}

#logoutBtn button:hover{

    background:#e65100;

}

/* ==========================
   MOBILE HEADER
========================== */

@media (max-width:768px){

header{

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    padding:10px;
    height:auto;

}

.logo{

    width:100%;
    display:flex;
    justify-content:center;
    margin-bottom:10px;

}

nav{

    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:15px;

}

.login-btn,
#logoutBtn button{

    padding:10px 20px;
    font-size:14px;

}

.fa-cart-shopping{

    font-size:24px;
    margin-left:10px;

}

/* Login + Cart ek line me */

header > a{

    margin:5px;

}

}

/* ==========================
   CART ICON
========================== */

.cart-icon{
    position: relative;
    color:#222;
    font-size:28px;
    text-decoration:none;
    margin:0 15px;
}

#cartCount{
    position:absolute;
    top:-8px;
    right:-10px;
    background:#ff3b30;
    color:#fff;
    width:20px;
    height:20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
}
/* ==========================
   HERO SECTION
========================== */

.hero{

    margin-top:90px;

    height:700px;

    background:url("../images/background.avif") center/cover no-repeat;

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

}

.overlay{

    position:absolute;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    z-index:2;

    text-align:center;

    color:#fff;

    width:90%;

    max-width:1200px;

}

.hero-content h1{

    font-size:55px;

    margin-bottom:15px;

}

.hero-content p{

    font-size:20px;

    margin-bottom:35px;

}

/* ==========================
   FINDER BOX
========================== */

.finder-box{

    background:#fff;

    padding:30px;

    border-radius:15px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.finder-box select{

    width:100%;

    height:52px;

    border:1px solid #ddd;

    border-radius:8px;

    padding:0 12px;

    font-size:15px;

    outline:none;

}

.finder-box button{

    grid-column:1/4;

    height:55px;

    border:none;

    background:#ff6600;

    color:#fff;

    border-radius:8px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.finder-box button:hover{

    background:#e65100;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:900px){

header{

    padding:15px;

    flex-wrap:wrap;

    height:auto;

}

nav{

    width:100%;

    justify-content:center;

    margin-top:10px;

    gap:18px;

    flex-wrap:wrap;

}

.hero{

    margin-top:130px;

    height:auto;

    padding:70px 20px;

}

.hero-content h1{

    font-size:35px;

}

.hero-content p{

    font-size:16px;

}

.finder-box{

    grid-template-columns:1fr;

}

.finder-box button{

    grid-column:auto;

}

}

/* ==========================
   PRODUCTS SECTION
========================== */

.products{
    width:90%;
    max-width:1400px;
    margin:70px auto;
}

.product-title{
    text-align:center;
    font-size:38px;
    margin-bottom:45px;
    color:#222;
    position:relative;
}

.product-title::after{
    content:"";
    width:90px;
    height:4px;
    background:#ff6600;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-12px;
    border-radius:20px;
}

/* ==========================
   PRODUCT GRID
========================== */

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* ==========================
   PRODUCT CARD
========================== */

.card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

/* ==========================
   PRODUCT CONTENT
========================== */

.card h3{

    font-size:19px;

    padding:18px 18px 8px;

    color:#222;

    min-height:65px;

}

.price{

    padding:0 18px;

    color:#ff6600;

    font-size:25px;

    font-weight:bold;

    margin-bottom:20px;

}

/* ==========================
   BUTTON AREA
========================== */

.buttons{

    display:flex;

    gap:12px;

    padding:0 18px 20px;

}

/* ==========================
   BUTTONS
========================== */

.cartBtn,
.buyBtn{

    flex:1;

    border:none;

    padding:13px;

    border-radius:8px;

    cursor:pointer;

    font-size:15px;

    font-weight:bold;

    transition:.3s;

}

.cartBtn{

    background:#222;

    color:#fff;

}

.cartBtn:hover{

    background:#000;

}

.buyBtn{

    background:#ff6600;

    color:#fff;

}

.buyBtn:hover{

    background:#e65100;

}

/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

.product-title{

    font-size:30px;

}

.card img{

    height:220px;

}

.buttons{

    flex-direction:column;

}

.cartBtn,
.buyBtn{

    width:100%;

}

}


/* ==========================
   BRANDS SECTION
========================== */

.container{

    width:90%;
    max-width:1300px;
    margin:80px auto;

}

.container h2{

    text-align:center;
    font-size:38px;
    margin-bottom:20px;
    color:#222;

}

.container hr{

    width:100px;
    height:4px;
    border:none;
    background:#ff6600;
    margin:0 auto 45px;
    border-radius:10px;

}

.brand-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:25px;

}

.brand-card{

    background:#fff;
    border-radius:15px;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:130px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;

}

.brand-card:hover{

    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);

}

.brand-card img{

    max-width:120px;
    max-height:70px;
    object-fit:contain;

}

/* ==========================
   FEATURES
========================== */

.feature-container{

    width:90%;
    max-width:1300px;
    margin:70px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;

}

.feature-box{

    background:#fff;
    border-radius:15px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
    color:#222;

}

.feature-box:hover{

    transform:translateY(-5px);

}

.feature-box img{

    width:70px;
    height:70px;
    object-fit:contain;

}

.feature-box h3{

    margin-bottom:8px;
    color:#ff6600;

}

.feature-box p{

    color:#666;
    line-height:1.5;

}

/* ==========================
   FOOTER
========================== */

.footer{

    background:#1f2937;
    color:#fff;
    margin-top:80px;

}

.footer-container{

    width:90%;
    max-width:1300px;
    margin:auto;
    padding:60px 0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;

}

.footer-box h2,
.footer-box h3{

    color:#ff6600;
    margin-bottom:20px;

}

.footer-box p{

    color:#ddd;
    line-height:1.8;
    margin-bottom:10px;

}

.footer-box a{

    display:block;
    color:#ddd;
    margin-bottom:10px;
    transition:.3s;

}

.footer-box a:hover{

    color:#ff6600;

}

.social-icons{

    display:flex;
    gap:15px;
    margin-top:20px;

}

.social-icons a{

    width:42px;
    height:42px;
    background:#374151;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    transition:.3s;

}

.social-icons a:hover{

    background:#ff6600;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    padding:18px;
    color:#bbb;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

.brand-grid{

    grid-template-columns:repeat(2,1fr);

}

.feature-container{

    grid-template-columns:1fr;

}

.feature-box{

    flex-direction:column;
    text-align:center;

}

.footer-container{

    grid-template-columns:1fr;
    text-align:center;

}

.social-icons{

    justify-content:center;

}

}