/* Purple Theme - Applied when grid is active */
body.purple-theme {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%) !important;
}

/* Header Purple Theme */
body.purple-theme .header {
  background: rgba(20, 15, 30, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(147, 112, 219, 0.3);
}

body.purple-theme .logo {
  color: #9370db !important;
  text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

body.purple-theme .logo i {
  color: #ff9ffc !important;
}

body.purple-theme .navbar a {
  color: #b8a4d4 !important;
}

body.purple-theme .navbar a:hover,
body.purple-theme .navbar a.active {
  color: #ff9ffc !important;
  text-shadow: 0 0 10px rgba(255, 159, 252, 0.5);
}

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

body.purple-theme .home-content h1 {
  color: #e6d5ff !important;
  text-shadow: 0 0 30px rgba(147, 112, 219, 0.6);
}

body.purple-theme .home-content h3 {
  color: #b8a4d4 !important;
}

body.purple-theme .home-content h3 span {
  color: #ff9ffc !important;
  text-shadow: 0 0 20px rgba(255, 159, 252, 0.5);
}

body.purple-theme .home-content p {
  color: #c4b5d6 !important;
}

/* Social Media Icons Purple Theme */
body.purple-theme .social-media a {
  background: rgba(147, 112, 219, 0.2) !important;
  border: 2px solid rgba(147, 112, 219, 0.4) !important;
  color: #b8a4d4 !important;
}

body.purple-theme .social-media a:hover {
  background: rgba(255, 159, 252, 0.3) !important;
  border-color: #ff9ffc !important;
  color: #ff9ffc !important;
  box-shadow: 0 0 20px rgba(255, 159, 252, 0.5) !important;
}

/* Buttons Purple Theme */
body.purple-theme .btn {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
  border: 2px solid transparent !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.4);
}

body.purple-theme .btn:hover {
  background: linear-gradient(135deg, #ff9ffc 0%, #9370db 100%) !important;
  box-shadow: 0 0 30px rgba(255, 159, 252, 0.6) !important;
  transform: translateY(-3px);
}

body.purple-theme .btn-secondary {
  background: transparent !important;
  border: 2px solid #9370db !important;
  color: #9370db !important;
}

body.purple-theme .btn-secondary:hover {
  background: rgba(147, 112, 219, 0.2) !important;
  border-color: #ff9ffc !important;
  color: #ff9ffc !important;
}

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

body.purple-theme .heading {
  color: #e6d5ff !important;
  text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

body.purple-theme .heading span {
  color: #ff9ffc !important;
  text-shadow: 0 0 30px rgba(255, 159, 252, 0.6);
}

body.purple-theme .skills-subtitle {
  color: #b8a4d4 !important;
}

body.purple-theme .skills-category {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.purple-theme .skills-category:hover {
  background: rgba(147, 112, 219, 0.2) !important;
  border-color: rgba(255, 159, 252, 0.5) !important;
  box-shadow: 0 8px 32px rgba(147, 112, 219, 0.3) !important;
}

body.purple-theme .category-icon {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

body.purple-theme .category-title {
  color: #e6d5ff !important;
}

body.purple-theme .skill-tag {
  background: rgba(147, 112, 219, 0.2) !important;
  color: #b8a4d4 !important;
  border: 1px solid rgba(147, 112, 219, 0.4) !important;
}

body.purple-theme .skill-tag:hover {
  background: rgba(255, 159, 252, 0.3) !important;
  color: #ff9ffc !important;
  border-color: #ff9ffc !important;
}

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

body.purple-theme .portfolio-subtitle {
  color: #b8a4d4 !important;
}

body.purple-theme .portfolio-box {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 1px solid rgba(147, 112, 219, 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.purple-theme .portfolio-box:hover {
  border-color: rgba(255, 159, 252, 0.5) !important;
  box-shadow: 0 12px 40px rgba(147, 112, 219, 0.3) !important;
  transform: translateY(-12px) scale(1.02) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.purple-theme .portfolio-overlay {
  background: linear-gradient(
    135deg,
    rgba(147, 112, 219, 0.9) 0%,
    rgba(255, 159, 252, 0.9) 100%
  ) !important;
}

body.purple-theme .project-category {
  background: rgba(147, 112, 219, 0.3) !important;
  color: #ff9ffc !important;
}

body.purple-theme .project-title {
  color: #e6d5ff !important;
}

body.purple-theme .project-description {
  color: #c4b5d6 !important;
}

body.purple-theme .tech-badge {
  background: rgba(147, 112, 219, 0.2) !important;
  color: #b8a4d4 !important;
  border: 1px solid rgba(147, 112, 219, 0.4) !important;
}

body.purple-theme .project-btn {
  border: 2px solid rgba(147, 112, 219, 0.5) !important;
  color: #b8a4d4 !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

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

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

body.purple-theme #contactHeading {
  color: #e6d5ff !important;
  text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

body.purple-theme .contact-info {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.purple-theme .info-section h3 {
  color: #ff9ffc !important;
}

body.purple-theme .info-item {
  color: #c4b5d6 !important;
}

body.purple-theme .contact-form {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  backdrop-filter: blur(10px);
}

body.purple-theme .form-title {
  color: #e6d5ff !important;
}

body.purple-theme .contactName {
  color: #b8a4d4 !important;
}

body.purple-theme .contactInput,
body.purple-theme .contactTextarea {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  color: #e6d5ff !important;
}

body.purple-theme .contactInput:focus,
body.purple-theme .contactTextarea:focus {
  border-color: #ff9ffc !important;
  box-shadow: 0 0 15px rgba(255, 159, 252, 0.3) !important;
}

body.purple-theme .contactSubmit {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.4);
}

body.purple-theme .contactSubmit:hover {
  background: linear-gradient(135deg, #ff9ffc 0%, #9370db 100%) !important;
  box-shadow: 0 0 30px rgba(255, 159, 252, 0.6) !important;
}

/* Chatbot Purple Theme */
body.purple-theme #chatbot-toggle {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
  box-shadow: 0 4px 20px rgba(147, 112, 219, 0.4) !important;
}

body.purple-theme #chatbot-window {
  background: rgba(20, 15, 30, 0.95) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  backdrop-filter: blur(20px);
}

body.purple-theme .chatbot-header {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
}

body.purple-theme .bot-message {
  background: rgba(147, 112, 219, 0.2) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
}

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

body.purple-theme .quick-btn {
  background: rgba(147, 112, 219, 0.2) !important;
  border: 1px solid rgba(147, 112, 219, 0.4) !important;
  color: #b8a4d4 !important;
}

body.purple-theme .quick-btn:hover {
  background: rgba(255, 159, 252, 0.3) !important;
  border-color: #ff9ffc !important;
  color: #ff9ffc !important;
}

/* Footer Purple Theme */
body.purple-theme .footer {
  background: rgba(20, 15, 30, 0.95) !important;
  border-top: 1px solid rgba(147, 112, 219, 0.3);
}

body.purple-theme .footer a {
  color: #b8a4d4 !important;
}

body.purple-theme .footer a:hover {
  color: #ff9ffc !important;
  text-shadow: 0 0 10px rgba(255, 159, 252, 0.5);
}

body.purple-theme .footer-text p {
  color: #9b8ab8 !important;
}

/* Scroll Progress Purple Theme */
body.purple-theme .scroll-progress-bar {
  background: linear-gradient(90deg, #9370db 0%, #ff9ffc 100%) !important;
  box-shadow: 0 0 10px rgba(255, 159, 252, 0.5);
}

/* Cursor Purple Theme */
body.purple-theme .cursor {
  border-color: #ff9ffc !important;
  box-shadow: 0 0 10px rgba(255, 159, 252, 0.5);
}

body.purple-theme .cursor-follower {
  background: rgba(255, 159, 252, 0.2) !important;
}

/* Scroll Stack Cards Purple Theme */
body.purple-theme .scroll-stack-card {
  background: linear-gradient(
    135deg,
    rgba(10, 5, 15, 0.7) 0%,
    rgba(15, 8, 20, 0.7) 100%
  ) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  box-shadow: 0 20px 60px rgba(138, 43, 226, 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.purple-theme .scroll-stack-card:hover {
  background: linear-gradient(
    135deg,
    rgba(15, 8, 20, 0.75) 0%,
    rgba(20, 10, 25, 0.75) 100%
  ) !important;
  border-color: rgba(147, 112, 219, 0.6) !important;
  box-shadow: 0 30px 80px rgba(138, 43, 226, 0.5),
    0 12px 30px rgba(0, 0, 0, 0.8) !important;
  transform: translateY(-8px) scale(1.01) !important;
}

body.purple-theme .scroll-stack-card::before {
  background: linear-gradient(
    90deg,
    #9370db 0%,
    #ff9ffc 50%,
    #ba55d3 100%
  ) !important;
}

body.purple-theme .scroll-stack-card h3 {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(147, 112, 219, 0.5) !important;
}

body.purple-theme .scroll-stack-card:hover h3 {
  text-shadow: 0 0 30px rgba(147, 112, 219, 0.7) !important;
}

body.purple-theme .scroll-stack-card h3::after {
  background: linear-gradient(90deg, #9370db, #ff9ffc) !important;
  box-shadow: 0 0 10px rgba(147, 112, 219, 0.6) !important;
}

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

body.purple-theme .scroll-stack-card .tech-badge {
  background: linear-gradient(
    135deg,
    rgba(147, 112, 219, 0.15) 0%,
    rgba(255, 159, 252, 0.15) 100%
  ) !important;
  border: 1px solid rgba(147, 112, 219, 0.3) !important;
  color: #c4b5fd !important;
}

body.purple-theme .scroll-stack-card .tech-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(147, 112, 219, 0.3) 0%,
    rgba(255, 159, 252, 0.3) 100%
  ) !important;
  border-color: rgba(147, 112, 219, 0.6) !important;
  color: #ffffff !important;
}

body.purple-theme .scroll-stack-card .btn-live {
  background: linear-gradient(135deg, #9370db 0%, #ff9ffc 100%) !important;
  box-shadow: 0 8px 20px rgba(147, 112, 219, 0.4) !important;
}

body.purple-theme .scroll-stack-card .btn-live:hover {
  box-shadow: 0 12px 30px rgba(147, 112, 219, 0.6) !important;
}

body.purple-theme .scroll-stack-card .btn-code {
  background: rgba(147, 112, 219, 0.1) !important;
  border: 2px solid #9370db !important;
  color: #c4b5fd !important;
}

body.purple-theme .scroll-stack-card .btn-code:hover {
  box-shadow: 0 12px 30px rgba(147, 112, 219, 0.5) !important;
}

/* Page Loader Purple Theme */
body.purple-theme #page-loader {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%) !important;
}

body.purple-theme .loader-spinner {
  border-color: rgba(147, 112, 219, 0.2) !important;
  border-top-color: #ff9ffc !important;
}

body.purple-theme .loader-text {
  color: #e6d5ff !important;
  text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

body.purple-theme .loader-progress-bar {
  background: linear-gradient(90deg, #9370db 0%, #ff9ffc 100%) !important;
}

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

body.purple-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.purple-theme .project-title {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  backface-visibility: hidden !important;
}

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

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

body.purple-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;
}
