/* =============================================
   TravelEase — Premium Design System
   Inspired by Emil Kowalski's craft philosophy
   ============================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #06b6d4;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --surface: #ffffff;
    --surface-2: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --navbar-bg-1: #0f172a;
    --navbar-bg-2: #1e293b;
    --footer-bg-1: #0f172a;
    --footer-bg-2: #020617;

    /* Refined elevation system */
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-4: 0 4px 8px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.06);
    --shadow-8: 0 8px 16px rgba(0, 0, 0, 0.06), 0 16px 32px rgba(0, 0, 0, 0.08);
    --shadow-16: 0 16px 32px rgba(0, 0, 0, 0.08), 0 32px 64px rgba(0, 0, 0, 0.1);
    --shadow-color: 0 4px 14px rgba(37, 99, 235, 0.25);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.4s;
    --duration-fast: 0.2s;
    --duration-slow: 0.6s;
}

/* ── Dark Theme ─────────────────────────────── */
[data-theme="dark"] {
    --primary: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-light: #93c5fd;
    --light-bg: #0c1222;
    --surface: #1a2332;
    --surface-2: #243447;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
    --navbar-bg-1: #0c1222;
    --navbar-bg-2: #1a2332;
    --footer-bg-1: #080e1a;
    --footer-bg-2: #040812;
}
[data-theme="dark"] body { background: var(--light-bg); color: var(--text-primary); }
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white { background: var(--surface) !important; color: var(--text-primary); }
[data-theme="dark"] .text-dark { color: var(--text-primary) !important; }
[data-theme="dark"] .text-muted { color: var(--text-secondary) !important; }
[data-theme="dark"] .table { color: var(--text-primary); --bs-table-bg: transparent; }
[data-theme="dark"] .table thead th { background: var(--surface-2); color: var(--text-primary); border-color: var(--border); }
[data-theme="dark"] .table td, [data-theme="dark"] .table th { border-color: var(--border); }
[data-theme="dark"] .modal-content { background: var(--surface); color: var(--text-primary); }
[data-theme="dark"] .alert-success { background: #064e3b; color: #d1fae5; }
[data-theme="dark"] .alert-danger { background: #7f1d1d; color: #fee2e2; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--surface); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #475569; }
[data-theme="dark"] .card { border: 1px solid var(--border); background: var(--surface); }
[data-theme="dark"] .card:hover {
    border-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(96, 165, 250, 0.05);
}
[data-theme="dark"] .card:hover .card-title { color: var(--primary-light); }
[data-theme="dark"] .card:hover .d-flex.gap-1 .badge {
    border-color: rgba(96, 165, 250, 0.2);
    background: rgba(96, 165, 250, 0.08);
    color: var(--primary-light);
}
[data-theme="dark"] .filter-card, [data-theme="dark"] .booking-form { border: 1px solid var(--border); }
[data-theme="dark"] .testimonial-card { border: 1px solid var(--border); }

/* ── Base ─────────────────────────────────────── */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
a { text-decoration: none; transition: color var(--duration-fast) var(--transition); }
::selection { background: var(--primary); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ── Navbar ───────────────────────────────────── */
.navbar {
    background: var(--navbar-bg-1) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 0.7rem 0;
    transition: all var(--duration) var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1050;
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.navbar-brand i { color: var(--accent); font-size: 1.3rem; }
.navbar .nav-link {
    position: relative;
    padding: 0.5rem 0.75rem !important;
    font-weight: 500;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all var(--duration-fast) var(--transition);
    color: #fff !important;
}
.navbar .nav-link:hover, .navbar .nav-link.active { opacity: 1; }
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    width: 0; height: 2px;
    background: var(--accent);
    transition: all 0.3s var(--transition-spring);
    transform: translateX(-50%);
    border-radius: 2px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 20px; }

/* Nav search */
.nav-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-search-wrapper i {
    position: absolute;
    left: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    pointer-events: none;
}
.nav-search-wrapper input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 100px;
    padding: 0.45rem 1rem 0.45rem 2.2rem;
    font-size: 0.82rem;
    transition: all var(--duration-fast) var(--transition);
    width: 170px;
    outline: none;
}
.nav-search-wrapper input::placeholder { color: rgba(255, 255, 255, 0.45); }
.nav-search-wrapper input:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
    width: 210px;
}

/* Nav icon button */
.nav-icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all var(--duration-fast) var(--transition);
    text-decoration: none;
    position: relative;
}
.nav-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-badge {
    position: absolute;
    top: 2px; right: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Nav avatar */
.nav-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Custom hamburger toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    transition: background var(--duration-fast) var(--transition);
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:hover { background: rgba(255, 255, 255, 0.08); }
.toggler-bar {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--transition);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-16);
    padding: 0.5rem;
    animation: dropdownFade 0.25s var(--transition);
    backdrop-filter: blur(20px);
    background: var(--surface);
}
.dropdown-header {
    border-radius: var(--radius-sm);
}
.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    transition: all var(--duration-fast) var(--transition);
}
.dropdown-item:hover { background: var(--surface-2); transform: none; }
.dropdown-item.text-danger:hover { background: rgba(239, 68, 68, 0.08); }
@keyframes dropdownFade { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── Buttons (craft details) ──────────────── */
.btn {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-fast) var(--transition);
    box-shadow: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-4); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; transition-duration: 0.1s; }
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-color);
}
.btn-accent, .btn-warning {
    background: var(--accent);
    color: #fff;
    border: none;
}
.btn-accent:hover, .btn-warning:hover {
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}
.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; border-radius: 8px; }
.btn-lg { padding: 0.8rem 2rem; font-size: 0.95rem; border-radius: var(--radius); }
/* Subtle shine effect on primary buttons */
.btn-primary::before, .btn-accent::before, .btn-warning::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s var(--transition);
}
.btn-primary:hover::before, .btn-accent:hover::before, .btn-warning:hover::before {
    left: 100%;
}

