/* ==========================================================================
   Tourist Guide — Kurdistan. Modern, right-to-left ready design system.
   Layout uses logical properties (inline-start/end) so it mirrors for RTL.
   ========================================================================== */
:root {
    --font: "Plus Jakarta Sans", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;

    --bg: #f3f5f9;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --ink: #0a0f1c;
    --text: #374151;
    --muted: #6b7385;
    --line: #e3e7ee;
    --line-2: #eef1f6;

    --brand: #0fb37b;
    --brand-2: #0b8a55;
    --brand-soft: #e2f7ee;
    --sun: #ffc21a;
    --sun-2: #ff9f1c;
    --flame: #f43f5e;
    --night: #060a15;
    --night-2: #0d1426;

    --mosque: #0b9e6c;      --mosque-soft: #e2f7ee;
    --hotel: #5b5bd6;       --hotel-soft: #ecebfd;
    --restaurant: #ea6a12;  --restaurant-soft: #fff0e3;

    --grad-brand: linear-gradient(135deg, #16c98b 0%, #0b8a55 100%);
    --grad-sun: linear-gradient(100deg, #ffe066 0%, #ffb21a 45%, #ff7a3d 100%);

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(10, 15, 28, .06);
    --shadow: 0 1px 2px rgba(10, 15, 28, .04), 0 8px 24px rgba(10, 15, 28, .06);
    --shadow-lg: 0 4px 10px rgba(10, 15, 28, .06), 0 24px 60px rgba(10, 15, 28, .16);

    --to-end: 90deg;   /* gradient direction from the reading start to the end */
    --flip: 1;
}
html[dir="rtl"] {
    --font: "Vazirmatn", "Plus Jakarta Sans", system-ui, "Segoe UI", Tahoma, sans-serif;
    --to-end: 270deg;
    --flip: -1;
}
html[dir="rtl"] * { letter-spacing: 0 !important; } /* letter-spacing breaks Arabic-script joining */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg);
    min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; }
