/* X Force Control Inc - Premium Pest Control Website */
:root {
  --dark: #1a1a1a;
  --charcoal: #2c2c2c;
  --orange: #e85d04;
  --orange-light: #f48c06;
  --cream: #f8f5f2;
  --white: #ffffff;
  --text: #222222;
  --muted: #666666;
  --border: #e5e1dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,93,4,0.2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo-text { color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--orange); }
nav ul { display: flex; list-style: none; gap: 32px; }
nav a { color: #ddd; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--orange); }
.btn {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 7px 20px; border-radius: 50px; font-weight: 600;
  transition: all 0.25s; border: none; cursor: pointer;
}
.btn:hover { background: var(--orange-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent; border: 2px solid #fff; color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--dark); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(26,26,26,0.75), rgba(26,26,26,0.55)), url('../images/hero.jpg') center/cover no-repeat;
  color: #fff; padding-top: 80px;
}
.hero-content { max-width: 680px; }
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-title p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.accent { color: var(--orange); }

/* Services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px;
}
.service-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.service-card h3 { font-size: 1.4rem; margin: 16px 0 12px; }
.service-icon { font-size: 2.2rem; color: var(--orange); }

/* Process */
.process {
  background: var(--dark); color: #fff;
}
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; text-align: center; }
.process-step { position: relative; }
.process-num {
  width: 60px; height: 60px; background: var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem;
  margin: 0 auto 20px;
}

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.gallery-item { border-radius: 12px; overflow: hidden; height: 280px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }

/* Testimonials */
.testimonials { background: #fff; }
.testimonial {
  background: var(--cream); padding: 32px; border-radius: 16px; border-left: 4px solid var(--orange);
}
.testimonial p { font-style: italic; margin-bottom: 16px; }
.stars { color: var(--orange); letter-spacing: 2px; }

/* Form */
.quote-form {
  background: #fff; padding: 48px; border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.08);
  max-width: 720px; margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit; transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.success-msg {
  display: none; background: #e8f5e9; color: #2e7d32; padding: 20px; border-radius: 12px; text-align: center; margin-top: 20px;
}

/* Footer */
footer {
  background: var(--dark); color: #aaa; padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: #fff; margin-bottom: 16px; }
footer a { color: #aaa; display: block; margin-bottom: 8px; transition: color 0.2s; }
footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #333; padding-top: 24px; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav ul {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 20px; gap: 16px;
  }
  nav ul.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 90vh; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-btns { justify-content: center; }
}