/* ── Cards (elevated craft) ──────────────────── */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-1);
    transition: all 0.5s var(--transition);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(160deg, rgba(255,255,255,0.1), transparent 40%, transparent 60%, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--transition);
}
.card:hover::before { opacity: 1; }
.card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 235, 0.1);
}
.card .position-relative,
.card .overflow-hidden:first-child {
    position: relative;
    overflow: hidden;
}
.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s var(--transition), filter 0.7s var(--transition);
}
.card:hover .card-img-top { transform: scale(1.06); filter: brightness(1.03); }
/* Image overlay gradient */
.card .position-relative::after,
.card .overflow-hidden:first-child::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.04), transparent);
    pointer-events: none;
    transition: opacity 0.5s var(--transition);
}
.card:hover .position-relative::after,
.card:hover .overflow-hidden:first-child::after {
    opacity: 0.6;
}
.card-body { padding: 1.5rem; }
.card-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    transition: color 0.3s var(--transition);
}
.card:hover .card-title { color: var(--primary); }
.card .badge {
    position: absolute;
    top: 14px; right: 14px;
    padding: 0.45rem 0.8rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s var(--transition-spring);
}
.card:hover .badge { transform: scale(1.05); }
/* Card inner button glow on hover */
.card:hover .btn-primary {
    box-shadow: var(--shadow-color);
}
/* Staggered card entrance for grids */
.row > [class*="col-"]:nth-child(1) .card { transition-delay: 0ms; }
.row > [class*="col-"]:nth-child(2) .card { transition-delay: 40ms; }
.row > [class*="col-"]:nth-child(3) .card { transition-delay: 80ms; }
.row > [class*="col-"]:nth-child(4) .card { transition-delay: 120ms; }

