/* =========================================== */
/* JFSN PORTFOLIO - ENHANCEMENTS BUNDLE (UX, Mobile, Editorial, etc.) */
/* Generated: 2025-12-03T16:50:04.187Z */
/* Combines 11 CSS files into one optimized bundle */
/* =========================================== */


/* =========================================== */
/* assets/css/ux-improvements.css */
/* =========================================== */

/* =========================================== */
/* UX/UI IMPROVEMENTS - CONSOLIDATED */
/* Merged from: ux-improvements.css + index-ux-improvements.css */
/* =========================================== */

/* =========================================== */
/* BACK TO TOP BUTTON */
/* =========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #4f46e5;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* =========================================== */
/* TOAST NOTIFICATIONS */
/* =========================================== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  padding: 1rem 1.25rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 600;
}

.toast.success {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #065f46;
}

.toast.error {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
}

.toast.info {
  border-color: #6366f1;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #3730a3;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.6;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .toast-container {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    max-width: none;
  }
}

/* =========================================== */
/* LOADING SKELETON */
/* =========================================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

[data-bs-theme="dark"] .skeleton {
  background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
  background-size: 200% 100%;
}

.skeleton-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skeleton-card-height {
  height: 300px;
  border-radius: 0.5rem;
}

/* =========================================== */
/* BUTTON IMPROVEMENTS */
/* =========================================== */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:focus-visible,
a.btn:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================================== */
/* FORM IMPROVEMENTS */
/* =========================================== */
.form-control:focus,
.form-select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* =========================================== */
/* LINK IMPROVEMENTS */
/* =========================================== */
/* External Link Indicators */
a[href^="http"]:not([href*="localhost"]):not([href*="jfsn.com"]):not([href*="127.0.0.1"])::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.75em;
  opacity: 0.6;
  transition: all 0.2s ease;
  vertical-align: baseline;
}

a[href^="http"]:not([href*="localhost"]):not([href*="jfsn.com"]):not([href*="127.0.0.1"]):hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Enhanced Link Hover States */
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.card-link):not(.navbar-brand) {
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not(.btn):not(.nav-link):not(.dropdown-item):not(.card-link):not(.navbar-brand):hover {
  color: var(--bs-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Underline animation on hover */
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.card-link):not(.navbar-brand):not([href^="#"])::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.btn):not(.nav-link):not(.dropdown-item):not(.card-link):not(.navbar-brand):not([href^="#"]):hover::before {
  width: 100%;
}

/* Focus States for Links */
a:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Navigation Link Improvements */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bs-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* Footer Link Improvements */
footer a {
  transition: color 0.2s ease, opacity 0.2s ease;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 100 !important;
  position: relative !important;
}

footer a:hover {
  color: var(--bs-primary);
  opacity: 1;
}

/* Card Link Improvements */
.card-link {
  font-weight: 600;
  transition: all 0.2s ease;
}

.card-link:hover {
  transform: translateX(4px);
}

/* Link Type Indicators */
a[href^="mailto:"]::before {
  content: "✉ ";
  margin-right: 0.25rem;
  opacity: 0.7;
}

a[href^="tel:"]::before {
  content: "📞 ";
  margin-right: 0.25rem;
  opacity: 0.7;
}

a[href$=".pdf"]::after {
  content: " 📄";
  margin-left: 0.25rem;
  opacity: 0.6;
  font-size: 0.9em;
}

a[download]::after {
  content: " ⬇";
  margin-left: 0.25rem;
  opacity: 0.6;
  font-size: 0.9em;
}

/* Link Loading State */
a.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

a.loading::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Link Validation */
a[href="#"]:not([data-bs-toggle]):not([data-bs-target]):not(.disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}

a[href="#"]:not([data-bs-toggle]):not([data-bs-target]):not(.disabled):hover {
  opacity: 0.8;
}

/* =========================================== */
/* CARD IMPROVEMENTS */
/* =========================================== */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card:hover {
  will-change: transform;
}

.card:not(:hover) {
  will-change: auto;
}

/* =========================================== */
/* INDEX PAGE SPECIFIC STYLES */
/* =========================================== */
/* Navigation Overlay Brand Name */
.editorial-nav-overlay-brand-name-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Artwork of Day - Hidden Elements */
.artwork-of-day-extended,
.artwork-of-day-process-note,
.artwork-of-day-keywords,
.artwork-of-day-category {
  display: none;
}

.artwork-of-day-extended.show,
.artwork-of-day-process-note.show {
  display: block !important;
}

.artwork-of-day-keywords.show {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.artwork-of-day-category.show {
  display: block !important;
}

/* Featured Projects Character */
.featured-projects-character-wrapper {
  position: relative;
  display: inline-block;
}

.featured-projects-image {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

@media (max-width: 768px) {
  .featured-projects-image {
    max-width: 160px;
  }
}

/* Project Card Images */
.project-card-img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  will-change: transform;
}

.project-card:hover .project-card-img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.05);
}

.project-card-img:not(:hover) {
  will-change: auto;
}

@media (max-width: 768px) {
  .project-card-img {
    height: 200px;
  }
}

/* Artwork of the Day Image */
.artwork-of-day-image {
  object-fit: cover;
}

/* Collection Icons */
.collection-icon-large {
  font-size: 3rem;
}

