/* 📜 Reset & Tokens ------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* iOS Input Fixes */
input,
button,
select,
textarea,
a {
    touch-action: manipulation;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

:root {
    /* 🍏 Light Theme (Default) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #666666;
    --border-color: #E5E5E5;
    --input-bg: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);

    /* 🚌 Loading Animation Variables (Light) */
    --anim-bus-body: #624BFF;
    --anim-bus-accent1: #E91E63;
    --anim-bus-accent2: #FF5722;
    --anim-bus-windows: #222222;
    --anim-road-color: #CCCCCC;
    --anim-text-color: #624BFF;
    --anim-effect-color: rgba(98, 75, 255, 0.3);
    --anim-dust-color: #FF5722;
    --anim-shine: rgba(255, 255, 255, 0.3);
    --anim-shadow: rgba(0, 0, 0, 0.1);

    --white: #FFFFFF;
    --black: #000000;
    --g50: #FAFAFA;
    --g100: #F5F5F5;
    --g200: #E5E5E5;
    --g300: #D4D4D4;
    --g400: #A3A3A3;
    --g500: #737373;
    --g600: #525252;
    --g700: #404040;
    --g800: #262626;
    --g900: #171717;
    --accent: #FF6B35;
    --accent-warm: #FF4136;
    --accent-gold: #FFD700;
    --accent-teal: #4ECDC4;
    --accent-indigo: #667EEA;
    --accent-purple: #764BA2;
    --accent-gradient: linear-gradient(90deg, #FF6B35, #FF4136, #764BA2, #4ECDC4);
    --accent-gradient-btn: linear-gradient(135deg, #FF6B35 0%, #FF4136 40%, #764BA2 100%);
    --accent-glow: rgba(255, 107, 53, .3);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 72px;
}

[data-theme="dark"] {
    /* 🌙 Dark Theme */
    --bg-primary: #121212;
    --bg-secondary: #1A1A1A;
    --bg-card: #1E1E1E;
    --text-primary: #F5F5F5;
    --text-secondary: #D1D1D1;
    --text-muted: #A0A0A0;
    --border-color: #333333;
    --input-bg: #2D2D2D;
    /* User requested #2D2D2D */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);

    --g50: #1A1A1A;
    --g100: #222222;
    --g200: #333333;
    --g300: #444444;
    --g400: #666666;
    --g500: #888888;
    --g600: #AAAAAA;

    /* 🚌 Loading Animation Variables (Dark) */
    --anim-bus-body: #7B61FF;
    --anim-bus-accent1: #FF5E9B;
    --anim-bus-accent2: #FF824D;
    --anim-bus-windows: #000000;
    --anim-road-color: #444444;
    --anim-text-color: #7B61FF;
    --anim-effect-color: rgba(123, 97, 255, 0.4);
    --anim-dust-color: #FF824D;
    --anim-shine: rgba(255, 255, 255, 0.15);
    --anim-shadow: rgba(0, 0, 0, 0.4);
}



html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font-family: inherit;
    cursor: pointer
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px
}

@media(min-width:768px) {
    .container {
        padding: 0 40px
    }
}

@media(min-width:1440px) {
    .container {
        padding: 0 80px
    }
}

/* ⚓ Navbar --------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
    border-bottom: 1px solid transparent
}

.nav.scrolled {
    background: var(--bg-primary);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 20px;
    max-width: 1440px;
    margin: 0 auto
}

@media(min-width:768px) {
    .nav-inner {
        padding: 0 40px
    }
}

.nav-logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.02em
}

.nav-logo svg {
    margin-right: 10px;
    width: 36px;
    height: 36px;
    flex-shrink: 0
}

.nav-logo span {
    font-weight: 400;
    opacity: .5
}

.nav-links {
    display: none;
    list-style: none;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase
}

.nav-links li:not(:last-child) {
    margin-right: 32px
}

@media(min-width:768px) {
    .nav-links {
        display: flex
    }
}

.nav-links a {
    transition: opacity .3s var(--ease), color .3s var(--ease);
    opacity: .6
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent)
}

.theme-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}


.nav-hamburger {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 8px;
    background: none;
    border: none
}

.nav-hamburger span:not(:last-child) {
    margin-bottom: 5px
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease)
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

@media(min-width:768px) {
    .nav-hamburger {
        display: none
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 49
}

.mobile-menu.open {
    display: block
}

.mobile-menu ul {
    list-style: none;
    padding: 24px 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: .9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em
}

.mobile-menu ul li:not(:last-child) {
    margin-bottom: 20px
}

/* 🚩 Banner ------------------------- */
.banner {
    background: var(--g900);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
    margin-top: var(--nav-h)
}

/* 🚀 Hero --------------------------- */
.hero {
    padding: 60px 0 40px;
    text-align: center
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 16px
}

.hero h1 .colorful {
    background: linear-gradient(90deg, #FF6B35, #FF4136, #764BA2, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* 🗓️ Planner -------------------------- */
.planner {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.planner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    font-weight: 700;
}

.planner-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media(min-width:768px) {
    .planner-card {
        padding: 40px 36px
    }
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px 24px
}

.form-row>* {
    flex: 1 1 100%;
    margin: 8px
}

@media(min-width:480px) {
    .form-row>* {
        flex: 1 1 calc(50% - 16px)
    }
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}


.globe-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.toggle-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.toggle-btn {
    width: 100%;
    background: linear-gradient(90deg, #A71D31, #3F0D12);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s var(--ease);
    margin-bottom: 8px;
}

.toggle-btn.active {
    background: linear-gradient(90deg, #FF4136, #A71D31);
}

.toggle-btn::after {
    content: '\2303';
    font-size: 1.2rem;
    transition: transform 0.4s;
    opacity: 0.7;
}

.toggle-btn.active::after {
    transform: rotate(180deg);
}

.panel-slide {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.panel-slide.open {
    max-height: 100px;
    margin-bottom: 20px;
}

.pax-section {
    text-align: left;
    margin-top: 30px;
}

.occupancy-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--g400);
    margin-bottom: 12px;
}

.occupancy-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--g400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.occupancy-bar {
    width: 100%;
    height: 8px;
    background: var(--g200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.occupancy-fill {
    height: 100%;
    background: #20c997;
    border-radius: 4px;
    transition: width 0.6s var(--ease);
    box-shadow: 0 0 10px rgba(32, 201, 151, 0.4);
}

.btn-status-highlight {
    width: 100%;
    background: linear-gradient(90deg, #E65100, #EF6C00);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.3);
}

.group-type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-type {
    flex: 1;
    position: relative;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-type:hover {
    transform: translateY(-4px);
    background: var(--bg-card);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-type.active {
    background: var(--accent-gradient-btn);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-type .icon-wrap {
    font-size: 1.5rem;
    transition: transform 0.3s var(--ease);
}

.btn-type:hover .icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

/* Tooltip */
.tooltip-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    border: 1px solid var(--border-color);
}

.tooltip-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    width: 180px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    z-index: 100;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    pointer-events: none;
    text-align: left;
}

.tooltip-icon:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.btn-final {
    width: 100%;
    background: linear-gradient(90deg, #A71D31, #6A1B9A);
    border: none;
    border-radius: 16px;
    padding: 18px;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.3);
    text-transform: none;
}

.hero p {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500
}

/* 🖼️ Magazine Cards ----------------- */
.posters {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -10px;
    padding-bottom: 60px
}

.poster {
    -webkit-flex: 1 1 300px;
    flex: 1 1 300px;
    margin: 10px;
    perspective: 1000px;
}

.magazine-card {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.poster:hover .magazine-card {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.magazine-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.6s var(--ease);
}

.poster:hover .magazine-cover {
    scale: 1.05;
}

.magazine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    padding: 30px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    color: white;
}

.magazine-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.magazine-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.magazine-meta {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

/* 📸 Instagram Showcase --------------- */
.ig-section {
    padding: 60px 0;
    text-align: center
}

.ig-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 8px
}

.ig-section h2 em {
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.ig-section .ig-sub {
    font-size: 0.9rem;
    color: var(--g500);
    margin-bottom: 32px
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px
}

@media(min-width:480px) {
    .ig-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px
    }
}

@media(min-width:1024px) {
    .ig-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px
    }
}

.ig-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    background-clip: padding-box;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
    cursor: pointer
}

.ig-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px var(--accent-glow)
}

.ig-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
    gap: 6px
}

.ig-card-inner .icon {
    font-size: 2rem
}

.ig-card-inner h4 {
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 700
}

.ig-card-inner p {
    font-size: .68rem;
    color: var(--g500);
    line-height: 1.3
}

.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #F77737, #E1306C, #833AB4);
    color: white;
    font-size: .9rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
    box-shadow: 0 4px 20px rgba(225, 48, 108, .25)
}

.ig-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, .35);
    filter: brightness(1.1)
}

/* 👍 Trust Section --------------------- */
.trust-section {
    padding: 60px 0 80px;
    text-align: center
}

.trust-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px
}