/* ── Hero (immersive & modern) ───────────────── */
.hero-section {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--light-bg);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-section h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    animation: heroFadeUp 0.8s var(--transition);
    position: relative;
}
.hero-section p {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
    animation: heroFadeUp 0.8s 0.1s var(--transition) both;
    position: relative;
}
.hero-section .btn { animation: heroFadeUp 0.8s 0.2s var(--transition) both; position: relative; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Floating orbs decoration */
.hero-section .container { position: relative; z-index: 1; }

/* ── Section title ───────────────────────────── */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.03em;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 3px;
    background: var(--accent);
    border-radius: 100px;
}

/* ── Pricing tag ─────────────────────────────── */
.price-tag {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #e11d48);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* ── Card content details ────────────────────── */
.card .text-muted.small i { color: var(--primary-light); }
.card .d-flex.gap-1 .badge {
    position: static;
    box-shadow: none;
    backdrop-filter: none;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    font-weight: 500;
}
.card:hover .d-flex.gap-1 .badge {
    border-color: rgba(37, 99, 235, 0.15);
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

/* ── Feature icons ───────────────────────────── */
.feature-icon {
    width: 72px; height: 72px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: var(--shadow-color);
    transition: all var(--duration) var(--transition-spring);
}
.feature-icon:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-8); }

/* ── Testimonial cards ───────────────────────── */
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--duration) var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-4); border-color: transparent; }
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.12;
    position: absolute;
    top: 12px; left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-card .stars { color: #f59e0b; }

/* ── Page banner ─────────────────────────────── */
.page-banner {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 4.5rem 0 5.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.1), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.08), transparent 50%);
}
.page-banner h1 { font-weight: 800; position: relative; letter-spacing: -0.03em; }
.page-banner p { opacity: 0.7; position: relative; }

/* ── Forms (clean & precise) ───────────────── */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: all var(--duration-fast) var(--transition);
    background: var(--surface);
    color: var(--text-primary);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}
.form-label { font-weight: 600; color: var(--text-primary); margin-bottom: 0.4rem; font-size: 0.85rem; }

/* ── Filter / booking cards ──────────────────── */
.filter-card, .booking-form {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}
.filter-card h5 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
}

/* ── Stat cards (dashboard) ──────────────────── */
.stat-card {
    border-radius: var(--radius);
    padding: 1.8rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-4);
    transition: all var(--duration) var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-8); }
.stat-card .stat-icon {
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    opacity: 0.2;
}
.stat-card h3 { font-weight: 800; margin-bottom: 0.25rem; font-size: 2rem; letter-spacing: -0.03em; }

/* ── Badges ──────────────────────────────────── */
.badge { font-weight: 600; padding: 0.35em 0.7em; border-radius: 6px; font-size: 0.75rem; letter-spacing: 0; }
.badge-pending { background-color: #fef3c7; color: #92400e; }
.badge-confirmed { background-color: #d1fae5; color: #065f46; }
.badge-cancelled { background-color: #fee2e2; color: #991b1b; }
.bg-accent { background: var(--accent) !important; color: #fff; }
.text-accent { color: var(--accent) !important; }

/* ── Auth Pages (Split Layout) ───────────────── */
.auth-page {
    min-height: 100vh;
    background: var(--light-bg);
}
.auth-page-inner {
    display: flex;
    min-height: 100vh;
}

/* Left visual panel */
.auth-visual {
    flex: 0 0 45%;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.auth-visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(96, 165, 250, 0.12), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(249, 115, 22, 0.08), transparent 50%);
}
.auth-visual-content {
    position: relative;
    color: #fff;
    max-width: 380px;
}
.auth-visual-icon {
    width: 70px; height: 70px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.auth-visual h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.auth-visual p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.auth-visual-stats {
    display: flex;
    gap: 2rem;
}
.auth-stat {
    display: flex;
    flex-direction: column;
}
.auth-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.auth-stat span {
    font-size: 0.72rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    opacity: 0.85;
}
.auth-feature-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Right form panel */
.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.auth-form-container {
    width: 100%;
    max-width: 420px;
    animation: cardFloat 0.5s var(--transition);
}
@keyframes cardFloat { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.auth-heading {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.auth-subheading {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Auth inputs */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-wrapper > i {
    position: absolute;
    left: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 1;
}
.auth-input {
    padding-left: 2.5rem !important;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1.5px solid var(--border);
    transition: all var(--duration-fast) var(--transition);
}
.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.auth-toggle-pass {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.95rem;
    transition: color var(--duration-fast) var(--transition);
    z-index: 1;
}
.auth-toggle-pass:hover { color: var(--primary); }

/* Submit button */
.auth-submit-btn {
    padding: 0.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}
.auth-submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s var(--transition);
}
.auth-submit-btn:hover::after { transform: translateX(100%); }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Social buttons */
.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--duration-fast) var(--transition);
}
.auth-social-btn:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-1px);
}

/* Auth link */
.auth-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--duration-fast) var(--transition);
}
.auth-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* Legacy wrapper (fallback) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0f172a, #1e293b);
    padding: 2rem 0;
}
.auth-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-16);
    border: 1px solid var(--border);
}

