/* Thessaloniki Stories — shared site styles */

:root {
  --navy: #142B3D;
  --navy-dark: #0B1A26;
  --navy-soft: #1E3C52;
  --gold: #D99A44;
  --gold-dark: #B97C2B;
  --cream: #FAF5EC;
  --cream-dark: #F1E9D8;
  --white: #FFFFFF;
  --text: #23303D;
  --text-muted: #5B6773;
  --border: #E7DFD2;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(20, 43, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 43, 61, 0.20);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 43, 61, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.brand .brand-mark {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(217, 154, 68, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 154, 68, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.header-cta { display: flex; align-items: center; gap: 1rem; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 26, 38, 0.55) 0%, rgba(11, 26, 38, 0.75) 55%, rgba(11, 26, 38, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 6rem 1.5rem 3.5rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin: 0 0 1rem;
  line-height: 1.08;
  text-wrap: balance;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Stat strip ---------- */

.stat-strip {
  background: var(--navy-dark);
  color: var(--white);
  padding: 2rem 0;
}

.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-strip strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--gold);
}

.stat-strip span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Sections ---------- */

section { padding: 5rem 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.kicker {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 0.9rem;
  color: var(--navy);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Attractions grid ---------- */

.attractions-band { background: var(--white); }

.attractions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.card-link { text-decoration: none; color: inherit; display: block; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.card-link:hover .card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  height: 200px;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.badge-free {
  background: rgba(59, 154, 108, 0.92);
  color: var(--white);
}

.badge-premium,
.badge-tag {
  background: rgba(20, 43, 61, 0.82);
  color: var(--gold);
  border: 1px solid rgba(217, 154, 68, 0.5);
}

.card-body { padding: 1.25rem 1.4rem 1.5rem; }

.card-body .name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.3rem;
}

.card-body .tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

.card-body .excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.card-body .meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.card-body .read-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(217, 154, 68, 0.18), transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(217, 154, 68, 0.12), transparent 45%);
}

.cta-band .wrap { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.9rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.75rem;
}

.footer-brand .brand { margin-bottom: 0.6rem; }

.footer-brand p {
  max-width: 320px;
  font-size: 0.92rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover { color: var(--gold); }

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Detail page ---------- */

.detail-hero {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 38, 0.25) 0%, rgba(11, 26, 38, 0.88) 100%);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 2.25rem;
}

.detail-hero .badge { position: static; display: inline-block; margin-bottom: 0.9rem; }

.detail-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.4rem;
}

.detail-hero .tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin: 0;
}

.detail-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

.audio-callout {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.25rem;
}

.audio-callout .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.audio-callout .text { flex: 1; }

.audio-callout strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.audio-callout span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.description p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.description a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: rgba(185, 124, 43, 0.35);
  text-underline-offset: 2px;
}

.description a:hover { text-decoration-color: var(--gold-dark); }

.description h2 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.description .lead-in {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.9rem;
}

.full-text {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.full-text.is-open { max-height: 2000px; }

.read-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2rem;
  font-family: inherit;
}

.read-more-toggle svg { transition: transform 0.3s ease; }

.read-more-toggle.is-open svg { transform: rotate(180deg); }

.detail-cta {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  margin: 2.5rem 0 3.5rem;
}

.detail-cta h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

.detail-cta p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.related-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.related-grid .card-media { height: 130px; }
.related-grid .card-body { padding: 0.9rem 1.1rem 1.1rem; }
.related-grid .card-body .name { font-size: 0.95rem; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-links { display: none; }
  .site-header .wrap { height: 58px; padding: 0 1rem; gap: 0.75rem; }
  section { padding: 3.5rem 0; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .hero { min-height: 78vh; }
  .detail-container { padding-top: 2rem; }
  .brand { font-size: 1.05rem; }
  .back-link span.long { display: none; }
}

@media (max-width: 520px) {
  .header-cta .btn span.long { display: none; }
  .header-cta .btn { padding: 0.6rem 0.75rem; }
  .brand .brand-mark { display: none; }
}
