/* ===== Velvet Ceylon Tours - Custom Styles ===== */

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

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

/* Playfair headings */
.font-playfair,
h1, h2 {
    font-family: 'Playfair Display', serif;
}

/* Hero canvas */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hero Image Slideshow */
.hero-slideshow {
    z-index: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero-slide.active img {
    transform: scale(1);
}

/* Navbar scroll effect */
nav.scrolled .nav-bg {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
}

/* Tour card hover */
.tour-card:hover .tour-card-img {
    transform: scale(1.1);
}

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

/* Section heading underline */
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0D9488;
    margin-top: 12px;
}

.section-heading.center::after {
    margin-left: auto;
    margin-right: auto;
}

/* Swiper custom */
.swiper-pagination-bullet-active {
    background: #0D9488 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0D9488 !important;
}

/* Stats counter */
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D9488;
}

/* Form focus */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0D9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Itinerary accordion */
.itinerary-item {
    border-left: 3px solid #0D9488;
    transition: all 0.3s ease;
}

.itinerary-item:hover {
    background: #F0FDFA;
}

/* Loading spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0D9488;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* Bestseller badge pulse */
.badge-bestseller {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212, 168, 83, 0); }
}

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

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}
