/* WanderLust Travel Website - Custom Styles */

/* Custom color variables for consistency */
:root {
    --ocean-blue: #1e40af;
    --nature-green: #059669;
    --sunset-orange: #ea580c;
    --sky-blue: #0ea5e9;
}

/* Global styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Enhanced hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

/* Custom gradient backgrounds */
.gradient-ocean {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
}

.gradient-sunset {
    background: linear-gradient(135deg, var(--sunset-orange) 0%, #f59e0b 100%);
}

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

/* Custom button styles */
.btn-primary {
    background: var(--ocean-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: var(--sunset-orange);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.3);
}

/* Enhanced card styles */
.card-enhanced {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-enhanced:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Custom form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--ocean-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Navigation enhancements */
.nav-link {
    position: relative;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sunset-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero section enhancements */
.hero-overlay {
    background: linear-gradient(
        rgba(30, 64, 175, 0.8),
        rgba(14, 165, 233, 0.6)
    );
}

/* Pricing card styles */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sunset-orange);
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Testimonial card styles */
.testimonial-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--ocean-blue);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Star rating styles */
.star-rating {
    color: #fbbf24;
    display: inline-flex;
    gap: 2px;
}

/* Progress bar styles for booking */
.progress-bar {
    background: #e5e7eb;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    background: var(--ocean-blue);
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--ocean-blue);
    border-radius: 4px;
}

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

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Badge styles */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hot {
    background: var(--sunset-orange);
    color: white;
}

.badge-popular {
    background: var(--nature-green);
    color: white;
}

.badge-luxury {
    background: var(--sky-blue);
    color: white;
}

.badge-new {
    background: #8b5cf6;
    color: white;
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btn-mobile {
        width: 100%;
        text-align: center;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

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

/* Focus styles for accessibility */
.focus\:ring-custom:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

/* Custom utility classes */
.text-gradient {
    background: linear-gradient(135deg, var(--ocean-blue), var(--sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Image lazy loading placeholder */
.img-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: loading 1.4s ease infinite;
}

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

/* Custom selection styles */
::selection {
    background: var(--sunset-orange);
    color: white;
}

::-moz-selection {
    background: var(--sunset-orange);
    color: white;
}

/* Enhanced transitions */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.transition-transform {
    transition: transform 0.15s ease-in-out;
}
