/* Prabhu Kasinathan - Component Styles */
/* Personal Portfolio Component Library */

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-normal);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--gray-800);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-4);
}

.loading-text {
    color: var(--gray-400);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== NAVIGATION COMPONENTS ===== */

/* Main Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  z-index: 2000;
  transition: all var(--transition-normal);
}

/* Ensure navigation never hides on scroll */
.navigation.nav-hidden {
  transform: translateY(0) !important;
}

.navigation.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--container-full);
  margin: 0 auto;
}

.nav-brand {
  flex-shrink: 0;
}

.brand-link {
  color: var(--white);
  font-weight: var(--weight-bold);
  font-size: var(--text-title);
  transition: color var(--transition-normal);
}

.brand-link:hover {
  color: var(--accent-red);
}

.site-title {
  margin: 0;
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  color: var(--accent-red);
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--gray-300);
  font-weight: var(--weight-medium);
  font-size: var(--text-body);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(229, 9, 20, 0.1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-red);
}

.nav-link.active::after {
  width: 100%;
}

/* Navigation CTA Buttons */
.nav-cta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 2px 0;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--black-secondary);
  border-left: 1px solid var(--gray-700);
  transition: right var(--transition-normal);
  z-index: 999;
  padding-top: 80px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-menu {
  list-style: none;
  padding: var(--space-6);
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: var(--space-4);
}

.mobile-nav-link {
  display: block;
  color: var(--gray-300);
  font-size: var(--text-large);
  font-weight: var(--weight-medium);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.mobile-nav-link:hover {
  color: var(--white);
  background: rgba(229, 9, 20, 0.1);
}

/* Mobile Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== BUTTON COMPONENTS ===== */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: inherit;
  font-weight: var(--weight-semibold);
  font-size: var(--text-body);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
}

.btn:focus {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Button Sizes */
.btn-small {
  font-size: var(--text-small);
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
}

.btn-large {
  font-size: var(--text-large);
  padding: var(--space-4) var(--space-8);
  min-height: 52px;
}

.btn-xl {
  font-size: var(--text-subtitle);
  padding: var(--space-5) var(--space-10);
  min-height: 60px;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(229, 9, 20, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-red-light) 0%, var(--accent-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(229, 9, 20, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
  background: linear-gradient(135deg, var(--accent-red-dark) 0%, var(--active-red) 100%);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gray-600);
}

.btn-secondary:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(229, 9, 20, 0.1);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
  background: rgba(229, 9, 20, 0.2);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--accent-red);
  border: 2px solid var(--accent-red);
}

.btn-outline:hover {
  background: var(--accent-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(229, 9, 20, 0.3);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--gray-300);
  border: none;
}

.btn-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Button Icon */
.btn-icon {
  font-size: 1.2em;
  line-height: 1;
}

/* ===== CARD COMPONENTS ===== */

/* Base Card */
.card {
  background: linear-gradient(145deg, var(--gray-900) 0%, var(--black-tertiary) 100%);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--gray-600);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  opacity: 1;
}

/* Achievement Card */
.achievement-card {
  background: linear-gradient(145deg, var(--gray-900) 0%, var(--black-tertiary) 100%);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Make entire achievement card clickable while preserving styles */
.achievement-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.achievement-card-link:hover .achievement-card {
  transform: translateY(-8px);
  border-color: var(--gray-600);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red-light) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.achievement-card:hover {
  transform: translateY(-8px);
  border-color: var(--gray-600);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.achievement-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.card-title {
  font-size: var(--text-title);
  font-weight: var(--weight-semibold);
  color: var(--white);
  margin: 0;
}

.card-subtitle {
  font-size: var(--text-body);
  color: var(--gray-400);
  margin-top: var(--space-1);
}

.card-category {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--accent-red);
  background: rgba(229, 9, 20, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 9, 20, 0.2);
}

.card-content {
  flex: 1;
}

.card-description {
  color: var(--gray-300);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.card-metrics {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: var(--text-subtitle);
  font-weight: var(--weight-bold);
  color: var(--accent-red);
  margin-bottom: var(--space-1);
}

.metric-label {
  font-size: var(--text-small);
  color: var(--gray-400);
  font-weight: var(--weight-medium);
}

.card-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tech-tag {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  border: 1px solid var(--gray-700);
  transition: all var(--transition-normal);
}

.tech-tag:hover {
  background: var(--gray-700);
  color: var(--white);
  border-color: var(--gray-600);
}

/* Portfolio Card */
.portfolio-card {
  background: var(--black-secondary);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-bounce);
  position: relative;
}

.portfolio-card:hover {
  border-color: var(--accent-red);
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.2);
}

.card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-card:hover .card-image img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(229, 9, 20, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: var(--white);
}

.overlay-title {
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}

.overlay-description {
  font-size: var(--text-body);
  color: var(--gray-200);
}

.card-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.card-link {
  color: var(--accent-red);
  font-weight: var(--weight-medium);
  font-size: var(--text-body);
  transition: color var(--transition-normal);
}

.card-link:hover {
  color: var(--accent-red-light);
}

/* Testimonial Card */
.testimonial-card {
  background: linear-gradient(145deg, var(--gray-900) 0%, var(--black-tertiary) 100%);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-bounce);
  scroll-snap-align: start;
  width: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 4rem;
  color: var(--accent-red);
  font-family: Georgia, serif;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--gray-600);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  font-size: var(--text-large);
  color: var(--gray-200);
  font-style: italic;
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-600);
}