/* Auth responsive */
@media (max-width: 992px) {
    .auth-page-inner { flex-direction: column; }
    .auth-visual { display: none !important; }
    .auth-form-side { padding: 2rem 1.5rem; min-height: 100vh; }
}
@media (max-width: 480px) {
    .auth-form-container { max-width: 100%; }
    .auth-heading { font-size: 1.3rem; }
    .auth-form-side { padding: 1.5rem 1rem; }
}

/* ── Alerts ──────────────────────────────────── */
.alert {
    border: none;
    border-radius: var(--radius);
    box-shadow: none;
    border-left: 3px solid;
    padding: 1rem 1.25rem;
    animation: slideDown 0.4s var(--transition);
    font-size: 0.9rem;
}
.alert-success { border-left-color: #10b981; background: #ecfdf5; color: #065f46; }
.alert-danger { border-left-color: #ef4444; background: #fef2f2; color: #991b1b; }
.alert-warning { border-left-color: #f59e0b; background: #fffbeb; color: #92400e; }
.alert-info { border-left-color: #06b6d4; background: #ecfeff; color: #155e75; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Footer ──────────────────────────────────── */
footer {
    background: var(--footer-bg-1) !important;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
footer h5, footer h6 { color: #fff; margin-bottom: 1rem; font-weight: 700; font-size: 1rem; }
footer a { color: rgba(255, 255, 255, 0.55) !important; transition: all var(--duration-fast) var(--transition); font-size: 0.9rem; }
footer a:hover { color: var(--accent) !important; padding-left: 3px; }
footer .text-muted { color: rgba(255, 255, 255, 0.55) !important; font-size: 0.9rem; }
footer .bi { color: var(--accent); margin-right: 4px; }

/* ── Admin sidebar ───────────────────────────── */
.admin-sidebar {
    min-height: 100vh;
    background: var(--dark);
    color: #fff;
    width: 260px;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    transition: transform 0.3s var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 0.7rem 1.1rem;
    border-radius: var(--radius-sm);
    margin: 2px 10px;
    transition: all var(--duration-fast) var(--transition);
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(96, 165, 250, 0.12);
    color: #fff;
    transform: none;
}
.admin-sidebar .nav-link.active { background: var(--primary); color: #fff; }
.admin-content { margin-left: 260px; padding: 2rem; min-height: 100vh; background: var(--light-bg); color: var(--text-primary); }
.sidebar-brand { padding: 1.4rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.sidebar-brand h5 { color: #fff; font-weight: 800; font-size: 1.1rem; }
.sidebar-brand h5 i { color: var(--accent); }
.sidebar-brand small { color: rgba(255, 255, 255, 0.45); }
.admin-sidebar .nav small { color: rgba(255, 255, 255, 0.35); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; padding: 0 1.5rem; margin-top: 1rem !important; display: block; text-transform: uppercase; }

/* ── Admin top bar ──────────────────────────── */
.admin-topbar {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.admin-topbar h4 { color: var(--text-primary); font-weight: 700; }
.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--transition);
}
.topbar-user:hover { background: var(--surface-2); color: var(--text-primary); }
.topbar-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ── Theme toggle ───────────────────────────── */
.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--transition);
    font-size: 1rem;
    margin-right: 0.5rem;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
}
.theme-toggle.admin {
    background: var(--surface-2);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.theme-toggle.admin:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
[data-theme="dark"] .theme-toggle .bi-sun-fill { display: inline; }
[data-theme="dark"] .theme-toggle .bi-moon-stars-fill { display: none; }
.theme-toggle .bi-sun-fill { display: none; }
.theme-toggle .bi-moon-stars-fill { display: inline; }

/* Tables in admin */
.table-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.table-card .table { margin-bottom: 0; }
.table-card .table thead th {
    background: var(--surface-2);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
}
.table-card .table td { padding: 0.9rem 1rem; vertical-align: middle; border-color: var(--border); font-size: 0.9rem; }
.table-card .table tbody tr { transition: background var(--duration-fast) var(--transition); }
.table-card .table tbody tr:hover { background: var(--surface-2); }

/* ── Back-to-top button ──────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--surface);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-8);
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--transition);
    z-index: 999;
    font-size: 1.1rem;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-16); }

/* ── Helpers ─────────────────────────────────── */
.shadow-soft { box-shadow: var(--shadow-2) !important; }
.shadow-md { box-shadow: var(--shadow-4) !important; }
.shadow-lg { box-shadow: var(--shadow-8) !important; }
.rounded-xl { border-radius: var(--radius) !important; }

/* ── Responsive ──────────────────────────────── */

/* Large screens down to tablet */
@media (max-width: 992px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; }

    /* Mobile navbar collapse */
    .navbar-collapse {
        background: var(--navbar-bg-1);
        border-radius: var(--radius);
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
        max-height: 80vh;
        overflow-y: auto;
    }
    .navbar .nav-link {
        padding: 0.7rem 1rem !important;
        border-radius: 8px;
        font-size: 0.9rem;
    }
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: rgba(255, 255, 255, 0.06);
    }
    .navbar .nav-link::after { display: none; }
    .nav-search-wrapper { width: 100%; }
    .nav-search-wrapper input { width: 100%; }
    .nav-search-wrapper input:focus { width: 100%; }
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }
    .dropdown-item { color: rgba(255, 255, 255, 0.8); }
    .dropdown-item:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
    .dropdown-header { color: #fff; }
    .dropdown-header small { color: rgba(255, 255, 255, 0.5) !important; }
    .dropdown-divider { border-color: rgba(255, 255, 255, 0.08); }
}

/* Tablet */
@media (max-width: 768px) {
    .hero-section { min-height: 520px; padding: 2rem 0; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p { font-size: 0.95rem; }
    .hero-search-widget .form-control,
    .hero-search-widget .form-select { font-size: 0.85rem; padding: 0.6rem 0.85rem; }
    .card-img-top { height: 180px; }
    .auth-card { padding: 2rem; margin: 1rem; }
    .section-title { font-size: 1.5rem; }
    .page-banner { padding: 3rem 0 4rem; }
    .page-banner h1 { font-size: 1.6rem; }
    .popular-strip { padding: 1rem !important; }
    .popular-tags { gap: 0.4rem; }
    .popular-tag { font-size: 0.72rem; padding: 0.3rem 0.65rem; }
    .counter-number { font-size: 2rem; }
    .filter-card { padding: 1.2rem; }
    .booking-form { padding: 1.2rem; }
    .offer-banner { padding: 2rem !important; }
    .offer-banner h2 { font-size: 1.4rem; }
    .testimonial-card { padding: 1.5rem; }
    .footer { padding-top: 2rem !important; }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-section { min-height: 480px; }
    .hero-section h1 { font-size: 1.8rem; line-height: 1.2; }
    .hero-section .lead { font-size: 0.9rem; }
    .hero-search-widget form { flex-direction: column; }
    .hero-search-widget .form-select { width: 100% !important; min-width: unset !important; }
    .hero-section .d-flex.gap-3 { gap: 0.5rem !important; }
    .hero-section .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .card-img-top { height: 160px; }
    .card-body { padding: 1.1rem; }
    .card-title { font-size: 0.95rem; }
    .price-tag { font-size: 1rem !important; }
    .section-title { font-size: 1.3rem; }
    .feature-icon { width: 56px; height: 56px; font-size: 1.3rem; }
    .step-number { width: 44px; height: 44px; font-size: 1rem; }
    .counter-card { padding: 1rem; }
    .counter-number { font-size: 1.6rem; }
    .counter-label { font-size: 0.7rem; }
    .newsletter-card { padding: 2rem !important; }
    .newsletter-card h3 { font-size: 1.2rem; }
    .toolbar-strip { padding: 0.5rem 0.75rem; }
    .btn-lg { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
    .package-hero { height: 350px !important; }
    .package-hero h1 { font-size: 1.6rem !important; }
    .package-detail-badge { font-size: 0.7rem; padding: 0.35rem 0.7rem; }
    .highlight-card { padding: 0.8rem; }
    .highlight-value { font-size: 1.1rem; }
    .itinerary-timeline { padding-left: 1.5rem; }
    .share-btn { width: 34px; height: 34px; font-size: 0.9rem; }
    .whatsapp-float { width: 46px; height: 46px; font-size: 1.3rem; bottom: 20px; left: 20px; }
    .back-to-top { width: 38px; height: 38px; font-size: 1rem; bottom: 20px; right: 20px; }
    .partner-logo i { font-size: 1.4rem; }
    .partner-logo span { font-size: 0.6rem; }
}

/* ── Page transition ─────────────────────────── */
main { animation: pageFade 0.45s var(--transition); }
@keyframes pageFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── WhatsApp floating button ────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px; left: 30px;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all var(--duration-fast) var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ── Sticky booking CTA ──────────────────────── */
.sticky-cta {
    position: sticky;
    top: 90px;
}

/* ── Skip link (a11y) ────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ── Toast notifications ─────────────────────── */
.toast-container { pointer-events: none; }
.app-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 400px;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-16);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    animation: toastIn 0.4s var(--transition);
    background: var(--surface);
}
.app-toast .toast-header {
    border-bottom: none;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
}
.app-toast .toast-body {
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    background: var(--surface);
    font-size: 0.9rem;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px) scale(0.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Form validation styles ──────────────────── */
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #ef4444;
    background-image: none;
    padding-right: 1rem;
}
.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #10b981;
    background-image: none;
    padding-right: 1rem;
}
.form-control.is-valid:focus,
.was-validated .form-control:valid:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.invalid-feedback, .valid-feedback {
    font-size: 0.8rem;
    margin-top: 0.35rem;
    font-weight: 500;
    display: block;
}
.invalid-feedback { color: #ef4444; }
.valid-feedback { color: #10b981; }
.form-label .required, .form-label.required::after {
    content: ' *';
    color: #ef4444;
}

/* ── Filter chips (active filters) ───────────── */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--duration-fast) var(--transition);
}
.filter-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}
.filter-chip i { font-size: 0.85rem; }

/* ── Pagination ──────────────────────────────── */
.pagination {
    gap: 3px;
    flex-wrap: wrap;
}
.pagination .page-item .page-link {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    padding: 0.5rem 0.85rem;
    min-width: 38px;
    text-align: center;
    color: var(--text-primary);
    background: var(--surface);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--duration-fast) var(--transition);
}
.pagination .page-item .page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-item.disabled .page-link {
    background: var(--surface-2);
    color: var(--text-secondary);
    border-color: var(--border);
    opacity: 0.5;
}
.pagination svg, .page-link svg {
    width: 14px !important;
    height: 14px !important;
    display: inline-block;
    vertical-align: middle;
}

/* ── Glass effect utilities ──────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
[data-theme="dark"] .glass {
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Gradient text utility ───────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hover lift utility ──────────────────────── */
.hover-lift { transition: all var(--duration) var(--transition); }
.hover-lift:hover { transform: translateY(-3px); }

/* ── CTA section (premium gradient) ─────────── */
.bg-primary.text-white {
    background: linear-gradient(135deg, var(--primary), #4f46e5) !important;
    position: relative;
    overflow: hidden;
}
.bg-primary.text-white::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

/* ── Popular Now Strip ────────────────────────── */
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}
.popular-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.85rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--duration-fast) var(--transition);
}
.popular-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-color);
}
.popular-tag.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border-color: transparent;
}
.popular-tag i { font-size: 0.7rem; }
.user-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.65rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

