/* ================= GLOBAL RESET ================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:#f8f9fa;
}

/* ================= NAVBAR ================= */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:#ffffff;
    position:relative;   /* IMPORTANT */
    z-index:1000;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:#000;
    font-weight:500;
}

.logo{
    font-size:22px;
    font-weight:bold;
}

.menu-link::after{
content:'';
position:absolute;
left:0;
bottom:-3px;
width:0%;
height:2px;
background:#f5c542;
transition:0.3s;
}

.menu-link:hover{
color:#f5c542;
}

.menu-link:hover::after{
width:100%;
}

.menu-toggle{
display:none;
font-size:28px;
color:#fff;
cursor:pointer;
}

/* ================= HERO BANNER ================= */

.hero{
height:100vh;
background:url('/clothingstore/assets/images/banner.jpg') center/cover no-repeat;
display:flex;
align-items:center;
justify-content:flex-start;
position:relative;
padding-left:80px;
margin-top:20px;
}

.hero::before{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
z-index:1;
}

.hero-content{
position:relative;
z-index:2;
color:#fff;
max-width:500px;
}

.hero-content h1{
font-size:60px;
margin-bottom:15px;
line-height:1.2;
}

.hero-content p{
font-size:20px;
margin-bottom:25px;
color:#f5c542;
}

/* HERO BUTTON */

