/* Custom Styles for Umrah Packages Chicago */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Custom gradient backgrounds */
.gradient-blue {
    background: linear-gradient(135deg, #2D5BFF 0%, #1E3A8A 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

/* Package cards styling */
.package-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.package-card:hover::before {
    left: 100%;
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* WhatsApp button styling */
.whatsapp-btn {
    background: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

/* Scroll to top button */
#scrollToTop {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTop.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#scrollToTop:hover {
    transform: translateY(-3px);
}

/* Trust badges styling */
.trust-badge {
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

/* Mobile menu improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .package-card {
        margin-bottom: 1.5rem;
    }
}

/* Custom checkmark styling */
.checkmark {
    color: #10B981;
    font-weight: bold;
}

/* Price tag styling */
.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: #1F2937;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    margin: 3rem 0;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Custom shadow effects */
.shadow-soft {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.shadow-medium {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-strong {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Icon animations */
.icon-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Stats counter styling */
.stat-number {
    font-weight: 800;
    background: linear-gradient(135deg, #10B981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Testimonial styling */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Navigation active state */
nav a.active {
    color: #2D5BFF;
    border-bottom: 2px solid #2D5BFF;
}

/* Form input styling */
input, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #2D5BFF;
    box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.1);
    outline: none;
}

/* Print styles */
@media print {
    nav, footer, #scrollToTop {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .package-card {
        page-break-inside: avoid;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
a:focus-visible, button:focus-visible {
    outline: 3px solid #2D5BFF;
    outline-offset: 2px;
}

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

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

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

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

/* Loading spinner */
.spinner {
    border: 4px solid #F3F4F6;
    border-top: 4px solid #2D5BFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notification styling */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Package comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.comparison-table th {
    background: #F9FAFB;
    font-weight: 700;
}

/* Popular badge */
.badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive video embeds */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
