/* Bali Theme CSS */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Custom Properties */
:root {
    --teal-600: #0891b2;
    --teal-700: #0e7490;
    --teal-800: #155e75;
    --teal-900: #164e63;
    --emerald-600: #10b981;
    --emerald-700: #059669;
    --emerald-800: #047857;
    --emerald-900: #064e3b;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --yellow-400: #facc15;
    --yellow-300: #fde047;
}

/* Font Classes */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

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

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-wave {
    animation: wave 20s linear infinite;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--teal-600), var(--emerald-600));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--teal-700), var(--emerald-700));
}

/* Hero Section Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--emerald-900) 50%, var(--green-900) 100%);
}

.hero-overlay {
    background: linear-gradient(180deg, 
        rgba(21, 94, 117, 0.8) 0%, 
        rgba(5, 150, 105, 0.7) 50%, 
        rgba(21, 128, 61, 0.8) 100%);
}

/* Card Hover Effects */
.bali-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Button Styles */
.btn-bali-primary {
    background: linear-gradient(135deg, var(--teal-600), var(--emerald-600));
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-bali-primary:hover {
    background: linear-gradient(135deg, var(--teal-700), var(--emerald-700));
    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);
}

.btn-bali-secondary {
    background: var(--yellow-400);
    color: var(--teal-900);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-bali-secondary:hover {
    background: var(--yellow-300);
    transform: translateY(-2px);
}

/* Navigation Enhancements */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    background: linear-gradient(135deg, var(--teal-600), var(--emerald-600));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Destination Cards */
.destination-card {
    position: relative;
    overflow: hidden;
}

.destination-card img {
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
    border-left: 4px solid var(--teal-600);
}

.testimonial-card:nth-child(2) {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border-left: 4px solid var(--yellow-400);
}

.testimonial-card:nth-child(3) {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border-left: 4px solid #ec4899;
}

/* Star Rating */
.star-rating {
    color: #fbbf24;
}

/* Mobile Menu Enhancements */
.mobile-menu {
    background: rgba(8, 145, 178, 0.95);
    backdrop-filter: blur(10px);
}

/* Search Dialog */
.search-dialog {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Footer Enhancements */
.footer-gradient {
    background: linear-gradient(135deg, var(--teal-900), var(--emerald-900), var(--green-900));
}

.footer-social {
    transition: all 0.3s ease;
}

.footer-social:hover {
    transform: translateY(-2px);
    background: var(--yellow-400);
}

/* Newsletter Form */
.newsletter-input {
    background: rgba(21, 94, 117, 0.5);
    border: 1px solid rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: rgba(21, 94, 117, 0.7);
    border-color: var(--yellow-400);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .bali-card {
        margin-bottom: 1rem;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Focus States */
.focus-ring {
    transition: all 0.2s ease;
}

.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-strong {
    backdrop-filter: blur(20px);
}

/* Animations for Scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Badge Styles */
.badge-bali {
    background: var(--yellow-400);
    color: var(--teal-900);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Price Display */
.price-display {
    background: linear-gradient(135deg, var(--teal-600), var(--emerald-600));
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

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

/* Selection Color */
::selection {
    background: var(--yellow-400);
    color: var(--teal-900);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
}
