/* ============ home.css — index.html only ============ */
/* Hero */
.hero{position:relative;overflow:hidden;background:var(--primary)}
.hero-slide{position:absolute;top:0;left:0;width:100%;opacity:0;transition:opacity 1s ease}
.hero-slide.active{position:relative;opacity:1}
.hero-slide img{width:100%;height:auto;display:block}
.hero-dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:8px}
.hero-dots button{width:32px;height:3px;background:rgba(255,255,255,.5)}
.hero-dots button.active{background:var(--accent)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;color:var(--text);font-size:20px}
.hero-arrow:hover{background:var(--accent);color:#fff}
.hero-prev{left:20px}.hero-next{right:20px}

section{padding:80px 0}
.section-head{text-align:center;max-width:720px;margin:0 auto 46px}
.section-head .eyebrow{color:var(--accent);font-size:16px;letter-spacing:3px;text-transform:uppercase;font-weight:600}
.section-head h2{font-size:40px;margin:12px 0 14px}
.section-head p{color:var(--muted)}

/* about strip */
.about-strip{background:#fff}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.about-text .eyebrow{color:var(--accent);font-size:12px;letter-spacing:3px;text-transform:uppercase;font-weight:600}
.about-text h2{font-size:34px;margin:12px 0 18px}
.about-text p{color:var(--muted);margin-bottom:14px}
.about-features{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 26px}
.about-features li{display:flex;gap:8px;align-items:center;font-size:14px}
.about-features li::before{content:"✓";color:var(--accent);font-weight:700}
.video-box{border-radius:6px;overflow:hidden;box-shadow:0 20px 50px rgba(44,82,71,.15);background:#000}
.video-box video{width:100%;display:block}

/* categories */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cat-card{position:relative;border-radius:6px;overflow:hidden;aspect-ratio:4/3;background:var(--primary)}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:.5s}
.cat-card:hover img{transform:scale(1.06)}
.cat-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(44,82,71,0) 40%,rgba(44,82,71,.85) 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:22px;color:#fff}
.cat-overlay h3{color:#fff;font-size:20px;margin-bottom:4px}
.cat-overlay p{font-size:13px;color:#d8e0e5;margin-bottom:8px}
.cat-overlay .link{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:#fff;font-weight:600}

/* why us */
.why{background:#ffffff}
.why .section-head h2{color:var(--text)}
.why .section-head p{color:var(--muted)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.why-item{text-align:center;padding:28px 18px;background:#fff;border-radius:6px}
.why-item .icon{width:56px;height:56px;margin:0 auto 14px}
.why-item .icon img{width:100%;height:100%}
.why-item h3{font-size:23px;margin-bottom:14px}
.why-item p{font-size:18px;color:var(--muted)}

/* featured products (4 cols) */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.prod-card{background:#fff;border-radius:6px;overflow:hidden;transition:.3s;border:1px solid var(--border)}
.prod-card:hover{box-shadow:0 14px 36px rgba(44,82,71,.12);transform:translateY(-4px)}
.prod-img{aspect-ratio:1/1;background:var(--soft);overflow:hidden}
.prod-img img{width:100%;height:100%;object-fit:cover}
.prod-info{padding:18px}
.prod-info .cat{font-size:11px;color:var(--accent);letter-spacing:1.5px;text-transform:uppercase;font-weight:600}
.prod-info h3{font-size:15px;margin:6px 0 8px;font-family:'Inter',sans-serif;font-weight:600}
.prod-info .view{font-size:12px;letter-spacing:1px;color:var(--accent);text-transform:uppercase;font-weight:600}
.center{text-align:center;margin-top:36px}

/* CTA */
.cta{background:var(--accent);color:#fff;text-align:center;padding:60px 0}
.cta h2{color:#fff;font-size:32px;margin-bottom:12px}
.cta p{color:#d8e0e5;margin-bottom:24px}

@media(max-width:1024px){
  .about-grid{grid-template-columns:1fr 1fr}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .prod-grid,.why-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .about-grid,.cat-grid,.prod-grid,.why-grid,.footer-grid{grid-template-columns:1fr}
  .hero{height:420px}
  section{padding:50px 0}
  .section-head h2{font-size:26px}
}
/* Mobile hero: show full image without cropping */
@media(max-width:768px){
  .hero{height:auto !important}
  .hero-slide{position:relative !important;inset:auto !important;height:auto !important}
  .hero-slide:not(.active){display:none !important}
  .hero-slide img{height:auto !important;max-height:none !important;object-fit:contain !important}
  .hero-arrow{display:none !important}
  .hero-dots{bottom:10px !important}
}
