/* ============================================================
   Ghazanfar Electrician Services — Kot Muzaffar
   Global Stylesheet
   ============================================================ */
:root {
  --navy-900: #0a0f1c;
  --navy-800: #0f172a;
  --navy-700: #16213a;
  --navy-600: #1e2b47;
  --amber: #fbbf24;
  --amber-dark: #f59e0b;
  --amber-light: #fde68a;
  --green: #22c55e;
  --white: #ffffff;
  --grey-100: #f1f5f9;
  --grey-300: #cbd5e1;
  --grey-500: #64748b;
  --text-dark: #1e293b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--navy-900);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--amber);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 0;
  text-align: center;
}
.topbar a { color: var(--navy-900); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 15, 28, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}
.nav-wrap { display: flex; align-items: center; gap: 20px; padding: 14px 22px; }
.logo {
  font-size: 1.25rem; font-weight: 800; color: var(--white);
  display: flex; align-items: center; gap: 8px; line-height: 1.15;
}
.logo .bolt { color: var(--amber); font-size: 1.5rem; }
.logo span:last-child { color: var(--amber); font-size: 0.85rem; display: block; font-weight: 600; letter-spacing: 1px; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--grey-300); font-weight: 600; font-size: 0.95rem; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--amber); }
.nav-call { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; color: var(--amber); font-size: 1.6rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--amber); color: var(--navy-900); box-shadow: 0 6px 20px rgba(251,191,36,.35); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--amber); }
.btn-outline:hover { background: var(--amber); color: var(--navy-900); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #16a34a; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(251,191,36,.12), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(59,130,246,.10), transparent 50%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(251,191,36,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(251,191,36,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.4);
  color: var(--amber); padding: 6px 16px; border-radius: 50px; font-size: .85rem; font-weight: 700; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.18; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--amber); }
.hero p.lead { font-size: 1.1rem; color: var(--grey-300); margin-bottom: 30px; max-width: 620px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; color: var(--amber); }
.hero-stats .stat span { color: var(--grey-300); font-size: .9rem; }
.hero-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(251,191,36,.25);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.hero-card h3 { color: var(--amber); margin-bottom: 14px; font-size: 1.2rem; }
.hero-card ul { list-style: none; }
.hero-card ul li { padding: 8px 0; color: var(--grey-300); border-bottom: 1px dashed rgba(255,255,255,.08); }
.hero-card ul li::before { content: "⚡ "; }
.hero-card .big-phone { display: block; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--navy-900); background: var(--amber); border-radius: 10px; padding: 12px; margin-top: 18px; }

/* ---------- Section shells ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--grey-100); color: var(--text-dark); }
.section-dark { background: var(--navy-800); color: var(--white); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-title .kicker { color: var(--amber-dark); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .82rem; }
.section-title h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 8px 0 14px; }
.section-dark .section-title h2 { color: var(--white); }
.section-title p { color: inherit; opacity: .8; }

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 4px 18px rgba(2,6,23,.08); border-top: 4px solid var(--amber);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon { font-size: 2.2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--grey-500); font-size: .95rem; }
.card a.more { color: var(--amber-dark); font-weight: 700; font-size: .9rem; }
.section-dark .card { background: var(--navy-700); color: var(--white); border-top-color: var(--amber); }
.section-dark .card p { color: var(--grey-300); }

/* ---------- Rich text / article content ---------- */
.content-body { max-width: 860px; margin: 0 auto; color: var(--text-dark); }
.content-body h2 { font-size: 1.7rem; margin: 40px 0 14px; color: var(--navy-800); }
.content-body h3 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--navy-700); }
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol { margin: 0 0 18px 24px; }
.content-body li { margin-bottom: 8px; }
.content-body strong { color: var(--navy-800); }
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✅"; position: absolute; left: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: var(--navy-900); padding: 60px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { font-weight: 600; margin-bottom: 26px; opacity: .85; }
.cta-band .btn { background: var(--navy-900); color: var(--white); }
.cta-band .btn:hover { transform: translateY(-2px); }
.cta-band .big-num { font-size: 1.9rem; font-weight: 900; display: block; margin-top: 16px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px; position: relative; box-shadow: 0 4px 18px rgba(2,6,23,.08); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px; width: 38px; height: 38px;
  background: var(--amber); color: var(--navy-900); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem;
}
.step h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.step p { font-size: .9rem; color: var(--grey-500); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--navy-700); border-radius: var(--radius); padding: 28px; color: var(--grey-300); border: 1px solid rgba(251,191,36,.18); }
.testimonial .stars { color: var(--amber); margin-bottom: 10px; letter-spacing: 3px; }
.testimonial p { font-style: italic; margin-bottom: 16px; }
.testimonial .who { color: var(--white); font-weight: 700; }
.testimonial .who small { display: block; color: var(--grey-500); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 14px; box-shadow: 0 3px 12px rgba(2,6,23,.07); overflow: hidden; }
.faq-item summary { padding: 18px 24px; font-weight: 700; cursor: pointer; list-style: none; color: var(--navy-800); }
.faq-item summary::before { content: "＋ "; color: var(--amber-dark); font-weight: 900; }
.faq-item[open] summary::before { content: "－ "; }
.faq-item .faq-a { padding: 0 24px 20px; color: var(--grey-500); }

/* ---------- Area tags ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-tags span {
  background: var(--navy-700); color: var(--grey-300); border: 1px solid rgba(251,191,36,.25);
  padding: 9px 20px; border-radius: 50px; font-size: .92rem; font-weight: 600;
}
.area-tags span::before { content: "📍 "; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-box { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-box h3 { margin-bottom: 18px; color: var(--navy-800); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--grey-100); }
.contact-line .ci { font-size: 1.4rem; }
.contact-line strong { display: block; color: var(--navy-800); }
.contact-line a { color: var(--amber-dark); font-weight: 700; }
form.contact-form label { display: block; font-weight: 700; margin: 14px 0 6px; color: var(--navy-800); font-size: .92rem; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--grey-300); border-radius: 10px; font-size: 1rem; font-family: inherit;
}
form.contact-form input:focus, form.contact-form textarea:focus, form.contact-form select:focus { outline: 2px solid var(--amber); border-color: transparent; }
form.contact-form button { margin-top: 20px; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--grey-300); padding: 70px 0 0; border-top: 1px solid rgba(251,191,36,.15); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: var(--amber); margin-bottom: 18px; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--amber); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: .85rem; opacity: .7; }
.footer-phone { font-size: 1.35rem; font-weight: 900; color: var(--amber); display: block; margin: 8px 0; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(34,197,94,.5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.call-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 999;
  background: var(--amber); color: var(--navy-900); font-weight: 800;
  padding: 14px 24px; border-radius: 50px; box-shadow: 0 8px 24px rgba(251,191,36,.5);
  display: none;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--navy-800); color: var(--grey-500); font-size: .85rem; padding: 12px 0; }
.breadcrumb a { color: var(--grey-300); }
.breadcrumb a:hover { color: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); padding: 70px 0; text-align: center; position: relative;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero h1 .highlight { color: var(--amber); }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--grey-300); }

/* ---------- Table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--navy-800); color: var(--amber); padding: 15px 18px; text-align: left; }
.price-table td { padding: 13px 18px; border-bottom: 1px solid var(--grey-100); }
.price-table tr:nth-child(even) { background: #f8fafc; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-800); flex-direction: column; padding: 20px 22px; gap: 16px;
    border-bottom: 2px solid var(--amber);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-call { display: none; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-float { display: block; }
  .section { padding: 56px 0; }
}