.trust-section>p {
    font-size: .9rem;
    color: var(--g500);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
}

@media(min-width:600px) {
    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px
    }
}

.trust-card {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease)
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .06);
    border-color: var(--accent)
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px
}

.trust-card p {
    font-size: .82rem;
    color: var(--g500);
    line-height: 1.5
}

/* Distance Badge */
.distance-badge {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out)
}


.globe-wrap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 24px 0
}

.globe-svg {
    width: 140px;
    height: 140px
}

/* Distance badge removed from here, integrated into van container */
.trip-grid-custom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .trip-grid-custom {
        gap: 10px;
    }
}

.trip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    min-height: 220px;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.trip-header {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.trip-van-scale {
    transform: scale(0.65);
    margin: -15px 0 !important;
    min-height: 110px !important;
}

.trip-occupancy {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}


.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--input-bg);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all .3s var(--ease)
}


.toggle-btn.active {
    background: var(--accent-gradient-btn);
    color: var(--white);
    border-color: transparent
}

.panel-slide {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease-out), opacity .35s var(--ease), margin .35s var(--ease)
}

.panel-slide.open {
    max-height: 120px;
    opacity: 1;
    margin-top: 8px
}

.group-btn {
    flex: 1;
    position: relative;
    padding: 14px 8px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
    transition: all .25s var(--ease)
}


