/* ============================================================
   PALABEY ÇOCUKLUK MÜZESİ — vintage nostalgia design system
   Navy · Maroon · Aged cream paper · slab-serif + script
   ============================================================ */

:root {
  /* palette pulled from the logo & posters */
  --navy:        #1c3a5e;
  --navy-deep:   #142b46;
  --navy-ink:    #0f2235;
  --maroon:      #7c2329;
  --maroon-2:    #9a2b2b;
  --gold:        #c08a3e;
  --gold-soft:   #d9a94f;

  --paper:       #f3e6cd;   /* main page */
  --paper-2:     #ecdcbd;   /* alt band */
  --card:        #faf2df;   /* raised card */
  --card-edge:   #e0cda3;

  --ink:         #34291b;   /* primary text on paper */
  --ink-2:       #6a5945;   /* secondary text */
  --ink-3:       #8a7a63;

  --rule:        #cBb592;
  --rule-strong: #b9a075;

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body:    "Bitter", Georgia, serif;
  --font-script:  "Sacramento", cursive;

  --maxw: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* aged-paper grain laid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

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

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.04; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12.5px;
  color: var(--maroon);
}

.section-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 62px);
}
.section-title .red { color: var(--maroon); }

.lead { font-size: 20px; color: var(--ink-2); }

.script { font-family: var(--font-script); color: var(--maroon); line-height: 1; }

/* ---------- ornaments ---------- */
.flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--maroon);
}
.flourish::before, .flourish::after {
  content: ""; height: 2px; width: clamp(40px, 12vw, 130px);
  background:
    linear-gradient(90deg, transparent, var(--rule-strong) 30%, var(--rule-strong) 70%, transparent);
}
.flourish .dot { width: 7px; height: 7px; transform: rotate(45deg); background: var(--maroon); }
.star { color: var(--maroon); font-size: 15px; }

.diamond-rule {
  display:flex; align-items:center; justify-content:center; gap:10px; color: var(--rule-strong);
  font-size: 13px; letter-spacing: .4em;
}
.diamond-rule::before, .diamond-rule::after{
  content:""; height:1.5px; flex:0 0 auto; width: 80px;
  background: var(--rule-strong);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 4px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--maroon); color: #fbeede; box-shadow: 0 6px 0 #5d1a1f; }
