/* styles.css — separated file */
:root{
  --accent: #ffcc33;
  --bg-dark: #0a0f1f;
  --card: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark), #132544);
  color:#eef2f7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter: blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.03);
  padding:12px 20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand img{
  height:68px;
  width:68px;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.6);
}

.brand-text h1{
  margin:0;
  font-size:1.3rem;
  letter-spacing:0.6px;
  color:var(--accent);
}
.brand-text p{margin:0;font-size:0.85rem;color:rgba(255,255,255,0.8)}

/* Nav */
.main-nav{margin-top:10px}
.main-nav ul{
  display:flex;
  gap:20px;
  list-style:none;
  padding:8px 0;
  margin:0;
  justify-content:center;
  flex-wrap:wrap;
}
.main-nav li{
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease;
  color:rgba(255,255,255,0.9);
}
.main-nav li:hover{transform:translateY(-4px); color:var(--accent)}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:28px;
  align-items:center;
  padding:40px 6%;
  min-height:360px;
  background: linear-gradient(90deg, rgba(255,204,51,0.03), transparent);
}
.hero-inner h2{
  font-size:2.2rem;
  margin:0 0 10px 0;
  color:var(--accent);
}
.hero-inner p{max-width:58ch;font-size:1.05rem;color:rgba(255,255,255,0.9)}
.hero-cta{margin-top:18px;display:flex;gap:12px;align-items:center}
button#shopNow{
  background:var(--accent);
  color:#09233a;
  border:none;
  padding:12px 20px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 8px 26px rgba(255,204,51,0.12);
  transition:transform .12s ease, box-shadow .12s ease;
}
button#shopNow:hover{transform:translateY(-3px)}
a.secondary{color:rgba(255,255,255,0.9);text-decoration:underline;font-weight:600}

/* hero media */
.hero-media img{
  width:100%;
  max-width:420px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.6);
  transform:translateY(0);
  transition:transform .6s cubic-bezier(.2,.9,.2,1);
}
.hero-media img:hover{transform:translateY(-8px)}

/* Products */
.products-section{padding:36px 6%}
.products-section h2{color:var(--accent);margin:0 0 6px}
.products-section .lead{margin:0 0 18px;color:rgba(255,255,255,0.85)}

.products-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:20px;
}

/* product card */
.card{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.card img{width:100%;height:160px;object-fit:cover;border-radius:8px}
.card h4{margin:0;color:var(--accent)}
.card p{margin:0;font-size:0.95rem;color:rgba(255,255,255,0.9)}
.card .price{margin-top:auto;font-weight:800;font-size:1.05rem}
.card .add{background:transparent;border:1px solid var(--accent);color:var(--accent);padding:8px;border-radius:10px;cursor:pointer}
.card:hover{transform:translateY(-6px); box-shadow:0 10px 30px rgba(0,0,0,0.6)}

/* Info section */
.info-section{display:flex;gap:24px;padding:36px 6%}
.info-column{flex:1;background:var(--glass);padding:18px;border-radius:12px}
.info-column img{width:100%;border-radius:10px;margin-top:12px}

/* Footer */
.site-footer{margin-top:40px;padding:24px 6%;background:linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.4));border-top:1px solid rgba(255,255,255,0.03)}
.footer-wrapper{display:flex;gap:20px;flex-wrap:wrap}
.footer-col{flex:1;min-width:220px}
.footer-col h4{color:var(--accent)}
.social-icons{display:flex;gap:12px;margin-top:8px}
.icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:rgba(255,255,255,0.03);color:var(--accent);text-decoration:none}
.newsletter form{display:flex;gap:8px;margin-top:8px}
.newsletter input{flex:1;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:inherit}
.newsletter button{padding:10px 12px;border-radius:8px;background:var(--accent);border:none;color:#09233a;font-weight:700}

/* small screens */
@media (max-width:980px){
  .hero{grid-template-columns:1fr; padding:28px 4%}
  .hero-media{order:-1}
  .products-grid{grid-template-columns: repeat(2, 1fr)}
  .info-section{flex-direction:column}
}

/* very small */
@media (max-width:520px){
  .products-grid{grid-template-columns:1fr}
  .brand-text h1{font-size:1.05rem}
  .brand img{height:56px;width:56px}
}