/* Sebastian CTA Section */
.sebastian-cta-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e9ecef 100%);
  padding: 5rem 0;
}

.sebastian-cta-card {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.sebastian-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sebastian-cta-text {
  color: #1a202c;
  line-height: 1.8;
  font-size: 1.125rem;
}

.sebastian-cta-btn {
  background: #6366f1;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.sebastian-cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.sebastian-cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.sebastian-cta-btn:hover {
  background: #7c3aed;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
  color: white;
}

.sebastian-cta-btn:active {
  transform: translateY(-1px);
}

.sebastian-cta-btn:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.5);
  outline-offset: 3px;
}

.sebastian-cta-btn i {
  font-size: 1.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
  margin-right: 0.5rem;
}

.sebastian-cta-btn:hover i {
  transform: translateX(4px);
}

.sebastian-cta-btn:not(:hover) {
  will-change: auto;
}

@media (max-width: 768px) {
  .sebastian-cta-section {
    padding: 3rem 0;
  }
  
  .sebastian-cta-card {
    padding: 2rem;
    border-radius: 12px;
  }
  
  .sebastian-cta-text {
    font-size: 1rem;
  }
  
  .sebastian-cta-btn {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
    width: 100%;
    justify-content: center;
  }
}

/* Footer Styles */
.footer-hr-no-margin {
  margin: 1rem 0 0 0;
}

.footer-bottom-row {
  margin-bottom: 0;
}

.footer-bottom-col {
  margin-bottom: 0;
}

/* =========================================== */
/* UTILITY STYLES */
/* =========================================== */
/* Sticky Filter Bar */
.sticky-filter-bar {
  z-index: 100;
  top: 56px;
}

/* Search Icon Position */
.search-icon-position {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

/* Progress Bar Height */
.progress-bar-height {
  height: 4px;
}

/* Progress Ring */
.progress-ring {
  width: 48px;
  height: 48px;
}

.progress-ring circle {
  fill: none;
  stroke: #6366f1;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6b7280;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Skip Link */
.skip-link,
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: #6366f1;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus,
.skip-to-main:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* Better Image Loading States */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0.7;
}

img[loading="lazy"]:not([data-loaded="true"]) {
  filter: blur(4px);
}

img[data-loaded="true"] {
  opacity: 1;
  filter: none;
}

/* Text Muted */
.text-muted {
  color: rgba(0, 0, 0, 0.7) !important;
}

[data-bs-theme="dark"] .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Breadcrumb Links */
.breadcrumb-item a {
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

/* =========================================== */
/* SMOOTH SCROLL */
/* =========================================== */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .card:hover,
  .sebastian-cta-card:hover,
  .sebastian-cta-btn:hover {
    transform: none !important;
  }
  
  a::before,
  a::after {
    transition: none !important;
  }
}

/* =========================================== */
/* PRINT STYLES */
/* =========================================== */
@media print {
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    opacity: 0.7;
  }
  
  a::before {
    display: none;
  }
  
  .skip-link,
  .skip-to-main {
    display: none;
  }
}

.sebastian-cta-btn:active {
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .sebastian-cta-btn {
    font-size: 1.1rem !important;
    padding: 0.875rem 2rem !important;
  }
}
/* Stat number pulse animation */
@keyframes statNumberPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); color: #fff; text-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
}

/* Card hover action - removed (duplicate button) */

/* Sebastian CTA Button - Extracted from index.html */
.sebastian-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4) !important;
  background: #7c3aed !important;
}
.sebastian-cta-btn:hover i {
  transform: translateX(5px);
}
.sebastian-cta-btn:active {
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .sebastian-cta-btn {
    font-size: 1.1rem !important;
    padding: 0.875rem 2rem !important;
  }
}

/* Stat number pulse animation - Extracted from index.html */
@keyframes statNumberPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); color: #fff; text-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
}


/* =========================================== */
/* assets/css/mobile-improvements.css */
/* =========================================== */

/* ===== MOBILE & TABLET IMPROVEMENTS ===== */

