/* ============================================================
   EXTERNAL CSS – style.css
   C&K SERVICES | Curaçao Tours
   Clean, accessible, and mobile‑first
   ============================================================ */

/* ---------- 1. RESET & VARIABLES ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #F5C518;
    --yellow-dark: #D4A010;
    --blue: #1E6B8F;
    --blue-light: #2A85AA;
    --blue-dark: #15506E;
    --gray-dark: #1a1a1a;
    --body-bg: #ffffff;
    --text-dark: #1e2a2e;
    --text-soft: #5a6e6a;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
}

/* ---------- 2. BASE & TYPOGRAPHY ---------- */
body, html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--body-bg);
    color: var(--text-dark);
    line-height: 1.5;
    font-family: var(--font-body);
    font-weight: 400;
    scroll-behavior: smooth;          /* enables smooth scrolling for anchor links */
}

body, p, li, span, div:not(.tour-img):not(.transfer-image), 
.contact-info, .top-bar, .language-selector, .nav-links a, 
footer, .transfer-highlight, .tour-price, .transfer-badge, 
.btn, .btn-secondary, .btn-outline-light, input, select, textarea, button, 
.section-sub, .final-cta-content p, ul li, .tour-card-content p {
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6, 
.logo h1, .hero h1, .section-title, 
.transfer-content h2, .tour-card-content h3, 
.final-cta-content h3, .navbar .logo h1, 
.transfer-badge, .final-cta h3 {
    font-family: var(--font-heading) !important;
    font-weight: 600;
    letter-spacing: -0.01em;
}

i, .fas, .far, .fab, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

.hero h1 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.section-title { font-weight: 600; letter-spacing: -0.02em; }
.logo h1 { font-weight: 700; letter-spacing: -0.02em; font-size: 1.8rem; }
.btn, .btn-secondary, .btn-outline-light, .nav-cta { font-weight: 500; letter-spacing: 0.01em; }
.tour-price, .transfer-badge { font-weight: 600; letter-spacing: -0.2px; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 4. TOP BAR ---------- */
.top-bar {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(4px);
    color: #ddd;
    padding: 10px 24px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-bar.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.contact-info i {
    margin-right: 6px;
    color: var(--yellow);
}
.language-selector {
    background: rgba(42, 42, 42, 0.9);
    border: 1px solid var(--yellow);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ---------- 5. NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.3s, backdrop-filter 0.3s, top 0.3s;
    padding: 0.8rem 0;
    z-index: 150;
}
.navbar.top-zero { top: 0; }
.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo h1 { color: white; }
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.2s;
}
.nav-links a:hover { color: var(--yellow); }
.nav-cta {
    background: var(--yellow);
    color: #111 !important;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 700;
}
.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3);
}

/* ---------- 6. HERO ---------- */
.hero {
    background-image: url('https://res.cloudinary.com/dhwwgua60/image/upload/v1776138546/ramon-kagie-OjwY8D-dIj4-unsplash_whwxya.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1rem; }
.hero p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; opacity: 0.95; }
.btn-outline-light {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 32px;
    border: 2px solid var(--yellow);
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.btn-outline-light:hover {
    background: var(--yellow);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245,197,24,0.3);
}

/* ---------- 7. SECTION STYLES ---------- */
.section-white {
    background: white;
    border-radius: 32px;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
}
.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), var(--blue-light));
    border-radius: 2px;
    opacity: 0.8;
}
.section-sub {
    text-align: center;
    color: var(--text-soft);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ---------- 8. STATS CARDS ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 2rem 0 0.5rem;
}
.stat-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
    will-change: transform;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(0,0,0,0.08);
}
.stat-card-img {
    height: 180px;
    background-size: cover;
    background-position: center 30%;
    position: relative;
}
.stat-card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}
.stat-card-content { padding: 1.5rem 1.3rem; background: white; text-align: left; }
.stat-number { font-size: 2.6rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.4rem; }
.stat-label { font-size: 1rem; font-weight: 600; color: #1e2a2e; margin-bottom: 0.2rem; }
.stat-description { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.5rem; border-top: 1px solid #eee; padding-top: 0.8rem; }

/* ---------- 9. TRANSFER PROMO (refined) ---------- */
.transfer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fcff 100%);
    border-radius: 40px;
    margin: 2.5rem 0;
    padding: 0.5rem;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05), 
                0 5px 12px -4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.transfer-section:hover {
    box-shadow: 0 30px 45px -12px rgba(0, 0, 0, 0.08),
                0 8px 18px -6px rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
}
.transfer-content {
    flex: 1;
    padding: 2.2rem 2rem 2.2rem 2.5rem;
}
.transfer-badge {
    display: inline-block;
    background: var(--yellow);
    color: #111;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(245, 197, 24, 0.15);
    text-transform: uppercase;
}
.transfer-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-dark);
}
.transfer-content p {
    font-size: 1rem;
    color: var(--text-soft);
    margin-bottom: 1.2rem;
    max-width: 90%;
}
.transfer-highlight {
    background: rgba(30, 107, 143, 0.06);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
    margin: 0.5rem 0 1.2rem;
    border: 1px solid rgba(30, 107, 143, 0.1);
    backdrop-filter: blur(4px);
}
.transfer-highlight i {
    margin-right: 8px;
    color: var(--blue);
}
.transfer-content ul {
    list-style: none;
    margin: 1.5rem 0 1.8rem;
}
.transfer-content ul li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}
.transfer-content ul li i {
    color: var(--blue);
    font-size: 1.1rem;
    min-width: 18px;
}
.transfer-image {
    flex: 0.9;
    min-width: 280px;
    padding: 1.2rem 1.2rem 1.2rem 0;
}
.transfer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 32px;
    box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.transfer-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 22px 35px -12px rgba(0, 0, 0, 0.15);
}

