/*
Theme Name: JCB Home Cleaning
Theme URI: https://jcbhomecleaning.com
Description: Modern, conversion-optimized WordPress theme for JCB Home Cleaning - Professional residential and commercial cleaning services in Denver, CO
Version: 1.0
Author: JCB Home Cleaning
Author URI: https://jcbhomecleaning.com
Tags: cleaning, business, service, conversion-optimized, mobile-responsive
Text Domain: jcb-home-cleaning
*/

/* ============================================
   2026 MODERN DESIGN - TWITTER BLUE THEME
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --twitter-blue: #1DA1F2;
  --blue-dark: #1A8CD8;
  --blue-light: #E8F5FE;
  --gray-50: #F7F9FA;
  --gray-100: #E1E8ED;
  --gray-900: #14171A;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

/* ============================================
   HEADER - FIXED & CLEAN
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--twitter-blue);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  color: var(--gray-900);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
  text-decoration: none;
}

.nav a:hover {
  color: var(--twitter-blue);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--gray-900);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--twitter-blue);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 12px;
  padding: 8px;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--gray-900);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 14px;
}

.nav-dropdown-menu a:hover {
  background: var(--blue-light);
  color: var(--twitter-blue);
  padding-left: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  display: block;
  transition: all 0.3s;
}

/* ============================================
   BUTTONS - CRO OPTIMIZED
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--twitter-blue);
  color: white;
  box-shadow: 0 4px 14px rgba(29, 161, 242, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 161, 242, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--twitter-blue);
  border: 2px solid var(--twitter-blue);
}

.btn-secondary:hover {
  background: var(--blue-light);
}

.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 2px solid var(--gray-100);
}

.btn-outline:hover {
  border-color: var(--twitter-blue);
  color: var(--twitter-blue);
}

/* ============================================
   HERO - 2026 STYLE
   ============================================ */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 100%);
  padding-top: 70px;
  position: relative;
}

.hero-content {
  max-width: 700px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: #657786;
  margin-bottom: 32px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #657786;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 100px 0;
}

.bg-gray {
  background: var(--gray-50);
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.text-center {
  text-align: center;
}

.mb-lg {
  margin-bottom: 60px;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ============================================
   CARDS - MODERN & CLEAN
   ============================================ */

.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--twitter-blue);
}

.card-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--twitter-blue);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  color: #657786;
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 15px;
}

.card-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--twitter-blue);
  margin-bottom: 8px;
}

.card-price-note {
  font-size: 13px;
  color: #AAB8C2;
  margin-bottom: 20px;
}

/* ============================================
   FEATURES
   ============================================ */

.feature-card {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 16px;
  font-size: 32px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-description {
  color: #657786;
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-stars {
  color: #FFAD1F;
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.testimonial-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-900);
}

.testimonial-location {
  color: #657786;
  font-size: 14px;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 550px;
}

.pricing-card.featured {
  border-color: var(--twitter-blue);
  box-shadow: 0 8px 24px rgba(29, 161, 242, 0.15);
  transform: scale(1.05);
}

.pricing-card:hover {
  border-color: var(--twitter-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--twitter-blue);
  margin: 20px 0;
  line-height: 1.1;
}

.pricing-description {
  color: #657786;
  margin-bottom: 32px;
  min-height: 50px;
  font-size: 15px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: center;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--gray-900);
  font-size: 15px;
}

.pricing-features li:before {
  content: "✓";
  color: var(--twitter-blue);
  font-weight: 700;
  margin-right: 8px;
}

/* Service feature lists (left-aligned) */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.service-features li {
  padding: 8px 0;
  color: var(--gray-900);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-features li:before {
  content: "✓";
  color: var(--twitter-blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn {
  margin-top: auto;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: white;
  border: none;
  transition: background 0.2s;
  color: var(--gray-900);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--twitter-blue);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: #657786;
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--twitter-blue) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 80px 40px;
  border-radius: 24px;
  text-align: center;
  margin: 60px 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: white;
  color: var(--twitter-blue);
  margin: 0 8px;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--gray-900);
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #AAB8C2;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #657786;
  font-size: 14px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    gap: 20px;
    align-items: flex-start;
  }
  
  /* Mobile Dropdown */
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
    padding-left: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.active .nav-dropdown-menu {
    max-height: 500px;
  }
  
  .nav-dropdown-menu a {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .nav a {
    width: 100%;
    padding: 8px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .card {
    padding: 24px;
  }
}
