/* --- 1. GLOBAL VARIABLES (Matching Tailwind Colors) --- */
:root {
    --primary: #0284c7; /* Sky Blue 600 */
    --primary-dark: #0369a1; /* Sky Blue 700 */
    --primary-light: #e0f2fe; /* Sky Blue 100 */
    --accent: #fbbf24; /* Warm Amber 400 */
    --accent-dark: #f59e0b; /* Warm Amber 500 */
    --brand-dark: #0f172a; /* Slate 900 */
    --brand-light: #f8fafc; /* Slate 50 */
    --text-main: #475569; /* Slate 600 */
    --white-glass: rgba(255, 255, 255, 0.85);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--brand-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--brand-dark);
}

/* --- 2. CUSTOM UTILITIES & ANIMATIONS --- */
.about-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    /*margin-top: 80px; !* Offset for fixed nav *!*/
}
/* Top Bar */
.top-bar {
    background-color: var(--brand-dark);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1031;
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.top-bar a:hover {
    color: var(--accent);
}
.top-social-icon {
    font-size: 1.1rem;
    margin-left: 15px;
}

/* Main Navbar */
.glass-nav {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
    top: 0;
}

/* Sticky State */
.navbar-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-link {
    position: relative;
    color: var(--brand-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0 !important;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Animated Underline */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::before, .nav-link.active::before {
    width: 100%;
}


/* Button Styles */
.btn-primary-custom {
    background: linear-gradient(to right, var(--primary), #0ea5e9);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
    color: white;
}


/* --- 3. ANIMATIONS --- */

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes moveDots {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Animation Utility Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Reveal Effect */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- 4. SECTIONS SPECIFIC STYLES --- */

/* Hero */
.hero-section { position: relative; height: 500px; display: flex; align-items: center; overflow: hidden; }
@media (max-width: 768px) { .hero-section { height: 600px; } }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 0; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.2)); }

/* Slider Dots */
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 10px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; transition: all 0.3s; cursor: pointer; }
.slider-dot.active { background: white; transform: scale(1.2); }

/* Slider Controls (NEW) */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}
.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}
.slider-control.prev { left: 20px; }
.slider-control.next { right: 20px; }

@media (max-width: 768px) {
    .slider-control { width: 36px; height: 36px; font-size: 1.2rem; }
    .slider-control.prev { left: 10px; }
    .slider-control.next { right: 10px; }
}


/* Why Us Cards */
.feature-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 2rem;
    transition: transform 0.3s;
}

.feature-card:hover .icon-box {
    transform: scale(1.1);
}

/* Carousel (Destinations) */
.scrolling-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.scrolling-wrapper::-webkit-scrollbar {
    display: none; /* WebKit */
}

.card-trip {
    display: inline-block;
    width: 380px;
    white-space: normal;
    margin-right: 1.5rem;
    vertical-align: top;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .card-trip {
        width: 85vw;
    }
}

.card-trip:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Animated Dots Background */
.bg-animated-dots {
    background-color: var(--brand-dark);
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: moveDots 4s linear infinite;
}

/* Form */
.form-control, .form-select {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
    border-color: var(--primary);
    background-color: white;
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Back to Top Button */
#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
}

#backToTopBtn.show {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.5s;
}

#backToTopBtn:hover {
    transform: translateY(-5px);
    background-color: var(--primary-dark);
}