/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: #f5a623;
  color: #000;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: #e09410; }

.btn-link {
  display: inline-block;
  color: #f5a623;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-top: 12px;
  transition: color 0.2s;
}
.btn-link:hover { color: #e09410; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #111;
  border-bottom: 3px solid #f5a623;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.header-phone a {
  color: #f5a623;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.header-phone a:hover { color: #fff; }

/* ===== NAV ===== */
#main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

#main-nav ul li a {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  transition: color 0.2s;
}
#main-nav ul li a:hover { color: #f5a623; }

.btn-contact {
  background: #f5a623 !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  transition: background 0.2s !important;
}
.btn-contact:hover { background: #e09410 !important; color: #000 !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  background: url('images/hero_electrician.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* ===== ABOUT ===== */
.about {
  padding: 72px 0;
  background: #fff;
}

.about-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-text { flex: 1; }

.about-text h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: #111;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.about-cta-text { color: #333 !important; }

.about-text .btn-primary { margin-top: 8px; }

.about-badge {
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
}

.badge-box {
  background: #111;
  color: #fff;
  padding: 28px 20px;
  text-align: center;
  border: 3px solid #f5a623;
  border-radius: 4px;
}

.badge-icon {
  font-size: 2.5rem;
  color: #f5a623;
  display: block;
  margin-bottom: 10px;
}

.badge-box p {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.badge-license {
  color: #f5a623 !important;
  font-weight: 700 !important;
}

/* ===== SERVICES SECTION (Residential / Commercial) ===== */
.services-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.service-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-img-wrap img:hover { transform: scale(1.04); }

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: #f5a623;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card p {
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== SERVICES LIST ===== */
.services-list {
  padding: 72px 0;
  background: #111;
  color: #fff;
}

.services-list h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 48px;
  color: #fff;
  text-transform: uppercase;
}

.services-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid #333;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.service-item:hover {
  border-color: #f5a623;
  background: #1a1a1a;
}

.service-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  color: #f5a623;
}

.service-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #fff;
}

.service-item p {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 72px 0;
  background: #fff;
}

.faq-section h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 40px;
  color: #111;
  text-transform: uppercase;
}

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover { color: #f5a623; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: #f5a623; }
.faq-question.open::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 0 0 18px 0;
}
.faq-answer p {
  color: #555;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 72px 0;
  background: #111;
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  color: #fff;
  text-transform: uppercase;
}

.contact-info p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #ccc;
}

.contact-info a { color: #f5a623; }
.contact-info a:hover { color: #fff; }

.license-info {
  margin-top: 28px;
  padding: 20px;
  border: 2px solid #f5a623;
  border-radius: 4px;
}

.license-info p {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5a623 !important;
  margin-bottom: 4px;
}

.contact-form-wrap h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #f5a623;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  background: #1e1e1e;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #f5a623; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #888; }

.contact-form .btn-primary { align-self: flex-start; }

.form-success {
  margin-top: 16px;
  padding: 14px 20px;
  background: #1a3a1a;
  border: 1px solid #4caf50;
  color: #4caf50;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

/* ===== FOOTER ===== */
#footer {
  background: #000;
  color: #fff;
  padding: 40px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid #222;
}

.footer-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer-info p,
.footer-contact p {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #aaa;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer-info p:first-child { color: #f5a623; font-weight: 700; }
.footer-contact a { color: #f5a623; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  font-size: 0.8rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-items { grid-template-columns: repeat(2, 1fr); }
  .about-inner { flex-direction: column; }
  .about-badge { flex: unset; width: 100%; }
  .badge-box { max-width: 280px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-items { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  #main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: #111;
    padding: 16px 0;
    border-top: 2px solid #f5a623;
    gap: 0;
  }
  #main-nav ul.open { display: flex; }
  #main-nav ul li a { padding: 12px 24px; display: block; font-size: 1rem; }
}

@media (max-width: 480px) {
  .services-items { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
}
