/* Additional custom styles for Umrah Plus Jordan Package Website */

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Enhanced hover effects */
.package-card {
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2D5BFF, #00C9FF, #2D5BFF);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.package-card:hover::before {
    opacity: 1;
}

/* Pulse animation for floating WhatsApp button */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
}

.fixed.bottom-6.right-6 {
    animation: pulse 2s infinite;
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .price-tag {
        font-size: 2rem;
    }
}

/* Loading state for buttons */
.btn-primary:active,
.btn-whatsapp:active {
    transform: scale(0.98);
}

/* Trust badge hover effect */
.trust-badge {
    position: relative;
    overflow: hidden;
}

.trust-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(45, 91, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.trust-badge:hover::after {
    width: 300px;
    height: 300px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #2D5BFF 0%, #00C9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Print styles */
@media print {
    .fixed,
    nav,
    .btn-whatsapp,
    .btn-primary {
        display: none;
    }
    
    .package-card {
        page-break-inside: avoid;
        border: 1px solid #000;
    }
}

/* Accessibility improvements */
.btn-primary:focus,
.btn-whatsapp:focus {
    outline: 3px solid rgba(45, 91, 255, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .package-card {
        border: 3px solid #000;
    }
    
    .btn-primary,
    .btn-whatsapp {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1e4dd8;
}
