/* ==========================================================================
   ΕΛΠΙΔΑ ΓΑΛΗΝΗ ΚΑΙ ΦΩΣ — 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: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
}

.footer-logo {
  background: #fff;
  padding: 2px;
}

.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;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(212, 160, 74, 0.35) 0%,
    rgba(201, 123, 74, 0.15) 35%,
    transparent 65%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.hero-logo {
  position: relative;
  width: 92%;
  height: auto;
  max-width: 460px;
  z-index: 1;
  filter: drop-shadow(0 12px 30px rgba(42, 24, 16, 0.18));
  animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@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;
}

/* ==========================================================================
   Photo Frames - creative organic shapes with effects
   ========================================================================== */

/* Oval/blob photo with warm glow */
.photo-oval {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
}

.photo-oval::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at 30% 30%,
    rgba(212, 160, 74, 0.35) 0%,
    rgba(201, 123, 74, 0.18) 40%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(22px);
  z-index: 0;
  animation: softPulse 8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

.photo-oval img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 50% / 45%;
  z-index: 1;
  box-shadow:
    0 20px 50px rgba(42, 24, 16, 0.25),
    0 0 0 6px rgba(255, 255, 255, 0.8),
    0 0 0 7px var(--c-rule);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.photo-oval:hover img {
  transform: scale(1.02) rotate(-0.5deg);
}

/* Blob shape variant */
.photo-blob {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
}

.photo-blob::before {
  content: '';
  position: absolute;
  inset: -25px;
  background: radial-gradient(circle at 70% 40%,
    rgba(122, 139, 111, 0.3) 0%,
    rgba(212, 160, 74, 0.2) 40%,
    transparent 75%);
  filter: blur(25px);
  z-index: 0;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blobMorph 12s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
}

.photo-blob img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%;
  z-index: 1;
  box-shadow: 0 18px 45px rgba(42, 24, 16, 0.22);
  filter: saturate(1.05);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-blob:hover img {
  border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
  transform: scale(1.02);
}

/* Circle frame with decorative border */
.photo-circle {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
}

.photo-circle::before,
.photo-circle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.photo-circle::before {
  inset: -14px;
  border: 1.5px solid var(--c-warm);
  opacity: 0.4;
  animation: slowSpin 40s linear infinite;
  border-style: dashed;
}

.photo-circle::after {
  inset: -28px;
  border: 1px solid var(--c-gold);
  opacity: 0.3;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.6),
    0 15px 40px rgba(42, 24, 16, 0.25);
}

/* Polaroid style for emotional photos */
.photo-polaroid {
  position: relative;
  display: inline-block;
  background: #fff;
  padding: 14px 14px 50px;
  box-shadow:
    0 15px 35px rgba(42, 24, 16, 0.22),
    0 5px 15px rgba(42, 24, 16, 0.08);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
  max-width: 360px;
}

.photo-polaroid::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: var(--font-accent);
  font-size: 1.35rem;
  text-align: center;
  color: var(--c-ink-soft);
  line-height: 1.1;
}

.photo-polaroid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.photo-polaroid:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Photo with quote overlay */
.photo-with-quote {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 50px rgba(42, 24, 16, 0.25);
}

.photo-with-quote img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-with-quote:hover img {
  transform: scale(1.05);
}

.photo-with-quote .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(42, 24, 16, 0.1) 0%,
    rgba(42, 24, 16, 0.4) 50%,
    rgba(42, 24, 16, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem 2.5rem;
}

.photo-with-quote .quote-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  max-width: 520px;
}

/* Side-by-side photo + content layout */
.photo-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin: clamp(2rem, 5vw, 4rem) 0;
}

.photo-content-grid.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.photo-content-grid.reverse .photo-slot {
  order: 2;
}

@media (max-width: 760px) {
  .photo-content-grid,
  .photo-content-grid.reverse {
    grid-template-columns: 1fr;
  }
  .photo-content-grid.reverse .photo-slot {
    order: 0;
  }
}

/* ==========================================================================
   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;
  }
}
