/* Dark Theme Styles */
body.dark-theme {
  --text-color: #ffffff;
  --text-color-secondary: #aaaaaa;
  --background-color: #121212;
  --background-secondary: #1e1e1e;
  --card-background: #1e1e1e;
  --border-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

body.dark-theme .header {
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-theme .header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

body.dark-theme .nav-toggle span {
  background-color: #ffffff;
}

body.dark-theme .social-icon {
  background-color: #2a2a2a;
  color: #ffffff;
}

body.dark-theme .service-item,
body.dark-theme .project-card,
body.dark-theme .contact-info,
body.dark-theme .contact-form {
  background-color: #1e1e1e;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
  background-color: #2a2a2a;
  border-color: #333333;
  color: #ffffff;
}

body.dark-theme .project-tech span {
  background-color: #2a2a2a;
}

body.dark-theme .footer {
  background-color: #1a1a1a;
}

body.dark-theme .color-switcher {
  background-color: #1e1e1e;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Hero section with gradient background */
body.dark-theme .hero-section {
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
  position: relative;
}

body.dark-theme .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(50, 50, 50, 0.1) 0%, rgba(18, 18, 18, 0) 80%);
}

/* Glow effect for accent color elements */
body.dark-theme .accent-color {
  text-shadow: 0 0 10px rgba(255, 138, 0, 0.3);
}

body.dark-theme .accent-link {
  text-shadow: 0 0 5px rgba(255, 138, 0, 0.3);
}

body.dark-theme .submit-btn,
body.dark-theme .filter-btn.active,
body.dark-theme .filter-btn:hover {
  box-shadow: 0 0 15px rgba(255, 138, 0, 0.3);
}

/* Subtle grid background */
body.dark-theme {
  background-image: linear-gradient(rgba(18, 18, 18, 0.97) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(18, 18, 18, 0.97) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
}

/* Enhanced card hover effects */
body.dark-theme .service-item:hover,
body.dark-theme .project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 138, 0, 0.2);
}

/* Scrollbar styling */
body.dark-theme::-webkit-scrollbar {
  width: 10px;
}

body.dark-theme::-webkit-scrollbar-track {
  background: #1a1a1a;
}

body.dark-theme::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 5px;
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
