/* ===== PhonePax — Industrial Grey + Yellow Theme ===== */

/* Root / colors */
:root{
  --yellow:#f9c400;
  --dark:#121212;
  --mid:#2c2c2c;
  --muted:#9aa0a6;
  --card:#222;
  --bg-light:#f4f4f4;
  --white:#ffffff;
  --shadow: 0 6px 20px rgba(0,0,0,0.18);
  --radius:12px;
  --container:1200px;
}

/* Basic */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size:16px;
  color:#eaeaea;
  background:linear-gradient(180deg,#0f0f0f 0%, #0b0b0b 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Light theme */
body.light{
  background:var(--bg-light);
  color:#222;
}

/* Container */
.container{max-width:var(--container);margin:0 auto;padding:0 18px}

/* NAVBAR */
.nav-wrap{position:sticky;top:0;z-index:60;background:transparent}
.nav{
  display:flex;align-items:center;justify-content:space-between;padding:14px 0;
}
.brand, .logo, .brand{color:var(--yellow);font-weight:800;font-size:20px;text-decoration:none}
.brand{display:inline-block}
.nav-links{display:flex;gap:18px;align-items:center}
.nav-links a{color:inherit;text-decoration:none;padding:8px 10px;border-radius:8px;transition:0.18s}
.nav-links a:hover{background:rgba(255,255,255,0.03)}
.nav-actions{display:flex;gap:10px;align-items:center}

/* mobile toggle */
.nav-toggle{display:none;background:transparent;border:none;color:inherit;font-size:20px}

/* HERO */
.hero{padding:72px 0 52px;border-bottom:6px solid var(--yellow)}
.hero-inner{display:flex;gap:34px;align-items:center}
.hero-left{flex:1}
.hero-right{flex:0 0 420px}
.hero h1{font-size:36px;margin:0 0 10px;color:var(--yellow)}
body.light .hero h1{color:var(--dark)}
.lead{font-size:18px;color:var(--muted);margin-bottom:18px}
.hero-features{list-style:none;padding:0;margin-top:18px;color:var(--muted)}
.hero-features li{margin:6px 0}

/* hero card */
.hero-card{background:linear-gradient(180deg,#1f1f1f,#141414); padding:18px;border-radius:16px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.hero-card img{width:100%;display:block;border-radius:8px}
.badge{position:absolute;left:14px;bottom:14px;background:var(--yellow);color:#000;padding:6px 10px;border-radius:8px;font-weight:700}

/* Buttons */
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700}
.btn-primary{background:var(--yellow);color:#000}
.btn-outline{border:2px solid var(--yellow);background:transparent;color:var(--yellow)}
.btn-ws{background:#25d366;color:#fff}
.btn-quote{background:transparent;border:2px solid rgba(255,255,255,0.06);color:inherit}

/* SECTION CARD */
.section-card{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:36px;border-radius:14px;margin:18px 0}
body.light .section-card{background:#fff;border:1px solid #efefef;color:#222}

/* WHY GRID */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:12px}
.why-item{background:transparent;padding:16px;border-radius:10px;border-left:6px solid var(--yellow);font-weight:600;color:var(--yellow)}
body.light .why-item{color:#333;border-left-color:var(--dark);background:#fff}

/* CATEGORIES GRID */
.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:18px}
.category{background:linear-gradient(180deg,#161616,#0f0f0f);padding:20px;border-radius:12px;box-shadow:var(--shadow);border-left:6px solid var(--yellow);transition:transform .22s, box-shadow .22s}
body.light .category{background:#fff;border-left:6px solid var(--yellow);color:#222}
.category h3{margin:0 0 10px}
.category ul{list-style:none;padding:0;margin:0 0 12px}
.category li{color:var(--muted);margin:6px 0}
.category:hover{transform:translateY(-6px)}

/* Product listing sample */
.product-listing{margin-top:28px}
.product-card{display:flex;gap:18px;padding:16px;background:linear-gradient(180deg,#151515,#0d0d0d);border-radius:12px;align-items:center}
body.light .product-card{background:#fff;border:1px solid #eee;color:#222}
.product-media img{width:180px;border-radius:8px;display:block}
.product-info h4{margin:0 0 6px}
.price-table{border-collapse:collapse;margin:12px 0;width:100%;max-width:420px}
.price-table th, .price-table td{padding:8px 10px;border:1px solid rgba(255,255,255,0.04)}
body.light .price-table th, body.light .price-table td{border-color:#efefef}

/* split layout */
.split{display:flex;gap:20px}
.split > div{flex:1}

/* CONTACT GRID */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:12px}
.form-box input, .form-box textarea{width:100%;padding:12px;border-radius:10px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:inherit}
body.light .form-box input, body.light .form-box textarea{border-color:#eee;background:#fff;color:#222}
.form-actions{display:flex;gap:10px;margin-top:10px}

/* FOOTER */
.site-footer{background:linear-gradient(180deg,#0f0f0f,#050505);padding:28px 0;margin-top:22px;color:#ccc}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}
.footer-links a{display:block;color:inherit;text-decoration:none;margin:6px 0}
.footer-bottom{text-align:center;margin-top:18px;font-size:14px;color:var(--muted)}

/* floating whatsapp */
.whatsapp-float{position:fixed;right:18px;bottom:18px;background:#25d366;color:#fff;padding:14px 16px;border-radius:50px;box-shadow:var(--shadow);text-decoration:none;font-weight:700}

/* reveal animation */
.reveal{opacity:1;transform:none}
.category, .product-card, .section-card, .why-item, .hero-card{opacity:0;transform:translateY(12px);transition:all .6s cubic-bezier(.2,.9,.3,1)}

/* RESPONSIVE */
@media (max-width:900px){
  .hero-inner{flex-direction:column-reverse;align-items:flex-start}
  .hero-right{width:100%}
  .split{flex-direction:column}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width:720px){
  .nav-links{display:none}
  .nav-toggle{display:block}
  .nav-links.open{display:flex;position:absolute;top:64px;left:12px;right:12px;background:rgba(0,0,0,0.7);padding:12px;border-radius:10px;flex-direction:column;gap:8px}
  .hero h1{font-size:28px}
  .hero-card img{max-height:220px;object-fit:cover}
}

/* LIGHT THEME OVERRIDES (applies when body.light) */
body.light .nav { color:var(--dark) }
body.light .nav-links a{ color:var(--dark) }
body.light .btn-primary{ background:var(--yellow); color:#000 }
body.light .btn-ws{ background:#06a84e }