.shop-btn{
display:inline-block;
background:#f5c542;
color:#000;
padding:12px 30px;
border-radius:5px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.shop-btn:hover{
background:#fff;
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

/* ================= CATEGORIES ================= */

.categories{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
width:90%;
margin:60px auto;
}

.cat-card{
background:#eee;
height:150px;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
font-weight:bold;
border-radius:10px;
}

/* ================= PRODUCTS ================= */

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
width:90%;
margin:auto;
}

.product-card{
background:#fff;
padding:15px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
text-align:center;
}

.product-card:hover{
transform:translateY(-5px);
}

.product-card img{
width:100%;
border-radius:8px;
}

/* ================= TRUST ================= */

.trust{
display:flex;
justify-content:space-around;
background:#f5f5f5;
padding:40px;
margin-top:50px;
}

/* ================= NEWSLETTER ================= */

.newsletter{
background:#000;
color:#fff;
text-align:center;
padding:50px;
margin-top:50px;
}

.newsletter input{
padding:10px;
width:250px;
margin-right:10px;
}

.newsletter button{
padding:10px 20px;
}

/* ================= FOOTER ================= */

footer{
background:#1a1a1a;
color:#fff;
text-align:center;
padding:20px;
margin-top:40px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.menu-toggle{
display:block;
margin-left:auto;
}

.nav-links{
position:absolute;
top:60px;
left:0;
width:100%;
background:#1a1a1a;
flex-direction:column;
text-align:center;
transform:translateY(-100%);
opacity:0;
pointer-events:none;
transition:0.4s;
}

.nav-links.active{
transform:translateY(0);
opacity:1;
pointer-events:auto;
}

.nav-links li{
padding:15px 0;
}

.menu-link{
display:block;
}

.hero{
height:80vh;
padding-left:20px;
justify-content:center;
text-align:center;
}

.hero-content h1{
font-size:32px;
}

.hero-content p{
font-size:16px;
}

.shop-btn{
padding:10px 20px;
}

.categories{
grid-template-columns:1fr;
}

.product-grid{
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.trust{
flex-direction:column;
gap:15px;
text-align:center;
}

.newsletter input{
width:90%;
margin-bottom:10px;
}

}

@media(max-width:480px){

.hero-content h1{
font-size:24px;
}

.product-grid{
grid-template-columns:1fr;
}

}

.shop{
padding:120px 0 50px;
background:#f8f9fa;
}

.section-title{
text-align:center;
font-size:32px;
margin-bottom:30px;
}

/* SHOP PAGE */

.shop-section{
width:100%;
padding:60px 0;
background:#f8f9fa;
}

.shop-container{
width:90%;
margin:auto;
}

.shop-title{
font-size:32px;
margin-bottom:40px;
font-weight:bold;
}

/* GRID */

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

/* CARD */

.product-card{
background:#fff;
padding:15px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
text-align:center;
position:relative;
overflow:hidden;
}

.product-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* IMAGE */

.product-img{
width:100%;
height:280px;
object-fit:cover;
border-radius:10px;
transition:0.4s;
}

.product-card:hover .product-img{
transform:scale(1.05);
}

/* NAME */

.product-name{
margin-top:10px;
font-size:18px;
font-weight:600;
color:#222;
}

/* PRICE */

.product-price{
color:#f5c542;
font-weight:bold;
margin:10px 0;
}

/* BUTTON */

.view-btn{
display:inline-block;
background:#000;
color:#fff;
padding:8px 20px;
border-radius:5px;
text-decoration:none;
transition:0.3s;
}

.view-btn:hover{
background:#f5c542;
color:#000;
}

/* PRODUCT PAGE */

.product-page{
width:90%;
margin:80px auto;
display:flex;
gap:50px;
flex-wrap:wrap;
}

/* LEFT */

.product-left{
flex:1;
}

.main-image{
width:100%;
height:500px;
overflow:hidden;
border-radius:12px;
}

.main-image img{
width:100%;
height:100%;
object-fit:cover;
transition:0.4s;
}

.main-image:hover img{
transform:scale(1.1);
}

/* THUMBS */

.thumbs{
display:flex;
gap:10px;
margin-top:10px;
}

.thumbs img{
width:70px;
height:70px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
border:2px solid transparent;
}

.thumbs img.active{
border:2px solid #f5c542;
}

/* RIGHT */

.product-right{
flex:1;
}

.product-title{
font-size:30px;
font-weight:bold;
margin-bottom:10px;
}

.product-price{
color:#f5c542;
font-size:26px;
font-weight:bold;
margin-bottom:20px;
}

.select-box{
margin-bottom:15px;
}

.select-box select{
width:100%;
padding:10px;
border-radius:5px;
border:1px solid #ddd;
}

.stock{
margin:10px 0;
font-weight:600;
}

.add-cart{
background:#000;
color:#fff;
padding:12px 30px;
border:none;
border-radius:5px;
transition:0.3s;
cursor:pointer;
}

.add-cart:hover{
background:#f5c542;
color:#000;
}

/* MOBILE */

@media(max-width:768px){

.product-page{
flex-direction:column;
}

.main-image{
height:350px;
}

}

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
background:#1a1a1a;
z-index:1000;
display:flex;
justify-content:space-between;
padding:15px 50px;
}

.logo{
color:#f5c542;
font-size:22px;
}

.nav-links{
display:flex;
gap:20px;
list-style:none;
}

.nav-links a{
color:#fff;
text-decoration:none;
}

.checkout-container{
padding:50px;
max-width:500px;
margin:auto;
}

.checkout-container input,
.checkout-container textarea,
.checkout-container select{
width:100%;
padding:10px;
margin:10px 0;
}

.order-btn{
background:black;
color:white;
padding:10px;
border:none;
width:100%;
}

.cart-wrapper{
max-width:900px;
margin:auto;
padding:50px 20px;
}

.cart-card{
display:flex;
gap:20px;
box-shadow:0 0 10px #ddd;
padding:15px;
margin-bottom:20px;
align-items:center;
border-radius:10px;
}

.cart-img img{
width:120px;
height:120px;
object-fit:cover;
}

.cart-info h4{
margin:0 0 10px;
}

.remove-btn{
background:red;
color:white;
padding:6px 12px;
text-decoration:none;
display:inline-block;
margin-top:5px;
}

.cart-summary{
text-align:right;
margin-top:30px;
}

.checkout-btn{
background:black;
color:white;
padding:12px 25px;
text-decoration:none;
display:inline-block;
margin-top:10px;
}

.cart-container{
display:flex;
gap:40px;
padding:60px 40px;
max-width:1100px;
margin:auto;
}

.cart-left{
flex:2;
}

.cart-item{
display:flex;
align-items:center;
justify-content:space-between;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
padding:15px;
margin-bottom:20px;
border-radius:12px;
background:#fff;
}

.cart-item img{
width:100px;
height:100px;
object-fit:cover;
border-radius:8px;
}

.item-details{
flex:1;
margin-left:20px;
}

.item-details h4{
margin-bottom:5px;
}

.item-total{
font-weight:bold;
}

.cart-right{
flex:1;
}

.summary-box{
box-shadow:0 4px 12px rgba(0,0,0,0.08);
padding:25px;
border-radius:12px;
background:#fff;
}

.summary-row{
display:flex;
justify-content:space-between;
margin-bottom:10px;
}

.total{
font-size:18px;
font-weight:bold;
}

.checkout-btn{
display:block;
background:black;
color:white;
text-align:center;
padding:12px;
margin-top:20px;
text-decoration:none;
border-radius:6px;
}

@media(max-width:768px){

.cart-container{
flex-direction:column;
padding:20px;
}

}

.qty-box{
display:flex;
align-items:center;
gap:10px;
margin-top:5px;
}

.qty-btn{
width:30px;
height:30px;
background:black;
color:white;
border:none;
cursor:pointer;
}

.coupon-box{
width:100%;
padding:8px;
margin-top:15px;
}

.apply-btn{
width:100%;
padding:10px;
background:gray;
color:white;
border:none;
margin-top:5px;
}

.checkout-container{
display:flex;
gap:40px;
padding:60px 40px;
max-width:1100px;
margin:auto;
}

.checkout-left{
flex:2;
}

.checkout-left input,
.checkout-left textarea{
width:100%;
padding:10px;
margin-bottom:10px;
border:1px solid #ccc;
}

.place-order-btn{
background:black;
color:white;
padding:12px;
width:100%;
border:none;
}

.checkout-right{
flex:1;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
padding:20px;
}

.checkout-item{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.checkout-item img{
width:60px;
height:60px;
object-fit:cover;
}

.checkout-summary{
border-top:1px solid #ddd;
margin-top:10px;
padding-top:10px;
}

@media(max-width:768px){

.checkout-container{
flex-direction:column;
padding:20px;
}

}

html, body {
height: 100%;
margin: 0;
}

.page-wrapper{
min-height:100vh;
display:flex;
flex-direction:column;
}

.page-content{
flex:1;
}

main {
flex: 1;
}