/* ---------- 10. BUTTONS (consolidated) ---------- */
.btn-secondary {
    background: var(--yellow);
    color: #111;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(245, 197, 24, 0.2);
}
.btn-secondary:hover {
    background: var(--yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(245, 197, 24, 0.3);
}
.btn-secondary i {
    margin-left: 6px;
    transition: transform 0.2s;
}
.btn-secondary:hover i {
    transform: translateX(3px);
}
.btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
}

/* ---------- 11. TOUR CARDS ---------- */
.tour-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.tour-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    will-change: transform;
}
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,0.1); }
.tour-img { height: 200px; background-size: cover; background-position: center; }
.tour-card-content { padding: 1.2rem; }
.tour-icon { font-size: 1.5rem; color: var(--blue); margin-bottom: 0.5rem; }
.tour-card-content h3 { font-size: 1.3rem; }
.tour-price {
    color: var(--yellow-dark);
    background: rgba(245,197,24,0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* ---------- 12. FINAL CTA ---------- */
.final-cta {
    background-image: url('https://res.cloudinary.com/dhwwgua60/image/upload/q_auto/f_auto/v1776139070/pexels-taylen-lundequam-393935458-16215569_zdeey4.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2rem 0;
}
.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    border-radius: 32px;
}
.final-cta-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 2rem;
}
.final-cta-content h3 { font-size: 1.8rem; }

/* ---------- 13. FOOTER ---------- */
footer {
    background: #111;
    color: #aaa;
    padding: 2rem 0;
    text-align: center;
}
footer a { color: var(--yellow); text-decoration: none; }
hr { border-color: #2a2a2a; margin: 1rem 0; }

/* ---------- 14. SCROLL ANIMATIONS ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
    will-change: opacity, transform;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 15. MOBILE MENU ---------- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 152;
}
.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    
    .nav-flex {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .logo h1 { font-size: 1.5rem; white-space: nowrap; }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        padding: 5rem 2rem;
        gap: 1.5rem;
        align-items: flex-start;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        z-index: 2;
        overflow-y: auto;
        pointer-events: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links a {
        color: white;
        font-size: 1.2rem;
        padding: 0.5rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        pointer-events: auto;
    }
    .nav-links .nav-cta {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        border-bottom: none;
    }
    
    .navbar { top: 42px; padding: 0.5rem 0; }
    .top-bar { padding: 6px 16px; gap: 8px; }
    .contact-info { gap: 12px; font-size: 0.75rem; }
    .contact-info span:nth-child(2) { display: none; }
    .language-selector { padding: 4px 8px; font-size: 0.75rem; }
    
    .hero .container { padding-top: 100px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .btn-outline-light { padding: 10px 24px; }
    
    .section-title { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .transfer-section { gap: 0; padding: 0; flex-direction: column; }
    .transfer-content { padding: 1.8rem 1.5rem; }
    .transfer-content p { max-width: 100%; }
    .transfer-image { padding: 0 1.5rem 1.5rem; order: -1; max-height: 250px; }
    .transfer-image img { border-radius: 28px; }
    .tour-preview { grid-template-columns: 1fr; }
    .final-cta-content h3 { font-size: 1.4rem; }
    
    body { padding-top: 0; }
}

@media (max-width: 480px) {
    .logo h1 { font-size: 1.2rem; }
    .language-selector { display: none; }
    .navbar { top: 38px; }
    .hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
}