/* ── Counter Cards ───────────────────────────── */
.counter-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--duration) var(--transition);
}
.counter-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
    border-color: rgba(37, 99, 235, 0.15);
}
.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.counter-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* ── Step Numbers (How It Works) ─────────────── */
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    box-shadow: var(--shadow-color);
    margin: 0 auto;
    position: relative;
}
.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.2);
}

/* ── Partner Logos ───────────────────────────── */
.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    transition: all var(--duration) var(--transition);
    cursor: default;
}
.partner-logo:hover { transform: translateY(-2px); }
.partner-logo i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--transition);
}
.partner-logo:hover i { color: var(--primary); }
.partner-logo span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Newsletter ──────────────────────────────── */
.newsletter-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
}
.newsletter-form .form-control {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 1rem;
}
.newsletter-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ── Offer Banner ────────────────────────────── */
.offer-banner {
    transition: all var(--duration) var(--transition);
}
.offer-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-16);
}

/* ── Hero Search Widget ──────────────────────── */
.hero-search-widget .form-control::placeholder,
.hero-search-widget .form-select option {
    color: rgba(255, 255, 255, 0.6);
}
.hero-search-widget .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(255,255,255,0.6)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2rem;
}
.hero-search-widget .form-control:focus,
.hero-search-widget .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ── Terms / Privacy / Sitemap ────────────────── */
.terms-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.terms-section:last-child { border-bottom: none; margin-bottom: 0; }
.terms-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.terms-section p, .terms-section li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.terms-section ul {
    padding-left: 1.2rem;
}
.terms-section li {
    margin-bottom: 0.4rem;
}

