/* =========================================================
   AI COMPUTER — STYLESHEET
   ---------------------------------------------------------
   COLOR TOKENS (edit here to change the whole site's palette)
   ========================================================= */
:root {
  --color-bg: #F7F6F2;        /* off-white page background */
  --color-dark: #111111;      /* near-black — header/footer/text */
  --color-yellow: #FFC400;    /* golden yellow accent */
  --color-yellow-dark: #E0AC00;
  --color-white: #FFFFFF;
  --color-grey-light: #EAEAEA;
  --color-text: #1A1A1A;
  --color-text-muted: #5C5C5C;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 6px 24px rgba(17, 17, 17, 0.06);
  --shadow-card: 0 2px 10px rgba(17, 17, 17, 0.05);
  --max-width: 1200px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--color-white); }

@media (max-width: 640px) {
  .section { padding: 48px 0; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-dark);
}
.btn-primary:hover { background: var(--color-yellow-dark); box-shadow: var(--shadow-soft); }

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-secondary:hover { background: var(--color-dark); color: var(--color-white); }

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: var(--color-yellow); color: var(--color-dark); border-color: var(--color-yellow); }

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}
.btn-whatsapp:hover { background: #1ebe5a; box-shadow: var(--shadow-soft); }

.btn-small { padding: 10px 18px; font-size: 0.85rem; }

.text-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-yellow);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--color-yellow-dark); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link { flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.header-call { padding: 10px 20px; font-size: 0.88rem; }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--color-bg);
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-yellow-dark);
  margin-bottom: 12px;
}
.eyebrow-dark { color: var(--color-text-muted); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 32px; }

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-highlight-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-card);
}
.hi-icon { font-size: 1.1rem; }

.hero-media { position: relative; }
.hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--color-white);
}

/* =========================================================
   QUICK HIGHLIGHTS
   ========================================================= */
.quick-highlights { padding-top: 24px; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-grey-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.15);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.highlight-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0; }

/* =========================================================
   SECTION HEADING
   ========================================================= */
.section-heading { max-width: 680px; margin: 0 0 40px; }
.section-heading-tight { margin-bottom: 24px; margin-top: 56px; }
.section-sub { color: var(--color-text-muted); font-size: 1.02rem; }

/* =========================================================
   REPAIR SECTION
   ========================================================= */
.repair-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.rounded-img {
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-card);
}
.repair-problem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.repair-problem-tags span {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-muted);
}

.service-chip-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.service-chip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
}
.section-alt .service-chip-list li { background: var(--color-bg); }
.chip-icon { font-size: 1.1rem; flex-shrink: 0; }

/* =========================================================
   CCTV SECTION
   ========================================================= */
.cctv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.brand-strip-large .brand-chip { font-size: 1.05rem; padding: 18px 30px; }
.brand-chip {
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-dark);
  transition: background 0.2s ease, color 0.2s ease;
}
.brand-chip:hover { background: var(--color-yellow); color: var(--color-dark); }

/* =========================================================
   ACCESSORIES
   ========================================================= */
.accessories-media { margin-bottom: 40px; }
.wide-img { max-height: 360px; object-fit: cover; width: 100%; }

.accessory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.accessory-card {
  background: var(--color-bg);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.section-alt .accessory-card { background: var(--color-white); }
.accessory-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  margin-bottom: 12px;
}
.accessory-card ul li {
  padding: 5px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px dashed var(--color-grey-light);
}
.accessory-card ul li:last-child { border-bottom: none; }

.branded-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.branded-item {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-alt .branded-item { background: var(--color-bg); }
.branded-item strong { font-family: var(--font-heading); font-size: 0.9rem; }
.branded-item span { font-size: 0.8rem; color: var(--color-text-muted); }

.micro-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 20px;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.product-card-emphasis { border: 2px solid var(--color-yellow); }
.product-card p { color: var(--color-text-muted); font-size: 0.9rem; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-grey-light);
}
.why-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }
.why-card .card-icon { background: var(--color-dark); color: var(--color-yellow); }

/* =========================================================
   LOCATIONS
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.location-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-grey-light);
}
.location-card address {
  font-style: normal;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
}
.map-embed {
  position: relative;
  width: 100%;
  padding-top: 56%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--color-grey-light);
}
.map-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* =========================================================
   CTA / CONTACT
   ========================================================= */
.cta-section {
  background: var(--color-dark);
  color: var(--color-white);
}
.cta-inner { text-align: center; max-width: 680px; }
.cta-section h2 { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.75); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 20px;
}
.cta-email a { border-bottom: 1px solid rgba(255,255,255,0.4); }
.cta-email a:hover { color: var(--color-yellow); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 180px; width: auto; margin-bottom: 12px; }
.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--color-yellow);
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a:hover { color: var(--color-yellow); }

.footer-bottom {
  padding: 24px 0 32px;
}
.footer-disclaimer {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 900px;
  margin-bottom: 12px;
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 80;
  transition: transform 0.2s ease;
}
.floating-whatsapp:hover { transform: scale(1.08); }

/* =========================================================
   RESPONSIVE — TABLET (<=1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-layout, .cctv-layout { grid-template-columns: 1fr; }
  .cctv-media { order: -1; }
  .accessory-grid { grid-template-columns: repeat(2, 1fr); }
  .branded-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — MOBILE (<=768px)
   ========================================================= */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--color-dark);
    padding: 90px 28px 28px;
    transition: right 0.3s ease;
    z-index: 95;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; box-shadow: -8px 0 24px rgba(0,0,0,0.3); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 1.05rem; }

  .mobile-nav-overlay { display: block; }
  .hamburger { display: flex; }
  .header-call { display: none; }

  .highlight-grid { grid-template-columns: 1fr; }
  .service-chip-list { grid-template-columns: 1fr; }
  .accessory-grid { grid-template-columns: 1fr; }
  .branded-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-actions .btn,
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-actions, .cta-actions { flex-direction: column; }
}

@media (max-width: 420px) {
  .branded-grid { grid-template-columns: 1fr; }
}
