/* Orinda Electrician - Pure HTML/CSS Site */
/* Design: Industrial Modernism with Utilitarian Craft */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
  color: #2a2a2a;
  background: #ffffff;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.font-technical {
  font-family: 'IBM Plex Mono', monospace;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  background: #1a1a1a;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #ff6b35;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

header .logo img {
  height: 80px;
  width: auto;
}

header nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ff6b35;
}

header .phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b35;
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

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

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: #ff6b35;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: #ff6b35;
  color: #ffffff;
}

.btn-primary:hover {
  background: #e55a28;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: #1a1a1a;
}

/* Stats Bar */
.stats-bar {
  background: #ff6b35;
  color: #ffffff;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-family: 'Bebas Neue', sans-serif;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section */
section {
  padding: 5rem 0;
}

section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
}

section h2 .highlight {
  color: #ff6b35;
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content {
  padding: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
}

/* Content Section */
.content-section {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.content-section h3 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ff6b35;
}

.content-section p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.content-section ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background: #1a1a1a;
  color: #ffffff;
  font-weight: 600;
}

table tr:hover {
  background: #f5f5f5;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 3rem auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #666;
  line-height: 1.8;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #ff6b35;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

.testimonial-author {
  font-weight: 600;
  color: #1a1a1a;
}

.testimonial-location {
  font-size: 0.875rem;
  color: #666;
}

/* CTA Section */
.cta-section {
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h3 {
  color: #ff6b35;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #999;
  font-size: 0.875rem;
  transition: color 0.3s;
}

footer a:hover {
  color: #ff6b35;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  color: #999;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}