/* Sitemap */
.sitemap-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--duration) var(--transition);
}
.sitemap-section:hover {
    box-shadow: var(--shadow-4);
    border-color: transparent;
}
.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-links li {
    margin-bottom: 0.4rem;
}
.sitemap-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--duration-fast) var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.sitemap-links a::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--border);
    transition: background var(--duration-fast) var(--transition);
}
.sitemap-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}
.sitemap-links a:hover::before {
    background: var(--primary);
}

/* ── Contact Page - Office Cards ──────────────── */
.office-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--transition);
    height: 100%;
}
.office-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-8);
    border-color: transparent;
}
.office-card-header {
    padding: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    min-height: 90px;
}
.office-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.office-card-body {
    padding: 1.3rem;
}
.office-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.office-info div {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.office-info i {
    color: var(--primary);
    font-size: 0.75rem;
    width: 14px;
}

/* Quick Contact Cards */
.quick-contact-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--duration-fast) var(--transition);
}
.quick-contact-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: var(--shadow-2);
}
.qc-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.quick-contact-card a {
    text-decoration: none;
    transition: color var(--duration-fast) var(--transition);
}
.quick-contact-card a:hover { color: var(--primary) !important; }

/* Social icon buttons */
.social-icon-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--duration-fast) var(--transition);
}
.social-icon-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ── Package List Page ────────────────────────── */

