/* ═══════════════════════════════════
   DESIGN SYSTEM — Discover Albania
   Based on handoff bundle design
═══════════════════════════════════ */
:root {
  --font:         'DM Sans', system-ui, sans-serif;
  --c-bg:         #f5f0e8;
  --c-bg-alt:     #ede7da;
  --c-bg-card:    #faf7f2;
  --c-dark:       #0e1015;
  --c-dark-2:     #1c150a;
  --c-terra:      #b84a28;
  --c-terra-dark: #944020;
  --c-terra-light:#d86040;
  --c-gold:       #c49a2a;
  --c-sea:        #1a6b8a;
  --c-text:       #1a1408;
  --c-text-muted: #6b5c50;
  --c-text-light: #9c8e82;
  --c-text-on-dark:#f0e8d8;
  --c-border:     #d8cfc0;
  --c-card:       #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.15);
  --max-w:        1320px;
  --pad:          48px;
  --nav-h:        76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font); background: var(--c-bg); color: var(--c-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
button { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.alb-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ═══════════════════════════════════
   READING PROGRESS
═══════════════════════════════════ */
#pgbar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--c-terra), var(--c-terra-light));
  z-index: 200;
  transition: width 0.08s linear;
}

/* ═══════════════════════════════════
   NAV
═══════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(245,240,232,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}
nav.scrolled .nav-inner { height: 60px; }
nav.scrolled .nav-brand { color: var(--c-text); }
nav.scrolled .nav-brand-sub { color: var(--c-text-muted); }
nav.scrolled .nav-links a { color: var(--c-text-muted); }
nav.scrolled .nav-links a.active { color: var(--c-terra); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  transition: height 0.3s ease;
}

.nav-brand {
  display: block; height: 34px; transition: opacity 0.3s;
}
.nav-brand img { height: 100%; width: auto; display: block; }
.nav-brand .logo-color { display: none; }
.nav-brand .logo-white { display: block; opacity: 0.85; }
nav.scrolled .nav-brand .logo-color { display: block; }
nav.scrolled .nav-brand .logo-white { display: none; }

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 8px 13px;
  font-family: var(--font); font-size: 13.5px; font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.75);
  transition: color 0.18s;
  position: relative;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 3px; left: 13px; right: 13px;
  height: 1.5px; background: rgba(255,255,255,0.7); border-radius: 1px;
}

/* ─── Explore Dropdown ─── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  cursor: pointer; user-select: none;
}
.nav-dropdown-toggle.active { font-weight: 600; }
.nav-dropdown-toggle::after { display: none; }
.nav-dropdown-toggle svg {
  width: 10px; height: 10px; margin-left: 2px; vertical-align: middle;
  stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
/* Invisible bridge so mouse can travel from toggle to menu */
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0;
  height: 16px; display: none;
}
.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 200px;
  background: rgba(10, 12, 20, 0.92); backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 6px;
  padding: 8px 0; list-style: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 950;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 13.5px; color: rgba(255,255,255,0.75) !important;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.1); color: #fff !important;
}
nav.scrolled .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--c-border); box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
nav.scrolled .nav-dropdown-menu a { color: var(--c-text-muted) !important; }
nav.scrolled .nav-dropdown-menu a:hover { background: var(--c-bg-alt); color: var(--c-terra) !important; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 3px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.18s ease;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.14); color: #fff;
}
.nav-cta:hover { background: rgba(255,255,255,0.22); text-decoration: none; }
nav.scrolled .nav-cta {
  background: var(--c-terra); color: #fff; border-color: var(--c-terra);
}
nav.scrolled .nav-cta:hover { background: var(--c-terra-dark); }

/* ─── Hamburger ─── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav.scrolled .nav-toggle span { background: var(--c-text); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════
   SECTION LABEL
═══════════════════════════════════ */
.section-label {
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-terra); margin-bottom: 12px;
}
.section-label.gold { color: var(--c-gold); }

/* ═══════════════════════════════════
   HEADINGS
═══════════════════════════════════ */
h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--c-text);
  margin-bottom: 24px;
}
h2.light { color: var(--c-text-on-dark); }

h3 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

p { font-size: 16.5px; color: var(--c-text-muted); line-height: 1.75; margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════
   DIVIDER
═══════════════════════════════════ */
.divider { width: 48px; height: 2px; background: var(--c-terra); border-radius: 1px; margin-bottom: 28px; }

/* ═══════════════════════════════════
   TAGS
═══════════════════════════════════ */
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.tag-terra  { background: oklch(92% 0.04 27);  color: var(--c-terra); }
.tag-gold   { background: oklch(94% 0.05 82);  color: oklch(50% 0.14 72); }
.tag-sea    { background: oklch(92% 0.04 210); color: var(--c-sea); }
.tag-dark   { background: var(--c-dark);        color: var(--c-text-on-dark); }
.tag-neutral{ background: var(--c-border);      color: var(--c-text-muted); }

/* ═══════════════════════════════════
   BUTTONS
═══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 3px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.18s ease; border: none;
}
.btn-primary { background: var(--c-terra); color: #fff; }
.btn-primary:hover { background: var(--c-terra-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--c-text); border: 1.5px solid currentColor; }
.btn-outline:hover { color: var(--c-terra); border-color: var(--c-terra); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--c-text); }
.btn-ghost:hover { color: var(--c-terra); text-decoration: none; }
.btn-light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-light:hover { background: rgba(255,255,255,0.22); text-decoration: none; }
.btn-gold { background: var(--c-gold); color: #1a1408; }
.btn-gold:hover { background: oklch(68% 0.14 82); text-decoration: none; }

/* ═══════════════════════════════════
   AD SLOTS
═══════════════════════════════════ */
.ad-wrap {
  display: none; /* Hidden until AdSense approved */
  display: flex; justify-content: center; align-items: center;
  padding: 28px 32px; overflow: hidden;
}
.ad-slot {
  display: flex; align-items: center; justify-content: center;
  background: var(--c-bg-alt); border: 1px dashed var(--c-border); border-radius: 4px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-light);
}
.ad-728 { width: 100%; max-width: 728px; height: 90px; }
.ad-300 { width: 100%; max-width: 300px; height: 250px; }