.group-btn.active {
    background: var(--accent-gradient-btn);
    color: var(--white);
    border-color: transparent
}

.cta {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: var(--accent-gradient-btn);
    color: var(--white);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    box-shadow: 0 4px 20px var(--accent-glow)
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    filter: brightness(1.1)
}

/* 🎯 Seçim Yapısı & Tooltips ---------------- */
/* Smart Alert Styling */
.smart-alert {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}


/* 🎯 Form Feedback ------------------------ */
.form-error-box {
    background: rgba(255, 65, 54, 0.1);
    border: 1px solid #FF4136;
    color: #FF4136;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
    text-align: center;
}

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    opacity: 0.7;
}

/* 🚐 Premium Van Loader & Decoration */
.hero-van-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    position: relative;
    padding: 10px 0;
    width: 100%;
    min-height: 120px;
}

.van-wrapper {
    position: relative;
    animation: suspension 1.2s ease-in-out infinite alternate;
    filter: drop-shadow(0 12px 10px var(--anim-shadow));
    z-index: 2;
}

.van-svg {
    width: 85px;
    height: auto;
}

.svg-body {
    fill: var(--anim-bus-body);
    transition: fill 0.3s ease;
}

.svg-accent1 {
    fill: var(--anim-bus-accent1);
    transition: fill 0.3s ease;
}

.svg-accent2 {
    fill: var(--anim-bus-accent2);
    transition: fill 0.3s ease;
}

.svg-windows {
    fill: var(--anim-bus-windows);
    transition: fill 0.3s ease;
}

.svg-shine {
    fill: var(--anim-shine);
    transition: fill 0.3s ease;
}

