/* Custom CSS to complement Tailwind */

/* Font setup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(2, 132, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Card Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 35px -5px rgba(15, 23, 42, 0.08), 0 12px 18px -5px rgba(15, 23, 42, 0.04);
}

.hover-lift-accent:hover {
    border-color: #ea580c; /* Accent color border */
}

/* Tab button transitions */
.tab-btn {
    transition: all 0.2s ease;
}

/* Sub-nav indicator dots */
.nav-link-dot {
    position: relative;
}
.nav-link-dot::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background-color: #ea580c;
    transition: transform 0.25s ease-out;
}
.nav-link-dot:hover::after,
.nav-link-dot.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Swiper Custom Bullets styling */
.swiper-pagination-tour .swiper-pagination-bullet {
    background: #ea580c !important;
    opacity: 0.3 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease !important;
}
.swiper-pagination-tour .swiper-pagination-bullet-active {
    background: #ea580c !important;
    width: 24px !important;
    border-radius: 4px !important;
    opacity: 1 !important;
}

/* Make sure swiper navigation arrows have absolute custom placement and style */
.swiper-button-prev-tour,
.swiper-button-next-tour {
    transition: all 0.3s ease;
}
.swiper-button-prev-tour:hover,
.swiper-button-next-tour:hover {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}