html[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.5; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { background: var(--line-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
::selection { background: #c9f3e1; color: var(--ink); }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.page { padding: 40px 0 88px; }
.narrow { max-width: 900px; margin-inline: auto; }
.lead { color: var(--muted); font-size: 1.06rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.inline { display: inline; margin: 0; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.icon-flip { transform: scaleX(var(--flip)); }
.icon-xl { width: 2.6em; height: 2.6em; stroke-width: 1.5; color: var(--brand); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--brand-2); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---- Top bar ---------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 1100; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(227, 231, 238, .8); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 6px 18px rgba(11, 138, 85, .28); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-tag { font-size: .74rem; font-weight: 600; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a, .link-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; color: var(--text);
    font: inherit; font-size: .93rem; font-weight: 600; background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .link-btn:hover { background: rgba(10, 15, 28, .05); color: var(--ink); }
.nav-links a.is-current { background: var(--ink); color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: 10px; }
.lang-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(10, 15, 28, .05); border: 1px solid rgba(10, 15, 28, .06); }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted); line-height: 1.5; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-current { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.user-chip { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--grad-brand); color: #fff; font-size: .76rem; font-weight: 800; }
.icon-btn { width: 40px; height: 40px; justify-content: center; padding: 0 !important; }
.icon-btn .icon { transform: scaleX(var(--flip)); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* Header floating over a full-bleed hero (home & destination pages) */
.topbar--overlay { position: fixed; inset-inline: 0; background: linear-gradient(to bottom, rgba(4, 7, 15, .55), rgba(4, 7, 15, 0)); border-bottom-color: transparent; backdrop-filter: none; transition: background .3s, box-shadow .3s; }
.topbar--overlay.is-scrolled { background: rgba(6, 10, 21, .78); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(255, 255, 255, .08); }
.topbar--overlay .brand, .topbar--overlay .brand:hover { color: #fff; }
.topbar--overlay .brand-tag { color: rgba(255, 255, 255, .66); }
.topbar--overlay .nav-links a, .topbar--overlay .link-btn, .topbar--overlay .user-chip { color: rgba(255, 255, 255, .88); }
.topbar--overlay .nav-links a:hover, .topbar--overlay .link-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.topbar--overlay .nav-links a.is-current { background: #fff; color: var(--ink); }
.topbar--overlay .lang-switch { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
.topbar--overlay .lang-switch a { color: rgba(255, 255, 255, .75); }
.topbar--overlay .lang-switch a.is-current { background: #fff; color: var(--ink); }
.topbar--overlay .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }

@media (max-width: 1060px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; top: 74px; inset-inline: -20px; flex-direction: column; align-items: stretch; gap: 12px;
        padding: 14px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    }
    .nav.is-open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { border-radius: 12px; }
    .nav-tools { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; justify-content: space-between; }
    .topbar--overlay .nav { background: #0b1222; border-color: rgba(255, 255, 255, .08); }
}

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
    border: 1px solid transparent; font: inherit; font-size: .94rem; font-weight: 700; line-height: 1.2; cursor: pointer;
    background: var(--ink); color: #fff; transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { color: #fff; background: #1b2337; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--grad-brand); box-shadow: 0 8px 22px rgba(11, 138, 85, .3); }
.btn-brand:hover { background: var(--grad-brand); box-shadow: 0 10px 28px rgba(11, 138, 85, .42); transform: translateY(-1px); }
.btn-sun { background: var(--grad-sun); color: #231300; box-shadow: 0 10px 26px rgba(255, 159, 28, .35); }
.btn-sun:hover { background: var(--grad-sun); color: #231300; transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255, 159, 28, .5); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--surface-2); color: var(--ink); border-color: #cfd5df; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-danger { background: #e11d48; }
.btn-danger:hover { background: #be123c; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.link-back .icon { transform: scaleX(var(--flip)); }

/* ---- Alerts ----------------------------------------------------------------- */
.flash-wrap { padding-top: 20px; }
.has-overlay .flash-wrap { position: fixed; top: 86px; inset-inline: 0; z-index: 1050; }
.alert { padding: 14px 18px; border-radius: var(--r); margin-bottom: 14px; border: 1px solid; font-size: .94rem; font-weight: 500; box-shadow: var(--shadow-sm); }
.alert ul { margin: 0; padding-inline-start: 18px; }
.alert-success { background: #ecfbf4; border-color: #b4ebd2; color: #075e3d; }
.alert-error { background: #fff1f3; border-color: #fecdd6; color: #9f1239; }
.alert-info { background: #eef4ff; border-color: #c9d8fb; color: #1e3a8a; }

/* ---- Kurdistan hero map ----------------------------------------------------- */
.hero-map { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); min-height: min(94vh, 900px); display: flex; flex-direction: column; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.hero-map__map { position: absolute; inset: 0; z-index: 0; background: var(--night); }
.hero-map__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: background .8s ease; }
.hero-map__aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; transition: opacity .8s; }
.hero-map__aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.hero-map__aurora span:nth-child(1) { width: 46vw; height: 46vw; inset-inline-start: -12vw; top: -18vw; background: #0fb37b; }
.hero-map__aurora span:nth-child(2) { width: 34vw; height: 34vw; inset-inline-start: 22vw; top: 30%; background: #4f46e5; animation-duration: 28s; }
.hero-map__aurora span:nth-child(3) { width: 30vw; height: 30vw; inset-inline-end: -8vw; bottom: -14vw; background: #ff9f1c; opacity: .35; animation-duration: 34s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .hero-map__aurora span, .kpin__pulse { animation: none !important; } }

html[data-atmo="night"] .hero-map__tint {
    background: linear-gradient(var(--to-end), rgba(4, 7, 16, .94) 0%, rgba(4, 7, 16, .7) 34%, rgba(4, 7, 16, .12) 70%, rgba(4, 7, 16, .05) 100%),
                linear-gradient(to top, rgba(4, 7, 16, .85), transparent 30%);
}
html[data-atmo="day"] .hero-map__tint {
    background: linear-gradient(var(--to-end), rgba(32, 14, 4, .86) 0%, rgba(60, 26, 6, .55) 34%, rgba(255, 170, 60, .05) 72%),
                radial-gradient(70% 60% at 85% 10%, rgba(255, 190, 80, .35), transparent 60%),
                linear-gradient(to top, rgba(30, 12, 4, .75), transparent 32%);
}
html[data-atmo="mountains"] .hero-map__tint {
    background: linear-gradient(var(--to-end), rgba(3, 30, 20, .92) 0%, rgba(4, 44, 30, .62) 34%, rgba(10, 80, 50, .08) 72%),
                linear-gradient(to top, rgba(2, 24, 16, .85), transparent 32%);
}
html[data-atmo="satellite"] .hero-map__tint, html:not([data-atmo]) .hero-map__tint {
    background: linear-gradient(var(--to-end), rgba(2, 10, 26, .9) 0%, rgba(4, 18, 44, .58) 34%, rgba(20, 60, 120, .08) 72%),
                linear-gradient(to top, rgba(2, 8, 22, .85), transparent 32%);
}
html[data-atmo="day"] .hero-map__aurora, html[data-atmo="satellite"] .hero-map__aurora { opacity: .35; }
html[data-atmo="mountains"] .hero-map__aurora { opacity: .5; }

.hero-map__content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 128px; padding-bottom: 28px; pointer-events: none; }
.hero-panel { pointer-events: auto; max-width: 640px; }
.pill-live {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: .84rem; font-weight: 700;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px);
}
html[dir="rtl"] .pill-live { padding: 7px 12px 7px 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 194, 26, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(255, 194, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } }
.hero-panel h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.04em; margin: 22px 0 20px; }
html[dir="rtl"] .hero-panel h1 { line-height: 1.35; font-size: clamp(2.3rem, 5vw, 4.1rem); }
.hl { background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-panel > p { font-size: 1.14rem; color: rgba(255, 255, 255, .78); max-width: 560px; }
.search {
    display: flex; align-items: center; gap: 6px; margin-top: 30px; padding: 7px; max-width: 640px;
    background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.search-field { display: flex; align-items: center; gap: 10px; flex: 1; padding-inline-start: 16px; color: var(--muted); min-width: 0; }
.search input, .search select { border: 0; font: inherit; font-size: .96rem; padding: 12px 6px; background: transparent; color: var(--ink); min-width: 0; }
.search input { flex: 1; }
.search select { border-inline-start: 1px solid var(--line); padding-inline: 14px; max-width: 180px; cursor: pointer; }
.search input:focus, .search select:focus { outline: none; }
.search .btn { padding: 13px 26px; }
.hero-stats { display: flex; gap: 14px; margin: 34px 0 0; padding: 0; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column-reverse; min-width: 120px; padding: 14px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.hero-stats dt { font-size: .8rem; color: rgba(255, 255, 255, .62); font-weight: 600; }
.hero-stats dd { margin: 0; font-size: 1.9rem; font-weight: 800; line-height: 1.15; color: #fff; }
.hero-map__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 30px; pointer-events: none; }
.hero-map__bar > * { pointer-events: auto; }
.map-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.map-hint .icon { color: var(--sun); }
@media (max-width: 640px) {
    .hero-map__content { padding-top: 110px; }
    .search { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); }
    .search-field { padding-inline-start: 10px; }
    .search select { border-inline-start: 0; border-top: 1px solid var(--line); max-width: none; padding: 12px; }
    .hero-stats div { min-width: 0; flex: 1; padding: 12px 14px; }
    .hero-stats dd { font-size: 1.5rem; }
}

/* Atmosphere switch */
.atmo-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(8, 12, 24, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); }
.atmo-switch__label { display: inline-flex; align-items: center; padding-inline: 12px 6px; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.atmo-switch button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .8); font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.atmo-switch button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.atmo-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .atmo-switch__label, .atmo-switch button span { display: none; } .atmo-switch button { padding: 9px 12px; } }

/* Map pins & popups */
.kpin-wrap { background: none; border: 0; }
.kpin { position: relative; display: block; width: 26px; height: 26px; }
.kpin__pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 194, 26, .55); animation: pulse 2.4s ease-out infinite; }
.kpin__dot { position: absolute; inset: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0, 0, 0, .45); }
.kpin--main .kpin__dot { background: var(--brand); }
.kpin--main .kpin__pulse { background: rgba(15, 179, 123, .5); }
@keyframes pulse { 0% { transform: scale(.55); opacity: .95; } 100% { transform: scale(2.7); opacity: 0; } }
.leaflet-container { font-family: var(--font); direction: ltr; }
.leaflet-popup-content-wrapper { border-radius: 18px; padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.5; }
html[dir="rtl"] .leaflet-popup-content { direction: rtl; text-align: right; }
.leaflet-popup-content small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.kpop { width: 240px; }
.kpop__img { width: 100%; height: 120px; object-fit: cover; background: var(--night-2); }
.kpop__body { padding: 12px 16px 14px; }
.kpop__body strong { display: block; font-size: 1rem; font-weight: 800; }
.kpop__body a { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: .85rem; color: var(--brand-2); }
.mpop { padding: 10px 14px; }
.mpop strong { display: block; font-weight: 700; }
.hero-map .leaflet-top { top: 92px; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow) !important; border-radius: 14px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 36px !important; height: 36px !important; line-height: 36px !important; color: var(--ink) !important; }
.leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .7) !important; border-radius: 8px 0 0 0; }

/* ---- Sections --------------------------------------------------------------- */
.section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { margin: 14px 0 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 560px; }

/* Destination cards: full-bleed image with text on top */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.dcard { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 430px; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--night-2); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.dcard__media { position: absolute; inset: 0; z-index: -2; }
.dcard__media img, .dcard__media .ph-art { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.dcard:hover .dcard__media img, .dcard:hover .dcard__media .ph-art { transform: scale(1.07); }
.dcard__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(4, 7, 16, .92) 0%, rgba(4, 7, 16, .55) 38%, rgba(4, 7, 16, 0) 68%); }
.dcard__city { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: rgba(8, 12, 24, .42); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(12px); }
.dcard__go { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: scale(.8); opacity: 0; transition: .3s; }
.dcard__go .icon { transform: scaleX(var(--flip)) rotate(-45deg); }
html[dir="rtl"] .dcard__go .icon { transform: scaleX(-1) rotate(-45deg); }
.dcard:hover .dcard__go { transform: scale(1); opacity: 1; }
.dcard__body { padding: 24px; }
.dcard__region { font-size: .78rem; font-weight: 700; color: var(--sun); }
.dcard__body h3 { color: #fff; font-size: 1.45rem; font-weight: 800; margin: 4px 0 8px; }
.dcard__body p { margin: 0; color: rgba(255, 255, 255, .74); font-size: .9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dcard__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.gchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.ph-art { display: block; width: 100%; height: 100%; }

.empty { background: var(--surface); border: 1.5px dashed #d3d9e3; border-radius: var(--r-lg); padding: 60px 24px; text-align: center; color: var(--muted); }
.empty p { margin: 12px 0 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .bento { grid-template-columns: 1fr; } }
.bento-card { position: relative; overflow: hidden; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-card h3 { font-size: 1.2rem; margin: 22px 0 8px; }
.bento-card p { margin: 0; color: var(--muted); }
.bento-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; inset-inline-end: -60px; top: -60px; background: currentColor; opacity: .06; }
.bento-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.bento-icon .icon { width: 26px; height: 26px; }
.bento-card.mosque { color: var(--mosque); } .bento-card.mosque .bento-icon { background: linear-gradient(135deg, #16c98b, #087a52); box-shadow: 0 10px 24px rgba(11, 158, 108, .3); }
.bento-card.hotel { color: var(--hotel); } .bento-card.hotel .bento-icon { background: linear-gradient(135deg, #8b8bff, #4f46e5); box-shadow: 0 10px 24px rgba(91, 91, 214, .3); }
.bento-card.restaurant { color: var(--restaurant); } .bento-card.restaurant .bento-icon { background: linear-gradient(135deg, #ffad4d, #ea580c); box-shadow: 0 10px 24px rgba(234, 106, 18, .3); }
.bento-card h3, .bento-card p { position: relative; }

/* Call to action */
.cta { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 56px; border-radius: var(--r-xl); color: rgba(255, 255, 255, .8); background: var(--night-2); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(15, 179, 123, .45), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(255, 159, 28, .3), transparent 60%); }
.cta h2 { color: #fff; margin: 16px 0 10px; }
.cta p { margin: 0; max-width: 580px; }
.cta .eyebrow { background: rgba(255, 255, 255, .1); color: var(--sun); }
@media (max-width: 640px) { .cta { padding: 36px 24px; } }

/* ---- Destination page ------------------------------------------------------- */
.loc-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 520px; color: #fff; background: var(--night); border-radius: 0 0 var(--r-xl) var(--r-xl); }
.loc-hero__bg { position: absolute; inset: 0; z-index: -2; }
.loc-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.loc-hero__bg .ph-art { width: 100%; height: 100%; }
.loc-hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(4, 7, 16, .95) 0%, rgba(4, 7, 16, .55) 40%, rgba(4, 7, 16, .25) 75%, rgba(4, 7, 16, .55) 100%); }
.loc-hero__inner { padding-top: 150px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: var(--sun); }
.loc-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.04em; margin: 12px 0 18px; }
.loc-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); }
.loc-meta .icon { color: var(--sun); }
.loc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; padding-top: 36px; padding-bottom: 90px; align-items: start; }
@media (max-width: 980px) { .loc-layout { grid-template-columns: 1fr; } .aside-sticky { position: static !important; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; margin-bottom: 24px; }
@media (max-width: 640px) { .panel { padding: 22px 20px; } }
.panel-title { font-size: 1.55rem; margin: 14px 0 18px; }
.prose { font-size: 1.04rem; line-height: 1.9; color: var(--text); }
.contributor { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--muted); }
.aside-sticky { position: sticky; top: 96px; }
.map { height: 320px; border-radius: var(--r); z-index: 0; background: #e7ebf1; overflow: hidden; }
.map-picker { height: 380px; cursor: crosshair; margin: 10px 0 16px; border: 1px solid var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .12); }
.dot-main { background: var(--brand); } .dot-mosque { background: var(--mosque); } .dot-hotel { background: var(--hotel); } .dot-restaurant { background: var(--restaurant); }
.map-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.mini-atmo { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--line-2); }
.mini-atmo button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.mini-atmo button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.facts { list-style: none; padding: 0; margin: 18px 0; display: grid; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.facts li:last-child { border-bottom: 0; }
.facts .fact-icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); }
.facts small { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 600; }
.admin-box { margin-top: 20px; padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed #cfd6e0; display: grid; gap: 10px; }
.admin-box strong { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }

.tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; padding: 5px; border-radius: 999px; background: var(--line-2); }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.count-pill { font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--line-2); border-radius: 999px; padding: 0 7px; }
.tab.is-active .count-pill { background: var(--ink); color: #fff; }
.place-list { display: grid; gap: 12px; }
.place { display: flex; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); transition: background .2s, border-color .2s, box-shadow .2s; }
.place:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.place-icon { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.place-icon .icon { width: 24px; height: 24px; }
.place-icon.mosque { background: linear-gradient(135deg, #16c98b, #087a52); }
.place-icon.hotel { background: linear-gradient(135deg, #8b8bff, #4f46e5); }
.place-icon.restaurant { background: linear-gradient(135deg, #ffad4d, #ea580c); }
.place-body { flex: 1; min-width: 0; }
.place-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.place h3 { font-size: 1.05rem; margin: 0; }
.place p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }
.place-facts { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--muted); }
.place-facts li { display: inline-flex; align-items: center; gap: 6px; }
.place-facts .icon { width: 15px; height: 15px; }
.place-facts a { color: var(--brand-2); font-weight: 600; }
.distance { color: var(--ink) !important; font-weight: 700; }

.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.badge-mosque { background: var(--mosque-soft); color: var(--mosque); }
.badge-hotel { background: var(--hotel-soft); color: var(--hotel); }
.badge-restaurant { background: var(--restaurant-soft); color: var(--restaurant); }
.badge-pending { background: #fff5d6; color: #8a5a00; }
.badge-approved { background: var(--brand-soft); color: var(--brand-2); }
.badge-rejected { background: #ffe4e8; color: #be123c; }
.badge-admin { background: var(--ink); color: var(--sun); }
.badge-user { background: var(--line-2); color: var(--muted); }

/* ---- Forms ------------------------------------------------------------------ */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .form-card { padding: 22px 18px; } }
.form-head { margin-bottom: 26px; }
.form-head h1 { margin: 14px 0 8px; }
.auth-wrap { display: grid; place-items: center; padding: 40px 0 80px; }
.auth { width: min(470px, 100%); }
.auth-brand { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 26px; }
.auth-brand img { width: 60px; height: 60px; border-radius: 18px; box-shadow: 0 14px 30px rgba(11, 138, 85, .3); }
.auth-brand h1 { margin: 8px 0 0; font-size: 2rem; }
.auth-brand p { margin: 0; color: var(--muted); }
.auth-foot { text-align: center; color: var(--muted); font-size: .94rem; margin: 22px 0 0; }
.auth-foot a { font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 20px; }
.field > span, .place-row label > span { font-weight: 700; font-size: .86rem; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=url], .form input[type=tel],
.form input[type=number], .form input[type=search], .form select, .form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #d5dbe5; border-radius: 12px; font: inherit; font-size: .95rem;
    background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.form input[type=file] { font: inherit; font-size: .9rem; padding: 12px; border: 1.5px dashed #cdd4df; border-radius: 12px; background: var(--surface-2); width: 100%; }
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 179, 123, .16); }
.form ::placeholder { color: #9aa3b2; }
.hint { color: var(--muted); font-size: .86rem; margin: 0; }
.check { display: flex; flex-direction: row; align-items: center; gap: 9px; font-weight: 600; font-size: .93rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.group { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 6px; margin: 4px 0 24px; background: var(--surface-2); }
.group legend { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.02rem; color: var(--ink); padding: 0 8px; margin-inline-start: -8px; }
.lang-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.seg-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin: 12px 0 18px; }
.seg-tabs button { padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: .86rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg-tabs button.is-active { background: var(--ink); color: #fff; }
.current-image { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.current-image img { width: 160px; height: 100px; object-fit: cover; border-radius: 12px; }
.place-row { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 12px; padding: 16px; padding-inline-end: 50px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; background: #fff; position: relative; }
.place-row label { display: flex; flex-direction: column; gap: 5px; }
.place-row .span-2 { grid-column: 1 / 3; }
.remove-row { position: absolute; top: 12px; inset-inline-end: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--muted); }
.remove-row:hover { background: #ffe4e8; color: #be123c; border-color: #fecdd6; }
@media (max-width: 720px) { .place-row { grid-template-columns: 1fr; } .place-row .span-2 { grid-column: auto; } }

/* ---- Page heads, admin, tables ---------------------------------------------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.page-head h1 { margin: 14px 0 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.admin-bar { margin: 0 0 30px; padding: 2px; overflow-x: auto; }
.subnav { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: nowrap; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; color: var(--text); font-size: .9rem; font-weight: 600; }
.subnav a:hover { background: var(--line-2); color: var(--ink); }
.subnav a.is-current { background: var(--ink); color: #fff; }
.count { background: var(--sun); color: #2a1a00; border-radius: 999px; font-size: .7rem; padding: 1px 7px; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 40px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: inherit; transition: box-shadow .2s, transform .2s; }
.stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.stat .icon { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-2); margin-bottom: 14px; }
.stat b { font-size: 2.3rem; font-weight: 800; line-height: 1.05; color: var(--ink); }
.stat span { color: var(--muted); font-size: .9rem; }
.stat.highlight { background: var(--night-2); border-color: var(--night-2); }
.stat.highlight b { color: #fff; }
.stat.highlight span { color: rgba(255, 255, 255, .65); }
.stat.highlight .icon { background: rgba(255, 194, 26, .16); color: var(--sun); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 28px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 15px 18px; text-align: start; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th { font-size: .76rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border-bottom-color: var(--line); }
tbody tr:hover td { background: #fafbfd; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); font-weight: 700; }
td.actions { white-space: nowrap; text-align: end; }
td.actions .btn, td.actions form { margin-inline-start: 4px; }
.thumb { width: 70px; height: 48px; object-fit: cover; border-radius: 10px; background: var(--night-2); display: block; overflow: hidden; }
.filter-tabs { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.filter-tabs a { padding: 7px 16px; border-radius: 999px; color: var(--text); font-size: .88rem; font-weight: 600; }
.filter-tabs a.is-current { background: var(--ink); color: #fff; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 28px; align-items: start; }
@media (max-width: 1040px) { .two-col { grid-template-columns: 1fr; } }
.detail-list { display: grid; grid-template-columns: 150px 1fr; gap: 12px 18px; margin: 0 0 22px; }
.detail-list dt { color: var(--muted); font-size: .86rem; font-weight: 700; }
.detail-list dd { margin: 0; color: var(--ink); }
.review-image { border-radius: var(--r); margin-bottom: 20px; max-height: 340px; object-fit: cover; width: 100%; }
.search-inline { width: 250px; }

/* ---- Footer ----------------------------------------------------------------- */
.footer { position: relative; overflow: hidden; margin-top: auto; background: var(--night); color: rgba(255, 255, 255, .6); font-size: .93rem; }
.footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -260px; background: radial-gradient(circle, rgba(15, 179, 123, .25), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer .brand, .footer .brand:hover { color: #fff; }
.footer .brand-tag { color: rgba(255, 255, 255, .55); }
.footer-brand p { margin: 18px 0 0; max-width: 380px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: .86rem; margin: 6px 0 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: var(--sun); }
.footer .lang-switch { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); }
.footer .lang-switch a { color: rgba(255, 255, 255, .7); }
.footer .lang-switch a.is-current { background: #fff; color: var(--ink); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: rgba(255, 255, 255, .45); }

/* ---- Camping ------------------------------------------------------------------ */
.kpin--camp .kpin__dot { background: #22c55e; }
.kpin--camp .kpin__pulse { background: rgba(34, 197, 94, .5); }
.eyebrow .icon { width: 1em; height: 1em; }
.eyebrow:has(.icon)::before { display: none; }
.eyebrow--night { background: rgba(255, 255, 255, .1); color: var(--sun); }
.camp-band { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0; margin-bottom: 80px; color: rgba(255, 255, 255, .75); background: linear-gradient(180deg, #050b1f 0%, #0b1f33 55%, #0b3325 100%); }
.camp-band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 140px; z-index: -1; background: #071a14; clip-path: polygon(0 70%, 12% 38%, 22% 62%, 36% 18%, 50% 60%, 63% 30%, 76% 58%, 88% 26%, 100% 52%, 100% 100%, 0 100%); opacity: .9; }
.camp-band__stars { position: absolute; inset: 0; z-index: -1; opacity: .7;
    background-image: radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 42%, #fff, transparent), radial-gradient(1.5px 1.5px at 35% 12%, #fff, transparent),
        radial-gradient(1px 1px at 48% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 62% 8%, #fff, transparent), radial-gradient(1px 1px at 74% 36%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 86% 16%, #fff, transparent), radial-gradient(1px 1px at 93% 44%, #fff, transparent), radial-gradient(1px 1px at 15% 60%, #fff, transparent),
        radial-gradient(1px 1px at 56% 52%, #fff, transparent), radial-gradient(1.2px 1.2px at 80% 62%, #fff, transparent);
    animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
.camp-band h2 { color: #fff; }
.camp-band .section-head p { color: rgba(255, 255, 255, .7); }
.empty--night { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); }
.camp-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.camp-perks span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.camp-perks .icon { color: var(--sun); }
.dcard--camp .dcard__city { background: rgba(34, 197, 94, .25); border-color: rgba(134, 239, 172, .45); }
.dcard--camp .dcard__region { color: #86efac; }
.gchip--icon { padding: 6px 8px; }
.hero-map--compact { min-height: min(70vh, 640px); }
.hero-map--compact .hero-panel h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.camp-filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; padding: 16px 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.camp-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.camp-filters__label { font-weight: 700; font-size: .88rem; color: var(--ink); margin-inline-end: 4px; }
.camp-filters__side { display: flex; gap: 8px; align-items: center; }
.camp-filters select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .88rem; background: #fff; }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: .85rem; font-weight: 600; color: var(--text); transition: .15s; }
.chip-check:hover span { border-color: #c5ccd8; }
.chip-check input:checked + span { background: #dcfce7; border-color: #86efac; color: #166534; }
.chip-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.camp-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border-radius: var(--r); background: #fffbeb; border: 1px solid #fde68a; color: #854d0e; font-size: .9rem; }
.camp-note p { margin: 0; }
.camp-note .icon { margin-top: 3px; }
.meta-camp { background: rgba(34, 197, 94, .3) !important; border-color: rgba(134, 239, 172, .5) !important; }
.camp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .camp-facts { grid-template-columns: 1fr; } }
.camp-facts > div { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.camp-facts small { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); }
.camp-facts strong { color: var(--ink); }
.camp-facts .fact-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #dcfce7; color: #15803d; }
.facility-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.facility-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; }
.facility-grid li em { margin-inline-start: auto; font-style: normal; font-size: .74rem; font-weight: 700; }
.facility-grid .is-yes { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.facility-grid .is-yes .icon, .facility-grid .is-yes em { color: #16a34a; }
.facility-grid .is-no { background: var(--surface-2); color: #9aa3b2; }
.facility-grid .is-no span { text-decoration: line-through; }
.photo-credit { position: absolute; bottom: 12px; inset-inline-end: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: rgba(255, 255, 255, .7); }
.photo-credit a { color: rgba(255, 255, 255, .85); }
.photo-credit a:hover { color: #fff; text-decoration: underline; }
.photo-credit .icon { width: 13px; height: 13px; }
/* Category picker in forms */
.cat-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.cat-pick label { position: relative; cursor: pointer; }
.cat-pick input { position: absolute; opacity: 0; }
.cat-pick label > span { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: .15s; }
.cat-pick label > span > .icon { width: 26px; height: 26px; padding: 6px; border-radius: 10px; box-sizing: content-box; background: var(--line-2); color: var(--muted); }
.cat-pick small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.cat-pick input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 179, 123, .14); }
.cat-pick input:checked + span > .icon { background: var(--brand-soft); color: var(--brand-2); }
.cat-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.fac-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-bottom: 18px; }
.fac-checks .chip-check span { width: 100%; border-radius: 12px; padding: 10px 12px; }
.badge-camping { background: #dcfce7; color: #166534; }
.badge-destination { background: var(--line-2); color: var(--muted); }

/* ---- Weather -------------------------------------------------------------------- */
.wx-chip { position: absolute; top: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: .84rem; font-weight: 800; color: #fff; background: rgba(8, 12, 24, .42); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); transition: opacity .25s; }
.wx-chip .icon { color: var(--sun); }
.dcard:hover .wx-chip { opacity: 0; }
.kpop__wx { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #fff7e0; color: #8a5a00; font-size: .78rem; font-weight: 700; }
.wx-panel { position: relative; overflow: hidden; color: #fff; border: 0; background: linear-gradient(135deg, #1d6fd6, #4fb3f6); }
.wx-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; inset-inline-end: -70px; top: -90px; background: rgba(255, 255, 255, .14); pointer-events: none; }
.wx--clear, .wx--partly { background: linear-gradient(135deg, #0f7ae5 0%, #45b0f7 60%, #ffc94d 140%); }
.wx--clear_night, .wx--partly_night { background: linear-gradient(135deg, #0b1230 0%, #243b7a 100%); }
.wx--cloudy, .wx--fog { background: linear-gradient(135deg, #4b5d73 0%, #8a9bb0 100%); }
.wx--drizzle, .wx--rain { background: linear-gradient(135deg, #1f3a5f 0%, #3f6d9e 100%); }
.wx--snow { background: linear-gradient(135deg, #5f86b8 0%, #b9d4f0 100%); }
.wx--storm { background: linear-gradient(135deg, #1c1633 0%, #4a3b7a 100%); }
.wx-panel .eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.wx-now { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.wx-now__temp { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.wx-now__icon .icon { width: 64px; height: 64px; stroke-width: 1.4; color: #fff; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .2)); }
.wx-now__temp strong { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.wx-now__temp b { display: block; font-size: 1.15rem; }
.wx-now__temp small { color: rgba(255, 255, 255, .8); font-weight: 600; }
.wx-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 8px; }
.wx-stats li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.wx-stats small { display: block; font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .75); }
.wx-stats b { font-size: .95rem; }
.wx-tip { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 600; font-size: .92rem; }
.wx-tip .icon { color: var(--brand-2); width: 20px; height: 20px; }
.wx-days { position: relative; z-index: 1; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 640px) { .wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wx-now__temp strong { font-size: 3.2rem; } }
.wx-days li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 14px; background: rgba(255, 255, 255, .12); text-align: center; }
.wx-days li:first-child { background: rgba(255, 255, 255, .26); }
.wx-days__name { font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.wx-days__icon .icon { width: 26px; height: 26px; }
.wx-days__temp { font-size: .86rem; }
.wx-days__temp span { color: rgba(255, 255, 255, .7); }
.wx-days__rain { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; color: #d6ecff; }
.wx-days__rain .icon { width: 11px; height: 11px; }
.wx-source { position: relative; z-index: 1; margin: 14px 0 0; font-size: .74rem; color: rgba(255, 255, 255, .7); }

/* ---- Intro splash: map of Kurdistan + zhirkar.com copyright -------------------- */
.splash { display: none; }
html.splash-on, html.splash-on body { overflow: hidden; }
html.splash-on .splash { display: block; position: fixed; inset: 0; z-index: 5000; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 50% 40%, #0f2a4a 0%, #050914 70%); }
.splash.is-leaving { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.splash .splash__map { position: absolute; inset: 0; opacity: 0; background: transparent; transform: scale(1.12); transition: opacity 1.4s ease; }
.splash.has-map .splash__map { opacity: 1; }
.splash.is-playing .splash__map { animation: intro-drift var(--intro-duration, 5200ms) ease-out forwards; }
@keyframes intro-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.splash .leaflet-container { background: transparent; }
.splash .leaflet-control-attribution { font-size: 10px; background: rgba(0, 0, 0, .35) !important; color: rgba(255, 255, 255, .7); }
.splash .leaflet-control-attribution a { color: rgba(255, 255, 255, .85); }
.splash__shade { position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 55% at 50% 48%, rgba(5, 9, 20, .55) 0%, rgba(5, 9, 20, .2) 55%, rgba(5, 9, 20, .75) 100%),
                linear-gradient(to bottom, rgba(5, 9, 20, .5), transparent 25%, transparent 70%, rgba(5, 9, 20, .85)); }

.splash__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; pointer-events: none; }
.splash__logo { width: 96px; height: 96px; border-radius: 28px; box-shadow: 0 22px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .08); opacity: 0; transform: scale(.7); }
.splash__name { margin: 18px 0 0; color: #fff; font-size: clamp(2.8rem, 8vw, 4.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(14px); }
.splash__tag { margin: 0; font-size: clamp(1rem, 2.4vw, 1.2rem); font-weight: 600; color: rgba(255, 255, 255, .85); text-shadow: 0 2px 16px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(10px); }
.splash.is-playing .splash__logo { animation: intro-pop .9s cubic-bezier(.2, .9, .3, 1.3) .15s forwards; }
.splash.is-playing .splash__name { animation: intro-rise .9s ease .45s forwards; }
.splash.is-playing .splash__tag { animation: intro-rise .9s ease .7s forwards; }
@keyframes intro-pop { to { opacity: 1; transform: none; } }
@keyframes intro-rise { to { opacity: 1; transform: none; } }

.splash__skip { position: absolute; top: 20px; inset-inline-end: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(8, 12, 24, .4); color: #fff; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(10px); z-index: 2; }
.splash__skip:hover { background: rgba(255, 255, 255, .16); }

.splash__foot { position: absolute; bottom: 0; inset-inline: 0; display: grid; justify-items: center; gap: 14px; padding: 0 20px 26px; }
.splash__progress { width: min(220px, 60vw); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.splash__progress span { display: block; height: 100%; width: 0; background: var(--grad-sun); }
.splash.is-playing .splash__progress span { animation: intro-progress var(--intro-duration, 5200ms) linear forwards; }
html[dir="rtl"] .splash__progress span { margin-inline-start: auto; }
@keyframes intro-progress { to { width: 100%; } }
.splash__copy { margin: 0; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .75); letter-spacing: .01em; }
.splash__copy a { color: #fff; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.splash__copy a:hover { color: var(--sun); }

/* Glowing place pins on the intro map */
.intro-pin-wrap { background: none; border: 0; }
.intro-pin { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 0 18px 5px rgba(255, 194, 26, .6); opacity: 0; transform: scale(0); animation: intro-pin .6s cubic-bezier(.2, .9, .3, 1.4) forwards; }
.intro-pin--camp { background: #22c55e; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 0 18px 5px rgba(34, 197, 94, .6); }
@keyframes intro-pin { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .splash.is-playing .splash__map, .intro-pin { animation: none; opacity: 1; transform: none; }
    .splash.is-playing .splash__logo, .splash.is-playing .splash__name, .splash.is-playing .splash__tag { animation-duration: .01s; animation-delay: 0s; }
}