/* =========================================================
   Zero-Waste Festivals · Erasmus+ Youth Exchange
   Stylesheet
   ========================================================= */

:root {
  --blue:        #123a8f;   /* Erasmus+ deep blue */
  --blue-dark:   #0d2a68;
  --green:       #2e9e5b;   /* eco green */
  --green-dark:  #1f7a44;
  --warm:        #e0552b;   /* festival warm accent */
  --warm-dark:   #c2431f;
  --ink:         #1a1f2e;
  --muted:       #5b6472;
  --line:        #e6e9ef;
  --bg:          #ffffff;
  --bg-alt:      #f4f7fb;
  --white:       #ffffff;
  --radius:      16px;
  --shadow:      0 10px 30px rgba(18, 58, 143, .08);
  --shadow-sm:   0 4px 14px rgba(18, 58, 143, .07);
  --maxw:        1120px;
  --font:        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display:     "Poppins", var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 80px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; color: var(--blue); }
.brand-logo { height: 40px; width: auto; }
.brand-fallback { display: none; }
.brand-logo[style*="none"] + .brand-fallback,
.brand:has(.brand-logo[style*="none"]) .brand-fallback { display: inline; }

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .93rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--blue); background: var(--bg-alt); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.lang-switcher { display: flex; gap: 2px; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.lang-switcher button {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  line-height: 1;
  padding: 5px 7px;
  border-radius: 999px;
  cursor: pointer;
  filter: grayscale(65%) opacity(.7);
  transition: filter .15s, transform .1s, background .15s;
}
.lang-switcher button:hover { filter: none; transform: translateY(-1px); }
.lang-switcher button.active { filter: none; background: var(--white); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none;
  border: none;
  background: var(--bg-alt);
  color: var(--blue);
  font-size: 1.3rem;
  width: 42px; height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  color: var(--white);
  background-image:
    radial-gradient(1200px 500px at 15% -10%, rgba(46,158,91,.28), transparent 60%),
    radial-gradient(1000px 500px at 95% 10%, rgba(224,85,43,.22), transparent 55%),
    linear-gradient(135deg, rgba(15,42,104,.55) 0%, rgba(13,42,104,.38) 55%, rgba(10,32,80,.58) 100%),
    url("../images/elafonisos-beach.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.06) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.05) 0 2px, transparent 3px);
  background-size: 60px 60px, 90px 90px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  padding: 92px 20px 104px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(6, 20, 55, .45);
}
.hero-eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero-subtitle {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,.9);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 34px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .12s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--warm); color: #fff; box-shadow: 0 8px 22px rgba(224,85,43,.4); }
.btn-primary:hover { background: var(--warm-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ===================== LOGO STRIP ===================== */
.logo-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  padding: 26px 20px;
}
.logo-strip img { height: 52px; width: auto; object-fit: contain; }
.logo-ph {
  font-weight: 700;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: .9rem;
}

/* ===================== SECTIONS ===================== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  color: var(--warm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: -.01em;
  margin-bottom: 30px;
  color: var(--blue);
}
.prose { max-width: 760px; font-size: 1.08rem; color: #333a48; }
.prose p + p { margin-top: 16px; }
.subtitle {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--blue);
  margin: 42px 0 18px;
}

/* ===================== CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section-alt .card { background: var(--white); }
.card-icon {
  font-size: 2rem;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border-radius: 14px;
  margin-bottom: 16px;
}
.card-title { font-family: var(--display); font-size: 1.2rem; color: var(--blue); margin-bottom: 10px; }
.card-text { color: #444c5a; font-size: .98rem; }
.card-lg { padding: 30px; }

/* ===================== STATS ===================== */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}
.stat {
  flex: 1 1 140px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1;
}
.stat-label { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* ===================== COUNTRY GRID ===================== */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.country-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.country-flag { font-size: 2.4rem; }
.country-card h3 { font-family: var(--display); color: var(--blue); margin: 6px 0 4px; }
.country-card p { color: var(--muted); font-size: .92rem; }

/* ===================== PARTNERS ===================== */
.partners { list-style: none; display: grid; gap: 12px; max-width: 760px; }
.partners li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .98rem;
  color: #444c5a;
}
.partners strong { color: var(--ink); }

/* ===================== ACCORDION ===================== */
.accordion { max-width: 820px; display: grid; gap: 14px; }
.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--blue);
  text-align: left;
}
.acc-arrow { font-size: 1.3rem; color: var(--warm); transition: transform .2s; flex-shrink: 0; }
.acc-item.open .acc-arrow { transform: rotate(45deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
}
.acc-item.open .acc-body { padding-bottom: 22px; }
.acc-body ul { padding-left: 20px; }
.acc-body li { margin: 8px 0; color: #444c5a; }
.acc-body p { margin: 4px 0 10px; color: #444c5a; }

.acc-subtitle {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin: 18px 0 10px;
}
.req-label { font-weight: 600; color: var(--ink); margin: 14px 0 4px; }
.reimb-list { list-style: none; padding-left: 0 !important; display: grid; gap: 8px; }
.reimb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 9px 14px;
  margin: 0 !important;
}
.reimb-list strong { color: var(--green-dark); }
.reimb-list sup { color: var(--warm); font-weight: 700; }
.reimb-note {
  font-size: .86rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px !important;
  line-height: 1.5;
}
.acc-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(18, 58, 143, .25);
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
.acc-link:hover { color: var(--warm); border-color: var(--warm); }
.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.photo-row img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  background: var(--bg-alt);
  border: 2px dashed var(--line);
  border-radius: 12px;
  font-size: 2.4rem;
}

/* ===================== GALLERY / AFTER ===================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.gallery-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

/* ===================== CONTACT ===================== */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--warm);
  border-radius: var(--radius);
  padding: 26px;
  max-width: 460px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}
.contact-card p { margin: 8px 0; }
.contact-card a { color: var(--blue); font-weight: 600; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 48px 0 36px;
  text-align: center;
}
.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto 28px;
}
.footer-logos img { height: 44px; width: auto; object-fit: contain; }

/* Το λογότυπο Lakwn-texnes είναι σε τετράγωνο καμβά με κενό γύρω του,
   γι' αυτό το εμφανίζουμε μεγαλύτερο ώστε να ξεχωρίζει καλύτερα το σήμα */
.brand-logo[src*="logo-lakwn-texnes"] { height: 66px; }
.logo-strip img[src*="logo-lakwn-texnes"] { height: 88px; }
.footer-logos img[src*="logo-lakwn-texnes"] { height: 72px; }
.footer-disclaimer { max-width: 760px; margin: 0 auto; font-size: .82rem; line-height: 1.6; opacity: .8; }
.footer-copy { margin-top: 18px; font-size: .85rem; opacity: .6; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 16px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; border-radius: 8px; font-size: 1rem; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 520px) {
  .hero-content { padding: 64px 18px 72px; }
  .section { padding: 56px 0; }
  .lang-switcher button { padding: 4px 5px; font-size: .95rem; }
  .logo-strip-inner { gap: 28px; }
}
