/* --- LUXURY SKY BLUE THEME SETUP --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root { 
    --primary-color: #3cb9e7; /* Trek Nation Sky Blue */
    --primary-hover: #29a0cc; 
    --dark-bg: #111111; 
    --light-bg: #f5f5f7;      
    --text-dark: #1d1d1f; 
    --text-light: #ffffff; 
    --card-radius: 20px; /* Tighter radius for smaller cards */
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background-color: var(--light-bg); 
    color: var(--text-dark); 
    line-height: 1.5; 
    letter-spacing: -0.015em; 
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 80px 20px 20px; }

/* --- TOP ANNOUNCEMENT BAR & NAVIGATION --- */
.top-bar { background-color: var(--primary-color); color: var(--text-light); display: flex; justify-content: space-between; padding: 10px 40px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }

.navbar { background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; transition: all 0.3s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; max-width: 1400px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.logo { color: var(--primary-color); font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }

/* --- CINEMATIC HERO SECTION & SLIDER LOGIC --- */
.hero-slider { position: relative; height: 80vh; overflow: hidden; background-color: var(--dark-bg); }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: white; opacity: 0; transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.bg-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%); z-index: -1; }

.hero-content { max-width: 900px; padding: 0 20px; z-index: 5; transform: translateY(20px); opacity: 0; transition: all 1s ease 0.3s; }
.slide.active .hero-content { transform: translateY(0); opacity: 1; }
.premium-title { font-size: clamp(2.5rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 15px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; font-weight: 300; margin-bottom: 40px; opacity: 0.9; }

.btn-primary { display: inline-block; background-color: var(--text-light); color: #01010a; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 1.05rem; transition: all 0.3s ease; }
.btn-primary:hover { background-color: var(--primary-color); color: var(--text-light); transform: scale(1.05); }

/* RESTORED: Banner Arrows & Dots Logic */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: white; border: none; font-size: 1.5rem; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 10; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }
.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 10px; height: 10px; background-color: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: 0.4s ease; }
.dot:hover, .dot.active { background-color: var(--primary-color); transform: scale(1.4); }

/* --- LUXURY SECTION HEADERS --- */
.section-header { display: flex; justify-content: center; align-items: center; margin-bottom: 40px; }
.section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dark); display: flex; align-items: center; }
.section-title::before, .section-title::after { content: ''; height: 2px; width: clamp(30px, 5vw, 60px); background-color: var(--text-dark); margin: 0 15px; }

/* --- MINIMALIST CATEGORIES --- */
.category-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.category-item { background-color: white; color: var(--text-dark); border: 1px solid rgba(0,0,0,0.05); padding: 10px 24px; border-radius: 50px; font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; }
.category-item:hover { background-color: var(--primary-color); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-color: var(--primary-color); }

/* --- CAROUSEL TRACK (For Cards) --- */
.carousel-container { width: 100%; position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 5px 30px 5px; scrollbar-width: thin; scrollbar-color: #d1d1d6 transparent; }
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.carousel-track::-webkit-scrollbar-thumb { background: #d1d1d6; border-radius: 10px; }
.carousel-track::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* Floating Arrows for Card Carousel */
.scroll-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 45px; height: 45px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border: 1px solid rgba(0,0,0,0.05); border-radius: 50%; font-size: 1.2rem; color: var(--text-dark); cursor: pointer; z-index: 10; box-shadow: 0 4px 15px rgba(0,0,0,0.1); display: none; align-items: center; justify-content: center; transition: all 0.3s ease; }
.scroll-arrow:hover { background: var(--primary-color); color: white; transform: translateY(-50%) scale(1.1); }
.left-arrow { left: -10px; } 
.right-arrow { right: -10px; }

/* =========================================================
   PERFECTLY SIZED DESTINATION CARDS
   ========================================================= */
.trip-card { 
    background-color: white; 
    border-radius: var(--card-radius); 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.04); 
    border: 1px solid rgba(0,0,0,0.03); 
    transition: all 0.3s ease; 
    display: flex;
    flex-direction: column;
    
    /* Perfect Base Width for Mobile Scroller */
    flex: 0 0 240px; 
}

.trip-card:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(0,0,0,0.08); }

.trip-image { position: relative; }
.trip-image img { width: 100%; height: 160px; object-fit: cover; display: block; }
.badge { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.95); color: var(--primary-color); padding: 4px 12px; border-radius: 30px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.trip-details { padding: 15px 20px 20px; } 
.trip-details h3 { margin-bottom: 6px; font-size: 1.15rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-dark); }
.trip-details p { color: #6e6e73; margin-bottom: 18px; font-size: 0.9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } 

.btn-outline { display: inline-block; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 20px; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 0.85rem; transition: all 0.3s ease; }
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* --- SCROLL ANIMATIONS --- */
.scroll-animate { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE ADAPTATIONS
   ========================================================= */

/* Tablets (iPad) */
@media (min-width: 768px) {
    .trip-card { flex: 0 0 280px; } 
    .trip-image img { height: 180px; }
    .scroll-arrow { display: flex; } /* Show desktop arrows for the card carousel */
}

/* Laptops / Desktops */
@media (min-width: 1024px) {
    .trip-card { flex: 0 0 300px; } 
    .trip-image img { height: 200px; }
    .trip-details { padding: 20px 25px 25px; } 
}

/* Large Displays (4K) */
@media (min-width: 1440px) {
    .trip-card { flex: 0 0 320px; }
    .trip-image img { height: 220px; }
}

/* --- FOOTER --- */
.footer { background-color: #111111; color: #a1a1a6; padding: 60px 20px 20px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.95rem; }
.footer-col ul a { color: #a1a1a6; text-decoration: none; transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }