/* ============================================
   DARK MODE STYLES
   ============================================ */

[data-theme="dark"] {
  --color-ivory: #1a1a1a;
  --color-sage: #88C78A;
  --color-graphite: #f5f5f5;
  --color-whisper: rgba(255,255,255,0.06);
  --color-sand: #242424;
}

[data-theme="dark"] body {
  background-color: #1a1a1a;
  color: #f5f5f5;
}

[data-theme="dark"] header {
  background: rgba(26, 26, 26, 0.95);
}

[data-theme="dark"] header.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

[data-theme="dark"] .logo-text h1,
[data-theme="dark"] .logo-text p {
  color: #f5f5f5;
}

[data-theme="dark"] nav {
  background: #1a1a1a;
}

[data-theme="dark"] nav a {
  color: rgba(245, 245, 245, 0.7);
  border-bottom-color: rgba(136, 199, 138, 0.1);
}

[data-theme="dark"] nav a:hover {
  color: var(--color-sage);
}

[data-theme="dark"] .mobile-menu-btn .hamburger span {
  background: #f5f5f5;
}

[data-theme="dark"] .hero::before {
  background: linear-gradient(135deg, #1a1a1a, rgba(26, 26, 26, 0.95), rgba(136, 199, 138, 0.1));
}

[data-theme="dark"] .hero h1,
[data-theme="dark"] .hero h1 .highlight {
  color: #f5f5f5;
}

[data-theme="dark"] .hero-right > div > div {
  background: rgba(36, 36, 36, 0.9) !important;
}

[data-theme="dark"] .hero-right img + div {
  background: rgba(36, 36, 36, 0.95) !important;
}

[data-theme="dark"] .section-title,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
  color: #f5f5f5 !important;
}

