/* Custom styles for Pantheon Tickets */

/* Font families */
body {
    font-family: 'DM Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

/* Travel card hover effects */
.travel-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.15);
}

/* Fade up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* Fade in animation for scroll */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* FAQ accordion styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer:not(.hidden) {
    max-height: 1000px;
}

/* Smooth hover transitions */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

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

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

/* Print styles */
@media print {
    nav,
    footer,
    button {
        display: none;
    }
}

/* Responsive image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure proper spacing for fixed header */
main {
    padding-top: 0;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

/* Prose styling for article content */
.prose p {
    margin-bottom: 1.5rem;
}

.prose h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose ul {
    margin-bottom: 1.5rem;
}

.prose a {
    color: #f97316;
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

/* Cookie Banner Styles */
#cookie-banner {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cookie-banner.hidden {
    display: none !important;
}