/* Card badges - non-overlapping layout */
.card-badges-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.card-badges-top-left {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.card-tag {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.card-tag.duration-tag {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-tag.sale-tag {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    animation: pulse-sale 2s infinite;
}
@keyframes pulse-sale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.card-location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    z-index: 2;
}
.card-location-overlay i { font-size: 0.7rem; }

/* Card meta info */
.card-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.card-meta i { font-size: 0.7rem; color: var(--primary); }
.card-meta .bi-star-fill { color: #f59e0b; }

/* Package card override - remove default badge position */
.package-card .card-img-top { height: 200px; }
.package-card .badge {
    position: static;
    box-shadow: none;
    backdrop-filter: none;
}

/* Quick price buttons */
.quick-price-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--duration-fast) var(--transition);
}
.quick-price-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Duration radio options */
.duration-option {
    cursor: pointer;
    margin: 0;
}
.duration-label {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--transition);
}
.duration-option input:checked + .duration-label {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.duration-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Toggle filter checkboxes */
.toggle-filter {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all var(--duration-fast) var(--transition);
}
.toggle-filter:hover {
    background: var(--surface-2);
}
.toggle-filter input { display: none; }
.toggle-filter input:checked ~ .toggle-filter-content {
    font-weight: 600;
}
.toggle-filter input:checked ~ .toggle-filter-content::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    pointer-events: none;
}
.toggle-filter {
    position: relative;
}
.toggle-filter-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-primary);
}

