/* ===========================================================
   Μουσική της Κρήτης — redesign
   Palette: Ασβέστης (limewash stone) / Μελάνι (ink) / Κρασί (wine) / Πέλαγος (sea)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Alegreya+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root{
  --stone: #f1ece1;
  --stone-deep: #e7e0d0;
  --ink: #241f1a;
  --ink-soft: #4a4136;
  --wine: #6b1f2a;
  --wine-soft: #8a3540;
  --sea: #1f4159;
  --rule: #d6cbb3;
  --rule-soft: #e3dac4;
  --max: 700px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Alegreya', Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; }

::selection{ background: var(--wine); color: var(--stone); }

/* ---------- Cretan motif divider (replaces the old line PNG) ---------- */
.motif{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2.4rem 0;
  color: var(--wine-soft);
  opacity: .8;
}
.motif::before, .motif::after{
  content: "";
  height: 1px;
  width: 64px;
  background: var(--rule);
}
.motif svg{ width: 13px; height: 13px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241,236,225,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-header .bar{
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 560px){
  .site-header .bar{ padding: 16px 20px; }
  nav.primary{ width: 100%; }
  nav.primary a{ margin-left: 0; margin-right: 22px; }
}
.brand{
  font-family: 'Alegreya', serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand em{
  font-style: italic;
  color: var(--wine);
}
nav.primary{
  display: flex;
  gap: 26px;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
nav.primary a{
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 3px;
  margin-left: 26px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
nav.primary a:first-child{ margin-left: 0; }
nav.primary a:hover,
nav.primary a.active{
  color: var(--wine);
  border-color: var(--wine);
}

/* ---------- Hero (index page) ---------- */
.hero{
  max-width: 840px;
  margin: 0 auto;
  padding: 76px 28px 40px;
  text-align: center;
}
.hero .eyebrow{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 28px;
}
.hero .lede{
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 8px;
}

.hero-quote{
  max-width: 620px;
  margin: 46px auto 0;
  padding: 34px 10px 0;
  border-top: 1px solid var(--rule);
}
.hero-quote blockquote{
  margin: 0;
  font-style: italic;
  font-size: 1.34rem;
  line-height: 1.55;
  color: var(--ink);
}
.hero-quote blockquote::before{ content: "“"; color: var(--wine); }
.hero-quote blockquote::after{ content: "”"; color: var(--wine); }
.hero-quote cite{
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Intro / about section on index ---------- */
.about{
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 50px 28px 10px;
}
.about p{
  color: var(--ink-soft);
  font-size: 1.06rem;
}

/* ---------- Collection cards (index page) ---------- */
.collections{
  max-width: 980px;
  margin: 10px auto 0;
  padding: 30px 28px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 720px){
  .collections{ grid-template-columns: 1fr; }
}
.card{
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--stone-deep);
  border: 1px solid var(--rule);
  padding: 34px 30px;
  transition: border-color .15s, transform .15s;
}
.card:hover{
  border-color: var(--wine-soft);
}
.card .num{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sea);
  display: block;
  margin-bottom: 14px;
}
.card h3{
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
}
.card p{
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: .98rem;
}
.card .go{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
}

/* ---------- Archive layout (mantinades.html / tragoudia.html) ---------- */
.archive-head{
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 10px;
}
.archive-head .eyebrow{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 16px;
}
.archive-head h1{
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 18px;
  font-weight: 600;
}
.archive-head p{
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 56ch;
}

.layout{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px 100px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px){
  .layout{ grid-template-columns: 1fr; }
}

/* Index / table of contents */
.toc{
  position: sticky;
  top: 86px;
  font-family: 'Alegreya Sans', sans-serif;
}
.toc .label{
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 14px;
  display: block;
}
.toc ol{
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
.toc li{ margin-bottom: 9px; }
.toc a{
  text-decoration: none;
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.toc a:hover{ color: var(--wine); }

@media (max-width: 860px){
  .toc{ position: static; }
  .toc ol{ columns: 1; }
}
@media (max-width: 520px){
  .toc ol{ columns: 1; }
}

/* Record (artist / song) sections */
.records{ min-width: 0; }
.record{
  padding: 38px 0 10px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.record:first-child{ border-top: none; padding-top: 0; }

.record h2{
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 22px;
}
.lettrine{
  font-style: italic;
  font-weight: 700;
  color: var(--wine);
  font-size: 1.5em;
  margin-right: 1px;
}

.entry{
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 2px solid var(--rule-soft);
}
.entry p{
  margin: 0 0 8px;
  font-size: 1.04rem;
}
.entry-meta{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.credit{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
  font-style: italic;
}
a.listen{
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--sea);
  border-bottom: 1px solid transparent;
}
a.listen:hover{ border-color: var(--sea); }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--rule);
  padding: 40px 28px 56px;
}
.site-footer .inner{
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: .84rem;
  color: var(--ink-soft);
}
.site-footer a{
  color: var(--wine);
  text-decoration: none;
}
.site-footer a:hover{ text-decoration: underline; }

/* ---------- Misc page (contact-style note in footer / about page) ---------- */
.simple-page{
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 28px 100px;
}
.simple-page h1{ font-size: 2rem; margin-bottom: 18px; }
.simple-page p{ color: var(--ink-soft); font-size: 1.05rem; }

/* Focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* =========================================================
   ΑΡΧΙΚΗ — εκτεταμένο εισαγωγικό άρθρο
   ========================================================= */

.intro-article{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 20px;
}

.intro-section{
  padding: 44px 0 10px;
}

.intro-heading{
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--wine);
  letter-spacing: .01em;
}

.intro-section p{
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.intro-section a{
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.intro-section a:hover{ border-color: var(--sea); }

/* --- Instruments grid --- */
.instruments{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px;
}
@media (max-width: 580px){
  .instruments{ grid-template-columns: 1fr; }
}

.instrument-card{
  background: var(--stone-deep);
  border: 1px solid var(--rule);
  padding: 22px 20px;
}

.instrument-name{
  font-family: 'Alegreya', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.instrument-card p{
  margin: 0;
  font-size: .97rem;
  color: var(--ink-soft);
}

/* --- Artists grid --- */
.artists-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 10px;
}
@media (max-width: 580px){
  .artists-grid{ grid-template-columns: 1fr; }
}

.artist-entry{
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
}

.artist-name{
  font-family: 'Alegreya', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.artist-entry p{
  margin: 0;
  font-size: .96rem;
  color: var(--ink-soft);
}

/* =========================================================
   ARTISTS LIST (index.html)
   ========================================================= */

.artists-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

@media (max-width: 560px) {
  .artists-list { columns: 1; }
}

.artists-list li {
  margin-bottom: 11px;
  break-inside: avoid;
}

.artists-list a {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .13s, border-color .13s;
}

.artists-list a:hover {
  color: var(--wine);
  border-bottom-color: var(--wine);
}
