/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
background:#f5f7fb;
}

/* HEADER */

header{

display:flex;

justify-content:space-between;

align-items:center;

padding:15px 40px;

background:#0f172a;

color:white;

position:sticky;

top:0;

z-index:1000;
}

.left-header{

display:flex;

align-items:center;

gap:20px;
}

/* LOGO */

.logo{

display:flex;

align-items:center;

gap:10px;
}

.logo span{

font-size:35px;
}

.logo h1{

font-size:28px;
}

.logo p{

font-size:12px;

color:#cbd5e1;
}

/* NAVIGATION */

nav{

display:flex;

gap:20px;
}

nav a{

text-decoration:none;

color:white;

font-weight:600;

padding:8px 15px;

border-radius:8px;

transition:0.3s;
}

nav a:hover{

background:#4f46e5;
}

/* MENU BUTTON */

.menu-btn{

font-size:28px;

background:none;

border:none;

color:white;

cursor:pointer;
}

/* SIDEBAR */

.sidebar{

position:fixed;

top:0;

left:-280px;

width:250px;

height:100%;

background:white;

padding:25px;

display:flex;

flex-direction:column;

gap:15px;

box-shadow:2px 0 15px rgba(0,0,0,0.2);

transition:0.3s;

z-index:1001;
}

.sidebar.active{

left:0;
}

.sidebar h3{

margin-bottom:10px;
}

.sidebar a{

text-decoration:none;

padding:12px;

background:#eef2ff;

color:#111827;

border-radius:8px;

font-weight:600;
}

.sidebar a:hover{

background:#4f46e5;

color:white;
}

/* CLOSE BUTTON */

.close-btn{

width:45px;

height:45px;

border:none;

background:red;

color:white;

font-size:18px;

border-radius:50%;

cursor:pointer;

align-self:flex-end;
}

/* OVERLAY */

#overlay{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,0.5);

display:none;

z-index:1000;
}

#overlay.active{

display:block;
}

/* HERO */

.hero{

text-align:center;

padding:80px 20px;

background:linear-gradient(135deg,#4f46e5,#ec4899);

color:white;
}

.hero h1{

font-size:45px;

margin-bottom:10px;
}

.hero p{

font-size:18px;
}

/* SECTIONS */

.section{

padding:50px 40px;
}

.section h2{

text-align:center;

margin-bottom:30px;
}

/* PRODUCT GRID */

.grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;
}

/* PRODUCT CARD */

.card{

background:white;

border-radius:15px;

overflow:hidden;

box-shadow:0 5px 15px rgba(0,0,0,0.1);

transition:0.3s;

text-align:center;
}

.card:hover{

transform:translateY(-8px);
}

.card img{

width:100%;

height:220px;

object-fit:cover;
}

.card h3{

margin:15px 0;
}

.card p{

font-size:20px;

font-weight:bold;

color:green;
}

/* BUTTON */

.card button{

margin:15px;

padding:10px 20px;

border:none;

background:#0f172a;

color:white;

border-radius:8px;

cursor:pointer;

font-size:16px;

transition:0.3s;
}

.card button:hover{

background:#4f46e5;
}

/* FOOTER */

/* FOOTER */

footer{

margin-top:60px;

background:#0f172a;

color:white;

}

.footer-container{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(250px,1fr));

gap:30px;

padding:50px;

}

.footer-box h2,

.footer-box h3{

margin-bottom:15px;

}

.footer-box p{

line-height:1.8;

font-size:15px;

}

.footer-box a{

display:block;

text-decoration:none;

color:#d1d5db;

margin:10px 0;

transition:0.3s;
}

.footer-box a:hover{

color:#60a5fa;

padding-left:5px;

}

.footer-bottom{

text-align:center;

padding:18px;

border-top:1px solid rgba(255,255,255,0.2);

font-size:14px;

}


/* Contact page*/

.contact-page{

background:#f4f7fb;

min-height:100vh;

}

.contact-container{

display:flex;

justify-content:center;

align-items:center;

padding:60px 20px;

}

.contact-form{

width:450px;

background:white;

padding:35px;

border-radius:15px;

box-shadow:0 8px 25px rgba(0,0,0,0.12);

display:flex;

flex-direction:column;

gap:12px;

}

.contact-form h2{

text-align:center;

}

.contact-form p{

text-align:center;

color:gray;

margin-bottom:10px;

}

.contact-form label{

font-weight:600;

}

.contact-form input,

.contact-form textarea{

padding:12px;

border:1px solid #d1d5db;

border-radius:8px;

outline:none;

font-size:15px;

}

.contact-form input:focus,

.contact-form textarea:focus{

border:1px solid #4f46e5;

}

.contact-form button{

padding:12px;

border:none;

border-radius:8px;

background:#0f172a;

color:white;

font-size:16px;

cursor:pointer;

}

.contact-form button:hover{

background:#4f46e5;

}

/* CART PAGE */

.cart-page{

background:#eef2ff;

min-height:100vh;
}

/* HOME BUTTON */

.home-btn{

background:#0f172a;

color:white;

padding:10px 18px;

border-radius:8px;

text-decoration:none;
}

.home-btn:hover{

background:#4f46e5;
}

/* MOBILE */

@media(max-width:768px){

header{

flex-direction:column;

gap:15px;
}

nav{

flex-wrap:wrap;

justify-content:center;
}

.hero h1{

font-size:32px;
}

.logo h1{

font-size:22px;
}

}