/* Toolbar strip */
.toolbar-strip {
    padding: 0.75rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* ── Shop Page ────────────────────────────────── */

/* Category links */
.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--duration-fast) var(--transition);
    font-weight: 500;
}
.category-link:hover {
    background: var(--surface-2);
    color: var(--primary);
}
.category-link.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-weight: 600;
}
.category-count {
    font-size: 0.7rem;
    background: var(--surface-2);
    padding: 0.15rem 0.45rem;
    border-radius: 100px;
    color: var(--text-secondary);
}
.category-link.active .category-count {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

/* Product card quick actions overlay */
.product-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.3s var(--transition);
    z-index: 3;
}
.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.quick-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-4);
    transition: all var(--duration-fast) var(--transition);
    text-decoration: none;
    border: 1px solid var(--border);
}
.quick-action-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Quick price active state */
.quick-price-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── Package Detail Page ─────────────────────── */
.package-hero {
    position: relative;
}
.package-hero img {
    transition: transform 8s var(--transition);
}
.package-hero:hover img {
    transform: scale(1.02);
}
.package-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Highlight Cards */
.highlight-card {
    text-align: center;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--duration) var(--transition);
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-4);
    border-color: rgba(37, 99, 235, 0.15);
}
.highlight-card i { font-size: 1.3rem; margin-bottom: 0.3rem; display: block; }
.highlight-value { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); }
.highlight-label { font-size: 0.7rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* Content sections */
.content-heading {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}
.content-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Includes / Excludes */
.includes-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    height: 100%;
}
.includes-card.includes {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.includes-card.excludes {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.1);
}
.include-item, .exclude-item {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.include-item i { color: #10b981; font-size: 1rem; }
.exclude-item i { color: #ef4444; font-size: 1rem; }

/* Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 2rem;
}
.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 100px;
}
.itinerary-item {
    position: relative;
    padding-bottom: 1.5rem;
}
.itinerary-item:last-child { padding-bottom: 0; }
.itinerary-dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--primary);
    z-index: 1;
    transition: all var(--duration-fast) var(--transition);
}
.itinerary-item:hover .itinerary-dot {
    background: var(--primary);
    transform: scale(1.2);
}
.itinerary-content {
    padding: 1rem 1.25rem;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--duration) var(--transition);
}
.itinerary-item:hover .itinerary-content {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-2);
}
.itinerary-day {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}
.itinerary-content p { font-size: 0.9rem; color: var(--text-secondary); }

/* Share buttons */
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast) var(--transition);
    text-decoration: none;
}
.share-btn:hover {
    transform: translateY(-2px) scale(1.08);
    color: #fff;
    box-shadow: var(--shadow-4);
}

/* Booking form enhancements */
.booking-price-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.divider {
    height: 1px;
    background: var(--border);
}

/* ── Reduced motion ──────────────────────────── */
@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;
    }
}
