/* ==========================
   SHOP EASE PREMIUM CSS
========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Segoe UI',sans-serif;
line-height:1.7;
background:#f8fafc;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* HEADER */

header{
background:#0f172a;
position:sticky;
top:0;
z-index:999;
box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
font-size:30px;
font-weight:bold;
color:white;
text-decoration:none;
}

.nav-links{
display:flex;
gap:25px;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:500;
transition:.3s;
}

.nav-links a:hover{
color:#38bdf8;
}

/* HERO */

.hero{
background:url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1600&q=80');
background-size:cover;
background-position:center;
height:650px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
position:relative;
}

.hero::before{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
}

.hero-content{
position:relative;
z-index:2;
max-width:800px;
}

.hero h1{
font-size:60px;
margin-bottom:20px;
}

.hero p{
font-size:22px;
margin-bottom:30px;
}

.btn{
background:#0284c7;
color:white;
padding:14px 35px;
border:none;
text-decoration:none;
border-radius:5px;
display:inline-block;
font-weight:bold;
transition:.3s;
}

.btn:hover{
background:#0369a1;
}

/* SECTION */

section{
padding:80px 0;
}

.section-title{
text-align:center;
font-size:38px;
margin-bottom:50px;
color:#0f172a;
}

/* CATEGORIES */

.categories{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.category{
background:white;
padding:30px;
border-radius:10px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.category img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

/* PRODUCTS */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.product{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,.08);
transition:.3s;
}

.product:hover{
transform:translateY(-8px);
}

.product img{
width:100%;
height:260px;
object-fit:cover;
}

.product-content{
padding:20px;
}

.product h3{
margin-bottom:10px;
}

.price{
color:#0284c7;
font-size:22px;
font-weight:bold;
margin-top:10px;
}

/* BENEFITS */

.benefits{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.benefit{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* TESTIMONIALS */

.testimonials{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:25px;
}

.testimonial{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* NEWSLETTER */

.newsletter{
background:#0f172a;
color:white;
text-align:center;
padding:80px 20px;
}

.newsletter input{
width:350px;
max-width:100%;
padding:15px;
border:none;
border-radius:5px;
margin-right:10px;
}

.newsletter button{
padding:15px 25px;
background:#0284c7;
color:white;
border:none;
border-radius:5px;
cursor:pointer;
}

/* LEGAL PAGE */

.page-content{
background:white;
padding:50px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.page-content h2{
margin-top:30px;
margin-bottom:15px;
color:#0f172a;
}

/* FOOTER */

footer{
background:#020617;
color:white;
padding:50px 0;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

footer a{
color:#cbd5e1;
text-decoration:none;
display:block;
margin-bottom:10px;
}

footer a:hover{
color:white;
}

.copyright{
text-align:center;
margin-top:30px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.1);
}

/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:40px;
}

.hero p{
font-size:18px;
}

.navbar{
flex-direction:column;
gap:15px;
}

.nav-links{
flex-wrap:wrap;
justify-content:center;
}

}