/* Lightning Theme - Applied when lightning is active */
body.lightning-theme {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%) !important;
}

/* Header Lightning Theme */
body.lightning-theme .header {
  background: rgba(10, 20, 40, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 150, 255, 0.3);
}

body.lightning-theme .logo {
  color: #00bfff !important;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}

body.lightning-theme .logo i {
  color: #00d4ff !important;
}

body.lightning-theme .navbar a {
  color: #87ceeb !important;
}

body.lightning-theme .navbar a:hover,
body.lightning-theme .navbar a.active {
  color: #00d4ff !important;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* Home Section Lightning Theme */
body.lightning-theme .home {
  background: transparent !important;
}

body.lightning-theme .home-content h1 {
  color: #e0f7ff !important;
  text-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
}

body.lightning-theme .home-content h3 {
  color: #87ceeb !important;
}

body.lightning-theme .home-content h3 span {
  color: #00d4ff !important;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

body.lightning-theme .home-content p {
  color: #b0d4e3 !important;
}

/* Social Media Icons Lightning Theme */
body.lightning-theme .social-media a {
  background: rgba(0, 150, 255, 0.2) !important;
  border: 2px solid rgba(0, 150, 255, 0.4) !important;
  color: #87ceeb !important;
}

body.lightning-theme .social-media a:hover {
  background: rgba(0, 212, 255, 0.3) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6) !important;
}

/* Buttons Lightning Theme */
body.lightning-theme .btn {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
  border: 2px solid transparent !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

body.lightning-theme .btn:hover {
  background: linear-gradient(135deg, #00d4ff 0%, #0096ff 100%) !important;
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.7) !important;
  transform: translateY(-3px);
}

body.lightning-theme .btn-secondary {
  background: transparent !important;
  border: 2px solid #0096ff !important;
  color: #0096ff !important;
}

body.lightning-theme .btn-secondary:hover {
  background: rgba(0, 150, 255, 0.2) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
}

/* Skills Section Lightning Theme */
body.lightning-theme .skills {
  background: transparent !important;
}

body.lightning-theme .heading {
  color: #e0f7ff !important;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

body.lightning-theme .heading span {
  color: #00d4ff !important;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

body.lightning-theme .skills-subtitle {
  color: #87ceeb !important;
}

body.lightning-theme .skills-category {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.lightning-theme .skills-category:hover {
  background: rgba(0, 150, 255, 0.2) !important;
  border-color: rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 8px 32px rgba(0, 150, 255, 0.4) !important;
}

body.lightning-theme .category-icon {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
}

body.lightning-theme .category-title {
  color: #e0f7ff !important;
}

body.lightning-theme .skill-tag {
  background: rgba(0, 150, 255, 0.2) !important;
  color: #87ceeb !important;
  border: 1px solid rgba(0, 150, 255, 0.4) !important;
}

body.lightning-theme .skill-tag:hover {
  background: rgba(0, 212, 255, 0.3) !important;
  color: #00d4ff !important;
  border-color: #00d4ff !important;
}

/* Portfolio Section Lightning Theme */
body.lightning-theme .portfolio {
  background: transparent !important;
}

body.lightning-theme .portfolio-subtitle {
  color: #87ceeb !important;
}

body.lightning-theme .portfolio-box {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
  transform-origin: center center !important;
  will-change: transform, box-shadow !important;
  backface-visibility: hidden !important;
}

body.lightning-theme .portfolio-box:hover {
  border-color: rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 12px 40px rgba(0, 150, 255, 0.4) !important;
  transform: translateY(-12px) scale(1.02) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.lightning-theme .portfolio-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 150, 255, 0.9) 0%,
    rgba(0, 212, 255, 0.9) 100%
  ) !important;
}

body.lightning-theme .project-category {
  background: rgba(0, 150, 255, 0.3) !important;
  color: #00d4ff !important;
}

body.lightning-theme .project-title {
  color: #e0f7ff !important;
}

body.lightning-theme .project-description {
  color: #b0d4e3 !important;
}

body.lightning-theme .tech-badge {
  background: rgba(0, 150, 255, 0.2) !important;
  color: #87ceeb !important;
  border: 1px solid rgba(0, 150, 255, 0.4) !important;
}

body.lightning-theme .project-btn {
  border: 2px solid rgba(0, 150, 255, 0.5) !important;
  color: #87ceeb !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

body.lightning-theme .project-btn:hover {
  background: rgba(0, 212, 255, 0.2) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
  transform: translateY(-3px) scale(1.02) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Contact Section Lightning Theme */
body.lightning-theme .contact-container {
  background: transparent !important;
}

body.lightning-theme #contactHeading {
  color: #e0f7ff !important;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

body.lightning-theme .contact-info {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.lightning-theme .info-section h3 {
  color: #00d4ff !important;
}

body.lightning-theme .info-item {
  color: #b0d4e3 !important;
}

body.lightning-theme .contact-form {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.lightning-theme .form-title {
  color: #e0f7ff !important;
}

body.lightning-theme .contactName {
  color: #87ceeb !important;
}

body.lightning-theme .contactInput,
body.lightning-theme .contactTextarea {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  color: #e0f7ff !important;
}

body.lightning-theme .contactInput:focus,
body.lightning-theme .contactTextarea:focus {
  border-color: #00d4ff !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4) !important;
}

body.lightning-theme .contactSubmit {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
}

body.lightning-theme .contactSubmit:hover {
  background: linear-gradient(135deg, #00d4ff 0%, #0096ff 100%) !important;
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.7) !important;
}

/* Chatbot Lightning Theme */
body.lightning-theme #chatbot-toggle {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 150, 255, 0.5) !important;
}

body.lightning-theme #chatbot-window {
  background: rgba(10, 20, 40, 0.95) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(20px);
}

body.lightning-theme .chatbot-header {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
}

body.lightning-theme .bot-message {
  background: rgba(0, 150, 255, 0.2) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
}

body.lightning-theme .user-message {
  background: rgba(0, 212, 255, 0.2) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

body.lightning-theme .quick-btn {
  background: rgba(0, 150, 255, 0.2) !important;
  border: 1px solid rgba(0, 150, 255, 0.4) !important;
  color: #87ceeb !important;
}

body.lightning-theme .quick-btn:hover {
  background: rgba(0, 212, 255, 0.3) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
}

/* Footer Lightning Theme */
body.lightning-theme .footer {
  background: rgba(10, 20, 40, 0.95) !important;
  border-top: 1px solid rgba(0, 150, 255, 0.3);
}

body.lightning-theme .footer a {
  color: #87ceeb !important;
}

body.lightning-theme .footer a:hover {
  color: #00d4ff !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

body.lightning-theme .footer-text p {
  color: #6b9bb0 !important;
}

/* Scroll Progress Lightning Theme */
body.lightning-theme .scroll-progress-bar {
  background: linear-gradient(90deg, #0096ff 0%, #00d4ff 100%) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* Cursor Lightning Theme */
body.lightning-theme .cursor {
  border-color: #00d4ff !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

body.lightning-theme .cursor-follower {
  background: rgba(0, 212, 255, 0.2) !important;
}

/* Scroll Stack Cards Lightning Theme */
body.lightning-theme .scroll-stack-card {
  background: linear-gradient(
    135deg,
    rgba(10, 15, 26, 0.7) 0%,
    rgba(15, 20, 30, 0.7) 100%
  ) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  box-shadow: 0 20px 60px rgba(0, 150, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.lightning-theme .scroll-stack-card:hover {
  background: linear-gradient(
    135deg,
    rgba(15, 20, 30, 0.75) 0%,
    rgba(20, 25, 35, 0.75) 100%
  ) !important;
  border-color: rgba(0, 212, 255, 0.6) !important;
  box-shadow: 0 30px 80px rgba(0, 212, 255, 0.5), 0 12px 30px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-8px) scale(1.01) !important;
}

body.lightning-theme .scroll-stack-card::before {
  background: linear-gradient(
    90deg,
    #0096ff 0%,
    #00d4ff 50%,
    #00bfff 100%
  ) !important;
}

body.lightning-theme .scroll-stack-card h3 {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.6) !important;
}

body.lightning-theme .scroll-stack-card:hover h3 {
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.8) !important;
}

body.lightning-theme .scroll-stack-card h3::after {
  background: linear-gradient(90deg, #0096ff, #00d4ff) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6) !important;
}

body.lightning-theme .scroll-stack-card p {
  color: rgba(220, 230, 240, 0.9) !important;
}

body.lightning-theme .scroll-stack-card .tech-badge {
  background: linear-gradient(
    135deg,
    rgba(0, 150, 255, 0.15) 0%,
    rgba(0, 212, 255, 0.15) 100%
  ) !important;
  border: 1px solid rgba(0, 150, 255, 0.3) !important;
  color: #87ceeb !important;
}

body.lightning-theme .scroll-stack-card .tech-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 150, 255, 0.3) 0%,
    rgba(0, 212, 255, 0.3) 100%
  ) !important;
  border-color: rgba(0, 212, 255, 0.6) !important;
  color: #ffffff !important;
}

body.lightning-theme .scroll-stack-card .btn-live {
  background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%) !important;
  box-shadow: 0 8px 20px rgba(0, 150, 255, 0.4) !important;
}

body.lightning-theme .scroll-stack-card .btn-live:hover {
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.6) !important;
}

body.lightning-theme .scroll-stack-card .btn-code {
  background: rgba(0, 150, 255, 0.1) !important;
  border: 2px solid #0096ff !important;
  color: #87ceeb !important;
}

body.lightning-theme .scroll-stack-card .btn-code:hover {
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5) !important;
}

/* Page Loader Lightning Theme */
body.lightning-theme #page-loader {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1f2e 100%) !important;
}

body.lightning-theme .loader-spinner {
  border-color: rgba(0, 150, 255, 0.2) !important;
  border-top-color: #00d4ff !important;
}

body.lightning-theme .loader-text {
  color: #e0f7ff !important;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

body.lightning-theme .loader-progress-bar {
  background: linear-gradient(90deg, #0096ff 0%, #00d4ff 100%) !important;
}

/* Smooth Grid Animations for Lightning Theme */
body.lightning-theme .portfolio-image img {
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

body.lightning-theme .portfolio-box:hover .portfolio-image img {
  transform: scale(1.1) !important;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.lightning-theme .project-title {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

body.lightning-theme .portfolio-box:hover .project-title {
  transform: translateX(5px) !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.lightning-theme .project-category {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

body.lightning-theme .portfolio-box:hover .project-category {
  transform: scale(1.05) translateX(5px) !important;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
