/* ================================
   Santa Cruz Electric & Power
   Professional Contractor Theme
   ================================ */

:root {
  --bg: #0b0f14;
  --panel: #111826;
  --card: #0f172a;
  --primary: #f5b000;
  --secondary: #1e293b;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #f59e0b;
  --line: rgba(255,255,255,0.08);
  --glow: rgba(245,176,0,0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: radial-gradient(circle at top, #0e1422 0%, #070b12 60%);
  color: var(--text);
  line-height: 1.6;
}

/* ================================
   Layout
   ================================ */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================================
   Header / Navbar
   ================================ */

header {
  background: rgba(10,15,25,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 18px;
  color: var(--text);
}

.logo span {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 14px;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f5b000, #ffcc00);
  color: #000;
  box-shadow: 0 0 25px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ================================
   Hero Section
   ================================ */

.hero {
  padding: 90px 0 80px;
  background: radial-gradient(circle at center, rgba(245,176,0,0.08), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--muted);
}

/* ================================
   Services Section
   ================================ */

.services {
  padding: 80px 0;
}

.section-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: linear-gradient(180deg, #0f172a, #0b1220);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(245,176,0,0.12), transparent 60%);
  opacity: 0;
  transition: 0.3s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ================================
   CTA Section
   ================================ */

.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #0b1220, #0a0f18);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-box {
  background: linear-gradient(135deg, rgba(245,176,0,0.12), rgba(245,176,0,0.03));
  border: 1px solid rgba(245,176,0,0.3);
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  box-shadow: 0 0 60px rgba(245,176,0,0.15);
}

.cta-box h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 26px;
}

/* ================================
   Footer
   ================================ */

footer {
  padding: 40px 0;
  background: #060a12;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin-bottom: 12px;
  color: var(--primary);
}

.footer p, .footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .nav-actions {
    display: none;
  }
}
