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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Hide scrollbar for tabs/marquee but allow scroll */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

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

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

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

/* WhatsApp Tooltip */
.wa-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #1E3A8A;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}
.wa-tooltip.show {
    opacity: 1;
}

/* Mobile Bottom Bar Handling */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}

/* Hero Booking Widget Tabs */
.hero-tab-active {
    background-color: #1E3A8A; /* Dark Blue */
    color: white;
    font-weight: 700;
}
.hero-tab-inactive {
    background-color: transparent;
    color: #475569; /* Slate 600 */
    font-weight: 600;
}
.hero-tab-inactive:hover {
    background-color: #f1f5f9;
}

/* Standard Tab active styles (for Packages page) */
.tab-active {
    border-bottom: 3px solid #EAB308; /* Yellow 500 */
    color: #1E3A8A; /* Dark Blue */
    font-weight: 700;
}
.tab-inactive {
    border-bottom: 3px solid transparent;
    color: #64748b;
    font-weight: 600;
}
.tab-inactive:hover {
    color: #1E3A8A;
}

/* Sharp Shadows for Structured Look */
.savaari-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: 1px solid #e2e8f0;
}
.hover-savaari-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15), 0 6px 6px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* Form Inputs - Sharper borders */
input, select, textarea {
    font-family: 'Inter', sans-serif;
    outline: none;
    border-radius: 4px !important;
}
input::placeholder, textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.input-field {
    width: 100%;
    padding: 12px 16px;
    background-color: white;
    border: 1px solid #94a3b8;
    transition: all 0.2s ease;
}
.input-field:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 1px #1E3A8A;
}

/* Scrolling Marquee for Reviews */
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollReviews 30s linear infinite;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
.review-card {
    width: 320px;
    white-space: normal;
    display: inline-block;
    margin-right: 1.5rem;
}

/* Popup Modal Animations */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Popup scrolling gallery */
.popup-gallery {
    max-height: 60vh;
    overflow-y: auto;
}

/* Footer Moving Car Animation */
@keyframes driveCarBanner {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.footer-ticker {
    overflow: hidden;
    background-color: #EAB308; /* Accent Yellow */
    color: #1E3A8A; /* Primary Blue */
    display: flex;
    padding: 10px 0;
}
.footer-ticker-content {
    display: flex;
    white-space: nowrap;
}
.footer-ticker-item {
    padding: 0 60px;
    font-weight: 800;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-ticker-item i {
    color: white; /* White car */
    font-size: 1.8rem;
    margin-right: 15px;
}
