/* ===== GLOBAL ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins', sans-serif;
}

body{
background:#f5f5f5;
color:#333;
line-height:1.6;
}

a{
text-decoration:none;
}

/* ===== HEADER ===== */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:#111;
color:white;
position:sticky;
top:0;
z-index:1000;
}

.logo{
font-size:22px;
font-weight:600;
letter-spacing:1px;
}

nav a{
margin-left:25px;
color:white;
font-weight:500;
transition:0.3s;
}

nav a:hover

.cart-btn{
background:#ff6600;
padding:8px 14px;
border-radius:5px;
}

/* ===== HERO ===== */

.hero{
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('images/banner.jpg');
background-size:cover;
background-position:center;
color:white;
text-align:center;
padding:120px 20px;
}

.hero h1{
font-size:48px;
margin-bottom:10px;
}

.hero p{
font-size:20px;
margin-bottom:25px;
}

.btn{
background:#ff6600;
color:white;
padding:12px 25px;
border-radius:6px;
display:inline-block;
}

.btn:hover

/* ===== PRODUCT GRID ===== */

.products{
padding:60px 40px;
text-align:center;
}

.product-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1200px;
margin:auto;
}

.product{
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.product:hover{
transform:translateY(-6px);
}

.product img{
width:100%;
height:200px;
object-fit:cover;
}

.product h3{
padding:15px;
}

.product a{
display:inline-block;
margin-bottom:20px;
background:#111;
color:white;
padding:8px 18px;
border-radius:5px;
}

.product a:hover

/* ===== FORM STYLE ===== */

input,
textarea,
select{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:5px;
margin-bottom:15px;
}

button{
background:#ff6600;
color:white;
padding:10px 20px;
border:none;
border-radius:5px;
cursor:pointer;
}

button:hover

/* ===== TABLE ===== */

table{
width:100%;
border-collapse:collapse;
background:white;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

table th{
background:#111;
color:white;
padding:12px;
}

table td{
padding:12px;
border-bottom:1px solid #eee;
text-align:center;
}

/* ===== DASHBOARD ===== */

.dashboard{
display:grid;
grid-template-columns:250px 1fr;
min-height:100vh;
}

.sidebar{
background:#111;
color:white;
padding:30px 20px;
}

.sidebar a{
display:block;
color:#ccc;
margin-bottom:10px;
padding:8px;
border-radius:5px;
}

.sidebar a:hover{
background:#ff6600;
color:white;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-bottom:30px;
}

.card{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
text-align:center;
}

/* ===== FOOTER ===== */

.footer{
background:#111;
color:white;
padding:50px 20px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-col ul{
list-style:none;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:#ccc;
}

.footer-col ul li a:hover

.footer-bottom{
text-align:center;
border-top:1px solid #333;
margin-top:30px;
padding-top:15px;
font-size:14px;
color:#aaa;
}

/* ===== MOBILE ===== */

@media(max-width:768px){

header{
flex-direction:column;
}

nav{
margin-top:10px;
}

.hero h1{
font-size:32px;
}

}