/* Base Mobile Styles */
@media (max-width: 767px) {
  /* Typography Scaling */
  html {
    font-size: 16px; /* Prevent zoom on iOS input focus */
  }
  
  h1, .h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  h2, .h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.3;
    margin-bottom: 0.875rem;
  }
  
  h3, .h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
    line-height: 1.4;
  }
  
  /* Safe Area Insets for iOS */
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  /* Navigation Improvements */
  .navbar {
    padding: 0.75rem 1rem;
    min-height: 60px;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-brand img {
    height: 28px;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }
  
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .nav-link {
    padding: 0.875rem 1rem !important;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Editorial Navbar Mobile Improvements */
  .editorial-navbar {
    /* Safe area insets for iOS devices */
    padding-top: env(safe-area-inset-top, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    /* Optimize backdrop-filter performance on mobile */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  
  .editorial-navbar-content {
    padding-left: max(1rem, env(safe-area-inset-left, 0));
    padding-right: max(1rem, env(safe-area-inset-right, 0));
  }
  
  .editorial-navbar-brand {
    min-height: 44px; /* WCAG AAA touch target */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .editorial-navbar-toggle {
    min-width: 44px; /* WCAG AAA touch target */
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .editorial-nav-overlay {
    /* Safe area insets for overlay */
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    /* Optimize backdrop-filter performance */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  
  .editorial-nav-overlay-content {
    padding-top: max(1.5rem, calc(1.5rem + env(safe-area-inset-top, 0)));
    padding-bottom: max(1.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0)));
    padding-left: max(1.5rem, calc(1.5rem + env(safe-area-inset-left, 0)));
    padding-right: max(1.5rem, calc(1.5rem + env(safe-area-inset-right, 0)));
  }
  
  .editorial-nav-overlay-close {
    min-width: 44px; /* WCAG AAA touch target */
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .editorial-nav-link {
    min-height: 60px; /* Larger touch target for links */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Touch-Friendly Buttons */
  .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    touch-action: manipulation; /* Remove 300ms delay */
  }
  
  .btn-sm {
    min-height: 36px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    min-height: 52px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  /* Gallery Improvements */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  .gallery-masonry {
    column-count: 2 !important;
    column-gap: 0.75rem !important;
  }
  
  .gallery-list .artwork-card {
    flex-direction: column !important;
  }
  
  .gallery-list .artwork-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  .artwork-card {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .artwork-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  /* Filter Buttons - Horizontal Scroll */
  .filter-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .filter-container::-webkit-scrollbar {
    display: none;
  }
  
  .filter-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    min-width: max-content;
  }
  
  .filter-btn {
    white-space: nowrap;
    min-height: 44px;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    flex-shrink: 0;
  }
  
  /* Search Bar */
  .search-container {
    margin-bottom: 1rem;
  }
  
  .search-container input {
    min-height: 44px;
    font-size: 16px; /* Prevent iOS zoom */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
  }
  
  /* Forms */
  .form-control,
  .form-select {
    min-height: 44px;
    font-size: 16px; /* Prevent iOS zoom */
    padding: 0.75rem 1rem;
  }
  
  .form-label {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  /* Spacing Adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 50vh;
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
    margin-bottom: 1rem;
  }
  
  .hero-content .lead {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 1.5rem;
  }
  
  /* Breadcrumbs */
  .breadcrumb {
    font-size: 0.875rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  
  .breadcrumb-item {
    display: inline-block;
  }
  
  /* Tables - Horizontal Scroll */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border-radius: 0.5rem;
  }
  
  /* Modals */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .modal-content {
    border-radius: 1rem;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  /* Toast Notifications */
  .toast-container {
    left: 0.5rem;
    right: 0.5rem;
    max-width: none;
  }
  
  .toast {
    width: 100%;
    font-size: 0.9375rem;
  }
  
  /* FAB Menu */
  .fab-button {
    width: 56px;
    height: 56px;
    bottom: 1.5rem;
    right: 1rem;
  }
  
  .fab-menu-item {
    width: 48px;
    height: 48px;
  }
  
  /* LightGallery Mobile Optimizations */
  .lg-toolbar {
    padding: 0.5rem;
  }
  
  .lg-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  
  .lg-actions .lg-icon {
    width: 48px;
    height: 48px;
  }
  
  /* View Toggle Buttons */
  .view-toggle-container {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .view-toggle-btn {
    min-height: 44px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 1rem;
    font-size: 0.875rem;
  }
  
  footer .row {
    margin-bottom: 1.5rem;
  }
  
  /* Disable hover effects on touch devices */
  @media (hover: none) {
    .card:hover {
      transform: none;
    }
    
    .btn:hover {
      transform: none;
    }
    
    .artwork-card:hover {
      transform: none;
    }
  }
  
  /* Improve scrolling performance */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent text size adjustment on orientation change */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Typography */
  h1, .h1 {
    font-size: clamp(2rem, 5vw, 3rem) !important;
  }
  
  h2, .h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }
  
  .gallery-masonry {
    column-count: 3 !important;
    column-gap: 1rem !important;
  }
  
  /* Navigation */
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1.25rem;
  }
  
  /* Hero */
  .hero-section {
    min-height: 60vh;
    padding: 3rem 2rem;
  }
  
  /* Container */
  .container {
    max-width: 720px;
  }
  
  /* Filter Buttons */
  .filter-buttons {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Large Tablet / Small Desktop */
@media (min-width: 1025px) and (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  .gallery-masonry {
    column-count: 4 !important;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    min-height: 56px;
  }
  
  .editorial-navbar {
    height: 56px;
  }
  
  .editorial-nav-overlay-content {
    padding: 1rem;
  }
  
  .editorial-nav-link {
    font-size: clamp(1.25rem, 6vw, 2rem);
    min-height: 52px;
    padding: 0.75rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .gallery-masonry {
    column-count: 3 !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .artwork-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  /* Editorial navbar high DPI optimizations */
  .editorial-navbar-toggle-icon span {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Editorial navbar reduced motion */
  .editorial-navbar-toggle-icon span,
  .editorial-nav-link,
  .editorial-nav-overlay {
    transition: none !important;
  }
  
  .editorial-nav-link:hover {
    transform: none !important;
  }
}

/* Dark Mode Mobile Optimizations */
@media (max-width: 767px) and (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
  }
  
  .card {
    background: rgba(30, 41, 59, 0.8);
  }
  
  .modal-content {
    background: #1e293b;
  }
}



/* =========================================== */
/* assets/css/top-10-improvements.css */
/* =========================================== */

/* ===========================================
   TOP 10 HIGH-IMPACT UX/UI IMPROVEMENTS
   =========================================== */

/* ===========================================
   1. SCROLL PROGRESS BAR - Top Progress Indicator
   =========================================== */
.scroll-progress-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px !important; /* Reduced from 3px for thinner appearance */
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  opacity: 0.7 !important; /* Reduced opacity for less prominence */
  z-index: 10000;
  transition: width 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 4px rgba(99, 102, 241, 0.3) !important; /* Reduced glow effect */
  will-change: width;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress-top {
    transition: none;
  }
}

/* ===========================================
   2. ENHANCED BUTTON HOVER STATES
   Ripple & Magnetic Effects
   =========================================== */

/* Base button enhancements */
.btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: translate(var(--magnetic-x), var(--magnetic-y));
  will-change: transform;
}

/* Ripple effect */
.btn-enhanced::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.btn-enhanced:active::before {
  width: 300px;
  height: 300px;
  opacity: 1;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.btn-enhanced > * {
  position: relative;
  z-index: 1;
}

/* Magnetic hover effect (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .btn-enhanced:hover {
    transform: translate(var(--magnetic-x), var(--magnetic-y)) scale(1.05);
  }
}

/* Apply to all buttons */
.btn:not(.btn-enhanced) {
  position: relative;
  overflow: hidden;
}

.btn:not(.btn-enhanced)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.btn:not(.btn-enhanced):active::before {
  width: 200px;
  height: 200px;
  opacity: 1;
}

.btn:not(.btn-enhanced) > * {
  position: relative;
  z-index: 1;
}

/* ===========================================
   3. CARD HOVER IMPROVEMENTS
   Scale, Glow, Info Reveal
   =========================================== */

/* Enhanced card hover effects */
.card-enhanced {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card-enhanced:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 0 30px rgba(99, 102, 241, 0.15);
}

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

/* Card image zoom on hover */
.card-enhanced .card-img-top,
.card-enhanced img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.card-enhanced:hover .card-img-top,
.card-enhanced:hover img {
  transform: scale(1.08);
}

/* Card info reveal on hover */
.card-enhanced .card-info-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.card-enhanced:hover .card-info-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Apply to existing cards */
.card:not(.card-enhanced) {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:not(.card-enhanced):hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Collection cards specific */
.collection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    0 0 30px rgba(99, 102, 241, 0.2);
}

/* Project cards specific */
.project-card-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.card:hover .project-card-img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.05);
}

/* Art cards specific */
.jfsn-artcard {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jfsn-artcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ===========================================
   4. SMOOTH SCROLL NAVIGATION
   With Navbar Offset
   =========================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height, 70px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Smooth scroll for anchor links */
a[href^="#"] {
  scroll-margin-top: var(--navbar-height, 70px);
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */

/* Back to Top Button - Hidden by default */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  font-size: 1.25rem;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Show when .visible class is present */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s, visibility 0.2s;
  }
  
  .back-to-top:hover {
    transform: none;
  }
}

/* ===========================================
   5. SKELETON LOADERS
   For All Dynamic Content
   =========================================== */

.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

[data-bs-theme="dark"] .skeleton {
  background: linear-gradient(
    90deg,
    #2a2a2a 25%,
    #3a3a3a 50%,
    #2a2a2a 75%
  );
  background-size: 200% 100%;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-text.short {
  width: 60%;
}

.skeleton-title {
  height: 1.5rem;
  width: 80%;
  margin-bottom: 1rem;
}

.skeleton-badge {
  height: 1.5rem;
  width: 80px;
  border-radius: 12px;
}

.skeleton-button {
  height: 2.5rem;
  width: 120px;
  border-radius: 8px;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

.skeleton-card {
  padding: 1.5rem;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: #f0f0f0;
  }
  
  [data-bs-theme="dark"] .skeleton {
    background: #2a2a2a;
  }
}

/* ===========================================
   6. SECTION REVEAL ANIMATIONS
   Fade-in on Scroll
   =========================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for child elements */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.revealed > *:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(6) {
  transition-delay: 0.6s;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================================
   7. TYPOGRAPHY IMPROVEMENTS
   Better Hierarchy & Spacing
   =========================================== */

/* Fluid typography scale */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 4.5rem);
}

/* Improved heading hierarchy */
h1, .h1 {
  font-size: var(--text-4xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-size: var(--text-3xl);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-size: var(--text-2xl);
  line-height: 1.4;
  letter-spacing: -0.005em;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4, .h4 {
  font-size: var(--text-xl);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

h5, .h5 {
  font-size: var(--text-lg);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h6, .h6 {
  font-size: var(--text-base);
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Improved body text */
p, .lead {
  font-size: var(--text-base);
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  font-weight: 400;
}

/* Better spacing rhythm */
section {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  section {
    margin-bottom: 5rem;
  }
}

@media (min-width: 1200px) {
  section {
    margin-bottom: 6rem;
  }
}

/* ===========================================
   8. ENHANCED SHADOWS & DEPTH
   Elevation System
   =========================================== */

:root {
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Elevation levels */
.elevation-0 {
  box-shadow: none;
}

.elevation-1 {
  box-shadow: var(--shadow-sm);
}

.elevation-2 {
  box-shadow: var(--shadow-md);
}

.elevation-3 {
  box-shadow: var(--shadow-lg);
}

.elevation-4 {
  box-shadow: var(--shadow-xl);
}

.elevation-5 {
  box-shadow: var(--shadow-2xl);
}

/* Glow effects */
.glow-sm {
  box-shadow: var(--shadow-glow);
}

.glow-lg {
  box-shadow: var(--shadow-glow-lg);
}

/* Apply to cards */
.card {
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
}

.card.elevation-3 {
  box-shadow: var(--shadow-lg);
}

.card.elevation-3:hover {
  box-shadow: var(--shadow-2xl);
}

/* ===========================================
   9. LOADING STATES
   For All Async Operations
   =========================================== */

.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

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

/* Button loading state */
.btn.loading {
  color: transparent;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

/* Image loading state */
img.loading {
  background: #f0f0f0;
  opacity: 0.5;
}

[data-bs-theme="dark"] img.loading {
  background: #2a2a2a;
}

@media (prefers-reduced-motion: reduce) {
  .loading::after,
  .btn.loading::after {
    animation: none;
  }
}

/* ===========================================
   10. MOBILE TOUCH TARGETS
   Ensure 44x44px Minimum
   =========================================== */

/* Ensure all interactive elements meet WCAG touch target requirements */
@media (max-width: 768px) {
  /* Buttons */
  .btn,
  button,
  a.btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Links */
  a:not(.btn) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
  }
  
  /* Navigation links */
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
  }
  
  /* Form inputs */
  input,
  select,
  textarea {
    min-height: 44px;
    padding: 0.75rem;
  }
  
  /* Card links */
  .card a,
  .card button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Icon buttons */
  .btn-icon,
  button[aria-label] {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Badge links */
  .badge[href] {
    min-height: 32px;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
  }
}

/* Increase spacing between touch targets */
@media (max-width: 768px) {
  .btn + .btn,
  button + button {
    margin-left: 0.5rem;
  }
  
  .card + .card {
    margin-top: 1rem;
  }
}



/* =========================================== */
/* assets/css/editorial-styles.css */
/* =========================================== */

/* =========================================== */
/* EDITORIAL MAGAZINE STYLES - SHARED */
/* Use across all pages for consistency */
/* =========================================== */

/* Editorial Font Stack */
:root {
  --font-headline: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Inter', sans-serif;
}

/* Massive Editorial Headlines */
h1, .h1 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

h3, .h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Body Text */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: #1a1a1a;
}

[data-bs-theme="dark"] body {
  color: #e5e7eb;
}

/* Lead Text */
.lead {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: #4a5568;
}

[data-bs-theme="dark"] .lead {
  color: #cbd5e0;
}

/* Editorial Pull Quotes */
.pull-quote {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #6366f1;
  font-style: italic;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
  text-align: center;
}

[data-bs-theme="dark"] .pull-quote {
  color: #818cf8;
  border-color: #374151;
}

/* Drop Cap */
.drop-cap {
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  padding-right: 0.5rem;
  padding-top: 0.1rem;
  color: #6366f1;
}

[data-bs-theme="dark"] .drop-cap {
  color: #818cf8;
}

/* =========================================== */
/* EDITORIAL NAVBAR - MINIMAL HAMBURGER */
/* =========================================== */

/* Navbar styles removed - using unified navbar CSS (navbar-unified.css) */
/* All navbar styles are now in navbar-unified.css to ensure consistency */

/* Full-Screen Navigation Overlay */
.editorial-nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  pointer-events: none;
  display: block !important;
}

.editorial-nav-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
}

.editorial-nav-overlay-content {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.editorial-nav-overlay-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.editorial-nav-overlay-brand {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  color: white !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  z-index: 10;
}

.editorial-nav-overlay-brand img {
  filter: brightness(0) invert(1);
  height: 40px;
}

.editorial-nav-overlay-close {
  background: none;
  border: none;
  color: white !important;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.editorial-nav-overlay-close:hover {
  transform: rotate(90deg);
}

.editorial-nav-overlay-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.editorial-nav-link {
  display: block !important;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  font-family: var(--font-headline);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  position: relative;
  z-index: 3;
}

.editorial-nav-link:hover,
.editorial-nav-link.active {
  color: white;
  border-bottom-color: #6366f1;
  transform: translateX(20px);
}

.editorial-nav-overlay-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure hero content doesn't overlap navbar */
.editorial-hero-section {
  padding-top: 70px;
}

/* Full-Bleed Images */
.full-bleed-image-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  max-height: 80vh;
}

.full-bleed-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.full-bleed-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem;
  color: white;
}

.full-bleed-caption {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Mobile */
@media (max-width: 768px) {
  /* Navbar mobile styles removed - using unified navbar CSS */
  
  .editorial-nav-overlay-content {
    padding: 1.5rem;
  }
  
  .editorial-nav-link {
    font-size: clamp(1.5rem, 8vw, 3rem);
  }
  
  .editorial-hero-section {
    padding-top: 60px;
  }
  
  .full-bleed-image-container {
    max-height: 60vh;
  }
  
  .full-bleed-overlay {
    padding: 1.5rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .editorial-nav-link,
  .editorial-navbar-toggle-icon span,
  .editorial-nav-overlay-close {
    transition: none;
  }
}



/* =========================================== */
/* assets/css/enhanced-image-loading.css */
/* =========================================== */

/* ===========================================
   ENHANCED IMAGE LOADING & PERFORMANCE
   Blur-up placeholders, aspect ratios, progressive loading
   =========================================== */

/* Blur-up placeholder container */
.artwork-image-container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  aspect-ratio: 4 / 3; /* Default aspect ratio */
  width: 100%;
}

/* Aspect ratio variants */
.artwork-image-container[data-aspect-ratio="panorama"] {
  aspect-ratio: 16 / 9;
}

.artwork-image-container[data-aspect-ratio="wide"] {
  aspect-ratio: 3 / 2;
}

.artwork-image-container[data-aspect-ratio="normal"] {
  aspect-ratio: 4 / 3;
}

.artwork-image-container[data-aspect-ratio="portrait"] {
  aspect-ratio: 3 / 4;
}

.artwork-image-container[data-aspect-ratio="square"] {
  aspect-ratio: 1 / 1;
}

/* Blur-up placeholder - low quality image - DISABLED BLUR */
.artwork-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--blur-placeholder);
  background-size: cover;
  background-position: center;
  filter: blur(0px); /* NO BLUR - images should be sharp */
  transform: scale(1.1); /* Prevent white edges */
  opacity: 1;
  transition: opacity 0.3s ease-out;
  z-index: 1;
}

/* Hide blur placeholder when image loads */
.artwork-image-container.image-loaded::before {
  opacity: 0;
  pointer-events: none;
  display: none; /* Completely remove when loaded */
}

/* Main image */
.artwork-image-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  z-index: 2;
}

/* Show image when loaded */
.artwork-image-container img.image-loaded {
  opacity: 1;
}

/* Skeleton loader for initial state */
.artwork-image-container.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 3;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Hide skeleton when image starts loading */
.artwork-image-container.image-loading::after {
  opacity: 0.5;
}

.artwork-image-container.image-loaded::after {
  display: none;
}

/* Progressive loading indicator */
.artwork-image-container .loading-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(99, 102, 241, 0.2);
  z-index: 4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}

.artwork-image-container.image-loading .loading-progress {
  animation: loadingProgress 1s ease-out;
}

@keyframes loadingProgress {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0.7);
  }
  100% {
    transform: scaleX(1);
  }
}

.artwork-image-container.image-loaded .loading-progress {
  transform: scaleX(1);
  background: rgba(99, 102, 241, 0.8);
}

/* Prevent layout shift */
.artwork-card {
  contain: layout style paint;
}

/* Responsive images with srcset support */
.artwork-image-container img[data-srcset] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Dark mode support */
[data-bs-theme="dark"] .artwork-image-container {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-bs-theme="dark"] .artwork-image-container.loading::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .artwork-image-container::before,
  .artwork-image-container img,
  .artwork-image-container .loading-progress {
    transition: none;
    animation: none;
  }
  
  .artwork-image-container.loading::after {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .artwork-image-container {
    border: 2px solid currentColor;
  }
}



/* =========================================== */
/* assets/css/enhanced-artwork-cards.css */
/* =========================================== */

/* ===========================================
   ENHANCED ARTWORK CARDS
   Quick view modals, hover details, related artworks
   =========================================== */

/* Enhanced artwork card hover effects */
.artwork-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.artwork-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(99, 102, 241, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(99, 102, 241, 0.1);
  z-index: 10;
}

/* Hover details overlay */
.artwork-card .hover-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  color: white;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
}

.artwork-card:hover .hover-details {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hover-details-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hover-details-meta {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hover-details-description {
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Quick view modal */
.quick-view-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.quick-view-content {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  width: 100%;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.9) translateY(50px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.quick-view-modal.active .quick-view-content {
  transform: scale(1) translateY(0);
}

.quick-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
}

.quick-view-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.quick-view-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-view-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.quick-view-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  max-height: calc(90vh - 80px);
  overflow: hidden;
}

.quick-view-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
  padding: 2rem;
}

.quick-view-info {
  padding: 2rem;
  overflow-y: auto;
  background: white;
}

.quick-view-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.quick-view-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}

.quick-view-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.quick-view-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.keyword-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.quick-view-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Related artworks section */
.related-artworks {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.related-artworks-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.related-artworks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.related-artwork-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.related-artwork-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.related-artwork-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .quick-view-body {
    grid-template-columns: 1fr;
    max-height: calc(90vh - 60px);
  }
  
  .quick-view-image {
    max-height: 50vh;
    padding: 1rem;
  }
  
  .quick-view-info {
    padding: 1.5rem;
  }
  
  .related-artworks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .artwork-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* Dark mode */
[data-bs-theme="dark"] .quick-view-content {
  background: #1e293b;
  color: white;
}

[data-bs-theme="dark"] .quick-view-header {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .quick-view-info {
  background: #1e293b;
}

[data-bs-theme="dark"] .quick-view-image {
  background: #0f172a;
}

[data-bs-theme="dark"] .quick-view-close {
  color: #ccc;
}

[data-bs-theme="dark"] .quick-view-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

[data-bs-theme="dark"] .related-artworks {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .artwork-card,
  .hover-details,
  .quick-view-modal,
  .quick-view-content {
    transition: none;
  }
  
  .artwork-card:hover {
    transform: none;
  }
}



/* =========================================== */
/* assets/css/micro-interactions.css */
/* =========================================== */

/* ===========================================
   MICRO-INTERACTIONS & FEEDBACK
   Ripple effects, haptic feedback, smooth transitions
   =========================================== */

/* Ripple effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.ripple.active::before {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* Button ripple effect */
.btn,
button,
a.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after,
button::after,
a.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s;
  pointer-events: none;
  opacity: 0;
}

.btn:active::after,
button:active::after,
a.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* Success animation */
@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.success-animation {
  animation: successPulse 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  border-top-color: #6366f1;
  animation: spin 0.8s linear infinite;
}

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

/* Smooth page transitions */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover micro-animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
  transform: scale(1.05);
}

.hover-glow {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

/* Icon animations */
.icon-rotate:hover {
  animation: rotateIcon 0.5s ease-in-out;
}

@keyframes rotateIcon {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.icon-bounce:hover {
  animation: bounceIcon 0.5s ease-in-out;
}

@keyframes bounceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Magnetic effect */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ripple::before,
  .btn::after,
  button::after,
  a.btn::after,
  .spinner,
  .page-transition,
  .fade-in-up,
  .hover-lift,
  .hover-scale,
  .hover-glow,
  .icon-rotate,
  .icon-bounce,
  .magnetic,
  .pulse,
  .shake {
    animation: none !important;
    transition: none !important;
  }
  
  .hover-lift:hover,
  .hover-scale:hover {
    transform: none;
  }
}



/* =========================================== */
/* assets/css/enhanced-visual-hierarchy.css */
/* =========================================== */

/* ===========================================
   ENHANCED VISUAL HIERARCHY
   Fluid typography, improved contrast, better spacing
   =========================================== */

/* Fluid Typography System */
:root {
  --fluid-min-width: 320;
  --fluid-max-width: 1920;
  --fluid-min-scale: 1;
  --fluid-max-scale: 1.25;
}

/* Base typography with fluid scaling */
html {
  font-size: clamp(16px, 1vw, 20px);
}

body {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: #1a202c;
  letter-spacing: -0.01em;
}

/* Heading hierarchy */
h1, .h1 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

h2, .h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #1e293b;
}

h3, .h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #334155;
}

h4, .h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 0.875rem;
  color: #475569;
}

h5, .h5 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: #64748b;
}

h6, .h6 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: #64748b;
}

/* Improved contrast ratios */
p, .lead {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: #475569;
}

/* Text colors with better contrast */
.text-muted {
  color: #64748b !important;
}

.text-secondary {
  color: #475569 !important;
}

/* Spacing system (8px base unit) */
:root {
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */
}

/* Section spacing */
section {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

/* Container max-widths for readability */
.container {
  max-width: 1400px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

/* Better paragraph spacing */
p + p {
  margin-top: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Improved list spacing */
ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Link contrast */
a {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Button typography */
.btn {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
}

/* Card typography */
.card-title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: #475569;
}

/* Dark mode adjustments */
[data-bs-theme="dark"] body {
  color: #e5e7eb;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] .h1 {
  color: #f9fafb;
}

[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] .h2 {
  color: #f3f4f6;
}

[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] .h3 {
  color: #e5e7eb;
}

[data-bs-theme="dark"] p,
[data-bs-theme="dark"] .lead {
  color: #d1d5db;
}

[data-bs-theme="dark"] a {
  color: #818cf8;
}

[data-bs-theme="dark"] a:hover {
  color: #a5b4fc;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  body {
    color: #000;
  }
  
  [data-bs-theme="dark"] body {
    color: #fff;
  }
  
  a {
    text-decoration: underline;
  }
  
  .btn {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
}



/* =========================================== */
/* assets/css/social-sharing.css */
/* =========================================== */

/* ===========================================
   SOCIAL SHARING & ENGAGEMENT
   One-click sharing, social preview cards, QR codes
   =========================================== */

/* Share menu */
.share-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-menu.active {
  opacity: 1;
  visibility: visible;
}

.share-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.share-menu-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.share-menu.active .share-menu-content {
  transform: scale(1) translateY(0);
}

.share-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.share-menu-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.share-menu-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-menu-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.share-menu-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.share-option:hover {
  background: #f1f5f9;
  border-color: #6366f1;
  transform: translateY(-2px);
}

.share-option i {
  font-size: 1.5rem;
  color: #6366f1;
}

/* QR Code modal */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.qr-modal:not(:empty) {
  opacity: 1;
  visibility: visible;
}

.qr-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.qr-modal-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.qr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  color: #666;
}

.qr-modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.qr-modal-content img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10002;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Dark mode */
[data-bs-theme="dark"] .share-menu-content,
[data-bs-theme="dark"] .qr-modal-content {
  background: #1e293b;
  color: white;
}

[data-bs-theme="dark"] .share-option {
  background: #0f172a;
  color: #e5e7eb;
}

[data-bs-theme="dark"] .share-option:hover {
  background: #1e293b;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .share-menu-options {
    grid-template-columns: 1fr;
  }
  
  .share-option {
    flex-direction: row;
    justify-content: flex-start;
  }
}



/* =========================================== */
/* assets/css/accessibility-enhancements.css */
/* =========================================== */

/* ===========================================
   ACCESSIBILITY ENHANCEMENTS
   Skip links, keyboard shortcuts overlay, high contrast mode
   =========================================== */

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: #6366f1;
  color: white;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 8px 0;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: -3px;
}

/* Keyboard shortcuts overlay */
.keyboard-shortcuts-overlay {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.keyboard-shortcuts-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.keyboard-shortcuts-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.keyboard-shortcuts-overlay.active .keyboard-shortcuts-content {
  transform: scale(1) translateY(0);
}

.keyboard-shortcuts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.keyboard-shortcuts-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.keyboard-shortcuts-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  color: #666;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keyboard-shortcuts-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.keyboard-shortcut-group {
  margin-bottom: 2rem;
}

.keyboard-shortcut-group-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.keyboard-shortcut-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.keyboard-shortcut-item:last-child {
  border-bottom: none;
}

.keyboard-shortcut-label {
  font-size: 0.875rem;
  color: #475569;
}

.keyboard-shortcut-keys {
  display: flex;
  gap: 0.25rem;
}

.keyboard-key {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  font-family: monospace;
  min-width: 24px;
  text-align: center;
}

/* High contrast mode toggle */
.high-contrast-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.high-contrast-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

/* High contrast mode styles */
body.high-contrast {
  filter: contrast(1.2);
}

body.high-contrast * {
  border-color: currentColor !important;
}

body.high-contrast .btn {
  border-width: 2px !important;
}

body.high-contrast a {
  text-decoration: underline !important;
}

/* Enhanced focus indicators */
*:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .keyboard-shortcuts-overlay,
  .keyboard-shortcuts-content,
  .high-contrast-toggle {
    transition: none;
  }
}

