/* Great Lake Sewer Jetting - Static Website Styles - Matching React Version */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --accent: #e31b23;
  --accent-dark: #c41820;
  --primary: #1a3a5c;
  --primary-dark: #0f2744;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --blue-100: #dbeafe;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  background: var(--gray-50);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: white;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.emergency-badge {
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.top-bar a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar .icon {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

/* Header */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wrapper img {
  height: 56px;
  width: auto;
}

.logo-text .company-name {
  display: flex;
}

.logo-text .great {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-text .lake {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-text .tagline {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--accent);
}

.phone-link .icon {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 20px rgba(227, 27, 35, 0.3);
}

.btn-navy {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(26, 58, 92, 0.3);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
}

.btn-navy:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26, 58, 92, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 16px 32px;
  font-size: 18px;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Hero Section - RED gradient like React version */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

.hero::before {
  width: 384px;
  height: 384px;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

.hero::after {
  width: 384px;
  height: 384px;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
}

.hero .container {
  position: relative;
  z-index: 10;
  padding: 80px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    padding: 80px 32px 128px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 48px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 60px; }
}

.hero h1 .navy-text {
  color: var(--primary-dark);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  max-width: 512px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 500;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Why Choose Us Card */
.why-choose-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  display: none;
}

@media (min-width: 1024px) {
  .why-choose-card { display: block; }
}

.why-choose-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: 12px;
  margin-bottom: 16px;
}

.why-choose-item:last-child {
  margin-bottom: 0;
}

.why-choose-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.why-choose-item h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  font-size: 16px;
}

.why-choose-item p {
  color: var(--gray-600);
  font-size: 14px;
  margin: 0;
}

/* Trust Bar */
.trust-bar {
  background: var(--primary);
  padding: 32px 0;
  color: white;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .trust-bar .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.trust-item h4 {
  font-weight: 700;
  color: white;
  font-size: 16px;
  margin-bottom: 2px;
}

.trust-item p {
  color: var(--blue-100);
  font-size: 14px;
  margin: 0;
}

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

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 64px;
}

.section-label {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 48px; }
}

.section-header p {
  color: var(--gray-600);
  font-size: 18px;
}

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

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
  text-align: center;
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transition: transform 0.3s;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(227, 27, 35, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  font-size: 40px;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(227, 27, 35, 0.1);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
}

.service-card ul {
  text-align: left;
  margin-top: 16px;
  color: var(--gray-600);
  font-size: 14px;
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* Emergency CTA */
.emergency-cta {
  background: var(--primary);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.emergency-cta::before {
  content: '';
  position: absolute;
  width: 384px;
  height: 384px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

.emergency-cta .container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .emergency-cta .container {
    flex-direction: row;
    text-align: left;
  }
}

.emergency-cta h2 {
  font-size: 30px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .emergency-cta h2 { font-size: 36px; }
}

.emergency-cta p {
  font-size: 20px;
  color: var(--blue-100);
}

.phone-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  padding: 20px 32px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  transition: all 0.3s;
  flex-shrink: 0;
}

.phone-cta:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.phone-cta .icon {
  font-size: 40px;
}

.phone-cta span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.phone-cta strong {
  font-size: 24px;
  font-weight: 700;
}

/* Service Areas */
.service-areas {
  padding: 80px 0;
  background: white;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}

.area-card {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.area-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: white;
}

.area-card .icon {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 8px;
}

.area-card h4 {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  padding: 80px 0 128px;
  background: var(--gray-50);
}

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

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .contact-info h2 { font-size: 48px; }
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 32px;
  font-size: 18px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 28px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.contact-item .sub {
  color: var(--gray-600);
  font-weight: 400;
  font-size: 16px;
}

.contact-form {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
  font-family: inherit;
  background: white;
}

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

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

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: white;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 56px;
}

.footer-logo .great {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent);
}

.footer-logo .lake {
  font-size: 20px;
  font-weight: 900;
  color: white;
}

.footer-logo .tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
}

footer p {
  color: var(--blue-100);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--accent);
}

footer h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: white;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 12px;
}

footer ul a {
  color: var(--blue-100);
  text-decoration: none;
  transition: color 0.3s;
}

footer ul a:hover {
  color: var(--accent);
}

footer ul .contact-icon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

footer ul .contact-icon .icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  text-align: center;
  color: var(--blue-100);
  font-size: 14px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
}

@media (max-width: 767px) {
  nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-right .btn,
  .header-right .phone-link {
    display: none;
  }

  .logo-text {
    display: none;
  }
}

/* Page Hero (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: white;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  top: -100px;
  right: -100px;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 48px; }
}

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

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
}

/* Why Us Section */
.why-us-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-item p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
