/* ==========================================================================
   A NEW LIFE VISUAL NETWORK 1.0 — DISCOVER THE WORLD (discover.css)
   Premium dark editorial visual discovery interface, optimized for iPhone & Desktop
   ========================================================================== */

:root {
  --vn-bg: #080b11;
  --vn-bg-elevated: #0f1520;
  --vn-card-bg: rgba(18, 25, 38, 0.82);
  --vn-card-hover: rgba(24, 34, 52, 0.95);
  --vn-border: rgba(255, 255, 255, 0.08);
  --vn-border-accent: rgba(56, 189, 248, 0.32);
  --vn-gold: #f59e0b;
  --vn-gold-soft: rgba(245, 158, 11, 0.14);
  --vn-cyan: #38bdf8;
  --vn-cyan-soft: rgba(56, 189, 248, 0.14);
  --vn-emerald: #10b981;
  --vn-text: #f8fafc;
  --vn-text-secondary: #cbd5e1;
  --vn-text-muted: #94a3b8;
  --vn-radius-lg: 18px;
  --vn-radius-md: 14px;
  --vn-radius-sm: 10px;
}

.vn-page {
  background: var(--vn-bg);
  color: var(--vn-text);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Top Navigation Bar */
.vn-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--vn-border);
}

.vn-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.vn-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--vn-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.vn-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vn-cyan);
  background: var(--vn-cyan-soft);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.vn-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vn-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vn-border);
  color: var(--vn-text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-nav-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.vn-lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--vn-border);
  border-radius: 999px;
  padding: 3px;
}

.vn-lang-link {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vn-text-muted);
  text-decoration: none;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-lang-link.active {
  background: var(--vn-cyan);
  color: #06101e;
}

/* Container */
.vn-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 24px 72px;
}

/* Hero Banner */
.vn-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 44px 38px;
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(56, 189, 248, 0.18), transparent 48%),
    radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.12), transparent 52%),
    linear-gradient(145deg, #0d1524 0%, #090d16 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.vn-hero-with-bg {
  background-size: cover;
  background-position: center;
}

.vn-hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.vn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vn-cyan);
  margin-bottom: 12px;
}

.vn-hero-title {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #ffffff;
}

.vn-hero-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--vn-text-secondary);
  margin: 0 0 22px;
}

.vn-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vn-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--vn-text-secondary);
}

.vn-stat-pill strong {
  color: #fff;
  font-weight: 700;
}

/* Collection Navigation Pills */
.vn-collections-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vn-collections-nav::-webkit-scrollbar {
  display: none;
}

.vn-collection-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(18, 25, 38, 0.85);
  border: 1px solid var(--vn-border);
  color: var(--vn-text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-collection-pill:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.vn-collection-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  border-color: var(--vn-cyan);
  color: #fff;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.18);
}

.vn-collection-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--vn-text-muted);
}

/* Thematic Gallery Cards Grid (Hub View) */
.vn-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 18px;
}

.vn-section-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: #fff;
}

.vn-section-sub {
  font-size: 14px;
  color: var(--vn-text-muted);
  margin: 0;
}

.vn-galleries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.vn-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  background: var(--vn-card-bg);
  border: 1px solid var(--vn-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  touch-action: manipulation;
}

.vn-gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--vn-border-accent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.vn-gallery-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b111d;
}

.vn-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.vn-gallery-card:hover .vn-gallery-thumb {
  transform: scale(1.04);
}

.vn-gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 11, 17, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vn-cyan);
}

.vn-gallery-count-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 11, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.vn-gallery-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vn-gallery-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.3;
}

.vn-gallery-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--vn-text-secondary);
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vn-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vn-cyan);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Filter Bar for Image Grid */
.vn-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.vn-filter-bar::-webkit-scrollbar {
  display: none;
}

.vn-filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--vn-border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--vn-text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-filter-btn:hover,
.vn-filter-btn.active {
  background: var(--vn-cyan-soft);
  border-color: var(--vn-cyan);
  color: #fff;
}

/* Visual Network 2.0 Exhibition Grid — Natural Proportions & Museum Placards */
.vn-images-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.vn-image-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(13, 18, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.vn-image-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px);
}

.vn-image-figure {
  position: relative;
  margin: 0;
  background: #060910;
  aspect-ratio: auto;
  height: auto;
  overflow: hidden;
  cursor: zoom-in;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vn-image-figure picture {
  display: block;
  width: 100%;
}

.vn-image-figure img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  display: block;
  transition: transform 0.38s ease;
}