/* ═══════════════════════════════════
   PAGE HERO (sub-pages)
═══════════════════════════════════ */
.page-hero {
  position: relative; min-height: 100vh; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.page-hero-bg.loaded { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);
}
.page-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(60px, 10vh, 100px) var(--pad);
  max-width: calc(var(--max-w) + var(--pad) * 2); margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(44px, 6vw, 72px); color: #fff;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.3);
}
.page-hero .subtitle {
  font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,0.85);
  max-width: 600px; line-height: 1.6; font-weight: 300;
  text-shadow: 0 1px 16px rgba(0,0,0,0.2);
}

/* ═══════════════════════════════════
   CARDS
═══════════════════════════════════ */
.card {
  background: var(--c-card); border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  text-decoration: none;
}

/* ═══════════════════════════════════
   FAQ
═══════════════════════════════════ */
.faq-list { list-style: none; margin: 32px 0; }
details.faq-item { border-bottom: 1px solid var(--c-border); }
details.faq-item:first-child { border-top: 1px solid var(--c-border); }
summary.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  color: var(--c-text); cursor: pointer; user-select: none; list-style: none;
}
summary.faq-q::-webkit-details-marker { display: none; }
summary.faq-q::marker { display: none; }
.faq-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--c-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--c-terra);
  transition: transform 0.3s ease;
}
details[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding-bottom: 22px; padding-right: 50px; }
.faq-body p { font-size: 15px; color: var(--c-text-muted); margin: 0; line-height: 1.7; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer { background: #0a0c0f; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: clamp(48px,6vw,80px) var(--pad) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; margin-bottom: 60px; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.18s; display: block; padding: 5px 0; }
.footer-link:hover { color: var(--c-terra-light); text-decoration: none; }
.footer-logo { display: block; height: 30px; margin-bottom: 16px; opacity: 0.8; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 20px; }
.footer-contact a { color: rgba(255,255,255,0.55); text-decoration: underline; transition: color 0.18s; }
.footer-contact a:hover { color: var(--c-terra-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.28); }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.22); max-width: 480px; line-height: 1.6; text-align: right; }

/* ═══════════════════════════════════
   ANIMATIONS
═══════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-in { animation: fadeIn 0.5s ease both; }
.fade { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade.in { opacity: 1; transform: none; }


/* ═══════════════════════════════════
   BACK TO TOP
═══════════════════════════════════ */
.back-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-terra); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  z-index: 90; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.back-top.show { opacity: 1; transform: none; }
.back-top:hover { background: var(--c-terra-dark); }
.back-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 12, 20, 0.35);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 16px 24px; gap: 0;
    transition: background 0.3s, border-color 0.3s;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center; }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { font-size: 16px; color: rgba(255,255,255,0.8) !important; }
  .nav-links a.active { color: var(--c-terra-light) !important; }
  /* Mobile: show all explore links as flat items, hide dropdown toggle */
  .nav-dropdown { padding: 0 !important; border-bottom: none !important; }
  .nav-dropdown-toggle { display: none; }
  .nav-dropdown::after { display: none !important; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown-menu {
    display: block !important; position: static; transform: none;
    background: none !important; backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important; border-radius: 0; box-shadow: none !important;
    padding: 0; min-width: 0; margin: 0;
  }
  .nav-dropdown-menu li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06) !important; text-align: center; }
  .nav-dropdown-menu a { padding: 0; font-size: 16px; color: rgba(255,255,255,0.8) !important; }
  .nav-dropdown-menu a:hover { background: none !important; }
  nav.scrolled .nav-dropdown-menu li { border-bottom-color: rgba(0,0,0,0.06) !important; }
  nav.scrolled .nav-dropdown-menu a { color: var(--c-text-muted) !important; }
  nav.scrolled .nav-dropdown-menu a.active { color: var(--c-terra) !important; }
  /* Scrolled state: solid light glass */
  nav.scrolled .nav-links {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--c-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  nav.scrolled .nav-links li { border-bottom-color: rgba(0,0,0,0.07); }
  nav.scrolled .nav-links a { color: var(--c-text-muted) !important; }
  nav.scrolled .nav-links a.active { color: var(--c-terra) !important; }
  .nav-cta { display: none; }
  .nav-divider { display: none; }
  .page-hero { min-height: 60vh; height: auto; }
  .page-hero-content { padding: 40px var(--pad); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ad-728 { height: 60px; }
  .faq-body { padding-right: 0; }
  .related-grid { grid-template-columns: 1fr !important; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(14, 16, 21, 0.95);
  backdrop-filter: blur(12px);
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}
.cookie-banner p a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}
.cookie-banner-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 3px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.18s;
}
.cookie-btn-accept {
  background: var(--c-terra);
  color: #fff;
}
.cookie-btn-accept:hover { background: var(--c-terra-dark); }
.cookie-btn-reject {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
}
.cookie-btn-reject:hover { background: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; }
}
