/* All Clean Ohio - Main Stylesheet */

/* CSS Variables */
:root {
  --primary-blue: #1e40af;
  --primary-blue-dark: #1e3a8a;
  --accent-yellow: #fbbf24;
  --accent-yellow-dark: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

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

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

ul {
  list-style: none;
}

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

/* Header */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  max-width: 70px;
}

.logo img {
  width: 100%;
}

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

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: color 0.3s;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-blue);
  color: white;
  padding: 6px 10px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.3s;
}

.phone-btn:hover {
  background: var(--primary-blue-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 500px;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  width: 100%;
  background: var(--primary-blue);
  padding: 30px 20px 40px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .tagline {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent-yellow);
  font-style: italic;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--accent-yellow-dark);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Special Banner */
.special-banner {
  background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-yellow-dark) 100%);
  padding: 20px;
  text-align: center;
}

.special-banner h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.special-banner p {
  color: var(--text-dark);
  opacity: 0.9;
}

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

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

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

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

.why-us-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-us-icon svg {
  width: 35px;
  height: 35px;
  color: white;
}

.why-us-item h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-us-item p {
  color: var(--text-light);
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 64, 175, 0.9);
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  text-align: center;
}

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

.service-area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-area-text h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.service-area-text p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-area-map img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 30px;
}

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

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-item-text h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-item-text p {
  color: var(--text-light);
}

.contact-item-text a {
  color: var(--primary-blue);
  font-weight: 600;
}

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

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

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

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* Services Page Specific */
.services-page-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.services-page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.services-page-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.service-detail {
  padding: 60px 0;
  border-bottom: 1px solid #e5e7eb;
}

.service-detail:nth-child(even) {
  background: var(--bg-light);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-content {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content > * {
  direction: ltr;
}

.service-detail-image {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail-image::after {
  content: 'Click to enlarge';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 64, 175, 0.8);
  color: white;
  padding: 8px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-detail-image:hover::after {
  opacity: 1;
}

.service-detail-image:hover img {
  transform: scale(1.02);
}

.service-detail img {
  border-radius: var(--radius);
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-detail h2 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-detail p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-detail ul {
  margin-bottom: 20px;
}

.service-detail ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
}

.service-detail ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

/* Gallery Page */
.gallery-page .gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.before-after-item {
  position: relative;
}

.before-after-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a {
  color: var(--accent-yellow);
}

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

/* Mobile Responsive */
@media (max-width: 968px) {
  .service-area-content,
  .contact-grid,
  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-content {
    direction: ltr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
  }

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

  .phone-btn {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .before-after {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--accent-yellow);
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 1.1rem;
}

/* Clickable images */
.clickable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
}

/* Gallery and service card images */
.gallery-item img,
.service-card img,
.service-detail-image img,
.before-after-item img,
.service-area-map img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover,
.service-card img:hover,
.service-detail-image img:hover,
.before-after-item img:hover {
  transform: scale(1.02);
}
