/* Additional custom styles for Jack's Windows website */

/* Smooth scrolling and focus styles */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus styles for accessibility */
*:focus {
  outline: 2px solid #2c3e50;
  outline-offset: 2px;
}

/* Custom button hover animations */
.btn-hover {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Excerpt slider styles */
.excerpt-slide {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.excerpt-slide.hidden {
  opacity: 0;
  transform: translateX(100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.excerpt-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

/* Dot navigation styles */
.dot {
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #2c3e50;
  transform: scale(1.2);
}

.dot:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Typography enhancements */
.prose blockquote {
  position: relative;
  font-style: italic;
  quotes: """ """ "'" "'";
}

.prose blockquote:before {
  content: open-quote;
  font-size: 4rem;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
  color: #b85c38;
  opacity: 0.5;
}

/* Loading animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Mobile menu animation */
.mobile-menu-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    text-decoration: underline !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-warm-cream {
    background-color: #ffffff;
  }
  
  .bg-soft-blue {
    background-color: #f8fafc;
  }
  
  .text-warm-brown {
    color: #000000;
  }
  
  .text-deep-blue {
    color: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here if needed in the future */
}