/* Dark mode */
[data-bs-theme="dark"] .keyboard-shortcuts-content {
  background: #1e293b;
  color: white;
}

[data-bs-theme="dark"] .keyboard-shortcut-group-title {
  color: #f9fafb;
}

[data-bs-theme="dark"] .keyboard-shortcut-label {
  color: #d1d5db;
}

[data-bs-theme="dark"] .keyboard-key {
  background: #0f172a;
  border-color: #334155;
  color: #e5e7eb;
}

[data-bs-theme="dark"] .keyboard-shortcut-item {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .high-contrast-toggle {
    bottom: 5rem; /* Above mobile nav */
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}



/* =========================================== */
/* template/shared/css/timeline-features-2026.css */
/* =========================================== */

/* ===== TIMELINE FEATURES FROM timeline.html ===== */

/* ===== PARTICLE BACKGROUND ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* ===== YEAR COUNTER ANIMATION ===== */
.year-counter {
  display: inline-block;
  font-size: 1.5rem;
  color: #f59e0b;
  font-weight: 900;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 50px;
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

[data-bs-theme="dark"] .year-counter {
  background: #1a202c;
  border-color: #f59e0b;
  color: #f59e0b;
}

/* ===== DECADE FILTERS ===== */
.decade-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.decade-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 50px;
  color: #1e293b;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.decade-btn:hover {
  background: #f8fafc;
  border-color: #6366f1;
  color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.decade-btn.active {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

[data-bs-theme="dark"] .decade-btn {
  background: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
}

[data-bs-theme="dark"] .decade-btn:hover {
  background: #334155;
  border-color: #6366f1;
}

[data-bs-theme="dark"] .decade-btn.active {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
}

/* ===== FEATURED BADGE ===== */
.featured-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  animation: pulse 2s infinite;
  z-index: 10;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== SERIES BADGE ===== */
.series-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  color: #6366f1;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

[data-bs-theme="dark"] .series-badge {
  background: rgba(99, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

/* ===== ARTWORK DETAILS GRID ===== */
.artwork-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

[data-bs-theme="dark"] .artwork-details {
  background: #1e293b;
}

.detail-item {
  text-align: center;
}

.detail-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

[data-bs-theme="dark"] .detail-label {
  color: #94a3b8;
}

.detail-value {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 700;
}

[data-bs-theme="dark"] .detail-value {
  color: #e2e8f0;
}

/* ===== PROCESS NOTES ===== */
.process-note {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-style: italic;
  color: #78350f;
  font-size: 0.95rem;
  line-height: 1.6;
}

.process-note::before {
  content: '💭 ';
  font-style: normal;
}

[data-bs-theme="dark"] .process-note {
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
  border-left-color: #f59e0b;
  color: #fef3c7;
}

/* ===== TAGS SYSTEM ===== */
.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #4f46e5;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag:hover {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-2px);
}

[data-bs-theme="dark"] .tag {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 100%);
  color: #c7d2fe;
}

[data-bs-theme="dark"] .tag:hover {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  transform: translateY(-2px);
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: #ef4444;
  color: white;
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== YEAR NAVIGATION SIDEBAR ===== */
.year-nav {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: fit-content;
}

.year-nav-btn {
  padding: 0.75rem 1rem;
  background: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6366f1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.year-nav-btn:hover {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.year-nav-btn.milestone {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
}

.year-nav-btn.milestone:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateX(-5px) scale(1.05);
}

/* Responsive */
@media (max-width: 968px) {
  .year-nav {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
  }
  
  .year-nav-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
    min-width: 60px;
  }
}

@media (max-width: 640px) {
  .year-nav {
    flex-direction: row;
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
    background: rgba(255,255,255,0.95);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    overflow-x: auto;
  }
}

