/* Chicago Water Damage Experts - Styles */

:root {
  --primary: #1e3a5f;      /* Deep blue - trust */
  --secondary: #e85d04;    /* Orange - urgency/CTA */
  --accent: #f48c06;       /* Lighter orange */
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --white: #ffffff;
  --success: #28a745;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
  background: var(--secondary);
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
}

.header-top a {
  color: var(--white);
  font-size: 1.1rem;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

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

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

.nav a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.badge-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

/* Emergency Banner */
.emergency-banner {
  background: var(--secondary);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.emergency-banner h3 {
  margin-bottom: 0.5rem;
}

.emergency-banner a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: var(--primary);
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

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

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--secondary);
}

/* Why Choose Us */
.why-us {
  padding: 80px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-item h4 {
  color: var(--primary);
  margin: 15px 0 10px;
}

.why-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Process Section */
.process {
  padding: 80px 0;
  background: var(--primary);
  color: var(--white);
}

.process h2 {
  color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  margin-bottom: 10px;
}

.process-step p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Areas Served */
.areas {
  padding: 80px 0;
  background: var(--light);
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.areas-list a {
  display: block;
  padding: 15px 20px;
  background: var(--white);
  border-radius: 5px;
  color: var(--dark);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.areas-list a:hover {
  border-left-color: var(--secondary);
  text-decoration: none;
  transform: translateX(5px);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

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

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-location {
  font-size: 0.9rem;
  color: var(--gray);
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  font-size: 2.2rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta .btn-outline {
  border-color: var(--white);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 500px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

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

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer h4 {
  color: var(--accent);
  margin-bottom: 20px;
}

.footer a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .services, .why-us, .process, .areas, .testimonials, .cta {
    padding: 50px 0;
  }
  
  .contact-form {
    padding: 25px;
  }
}

/* Phone link styles */
.phone-link {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
