/* TravelZona — Destination Page Styles (extracted from inline) */

.dest-hero {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    min-height: 320px;
    background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
    display: flex;
    align-items: flex-end;
}
.dest-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}
.dest-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: #fff;
    width: 100%;
}
.dest-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.dest-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.95;
}
.dest-hero-meta span { display: inline-flex; align-items: center; gap: 0.375rem; }

/* ─── Tab Navigation (Step 1.3 — Destination Tabs) ─── */
.dest-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.dest-tabs::-webkit-scrollbar { display: none; }
.dest-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.dest-tab:hover { color: var(--foreground); }
.dest-tab.active {
    color: var(--brand-500, #7c3aed);
    border-bottom-color: var(--brand-500, #7c3aed);
}
.dest-tab-count {
    font-size: 0.6875rem;
    background: var(--muted);
    padding: 0.125rem 0.375rem;
    border-radius: 999px;
}

/* ─── Empty state ─── */
.dest-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}
.dest-empty-state i {
    font-size: 2.5rem;
    color: var(--muted-foreground);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}
.dest-empty-state h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.dest-empty-state p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0 0 1rem;
}

/* ─── Guide cards ─── */
.dest-guide-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    transition: transform 0.15s, box-shadow 0.15s;
}
.dest-guide-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.dest-guide-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.dest-guide-avatar-fallback {
    background: linear-gradient(135deg, var(--brand-400, #8b5cf6), #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.dest-guide-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.dest-guide-name { font-size: 0.9375rem; font-weight: 700; }
.dest-guide-location { font-size: 0.75rem; color: var(--muted-foreground); }
.dest-guide-bio { font-size: 0.75rem; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dest-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.dest-section h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dest-section h2 .count {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.type-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.type-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    background: var(--muted);
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.15s;
}
.type-tab:hover { border-color: var(--brand-500); }
.type-tab.active { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.type-tab .badge {
    background: rgba(0,0,0,0.1);
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
}
.type-tab.active .badge { background: rgba(255,255,255,0.25); }
.dest-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.dest-listing-card {
    background: var(--muted);
    border-radius: 0.875rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid var(--border);
}
.dest-listing-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.dest-listing-card img { width: 100%; height: 140px; object-fit: cover; display: block; background: var(--muted); }
.dest-listing-card .body { padding: 0.75rem; }
.dest-listing-card .title { font-size: 0.875rem; font-weight: 600; margin: 0 0 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dest-listing-card .meta { font-size: 0.75rem; color: var(--muted-foreground); }
.dest-listing-card .price { font-size: 0.9rem; font-weight: 700; color: var(--brand-500); }
.weather-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.weather-icon { font-size: 3rem; line-height: 1; }
.weather-temp { font-size: 2.5rem; font-weight: 800; color: var(--brand-500); }
.weather-details { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.weather-details strong { color: var(--foreground); font-weight: 600; }
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}
.city-card {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s;
}
.city-card:hover { border-color: var(--brand-500); background: var(--brand-50); }
.city-card .icon { font-size: 1.5rem; }
.city-card .name { font-weight: 600; font-size: 0.875rem; }
.city-card .count { font-size: 0.7rem; color: var(--muted-foreground); }
.dest-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.dest-tip {
    padding: 0.875rem;
    background: var(--muted);
    border-radius: 0.625rem;
    border: 1px solid var(--border);
}
.dest-tip .label { font-size: 0.7rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.dest-tip .value { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.dest-map { height: 320px; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--border); }
.ai-guide-box {
    background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(14,165,233,0.05));
    border: 1px solid var(--brand-500);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.empty-state { text-align: center; padding: 2rem; color: var(--muted-foreground); }
.empty-state i { font-size: 2rem; opacity: 0.4; margin-bottom: 0.5rem; display: block; }
@media (max-width: 640px) {
    .dest-hero { min-height: 240px; }
    .dest-hero h1 { font-size: 1.75rem; }
    .dest-hero-content { padding: 1.25rem; }
}
/* ─── Anchor sections (smooth scroll targets) ─────────────────── */
.dest-anchor-section {
    scroll-margin-top: 70px; /* clears the fixed header */
    padding-top: 1rem;
}

.dest-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.dest-section-title i {
    color: var(--brand-500, #7c3aed);
}

/* Smooth scroll for anchor navigation */
html {
    scroll-behavior: smooth;
}

/* Tab bar sticky positioning */
.dest-tabs {
    position: sticky;
    top: 56px; /* below the fixed header */
    background: var(--background, #f0f4f8);
    z-index: 40;
    padding: 0.5rem 0;
}
