/* Oakville Chiropractor - Lead Gen Site */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --dark: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

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

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

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-white:hover {
  background: var(--bg);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--dark);
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text strong {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--bg) 100%);
  padding: 80px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.trust-icon {
  color: var(--secondary);
  font-weight: bold;
}

.hero-image-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 50px 0;
  }
  
  .hero-image {
    display: none;
  }
}

/* Sections */
section {
  padding: 80px 0;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Conditions Grid */
.conditions {
  background: var(--white);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.condition-card {
  background: var(--bg);
  padding: 30px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

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

.condition-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.condition-card h3 {
  margin-bottom: 10px;
}

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

@media (max-width: 900px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
}

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

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

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Chiro Section */
.why-chiro {
  background: var(--white);
}

.why-chiro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  list-style: none;
}

.why-list li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.why-list strong {
  display: block;
  color: var(--dark);
  margin-bottom: 5px;
}

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

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--bg);
  padding: 25px 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
}

@media (max-width: 900px) {
  .why-chiro .container {
    grid-template-columns: 1fr;
  }
}

/* Areas Section */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.area-item {
  background: var(--white);
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 500;
}

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

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
}

.cta-box {
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

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

/* FAQ Preview */
.faq-preview {
  background: var(--white);
}

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

.faq-item {
  background: var(--bg);
  padding: 25px;
  border-radius: var(--radius);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

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

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

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

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

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

.footer-brand .logo {
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Interior Pages */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  background: var(--white);
  padding: 60px 0;
}

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

.content-main h2 {
  margin: 40px 0 20px;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main p {
  margin-bottom: 15px;
}

.content-main ul {
  margin: 15px 0 15px 20px;
}

.content-main li {
  margin-bottom: 8px;
}

.sidebar-cta {
  background: var(--bg);
  padding: 30px;
  border-radius: var(--radius);
  position: sticky;
  top: 100px;
}

.sidebar-cta h3 {
  margin-bottom: 15px;
}

.sidebar-cta p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-cta {
    position: static;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

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

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

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

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

.booking-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.booking-form h2 {
  margin-bottom: 30px;
  text-align: center;
}