.author-info {
  flex: 1;
}

.author-name {
  color: var(--white);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body);
  margin-bottom: var(--space-1);
}

.author-role {
  color: var(--gray-400);
  font-size: var(--text-small);
}

/* ===== FORM COMPONENTS ===== */

/* Contact Form */
.contact-form {
  background: linear-gradient(145deg, var(--gray-900) 0%, var(--black-tertiary) 100%);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  color: var(--gray-300);
  font-weight: var(--weight-medium);
  font-size: var(--text-body);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  background: var(--gray-900);
  border: 2px solid var(--gray-700);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  color: var(--white);
  font-size: var(--text-body);
  font-family: inherit;
  transition: all var(--transition-normal);
  min-height: 48px;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
  background: var(--gray-800);
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:invalid {
  border-color: var(--error);
}

.form-input:valid {
  border-color: var(--success);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-error {
  color: var(--error);
  font-size: var(--text-small);
  margin-top: var(--space-1);
  display: block;
}

/* ===== FILTER COMPONENTS ===== */

/* Portfolio Filter */
.filter-btn {
  background: transparent;
  color: var(--gray-400);
  border: 2px solid var(--gray-700);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 44px;
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--gray-600);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  color: var(--white);
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.filter-btn:focus {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}

/* ===== UTILITY COMPONENTS ===== */

/* Loading Spinner */
.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gray-700);
  border-top: 2px solid var(--accent-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--accent-red);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
}

.badge-secondary {
  background: var(--gray-700);
  color: var(--gray-300);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
  margin: var(--space-8) 0;
}

/* Status Indicator */
.status-online {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black-primary);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-small);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
  border: 1px solid var(--gray-700);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-4px);
}

/* ===== ANIMATION CLASSES ===== */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-scaleIn {
  animation: scaleIn 0.5s ease-out;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

/* ===== FOCUS VISIBLE SUPPORT ===== */
.focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: 2px;
}

/* Remove default focus styles when focus-visible is supported */
.btn:focus:not(.focus-visible),
.nav-link:focus:not(.focus-visible),
.form-input:focus:not(.focus-visible) {
  outline: none;
}

/* ===== FORM MESSAGE STYLES ===== */

/* Form Messages */
.form-message {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  border: 1px solid;
  animation: slideInDown 0.3s ease-out;
}

.form-message-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border-color: var(--success);
}

.form-message-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border-color: var(--error);
}

.form-message-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info);
  border-color: var(--info);
}

/* ===== KEYBOARD NAVIGATION STYLES ===== */

/* Enhanced focus styles for keyboard navigation */
.keyboard-navigation .btn:focus,
.keyboard-navigation .nav-link:focus,
.keyboard-navigation .form-input:focus,
.keyboard-navigation .filter-btn:focus {
  outline: 3px solid var(--accent-red);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(229, 9, 20, 0.2);
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== LOADING AND ANIMATION STATES ===== */

/* Loading state for images */
img {
  transition: opacity 0.3s ease;
}

img:not(.loaded) {
  opacity: 0.7;
}

img.loaded {
  opacity: 1;
}

/* Portfolio card filtering animations */
.portfolio-card {
  transition: all 0.3s ease;
}

.portfolio-card[aria-hidden="true"] {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.portfolio-card[aria-hidden="false"] {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Card hover state */
.card-hover {
  z-index: 10;
}

/* ===== MOBILE RESPONSIVE ADJUSTMENTS ===== */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Mobile form adjustments */
  .form-input {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Mobile button adjustments */
  .btn {
    min-height: 48px;
    padding: var(--space-4) var(--space-6);
  }
  
  /* Mobile card adjustments */
  .achievement-card,
  .portfolio-card,
  .testimonial-card {
    padding: var(--space-6);
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .nav-cta {
    display: flex;
  }
}

/* ===== PRINT STYLES ===== */

@media print {
  .navigation,
  .mobile-nav,
  .nav-overlay,
  .btn,
  .filter-btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: var(--space-8) 0;
  }
  
  .section-title::after {
    display: none;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* ===== HIGH CONTRAST MODE ENHANCEMENTS ===== */

@media (prefers-contrast: high) {
  .form-message-success {
    background: #000;
    color: #00ff00;
    border-color: #00ff00;
  }
  
  .form-message-error {
    background: #000;
    color: #ff0000;
    border-color: #ff0000;
  }
  
  .form-message-info {
    background: #000;
    color: #0000ff;
    border-color: #0000ff;
  }
  
  .keyboard-navigation .btn:focus,
  .keyboard-navigation .nav-link:focus,
  .keyboard-navigation .form-input:focus,
  .keyboard-navigation .filter-btn:focus {
    outline: 3px solid #ffff00;
    box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.5);
  }
}

/* ===== REDUCED MOTION SUPPORT ===== */

@media (prefers-reduced-motion: reduce) {
  .form-message {
    animation: none;
  }
  
  .portfolio-card {
    transition: none;
  }
  
  .card-hover {
    transform: none !important;
  }
  
  img {
    transition: none;
  }
  
  .btn::before {
    display: none;
  }
  
  .skill-bar::after {
    animation: none;
  }
}