[data-theme="dark"] .about-section > div > div:first-child h2,
[data-theme="dark"] .about-section h4 {
  color: #f5f5f5 !important;
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .section-description {
  color: rgba(245, 245, 245, 0.6);
}

[data-theme="dark"] .stat-label,
[data-theme="dark"] .feature-item {
  color: rgba(245, 245, 245, 0.5);
}

[data-theme="dark"] .btn-white {
  background: #2a2a2a;
  color: #f5f5f5;
  border-color: rgba(136, 199, 138, 0.2);
}

[data-theme="dark"] .btn-white:hover {
  background: #333;
  border-color: rgba(136, 199, 138, 0.4);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .faq-item {
  background: #242424;
  border-color: rgba(136, 199, 138, 0.15);
}

[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .team-card:hover,
[data-theme="dark"] .faq-item:hover {
  background: #2a2a2a;
  border-color: rgba(136, 199, 138, 0.3);
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .stat-card p,
[data-theme="dark"] .team-quote,
[data-theme="dark"] .faq-answer p {
  color: rgba(245, 245, 245, 0.7);
}

[data-theme="dark"] .service-link {
  background: rgba(136, 199, 138, 0.15);
  border-color: rgba(136, 199, 138, 0.25);
}

[data-theme="dark"] .service-link:hover {
  background: rgba(136, 199, 138, 0.25);
  border-color: rgba(136, 199, 138, 0.4);
}

[data-theme="dark"] .faq-question {
  color: #f5f5f5;
}

[data-theme="dark"] .faq-question:hover {
  background: rgba(136, 199, 138, 0.1);
}

[data-theme="dark"] .faq-answer p {
  background: rgba(136, 199, 138, 0.08);
}

[data-theme="dark"] footer {
  background: #0f0f0f;
}

[data-theme="dark"] .glass-card {
  background: rgba(36, 36, 36, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(42, 42, 42, 0.8);
}

/* Dark Mode Toggle Button */
.theme-toggle {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-sage);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(136, 199, 138, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 32px rgba(136, 199, 138, 0.4);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  color: white;
  transition: transform 0.3s;
}

.theme-toggle:hover svg {
  transform: rotate(20deg);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 48px;
    height: 48px;
    right: 1rem;
  }
  
  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }
}

/* About Section Dark Mode */
[data-theme="dark"] .about-section {
  background: linear-gradient(to bottom, #1a1a1a, #242424) !important;
}

[data-theme="dark"] .about-section p {
  color: rgba(245, 245, 245, 0.7) !important;
}

[data-theme="dark"] .about-section > div > div:nth-child(2) > div:first-child > div:nth-child(3) {
  background: #2a2a2a !important;
}

[data-theme="dark"] .about-section > div > div:nth-child(2) > div:first-child > div:nth-child(3) > div {
  background: rgba(36, 36, 36, 0.95) !important;
}

[data-theme="dark"] .about-section > div > div:nth-child(2) > div:first-child > div:nth-child(3) > div:last-child {
  background: rgba(36, 36, 36, 0.95) !important;
}

[data-theme="dark"] .about-section > div > div:nth-child(2) > div:last-child > div:nth-child(4) > div {
  background: rgba(136, 199, 138, 0.15) !important;
}

/* Process Section Dark Mode */
[data-theme="dark"] section[style*="background: white"] {
  background: #1a1a1a !important;
}

[data-theme="dark"] section[style*="background: white"] h2,
[data-theme="dark"] section[style*="background: white"] h3 {
  color: #f5f5f5 !important;
}

[data-theme="dark"] section[style*="background: white"] p {
  color: rgba(245, 245, 245, 0.6) !important;
}

/* Testimonials Section Dark Mode */
[data-theme="dark"] .testimonial-slide {
  background: #2a2a2a !important;
}

[data-theme="dark"] .testimonial-slide p {
  color: rgba(245, 245, 245, 0.8) !important;
}

[data-theme="dark"] .testimonial-slide > div:last-child > div:last-child > div:first-child {
  color: #f5f5f5 !important;
}

[data-theme="dark"] .testimonial-slide > div:last-child > div:last-child > div:last-child {
  color: rgba(245, 245, 245, 0.5) !important;
}

/* Blog Section Dark Mode */
[data-theme="dark"] section > div > div > div[style*="background: var(--color-ivory)"] {
  background: #2a2a2a !important;
}

[data-theme="dark"] section > div > div > div[style*="background: var(--color-ivory)"] h3 {
  color: #f5f5f5 !important;
}

[data-theme="dark"] section > div > div > div[style*="background: var(--color-ivory)"] p {
  color: rgba(245, 245, 245, 0.6) !important;
}

[data-theme="dark"] section > div > div > div[style*="background: var(--color-ivory)"] a {
  color: var(--color-sage) !important;
}

/* CTA Section Dark Mode */
[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, rgba(136, 199, 138, 0.15), #242424) !important;
}

[data-theme="dark"] .cta-content h2 {
  color: #f5f5f5 !important;
}

[data-theme="dark"] .cta-content p {
  color: rgba(245, 245, 245, 0.7) !important;
}

/* Inline Styles Dark Mode Override */
[data-theme="dark"] section[style*="padding: 6rem 0"] {
  background: #1a1a1a !important;
}

[data-theme="dark"] .stat-card h3 {
  color: #f5f5f5 !important;
}

/* Hero Section - Floating Rating Card Dark Mode */
[data-theme="dark"] .hero-right img + div,
[data-theme="dark"] .hero-right > div > div:last-child {
  background: rgba(36, 36, 36, 0.95) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(136, 199, 138, 0.2) !important;
}

[data-theme="dark"] .hero-right img + div > div > div:last-child > div:first-child,
[data-theme="dark"] .hero-right img + div div[style*="font-size: 1.5rem"] {
  color: #f5f5f5 !important;
}

[data-theme="dark"] .hero-right img + div div[style*="font-size: 0.75rem"] {
  color: rgba(245, 245, 245, 0.5) !important;
}

/* About Section - Floating Stats Card Dark Mode */
[data-theme="dark"] .about-section div[style*="position: absolute; bottom: 2rem"] {
  background: rgba(36, 36, 36, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(136, 199, 138, 0.2) !important;
}

[data-theme="dark"] .about-section div[style*="position: absolute; bottom: 2rem"] div[style*="font-size: 1.75rem"] {
  color: var(--color-sage) !important;
}

[data-theme="dark"] .about-section div[style*="position: absolute; bottom: 2rem"] div[style*="font-size: 0.75rem"] {
  color: rgba(245, 245, 245, 0.6) !important;
}

/* About Section - Main Image Card Dark Mode */
[data-theme="dark"] .about-section > div > div:first-child > div > div:first-child {
  background: #2a2a2a !important;
  border: 1px solid rgba(136, 199, 138, 0.15) !important;
}

/* Hero Section - Main Image Card Dark Mode */
[data-theme="dark"] .hero-right > div > div:first-child {
  background: rgba(36, 36, 36, 0.9) !important;
  border: 1px solid rgba(136, 199, 138, 0.15) !important;
}
