/* ============================================================
   LYF CITY ELECTRIC LLC — Global Stylesheet
   Color Palette: Orange (#F97316) + White + Dark (#1E1E1E)
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { font-size: 1rem; color: #555; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section-alt { background: #FFF7F0; }

.section-tag {
  display: inline-block;
  background: #FEE8D6;
  color: #F97316;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  color: #1E1E1E;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #F97316;
  color: #fff;
  border-color: #F97316;
}
.btn-primary:hover { background: #EA6B10; border-color: #EA6B10; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.35); }

.btn-outline {
  background: transparent;
  color: #F97316;
  border-color: #F97316;
}
.btn-outline:hover { background: #F97316; color: #fff; transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: #F97316;
  border-color: #fff;
}
.btn-white:hover { background: #FFF7F0; transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #1E1E1E;
  padding: 0 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: #F97316;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .logo-icon svg { width: 22px; height: 22px; fill: #fff; }

.nav-logo .logo-text {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #F97316;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Real logo image in navbar */
.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #F97316;
  border-bottom-color: #F97316;
}

.nav-phone {
  background: #F97316;
  color: #fff !important;
  border-bottom: none !important;
  padding: 8px 18px !important;
  border-radius: 5px;
  font-weight: 600 !important;
}

.nav-phone:hover { background: #EA6B10 !important; color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: #F97316;
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 7px 1rem;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #1E1E1E 0%, #2D2D2D 100%);
  padding: 70px 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 20 L50 20 L38 30 L43 45 L30 36 L17 45 L22 30 L10 20 L25 20Z' fill='none' stroke='%23F9731620' stroke-width='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.4;
}

.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: #ccc; margin-top: 12px; font-size: 1.1rem; position: relative; }

.breadcrumb {
  color: #F97316;
  font-size: 0.88rem;
  margin-bottom: 12px;
  position: relative;
}
.breadcrumb a { color: #ccc; }
.breadcrumb a:hover { color: #F97316; }
.breadcrumb span { margin: 0 6px; color: #666; }

/* ---------- Hero (Home) ---------- */
.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 60%, #1E1E1E 100%);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(249,115,22,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249,115,22,0.08) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249,115,22,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: #F97316;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '⚡';
  font-size: 1rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  color: #F97316;
  font-style: normal;
}

.hero p {
  color: #bbb;
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #F97316;
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #F97316;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-6px);
  border-color: #F97316;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: #FEE8D6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 { color: #1E1E1E; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; }

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F97316;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}
.service-card .learn-more:hover { gap: 10px; }

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.feature-item .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-item h4 { color: #1E1E1E; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; }

/* ---------- Service Area ---------- */
.area-section {
  background: linear-gradient(135deg, #1E1E1E, #2D2D2D);
  padding: 80px 0;
  text-align: center;
}

.area-section .section-title { color: #fff; }
.area-section .section-subtitle { color: #aaa; }
.area-section .section-tag { background: rgba(249,115,22,0.2); color: #F97316; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.area-tag {
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: #F97316;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.area-tag:hover { background: #F97316; color: #fff; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: #FEE8D6;
  line-height: 1;
  font-family: Georgia, serif;
}

.stars { color: #F97316; font-size: 1.1rem; margin-bottom: 14px; }

.testimonial-card p { font-size: 0.95rem; margin-bottom: 20px; color: #444; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #EA6B10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-name { font-weight: 600; color: #1E1E1E; font-size: 0.95rem; }
.reviewer-location { font-size: 0.8rem; color: #888; }

/* ---------- Google Reviews CTA ---------- */
.google-review-banner {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 60px auto 0;
}

.google-logo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.google-logo span:nth-child(1) { color: #4285F4; }
.google-logo span:nth-child(2) { color: #EA4335; }
.google-logo span:nth-child(3) { color: #FBBC05; }
.google-logo span:nth-child(4) { color: #4285F4; }
.google-logo span:nth-child(5) { color: #34A853; }
.google-logo span:nth-child(6) { color: #EA4335; }

.overall-rating {
  font-size: 3rem;
  font-weight: 700;
  color: #1E1E1E;
  line-height: 1;
  margin: 8px 0 4px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { color: #1E1E1E; margin-bottom: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-item .c-icon {
  width: 48px;
  height: 48px;
  background: #FEE8D6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: #1E1E1E; font-weight: 500; font-size: 1rem; }
.contact-item a:hover { color: #F97316; }

/* Form */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.contact-form h3 { color: #1E1E1E; margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #F9FAFB;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; padding: 15px; font-size: 1.05rem; }

/* ---------- About Page ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  background: linear-gradient(135deg, #1E1E1E, #2D2D2D);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  color: #F97316;
  font-size: 5rem;
}

.about-image-placeholder p {
  color: #888;
  font-size: 0.9rem;
  margin-top: 12px;
}

.about-content h2 { color: #1E1E1E; margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; }

.about-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-badge {
  background: #FEE8D6;
  color: #F97316;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
}

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

.value-card {
  border-left: 4px solid #F97316;
  padding: 24px;
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.value-card .v-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { color: #1E1E1E; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: #111;
  color: #888;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo-text-footer {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.footer-brand .logo-text-footer span { color: #F97316; }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
}

.footer-social a:hover { background: #F97316; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #F97316; }

.footer-col address { font-style: normal; }
.footer-col address p { font-size: 0.9rem; margin-bottom: 8px; line-height: 1.5; }
.footer-col address a { color: #F97316; }
.footer-col address a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid #1E1E1E;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a { color: #F97316; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #1E1E1E; flex-direction: column; padding: 20px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid #333; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-phone { display: block; text-align: center; padding: 12px !important; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 80px 0; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