.effects-container {
    position: absolute;
    bottom: 30px;
    left: 45%;
    transform: translateX(-100%);
    width: 80px;
}

.speed-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--anim-effect-color));
    animation: shootLine 0.8s linear infinite;
    margin-bottom: 6px;
}

.dust-particle {
    width: 3px;
    height: 3px;
    background: var(--anim-dust-color);
    border-radius: 50%;
    position: absolute;
    animation: puffDust 0.6s ease-out infinite;
    opacity: 0;
}

.road-container {
    width: 160px;
    height: 3px;
    background: var(--border-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
    margin-top: -2px;
    z-index: 1;
}

.road-moving-part {
    position: absolute;
    left: -100%;
    width: 300%;
    height: 100%;
    background-image: linear-gradient(90deg, transparent 10%, var(--anim-road-color) 10%, var(--anim-road-color) 40%, transparent 40%);
    background-size: 60px 100%;
    animation: roadSlide 0.6s linear infinite;
}

/* Updated Distance Badge for Hero Van */
.distance-badge {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: var(--input-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s var(--ease);
    z-index: 3;
}

.distance-badge.show {
    opacity: 1;
    transform: translateY(0);
}

.loading-text {
    margin-top: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--anim-text-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes suspension {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(2px);
    }
}

@keyframes roadSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-60px);
    }
}

@keyframes puffDust {
    0% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    100% {
        transform: translate(-30px, -3px) scale(0.2);
        opacity: 0;
    }
}

@keyframes shootLine {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(-30px);
        opacity: 0;
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Numeric Input Fix ---------------------- */
input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 🌫️ Animations ------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out)
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

/* 📱 Footer ----------------------------- */
.footer {
    background: #0A0A0A;
    border-top: 1px solid #1A1A1A;
    padding: 60px 0;
    color: #888;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

@media(min-width:768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media(min-width:768px) {
    .footer-brand {
        align-items: flex-start;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #888;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-email {
    background: var(--accent-gradient-btn);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    transition: opacity 0.3s var(--ease);
}

.footer-email:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    font-weight: 600;
    margin-top: 4px;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #FF6B35;
}

.footer-copy {
    font-size: 0.8rem;
    color: #555;
    max-width: 250px;
}

/* 🎉 Success Overlay -------------------- */
.success-bg {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 20px;
    text-align: center;
}


.success-bg.show {
    display: flex;
    animation: fadeInOverlay 0.5s ease forwards;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.success-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    max-width: 450px;
    width: 100%;
    transform: translateY(20px);
    animation: slideUpContent 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


@keyframes slideUpContent {
    to {
        transform: translateY(0);
    }
}

.success-bg h3 {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--accent-gradient-btn);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.success-bg p {
    font-size: 1rem;
    color: var(--g600);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 🎊 Confetti Container ----------------- */
#confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1001;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    top: -20px;
    opacity: 0;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* 💬 WhatsApp Fix ----------------------- */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s var(--ease);
    animation: waPulse 3s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.wa-share-btn {
    background: #25D366 !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2) !important;
}

/* Toggle section gap fallback ----------- */
.toggle-section>*:not(:last-child) {
    margin-bottom: 12px
}

/* Group type row gap fallback ----------- */
.group-type-row>*:not(:last-child) {
    margin-right: 12px
}
/* ?? Gezi Search -------------------------- */
.gezi-search-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gezi-search-box {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 6px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-md);
}

.gezi-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.gezi-search-btn {
    background: var(--accent-gradient-btn);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.gezi-search-btn:hover {
    transform: scale(1.05);
}

.gezi-search-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 480px) {
    .gezi-search-box {
        max-width: 100%;
    }
}

/* ??? Demand Management & Privacy Styles */
.gezi-search-results {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 15px;
}

.demand-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.masked-data {
    font-family: monospace;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.join-btn {
    background: var(--accent-gradient-btn);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
}

.viewer-count {
    font-size: 0.7rem;
    color: var(--accent-teal);
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.viewer-count::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
