/* ------------------ GLOBAL ------------------ */
:root{
  --bg:#0e0e0e;
  --card:#1a1a1a;
  --muted:#a1a1aa;
  --accent:#2563eb;
  --accent-2:#7dd3fc;
  --white:#f1f1f1;
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family: 'Segoe UI', Arial, sans-serif; background:var(--bg); color:var(--white); line-height:1.6;}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}

/* HEADER */
header{background:#111;padding:.9rem 0;position:fixed;width:100%;top:0;z-index:100;border-bottom:1px solid #222}
.header-container{display:flex;align-items:center;justify-content:space-between}
.logo a{font-weight:800;letter-spacing:2px;text-transform:uppercase}
.nav-links{list-style:none;display:flex;gap:1rem;align-items:center}
.nav-links li a{padding:.25rem .5rem;border-radius:.25rem;color:var(--white)}
.nav-links li a:hover{color:var(--accent-2)}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hamburger span{display:block;height:3px;width:25px;background:var(--white);border-radius:3px}

/* HERO */
.hero{position:relative;width:100%;height:78vh;background:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,.85)), url('https://via.placeholder.com/1600x900?text=Feron+Precision') center/cover no-repeat;display:flex;align-items:center;justify-content:center;text-align:center;margin-top:70px}
.hero-content{padding:2rem}
.hero-content h1{font-size:3rem;margin-bottom:.75rem;color:var(--white);text-transform:uppercase}
.hero-content p{font-size:1.05rem;color:#e0e0e0;margin-bottom:1rem}
.hero-buttons a{margin:0 .5rem;padding:.75rem 1.4rem;border-radius:.5rem;font-weight:700;display:inline-block}
.btn-primary{background:var(--accent);color:white}
.btn-secondary{background:#1f2937;color:white;border:1px solid var(--accent)}

/* SECTIONS */
section{padding:3.5rem 0}
.section-title{text-align:center;font-size:1.6rem;margin-bottom:.5rem;text-transform:uppercase}
.section-subtitle{text-align:center;color:var(--muted);margin-bottom:1.2rem}

/* PRODUCT GRID */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem;padding:0 1rem}
.product{background:var(--card);padding:1rem;border-radius:.5rem;text-align:center;transition:transform .25s,box-shadow .25s}
.product img{width:100%;height:140px;object-fit:cover;border-radius:.4rem;margin-bottom:.75rem}
.product h3{font-size:1rem;margin-bottom:.5rem}
.price{color:var(--accent-2);font-weight:700;margin-bottom:.75rem}
.product:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(0,0,0,.6)}

/* ABOUT / CARDS */
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;padding:0 1rem}
.about-item{background:var(--card);padding:1.25rem;border-radius:.5rem;text-align:center}
.about-item h3{color:var(--accent-2);margin-bottom:.5rem}

/* CONTACT FORM */
#contact-form{display:flex;flex-direction:column;gap:1rem;max-width:600px;margin:0 auto}
#contact-form input,#contact-form textarea{padding:.75rem 1rem;border-radius:.5rem;border:none;background:#141414;color:#fff}
#contact-form input::placeholder,#contact-form textarea::placeholder{color:#888}

/* PRODUCT DETAIL */
.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start;padding:2rem 0}
.product-gallery img{width:100%;border-radius:.5rem;object-fit:cover}
.product-info h1{margin-bottom:.5rem}
.product-actions{margin-top:1rem;display:flex;gap:.75rem;align-items:center}

/* CART DRAWER */
.cart-drawer{position:fixed;top:0;right:-420px;width:380px;height:100%;background:var(--card);color:var(--white);padding:1.5rem;box-shadow:-8px 0 30px rgba(0,0,0,.6);transition:right .3s;z-index:200}
.cart-drawer.active{right:0}
#cart-items{list-style:none;margin:1rem 0;padding:0}
#cart-items li{display:flex;justify-content:space-between;margin-bottom:.75rem}
.cart-actions{display:flex;gap:.5rem;margin-top:1rem}

/* FOOTER */
footer{background:#111;padding:2rem 0;color:#888;margin-top:2rem}
.footer-links{margin-top:.5rem;display:flex;justify-content:center;gap:1rem}

/* MISC */
.breadcrumb{color:#bcbcbc;font-size:.9rem;margin:.5rem 0}

/* RESPONSIVE */
@media (max-width:900px){
  .product-detail-grid{grid-template-columns:1fr}
  .hero-content h1{font-size:2.2rem}
}
@media (max-width:768px){
  .nav-links{display:none;position:absolute;top:100%;right:0;width:220px;padding:1rem;background:#111;border-radius:0 0 .5rem .5rem}
  .nav-links.active{display:flex;flex-direction:column}
  .hamburger{display:flex}
  header{padding:.6rem 0}
  .hero{height:60vh;margin-top:60px}
  .product img{height:160px}
  .container{padding:0 1rem}
}

