/* Pisa Turm Tickets - Custom Styles */

/* Floating ticket animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(8deg); }
  50% { transform: translateY(-15px) rotate(-8deg); }
  75% { transform: translateY(-40px) rotate(5deg); }
}

.ticket-float {
  animation: float 25s infinite ease-in-out;
}

/* Ticket Visual Styling */
.ticket-decoration {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px dashed rgba(217, 119, 6, 0.2);
  border-radius: 16px;
  position: absolute;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 0;
  opacity: 0.5;
}

.ticket-decoration::before,
.ticket-decoration::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: #fafaf9;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ticket-decoration::before { left: -12px; }
.ticket-decoration::after { right: -12px; }

/* Partner Logo Grayscale Hover */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Mobile menu transition */
#mobileMenu {
  transition: all 0.3s ease;
}

#mobileMenu.hidden {
  display: none;
}

/* FAQ accordion smooth transitions */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary ~ * {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #d97706;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
  background: #fcd34d;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #fbbf24;
}

/* Prose styling for article content */
.prose h2 {
  color: #1c1917;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: #292524;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: #44403c;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.prose ul {
  color: #44403c;
  line-height: 1.75;
}

.prose a {
  color: #d97706;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #b45309;
}

.prose strong {
  color: #1c1917;
  font-weight: 600;
}

/* Button hover effects */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Image lazy loading placeholder */
img[loading="lazy"] {
  background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
}

/* Header sticky shadow */
header.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Card hover effects */
.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Newsletter form styling */
input[type="email"]:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Footer link transitions */
footer a {
  transition: color 0.2s ease;
}

/* Print styles */
@media print {
  .ticket-decoration,
  header,
  footer,
  #mobileMenu {
    display: none !important;
  }
  
  body {
    background: white !important;
  }
  
  .prose {
    max-width: 100% !important;
  }
}

