/* ==========================================================================
   ΕΛΠΙΔΑ ΓΑΛΗΝΗ ΚΑΙ ΦΩΣ — Stylesheet
   Warm, human, philanthropic
   ========================================================================== */

:root {
  /* Warm philanthropic palette */
  --c-cream: #faf6f0;
  --c-paper: #f3ece1;
  --c-ink: #2a1810;
  --c-ink-soft: #5c4a3e;
  --c-warm: #c97b4a;        /* terracotta accent */
  --c-warm-deep: #a85a2e;
  --c-gold: #d4a04a;        /* hope/light */
  --c-sage: #7a8b6f;        /* calm/galini */
  --c-rule: #e3d9c8;
  --c-shadow: rgba(42, 24, 16, 0.08);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Caveat', 'Brush Script MT', cursive;

  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 160, 74, 0.04) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 123, 74, 0.04) 0, transparent 50%);
  z-index: 0;
}

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

a {
  color: var(--c-warm-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-ink);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.5rem;
}

.script {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.5em;
  color: var(--c-warm);
  display: inline-block;
  transform: rotate(-2deg);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-warm-deep);
  font-weight: 500;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--c-ink-soft);
}

p.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--c-ink);
  font-weight: 400;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-rule);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--c-ink);
  font-weight: 500;
}

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
  margin-top: 2px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--c-ink-soft);
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--c-ink);
  background: var(--c-paper);
}

.nav-links a.active {
  color: var(--c-warm-deep);
  background: var(--c-paper);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--c-ink);
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-content .eyebrow {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero-content .lead {
  margin-bottom: 2rem;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.3s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-warm);
  color: var(--c-cream);
}

.btn-primary:hover {
  background: var(--c-warm-deep);
  color: var(--c-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 90, 46, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
}

.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}

/* ==========================================================================
   Cards / Values
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--c-shadow);
  border-color: var(--c-warm);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--c-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--c-warm-deep);
}

.value-icon svg { width: 28px; height: 28px; }

.value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.value-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */

.stats {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.stats h2 {
  color: var(--c-cream);
}

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

.stat {
  border-left: 2px solid var(--c-gold);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(250, 246, 240, 0.75);
  line-height: 1.5;
}

/* ==========================================================================
   Section Header
   ========================================================================== */

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   Page Banner (interior pages)
   ========================================================================== */

.page-banner {
  background: var(--c-paper);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-rule);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 74, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  margin-bottom: 1rem;
}

.page-banner .lead {
  max-width: 640px;
}

/* ==========================================================================
   Content (article-like) sections
   ========================================================================== */

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose ul {
  margin: 1rem 0 1.5rem 1.25rem;
  color: var(--c-ink-soft);
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.prose blockquote {
  border-left: 3px solid var(--c-gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--c-ink);
  line-height: 1.5;
}

/* ==========================================================================
   Article list (purpose / actions)
   ========================================================================== */

.article-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.article-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-rule);
}

.article-item:last-child {
  border-bottom: none;
}

.article-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--c-warm);
  line-height: 1;
  min-width: 60px;
}

.article-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   Beneficiaries tag list
   ========================================================================== */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.tag {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  border: 1px solid var(--c-rule);
}

/* ==========================================================================
   Contact info
   ========================================================================== */

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

.contact-card {
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 18px;
  padding: 2rem;
}

.contact-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-warm-deep);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.contact-card .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--c-ink);
  line-height: 1.4;
  word-break: break-word;
}

.contact-card a.value {
  color: var(--c-ink);
}

.contact-card a.value:hover {
  color: var(--c-warm-deep);
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */

.cta-strip {
  background: var(--c-paper);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.cta-strip h2 {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.cta-strip .lead {
  max-width: 540px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--c-ink);
  color: rgba(250, 246, 240, 0.7);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .brand-text {
  color: var(--c-cream);
}

.footer-brand .brand-text small {
  color: rgba(250, 246, 240, 0.5);
}

.footer-brand p {
  margin-top: 1rem;
  color: rgba(250, 246, 240, 0.6);
  font-size: 0.875rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(250, 246, 240, 0.7);
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(250, 246, 240, 0.5);
}

.footer-bottom a {
  color: rgba(250, 246, 240, 0.6);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 380px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-rule);
    padding: 1rem var(--gutter);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }
}

@media (max-width: 520px) {
  .article-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .article-num {
    font-size: 2rem;
  }
}
