/* =============================================
   ABANGPC — style.css
   Dark/Yellow/White theme | Syne + DM Sans
   ============================================= */

:root {
  --bg: #0b0b0b;
  --surface: #141414;
  --card: #1c1c1c;
  --card-hover: #222222;
  --yellow: #f5c518;
  --yellow-light: #fdd85d;
  --yellow-dim: rgba(245,197,24,0.15);
  --yellow-border: rgba(245,197,24,0.3);
  --white: #f2f2f0;
  --muted: #888;
  --muted-light: #aaa;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,11,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(11,11,11,0.97);
  border-color: var(--border-hover);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.5px;
}
.logo span { color: var(--white); }
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid rgba(245,197,24,0.4);
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}

  width: auto;
  height: 42px;
  border-radius: 6px;
  border: none;
  object-fit: contain;
}
.logo:hover .logo-img,
.logo:hover 
  transform: scale(1.04);
  box-shadow: 0 0 14px rgba(245,197,24,0.25);
}

/* Hero brand logo */
.hero-brand-logo {
  margin: 14px 0 20px;
}
.hero-brand-img {
  width: 280px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  filter: brightness(1.08) contrast(1.05);
}

/* Footer logo */
.footer-logo-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(1.05);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--yellow);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--yellow);
  color: #000;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--yellow-light); transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- PILLS ---- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}
.pill-sm { font-size: 11px; padding: 4px 12px; margin-bottom: 14px; }
.pill-yellow { background: var(--yellow); color: #000; border-color: var(--yellow); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.3);
}
.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border-hover);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.15s; }

/* ==============================
   HERO
   ============================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 28px 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,197,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,197,24,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-text > p {
  font-size: 17px;
  color: var(--muted-light);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat span { font-size: 13px; color: var(--muted); }

/* Hero card */
.hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-card-inner { padding: 36px 32px; position: relative; z-index: 1; }
.hero-card-icon { font-size: 52px; margin-bottom: 16px; display: block; }
.hero-badge {
  display: inline-block;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.hero-card h3 { font-size: 20px; margin-bottom: 10px; }
.hero-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.open-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-light);
}
.open-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #888;
  flex-shrink: 0;
}
.open-dot.open { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.5); animation: pulse 2s infinite; }
.open-dot.closed { background: #f87171; }
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:0.5; }
}
.card-decoration {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-hint span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollAnim 1.8s ease infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==============================
   SECTIONS
   ============================== */
.section-dark { background: var(--bg); padding: 100px 0; }
.section-light { background: var(--surface); padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.section-header p { font-size: 16px; color: var(--muted); max-width: 440px; margin: 0 auto; }

/* ==============================
   PRODUCTS
   ============================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
  animation: fadeUp 0.5s ease both;
}
.product-card:hover {
  border-color: var(--yellow-border);
  background: var(--card-hover);
  transform: translateY(-3px);
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.product-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.product-card h3 { font-size: 15px; font-weight: 700; font-family:'Syne',sans-serif; margin-bottom: 6px; display:flex; align-items:center; gap:6px; }
.product-card .price { font-size: 22px; font-weight: 800; font-family:'Syne',sans-serif; color: var(--yellow); margin: 12px 0 8px; }
.product-card .desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.badge-new {
  font-size: 10px; font-weight: 700;
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  color: var(--yellow);
  padding: 2px 8px; border-radius: 100px;
}
.badge-used {
  font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted-light);
  padding: 2px 8px; border-radius: 100px;
}
.btn-enquire {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  color: var(--yellow);
  border: 1px solid var(--yellow-border);
  padding: 7px 18px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.btn-enquire:hover { background: var(--yellow); color: #000; }

/* ==============================
   REPAIRS
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 72px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover { border-color: var(--yellow-border); transform: translateY(-2px); }
.service-icon-wrap {
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  border-radius: 10px;
  padding: 12px;
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.service-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.service-body p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.price-from { font-size: 14px; font-weight: 700; color: var(--yellow); margin-top: 10px; font-family: 'Syne', sans-serif; }

/* Steps */
.process-wrap { border-top: 1px solid var(--border); padding-top: 56px; }
.process-title { font-size: 22px; margin-bottom: 36px; color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step strong { display:block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

/* ==============================
   CONTACT
   ============================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  background: var(--yellow-dim);
  border: 1px solid var(--yellow-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.contact-item h4 { font-size: 13px; color: var(--muted); margin-bottom: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p { font-size: 14px; color: var(--white); line-height: 1.7; }
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-top: 10px;
  transition: background var(--transition), transform var(--transition);
}
.wa-btn:hover { background: #1ebe5d; transform: translateY(-1px); }
.map-embed { margin-top: 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }

/* Contact Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { font-size: 22px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hover);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--yellow);
  background: rgba(245,197,24,0.04);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group select option { background: #1c1c1c; }
.field-error { display: block; font-size: 12px; color: #f87171; margin-top: 5px; min-height: 16px; }
.btn-submit {
  width: 100%;
  background: var(--yellow);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--yellow-light); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.form-success.show { display: block; }
.success-icon { font-size: 48px; margin-bottom: 14px; }
.form-success p { color: var(--muted-light); font-size: 15px; }

/* ==============================
   FOOTER
   ============================== */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 40px 28px;
  text-align: center;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--white); }
footer p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.footer-copy { margin-top: 16px; font-size: 12px; color: #444; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }
  .nav-links.open li a {
    display: block;
    padding: 12px 28px;
    color: var(--muted-light);
  }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 24px; }
}

/* ==============================
   PARTNERS SECTION
   ============================== */
#partners {
  padding: 100px 0;
  background: var(--bg);
}

.main-partner {
  margin: 48px auto 48px;
  max-width: 500px;
  text-align: center;
}

.main-partner-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.main-partner-card {
  background: linear-gradient(135deg, rgba(245,197,24,0.12), rgba(245,197,24,0.04));
  border: 2px solid rgba(245,197,24,0.4);
  border-radius: 20px;
  padding: 36px 40px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(245,197,24,0.15);
}

.main-partner-name {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.main-partner-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.main-partner-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}

.partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.partner-card:hover {
  border-color: rgba(245,197,24,0.4);
  transform: translateY(-3px);
}

.partner-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.partner-type {
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-partner-name {
    font-size: 32px;
  }
}

/* Partner logo images */
.partner-logo {
  width: 100%;
  max-width: 130px;
  height: 70px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.partner-card:hover .partner-logo {
  opacity: 1;
  transform: scale(1.08);
}

/* Fix dark logos on dark background */
.partner-logo-dark {
  filter: invert(1);
}
.partner-card:hover .partner-logo-dark {
  filter: invert(1);
  transform: scale(1.08);
}

/* Brightstar logo */
.brightstar-logo {
  width: 300px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 16px;
  mix-blend-mode: screen;
  filter: contrast(1.1) brightness(1.1);
}

/* Gigabyte logo color fix */
.gigabyte-logo {
  filter: none !important;
}
