/* Custom Fonts */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateZ(0);
    will-change: transform;
}

/* Ticket Rotation Animation */
.ticket-rotate {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.ticket-rotate:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Ticket Card Hover Effects */
.ticket-card-left {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-card-left::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #f8fafc;
    border-radius: 50%;
    box-shadow: inset -2px 0 4px rgba(0,0,0,0.1);
}

.ticket-card-left:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ticket-card-right {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-card-right::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #f8fafc;
    border-radius: 50%;
    box-shadow: inset 2px 0 4px rgba(0,0,0,0.1);
}

.ticket-card-right:hover {
    transform: translateX(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #f43f5e, #0ea5e9);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #e11d48, #0284c7);
}

/* Animation for timeline items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Plane animation */
@keyframes fly {
    0% {
        transform: translateX(-100vw) translateY(0);
    }
    50% {
        transform: translateX(0) translateY(-20px);
    }
    100% {
        transform: translateX(100vw) translateY(0);
    }
}

.plane-animation {
    animation: fly 15s linear infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(to right, #f43f5e, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .ticket-rotate {
        transform: rotate(0deg);
    }
    
    .ticket-card-left:hover,
    .ticket-card-right:hover {
        transform: translateX(0);
    }
}

/* FAQ Transition */
.faq-content {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq-content.active {
    max-height: 500px;
    opacity: 1;
}

/* Boarding Pass Pattern */
.boarding-pass-pattern {
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

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

.heartbeat {
    animation: heartbeat 2s ease-in-out infinite;
}