.vn-image-card:hover .vn-image-figure img {
  transform: scale(1.015);
}

.vn-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(8, 11, 17, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.vn-image-card:hover .vn-zoom-hint {
  opacity: 1;
}

.vn-image-content {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.vn-exhibition-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--vn-text-muted);
}

.vn-meta-geo {
  color: #93c5fd;
}

.vn-meta-dot {
  opacity: 0.5;
}

.vn-meta-type {
  color: var(--vn-text-muted);
}

.vn-image-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.34;
  margin: 0;
  color: #f8fafc;
}

.vn-image-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--vn-text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vn-image-tags {
  display: none;
}

.vn-tag-chip {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--vn-text-muted);
}

.vn-image-actions {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vn-btn-article {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-btn-article:hover {
  background: rgba(56, 189, 248, 0.24);
  color: #fff;
}

.vn-btn-koa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  background: var(--vn-gold-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  touch-action: manipulation;
}

.vn-btn-koa:hover {
  background: rgba(245, 158, 11, 0.24);
  color: #fff;
}

/* Editorial Story Context Block on Gallery Pages */
.vn-editorial-note {
  margin: 36px 0;
  padding: 26px 28px;
  border-radius: var(--vn-radius-lg);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(11, 17, 29, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.vn-editorial-note h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}

.vn-editorial-note p {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--vn-text-secondary);
  margin: 0 0 12px;
}

.vn-editorial-note p:last-child {
  margin-bottom: 0;
}

/* Keys of Alanya Real Estate Cross-Project Banner */
.vn-koa-showcase {
  margin-top: 44px;
  padding: 30px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 15%, rgba(245, 158, 11, 0.16), transparent 50%),
    linear-gradient(145deg, #101927 0%, #0a101a 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.vn-koa-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.vn-koa-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vn-gold);
  margin-bottom: 6px;
}

.vn-koa-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.vn-koa-sub {
  font-size: 14px;
  color: var(--vn-text-secondary);
  margin: 0;
  max-width: 700px;
}

.vn-koa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vn-koa-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--vn-radius-md);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vn-koa-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
}

.vn-koa-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #090d14;
}

.vn-koa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vn-koa-price-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(8, 11, 17, 0.86);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  font-size: 12.5px;
  font-weight: 700;
}

.vn-koa-card-body {
  padding: 15px 16px 18px;
}

.vn-koa-card-title {
  font-size: 15.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  line-height: 1.35;
}

.vn-koa-card-meta {
  font-size: 12.5px;
  color: var(--vn-text-muted);
  margin: 0;
}

/* Global Geography Directory Footer */
.vn-geo-directory {
  margin-top: 44px;
  padding: 26px 28px;
  border-radius: var(--vn-radius-lg);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--vn-border);
}

.vn-geo-directory h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.vn-geo-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vn-geo-region-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vn-geo-region-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vn-cyan);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vn-geo-region-list {
  font-size: 12.5px;
  color: var(--vn-text-muted);
  line-height: 1.5;
}

/* Lightbox Modal */
.vn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vn-lightbox.open {
  display: flex;
}

.vn-lightbox-inner {
  max-width: 1120px;
  width: 100%;
  background: #0d131f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
}

.vn-lightbox-img-wrap {
  position: relative;
  background: #05070c;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vn-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.vn-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 17, 0.82);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vn-lightbox-bar {
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vn-lightbox-caption h4 {
  margin: 0 0 4px;
  font-size: 17px;
  color: #fff;
}

.vn-lightbox-caption p {
  margin: 0;
  font-size: 13.5px;
  color: var(--vn-text-secondary);
}

/* Responsive — Tablet & iPhone Safari (320px–430px) */
@media (max-width: 980px) {
  .vn-galleries-grid,
  .vn-koa-grid,
  .vn-geo-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vn-topbar {
    padding: 10px 14px;
  }
  .vn-brand-badge {
    display: none;
  }
  .vn-container {
    padding: 16px 14px 56px;
  }
  .vn-hero {
    padding: 26px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .vn-galleries-grid,
  .vn-images-grid,
  .vn-koa-grid,
  .vn-geo-regions {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vn-image-content {
    padding: 16px;
  }
  .vn-koa-showcase {
    padding: 20px 16px;
  }
  .vn-editorial-note,
  .vn-geo-directory {
    padding: 20px 16px;
  }
}
