/* Booking Page Modern Styles */

/* Container */
.container-max {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    33% {
        transform: translateY(-30px) scale(1.05);
    }
    66% {
        transform: translateY(15px) scale(0.95);
    }
}

.animate-float {
    animation: float 20s ease-in-out infinite;
}

/* Journey Cards */
.journey-card input[type="radio"]:checked ~ div {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9e7 100%);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.journey-card input[type="radio"]:checked ~ div .radio-indicator {
    border-color: #fbbf24;
    background: #fbbf24;
    position: relative;
}

.journey-card input[type="radio"]:checked ~ div .radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Progress */
.step-indicator .step-number.active {
    background: #fbbf24;
    color: #1a3a52;
}

.step-indicator .step-number.completed {
    background: #10b981;
    color: white;
}

.step-indicator .step-number.completed .step-num {
    display: none;
}

.step-indicator .step-number.completed .step-check {
    display: block;
}

.step-line.active {
    background: #fbbf24;
    transition: background 0.5s ease;
}

/* Input Focus Effects */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Select Dropdown Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

/* Modal Animations */
#successModal.show {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

#successModal.show #modalContent {
    animation: scaleIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Validation States */
input.error,
select.error,
textarea.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
}

input.success,
select.success,
textarea.success {
    border-color: #10b981 !important;
    background-color: #f0fdf4;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: #1a3a52;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
}

.tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-max {
        padding: 0 1rem;
    }

    .step-indicator .step-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .booking-hero {
        padding: 60px 0 40px;
    }
}

/* AOS Override */
[data-aos] {
    transition-duration: 0.8s;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1a3a52, #2d5a7b);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0f2537, #1a3a52);
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Pulse Animation for Icons */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}
