body {
    font-family: 'Inter', sans-serif;
}

[x-cloak] {
    display: none !important;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    background-color: white !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    color: #003399 !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #003399 !important;
    line-height: 1 !important;
}

.swiper-button-prev:after {
    content: '←' !important;
}

.swiper-button-next:after {
    content: '→' !important;
}

.swiper-pagination-bullet-active {
    background: #003399 !important;
    width: 30px !important;
    border-radius: 5px !important;
}

.testimonials-swiper .swiper-slide {
    opacity: 0.4;
    transition: all 0.5s ease;
}

.testimonials-swiper .swiper-slide-fully-visible,
.testimonials-swiper .swiper-slide-active,
.testimonials-swiper .swiper-slide-prev,
.testimonials-swiper .swiper-slide-next {
    opacity: 1;
}

/* Tours Swiper Opacity */
.tours-swiper .swiper-slide {
    opacity: 0.5;
    transition: all 0.5s ease;
}

.tours-swiper .swiper-slide-fully-visible,
.tours-swiper .swiper-slide-active,
.tours-swiper .swiper-slide-prev,
.tours-swiper .swiper-slide-next {
    opacity: 1;
}

/* Moments Swiper Opacity and Scale */
.moments-swiper .swiper-slide {
    opacity: 1;
    transform: scale(0.8);
}

.moments-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1.2, 1);
    z-index: 10;
}

/* Moments Specific Navigation */
.moments-button-prev,
.moments-button-next {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.moments-button-prev:after,
.moments-button-next:after {
    display: none !important;
}

.moments-button-next {
    background-color: #003399 !important;
    border-radius: 50% !important;
}

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

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: transform, opacity, box-shadow, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Card hover effects with subtle shadows */
.search-form-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.search-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

/* Button animations */
button,
a[role="button"] {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover,
a[role="button"]:hover {
    transform: translateY(-1px);
}

button:active,
a[role="button"]:active {
    transform: translateY(0);
}

/* Trust badge */
.trust-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Header scroll animation */
header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* User dropdown menu */
.user-dropdown {
    animation: fadeInDown 0.2s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User avatar */
.user-avatar {
    transition: all 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

/* Contact page cards */
.contact-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #003399;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #003399;
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

/* Website auth pages */
.auth-page {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #f0f4ff 100%);
    background-size: 400% 400%;
    animation: authGradientShift 15s ease infinite;
}

@keyframes authGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.auth-card {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.auth-btn-primary {
    background: linear-gradient(135deg, #003399 0%, #0044cc 100%);
    transition: all 0.3s ease;
}

.auth-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 51, 153, 0.3);
}

.auth-social-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15);
    border-color: #003399;
}

.auth-input:focus {
    outline: none;
    border-color: #003399;
    box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.1),
        0 4px 6px -1px rgba(0, 51, 153, 0.1);
    transform: translateY(-1px);
}

.auth-feature-item,
.auth-benefit-item {
    transition: all 0.3s ease;
}

.auth-feature-item:hover,
.auth-benefit-item:hover {
    transform: translateX(4px);
}

.auth-password-strength {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.auth-password-strength.weak {
    background: #ef4444;
    width: 33%;
}

.auth-password-strength.medium {
    background: #f59e0b;
    width: 66%;
}

.auth-password-strength.strong {
    background: #10b981;
    width: 100%;
}

.auth-trust-badge {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(5, 150, 105, 0.05) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.2);
}
