/*
 Theme Name: a1-sparky
 Theme URI: https://example.com/
 Author: A1 Sparky
 Description: Minimal single-page theme for A1 Sparky electricians in Sydney, with blue accent styling.
 Version: 1.1
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: a1-sparky
*/

:root {
  --a1-primary: #00AEEF; /* blue accent from logo */
  --a1-primary-dark: #0088c0;
  --a1-bg: #0b1120;
  --a1-surface: #ffffff;
  --a1-text-main: #0f172a;
  --a1-text-muted: #6b7280;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top left, #0b1120 0, #020617 55%, #020617 100%);
  color: var(--a1-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header.site-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(90deg, #020617 0%, #0b1120 50%, #020617 100%);
  color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-branding img {
  height: 48px;
  width: auto;
}

.site-title-block {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.site-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.site-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.site-phone-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: #9ca3af;
}

.site-phone-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.7));
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-phone-pill-dot {
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

/* Main */
main.site-main {
  flex: 1;
  padding: 40px 16px 56px;
}

.hero-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-accent-bar {
  height: 3px;
  width: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--a1-primary) 0%, #38bdf8 50%, #22c55e 100%);
  margin-bottom: 18px;
}

.hero {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%),
              var(--a1-surface);
  border-radius: 20px;
  padding: 32px 20px 26px;
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.35),
    0 0 0 1px rgba(148, 163, 184, 0.4);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12) 0, transparent 55%),
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.1) 0, transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--a1-primary-dark);
}

.hero-location-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #4b5563;
}

.hero-title {
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--a1-text-main);
}

.hero-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--a1-primary-dark);
  margin-bottom: 16px;
}

.hero-highlight-tag-dot {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  background: var(--a1-primary);
}

.hero-body {
  font-size: 15px;
  color: var(--a1-text-muted);
}

.hero-body p + p {
  margin-top: 12px;
}

.hero-highlight {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-highlight-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 60%);
  font-size: 11px;
  color: #bae6fd;
  white-space: nowrap;
}

.hero-industries {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(148, 163, 184, 0.8);
}

.hero-industries-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--a1-text-main);
}

/* Hero footer / CTA */
.hero-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.hero-footer-text {
  font-size: 14px;
  color: #4b5563;
  max-width: 360px;
}

.hero-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hero-footer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.hero-footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--a1-primary) 0%, var(--a1-primary-dark) 40%, #0f172a 100%);
  color: #f9fafb;
  font-size: 14px;
  font-weight: 600;
  box-shadow:
    0 18px 35px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(8, 47, 73, 0.85);
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.hero-footer-phone-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 24px 45px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(8, 47, 73, 1);
}

.hero-footer-phone-btn span.hero-footer-phone-number {
  font-size: 15px;
}

.hero-footer-phone-icon {
  height: 20px;
  width: 20px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--a1-primary-dark);
}

/* Footer */
footer.site-footer {
  padding: 18px 24px 26px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  background: #020617;
  border-top: 1px solid rgba(51, 65, 85, 0.9);
}

/* Responsive */
@media (min-width: 768px) {
  header.site-header {
    padding: 18px 32px;
  }
  main.site-main {
    padding: 60px 24px 80px;
  }
  .hero {
    padding: 40px 40px 30px;
  }
  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-phone {
    width: 100%;
    justify-content: space-between;
  }
  .hero-footer-cta {
    width: 100%;
  }
  .hero-footer-phone-btn {
    width: 100%;
    justify-content: center;
  }
}
