/* style.css — Eksprom polished responsive + neon look */

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Orbitron', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg,#070707 0%, #0d0d0d 100%);
  color: #e6f7fb;
  line-height: 1.45;
}

/* Containers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
main { max-width: 1200px; margin: 2.5rem auto; padding: 0 1.5rem; }

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 0.7rem; padding: 1.2rem 0; }
.logo { font-size: 1.8rem; color: #00e6ff; font-weight: 700; text-shadow: 0 0 14px rgba(0,230,255,0.25), 0 8px 20px rgba(0,0,0,0.6); }
.logo-sub { color: #9fbfc6; font-size: 0.9rem; letter-spacing: 0.5px; }

/* ===== NAV ===== */
.site-nav { position: relative; background: #0c0c0c; border-bottom: 1px solid rgba(255,255,255,0.03); z-index: 40; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.5rem; }
.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-link {
  color: #d9f7fb; text-decoration: none; padding: 0.55rem 0.9rem; border-radius: 8px;
  font-weight: 600; letter-spacing: 0.5px; transition: all 0.25s ease;
}
.nav-link:hover { 
  background: linear-gradient(90deg,#00e6ff,#00b3ff); 
  color: #012; 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(0,230,255,0.12); 
}

/* User & cart icons */
.nav-user, .nav-cart { display: flex; align-items: center; }
.nav-cart a, .nav-user a {
  font-size: 1.4rem;
  color: #d9f7fb;
  margin-left: 0.8rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.nav-cart a:hover, .nav-user a:hover { color: #00e6ff; }

/* Hamburger */
.hamburger { display: none; width: 42px; height: 36px; padding: 6px; border: none; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 22px; height: 2.8px; background: #cfeff3; margin: 4px 0; border-radius: 2px; transition: all 0.22s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10,12,15,0.98);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.25s ease;
  z-index: 999;
}
.mobile-menu.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.mobile-link {
  font-size: 1.4rem;
  color: #d9f7fb;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mobile-link:hover {
  background: linear-gradient(90deg,#00e6ff,#00b3ff);
  color: #012;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,230,255,0.12);
}

/* Align nav-right items */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-right .nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-right .nav-cart, .nav-right .nav-user { margin-left: auto; }

/* ===== Hero ===== */
section { margin-bottom: 3rem; }
.hero {
  height: 72vh; display: flex; align-items: center; justify-content: center; padding: 2.5rem;
  background:
    radial-gradient(700px 260px at 8% 14%, rgba(0,230,255,0.035), transparent 10%),
    radial-gradient(500px 200px at 92% 86%, rgba(0,180,255,0.02), transparent 10%),
    linear-gradient(180deg,#0b0b0b,#0f1113);
  border-radius: 12px;
}
.hero-inner { text-align: center; max-width: 920px; }
.hero h1 { font-size: clamp(1.8rem,3.6vw,2.8rem); color: #00e6ff; text-shadow: 0 0 24px rgba(0,230,255,0.18); margin-bottom: 1rem; }
.hero p { color: #bfeef7; margin-bottom: 1.5rem; font-size: 1.05rem; }

/* CTA wrapper */
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 0.75rem 1.2rem; border: 2px solid rgba(0,230,255,0.95); color: #00e6ff; background: transparent; border-radius: 10px; font-weight: 700; text-decoration: none; letter-spacing: 0.7px; transition: all 0.25s ease; }
.btn:hover { background: #00e6ff; color: #071019; box-shadow: 0 16px 42px rgba(0,230,255,0.14); transform: translateY(-3px); }
.btn.ghost { border-color: rgba(255,255,255,0.08); color: #d4f6fb; }
.btn.small { padding: 0.5rem 0.9rem; font-size: 0.94rem; }

/* ===== Products grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.product-card {
  background: rgba(255,255,255,0.012);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,230,255,0.08); }
.product-card img { max-width: 100%; border-radius: 6px; margin-bottom: 0.6rem; }
.product-placeholder { width: 100%; height: 120px; background: rgba(255,255,255,0.02); display: flex; align-items: center; justify-content: center; color: #9fbfc6; margin-bottom: 0.6rem; border-radius: 6px; }
.product-card h3 { margin-bottom: 0.3rem; color: #dffcff; }
.product-card .category { font-size: 0.85rem; color: #bfeef7; margin-bottom: 0.5rem; }
.product-card .price { font-weight: 700; margin-bottom: 0.6rem; color: #00e6ff; }
.product-card .btn { width: 100%; text-align: center; display: inline-block; margin-top: 0.5rem; }

/* ===== Categories grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.cat-card {
  min-height: 180px; padding: 1.6rem;
  background: rgba(255,255,255,0.012); border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px; text-align: center; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,230,255,0.12); }
.cat-ico { font-size: 1.9rem; margin-bottom:0.7rem; }
.cat-card h3 { margin-bottom:0.4rem; color:#dffcff; }
.cat-card p { font-size:0.96rem; color:#bfeef7; margin-bottom:0.7rem; }

/* ===== Footer ===== */
.site-footer { padding:1.8rem 0; text-align:center; color:#8fbfc7; border-top:1px solid rgba(255,255,255,0.02); margin-top:3rem; }

/* ===== Order form styling ===== */
.order-card { background: rgba(0,30,50,0.8); padding: 2rem; border-radius: 12px; max-width: 600px; margin: 2rem auto; box-shadow: 0 14px 36px rgba(0,230,255,0.15); }
.order-form label { display: block; margin-bottom: 0.3rem; font-weight: 600; color: #00e6ff; }
.order-form input, .order-form textarea {
  width: 100%; padding: 0.5rem 0.8rem; margin-bottom: 1rem;
  border-radius: 6px; border: 1px solid rgba(0,230,255,0.2);
  background: rgba(255,255,255,0.02); color: #d9f7fb;
}
.order-form input:disabled { background: rgba(255,255,255,0.05); color: #cfeff3; }
.success-msg { color: #00ff7a; font-weight: 600; text-align: center; margin-bottom: 1rem; }
.error-msg { color: #ff5e5e; font-weight: 600; text-align: center; margin-bottom: 1rem; }
.order-form button, .order-card .btn { width: 100%; text-align: center; display: inline-block; margin-top: 0.5rem; }

/* ===== Responsive tweaks ===== */
@media(max-width:1000px){
  .category-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
  .product-grid  { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
}

@media(max-width:768px){
  .category-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
  .product-grid  { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; }
  
  /* Mobile nav */
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-right .nav-cart, .nav-right .nav-user { margin-left: 0; }

  /* Order form adjustments */
  .order-card { padding: 1.5rem; }
  .order-form input, .order-form textarea { font-size: 0.95rem; }
}

@media(max-width:420px){
  .category-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .product-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .logo{font-size:1.3rem;}
  .hero h1{font-size:1.3rem;}
  .hero p{font-size:1rem;}
}

