/**
 * TravelVista - Travel Agency Landing Page
 * Custom CSS - Styles beyond Tailwind's utility classes
 */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Component-specific styles */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.gallery-item:hover .gallery-zoom-btn {
    transform: scale(1);
}

.testimonial-dot.active {
    background-color: #0F52BA; /* primary color */
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-slide {
    transition: all 0.3s ease;
}

/* Custom Button Styles */
.btn-gradient {
    background: linear-gradient(to right, #0F52BA, #2EC4B6);
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.3);
}

/* Text effects */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    border-color: #0F52BA;
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.2);
    outline: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-track {
        overflow-x: hidden;
    }
}

/* Additional Hover Effects */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.image-hover img {
    transition: transform 0.5s ease;
}

.image-hover:hover img {
    transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0F52BA;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a3d8a;
}