/* ===== YCL Cleaning - Mobile-First Styles ===== */

:root {
  --primary: #226e93;
  --primary-dark: #1a5a7a;
  --primary-light: #3498cb;
  --accent: #c4953b;
  --accent-hover: #a67c2e;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-light: #f7f9fb;
  --bg-dark: #1a2a3a;
  --border: #e0e0e0;
  --success: #27ae60;
  --error: #e74c3c;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --max-width: 1100px;
  --nav-height: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title h2 { color: var(--primary); }
.section-title p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active { background: var(--bg-light); color: var(--primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { padding: 12px 16px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a5a7a 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,224C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; position: relative; }
.hero p { font-size: 1.15rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; position: relative; }
.hero .btn { position: relative; }
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: calc(var(--nav-height) + 40px) 0 40px; }
}

/* ===== Sections ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-light); }

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.service-card h3 { color: var(--primary); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }
.service-card ul { margin-top: 12px; }
.service-card ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-light);
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  background: var(--primary);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  opacity: 0.8;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-number { font-size: 1.5rem; }
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial-stars { color: var(--accent); margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-author { font-weight: 600; color: var(--text); }
.testimonial-location { font-size: 0.85rem; color: var(--text-light); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 { color: var(--primary); margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-info-text { font-size: 0.95rem; }
.contact-info-text strong { display: block; margin-bottom: 2px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-success, .form-error {
  display: none;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 500;
}
.form-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.1rem; }
.footer p { font-size: 0.9rem; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: #fff; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Phone CTA ===== */
.phone-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}
.phone-cta a { color: #fff; }
.phone-cta a:hover { text-decoration: underline; }

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: calc(var(--nav-height) + 40px) 0 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a5a7a 100%);
  color: #fff;
  text-align: center;
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-item { text-align: center; padding: 24px; }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-item h4 { color: var(--primary); margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); }

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


/* ===== Tabler Icons Styling ===== */
.icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
  color: var(--primary);
}
.icon-wrap-sm {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}
.icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.ti { line-height: 1; }

/* ===== Reviews & Gallery ===== */
.reviews-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .reviews-gallery { grid-template-columns: 1fr; }
}

/* ===== Carousel ===== */
.carousel-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--bg-light);
}
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}
.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: #fff;
  border-color: #fff;
}

/* ===== Facebook Embed ===== */
.facebook-reviews {
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.facebook-reviews .fb-page {
  width: 100%;
}