.btn--primary:hover { background: var(--maroon-2); transform: translateY(-2px); box-shadow: 0 8px 0 #5d1a1f; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #5d1a1f; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--paper); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
  color: #f0e3c8;
}
.nav__inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 46px; height: 46px; border-radius: 50%; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark b { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; font-size: 16px; color: #f3e7ce; }
.nav__wordmark span { font-family: var(--font-body); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: #e7d8ba; text-decoration: none; letter-spacing: .02em; position: relative; padding: 4px 0;
}
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background: var(--gold); transition: right .25s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__ig {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--maroon); color: #fbeede; text-decoration:none;
  font-family: var(--font-display); font-weight:600; font-size:14px;
  padding: 9px 16px; border-radius: 4px; transition: background .18s;
}
.nav__ig:hover { background: var(--maroon-2); }
.nav__ig { white-space: nowrap; }
.nav__ig svg { width: 16px; height: 16px; }
.nav__burger { display:none; background:none; border:0; color:#f0e3c8; cursor:pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 60px 0 78px;
  background:
    radial-gradient(120% 90% at 50% -10%, #f8eed7 0%, var(--paper) 55%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--rule);
}
.hero__news { /* faint newspaper collage edges */
  position:absolute; inset:0; pointer-events:none; opacity:.10; mix-blend-mode:multiply;
  background-image:
    radial-gradient(circle at 12% 22%, #5a4a32 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, #5a4a32 0 1px, transparent 1px);
  background-size: 7px 7px, 9px 9px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }

.hero__badge { position: relative; width: min(330px, 64vw); aspect-ratio: 1; will-change: transform; }
.hero__badge img { width: 100%; filter: drop-shadow(0 18px 30px rgba(40,28,12,.28)); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__badge.float { animation: bob 6s ease-in-out infinite; }

.hero h1 {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 9vw, 116px);
  letter-spacing: .005em;
  color: var(--navy);
  text-shadow: 2px 2px 0 rgba(255,255,255,.5);
}
.hero h1 .red { color: var(--maroon); display:block; }
.hero__sub { max-width: 660px; font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-2); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__live {
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(124,35,41,.10); border:1px solid rgba(124,35,41,.3);
  color: var(--maroon); font-weight:700; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing:.18em; font-size: 11.5px;
  padding: 7px 15px; border-radius: 999px;
}
.hero__live .pulse { width:8px; height:8px; border-radius:50%; background: var(--maroon); position:relative; }
.hero__live .pulse::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:1.5px solid var(--maroon); animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0%{ transform: scale(.5); opacity:.8;} 100%{ transform: scale(1.6); opacity:0;} }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { position: relative; }
.band { padding: 84px 0; }
.band--paper2 { background: var(--paper-2); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.band--navy { background: var(--navy-deep); color: #efe2c6; }
.sec-head { text-align: center; display: grid; gap: 16px; justify-items: center; margin-bottom: 54px; }
.sec-head .eyebrow { letter-spacing: .3em; }

/* ============================================================
   NEDİR — manifesto
   ============================================================ */
.nedir { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.nedir__card {
  background: var(--card); border: 1px solid var(--card-edge);
  box-shadow: 0 2px 32px rgba(40,28,12,.14), 0 1px 6px rgba(40,28,12,.08);
  border-radius: 10px; padding: 40px 42px; position: relative;
}
.nedir__card::before, .nedir__card::after { /* corner tacks */
  content:""; position:absolute; width:9px; height:9px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, #b85b3a, #7c2f1d);
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.nedir__card::before { top:14px; left:14px; }
.nedir__card::after { top:14px; right:14px; }
.nedir__title { font-size: 30px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.nedir .script-q { font-family: var(--font-script); font-size: 44px; color: var(--maroon); margin: 2px 0 22px; }
.nedir ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.nedir li { display: flex; align-items: center; gap: 14px; font-size: 20px; color: var(--ink); font-weight: 500; }
.nedir li .ic {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 8px;
  background: var(--maroon); color: #fbeede; display: grid; place-items: center;
}
.nedir li .ic svg { width: 20px; height: 20px; }
.nedir p { margin: 0 0 14px; color: var(--ink-2); }
.nedir p.note { color: var(--ink); font-weight: 500; }
.nedir .welcome { font-family: var(--font-script); font-size: 38px; color: var(--navy); margin-top: 8px; }

.nedir__aside { text-align: left; }
.nedir__aside .section-title { text-align: left; }
.nedir__aside .lead { margin-top: 22px; }
.nedir__aside .seoline { color: var(--maroon); font-weight: 600; font-family: var(--font-display); font-size: 21px; margin-top: 18px; }

/* ============================================================
   COLLECTION GRID
   ============================================================ */
.coll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.coll-card {
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 12px;
  padding: 30px 28px; position: relative; overflow: hidden;
  box-shadow: 0 2px 22px rgba(40,28,12,.10);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.coll-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(40,28,12,.20); }
.coll-card__ic {
  width: 58px; height: 58px; border-radius: 12px; display:grid; place-items:center;
  background: linear-gradient(180deg, var(--navy) , var(--navy-deep)); color: var(--gold-soft);
  margin-bottom: 20px; border: 1px solid rgba(255,255,255,.08);
}
.coll-card__ic svg { width: 30px; height: 30px; }
.coll-card h3 { font-size: 23px; color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing:.01em; }
.coll-card p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.coll-card .tag { position:absolute; top:18px; right:18px; font-family:var(--font-script); font-size:24px; color: var(--rule-strong); }
.coll-card .num { position:absolute; top:20px; right:22px; font-family:var(--font-display); font-weight:700; font-size:14px; color: var(--card-edge); }

/* ============================================================
   NOSTALGIA STRIP  (navy band)
   ============================================================ */
.nost h2 { color: #f3e7ce; }
.nost__then-now { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; }
.nost__col { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: 12px; padding: 30px 32px; }
.nost__col h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.nost__col.then h3 { color: var(--gold-soft); }
.nost__col.now h3 { color: #d98a8a; }
.nost__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.nost__col li { display: flex; gap: 13px; align-items: flex-start; color: #e6d8bc; font-size: 17px; }
.nost__col li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.nost__col.then li svg { color: var(--gold-soft); }
.nost__col.now li svg { color: #d98a8a; }
.nost__tagline { text-align: center; margin-top: 46px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(18px, 2.6vw, 26px); color: #f3e7ce; }
.nost__tagline em { color: var(--gold-soft); font-style: normal; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.founder__badge { justify-self: center; width: min(300px, 70vw); }
.founder__badge img { width: 100%; filter: drop-shadow(0 16px 28px rgba(40,28,12,.25)); }
/* founder portrait (Erdem Talip Pala) — circular medallion */
.founder__badge--photo { width: min(340px, 78vw); }
.founder__badge--photo img {
  aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  filter: none;
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--gold), 0 20px 40px rgba(40,28,12,.34);
}
.founder__body .eyebrow { display:block; margin-bottom: 14px; }
.founder__body .hi { font-family: var(--font-script); font-size: 46px; color: var(--maroon); line-height: 1; }
.founder__body h2 { color: var(--navy); font-size: clamp(32px, 4.4vw, 52px); text-transform: uppercase; margin: 6px 0 22px; }
.founder__body p { color: var(--ink-2); margin: 0 0 16px; }
.founder__body p strong { color: var(--ink); }
.founder__body .dream { color: var(--maroon); font-weight: 600; font-family: var(--font-display); font-size: 22px; }
.founder__sign { margin-top: 26px; display:flex; flex-direction:column; gap:2px; }
.founder__sign .sig { font-family: var(--font-script); font-size: 42px; color: var(--navy); }
.founder__sign small { font-family: var(--font-body); text-transform: uppercase; letter-spacing:.2em; font-size: 11px; color: var(--ink-3); }
.founder__grup {
  margin-top: 26px; display:inline-flex; align-items:center; gap: 14px;
  background: var(--card); border:1px solid var(--card-edge); border-radius: 10px;
  padding: 14px 20px; text-decoration:none; transition: transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 2px 14px rgba(40,28,12,.08);
}
.founder__grup:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(40,28,12,.16); }
.founder__grup .gi { width:42px;height:42px;border-radius:8px;background:var(--navy);color:var(--gold-soft);display:grid;place-items:center; }
.founder__grup .gi svg { width:22px;height:22px; }
.founder__grup b { color: var(--navy); font-family: var(--font-display); font-size: 16px; display:block; }
.founder__grup span { color: var(--ink-2); font-size: 13.5px; }

/* ============================================================
   INSTAGRAM GALLERY
   ============================================================ */
.ig__head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom: 38px; }
.ig__head .handle { display:flex; align-items:center; gap:14px; }
.ig__head .handle .av { width:62px;height:62px;border-radius:50%; border:3px solid var(--maroon); padding:2px; background:var(--card); }
.ig__head .handle .av img { width:100%;height:100%;border-radius:50%; object-fit:cover; }
.ig__head .handle b { font-family: var(--font-display); font-size: 22px; color: var(--navy); display:block; }
.ig__head .handle span { color: var(--ink-2); font-size: 14px; }
.ig-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ig-cell {
  position: relative; display:block;
  width:100%; aspect-ratio:1; border-radius: 8px; overflow:hidden;
  border:1px solid var(--card-edge); box-shadow: 0 2px 14px rgba(40,28,12,.10);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  background: var(--card);
}
.ig-cell:hover { transform: scale(1.02); box-shadow: 0 10px 26px rgba(40,28,12,.20); }
.ig-cell img { width:100%; height:100%; object-fit: cover; display:block; }

/* hover overlay with instagram glyph */
.ig-cell__ov {
  position:absolute; inset:0; display:grid; place-items:center;
  color:#fbeede; background: rgba(28,58,94,0);
  opacity:0; transition: opacity .25s var(--ease), background .25s var(--ease);
}
.ig-cell:hover .ig-cell__ov { opacity:1; background: rgba(28,58,94,.42); }
.ig-cell__ov svg { width:30px; height:30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

/* empty placeholder — henüz fotoğraf eklenmemiş kare */
.ig-cell--empty {
  display:grid; place-items:center; cursor:default;
  background:
    repeating-linear-gradient(45deg, rgba(124,35,41,.045) 0 10px, transparent 10px 20px),
    var(--card);
  border:1px dashed var(--rule-strong);
  box-shadow: none;
}
.ig-cell--empty:hover { transform: none; box-shadow: none; }
.ig-cell__ph { display:flex; flex-direction:column; align-items:center; gap:8px; color: var(--ink-3); text-align:center; padding:10px; text-decoration:none; }
.ig-cell__ph svg { width:26px; height:26px; opacity:.55; }
.ig-cell__ph b { font-family: var(--font-display); font-weight:600; font-size:13px; letter-spacing:.02em; color: var(--ink-3); }
.ig__note { text-align:center; margin-top: 30px; color: var(--ink-3); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-ink); color: #d9c9a8; padding: 56px 0 30px; border-top: 3px solid var(--gold); }
.footer__top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand { display:flex; gap:16px; align-items:flex-start; }
.footer__brand img { width:64px;height:64px;border-radius:50%; }
.footer__brand b { font-family:var(--font-display); font-size:19px; line-height:1.25; letter-spacing:.05em; color:#f0e3c8; display:block; }
.footer__brand p { margin:8px 0 0; font-size:14px; color:#b8a888; max-width: 320px; }
.footer h4 { font-size: 13px; text-transform:uppercase; letter-spacing:.2em; color: var(--gold-soft); margin-bottom: 16px; }
.footer ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.footer ul a { color:#cbbb9a; text-decoration:none; font-size:14.5px; }
.footer ul a:hover { color:#f0e3c8; text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display:flex; gap:12px; margin-top: 4px; }
.footer__social a { width:40px;height:40px;border-radius:8px;border:1px solid rgba(255,255,255,.14); display:grid;place-items:center; color:#d9c9a8; transition: all .18s; }
.footer__social a:hover { background: var(--maroon); border-color: var(--maroon); color:#fbeede; }
.footer__social svg { width:19px;height:19px; }
.footer__bar { display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13px; color:#9c8c6e; }
.footer__bar a { color: var(--gold-soft); text-decoration:none; }
.footer__bar a:hover { text-decoration: underline; }
.footer__seo { color:#74664f; line-height:1.7; margin-top: 18px; font-size:11.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nedir, .founder { grid-template-columns: 1fr; gap: 40px; }
  .nedir__aside .section-title { text-align: center; }
  .coll-grid { grid-template-columns: repeat(2, 1fr); }
  .nost__then-now { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .band { padding: 60px 0; }
  .coll-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .nedir__card { padding: 32px 26px; }
  .nav__ig span { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge.float { animation: none; }
  * { scroll-behavior: auto; }
}

/* JS-gated entrance (content is visible by default if JS/observer absent) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
