body {
  margin: 0;
  padding: 0;
  background-color: #fdfaf7;
  color: #222;
}

#menu-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background-color: #fdfaf7;
  z-index: 10;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.menu-item span {
  font-size: 1.1rem;
  font-weight: normal;
  margin-top: 12px;
  color: #333;
  text-align: center;
  text-transform: lowercase;
  font-family: 'Pacifico', cursive;
}

.menu-item img {
  width: 110px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}

.menu-item:hover img {
  transform: scale(1.05);
}

.content-section {
  min-height: 100vh;
  padding: 80px 20px;
  background: #fff;
  border-top: 1px solid #ccc;
}

#item-nefs {
  transform: translate(150px, -100px);
  opacity: 0;
}
#item-gunes {
  transform: translate(-150px, -100px);
  opacity: 0;
}
#item-kelebek {
  transform: translate(200px, 50px);
  opacity: 0;
}
#item-goz {
  transform: translate(-100px, 150px);
  opacity: 0;
}

.menu-item {
  transform-origin: center center;
  position: relative;
}

#intro-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fdfaf7;
  z-index: 20;
  pointer-events: none;
}

.intro-name {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #333;
  letter-spacing: 1px;
  opacity: 0;
  font-weight: 400;
}

.scroll-indicator {
  margin-top: 28px;
  font-size: 1.8rem;
  color: #666;
  animation: intro-bounce 1.4s infinite;
  user-select: none;
}

@keyframes intro-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

body{ font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1,h2{ margin:0; }

.hero{
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 56px 20px 72px;
}
.hero--light{ background:#fff; color:#111; }
.hero--dark { background:#000; color:#fff; }

.hero > .hero__inner{
  display:flex; flex-direction:column; align-items:center; gap:20px;
}

.hero__logo{
  width: clamp(160px, 28vw, 360px);
  height: auto;
  display:block; margin:0 auto;
}

.hero__title{
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: clamp(1.8rem, 5.4vw, 3rem);
}

.cta,
.cta:link,
.cta:visited,
.cta:hover,
.cta:active{
  display:inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background:#fff;
  color:#111;
  border:2px solid #fff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:.04em;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .18s ease;
}
.hero--light .cta{ border-color:#111; }
.cta:hover{ transform: translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.22); }
.cta:active{ transform: translateY(0); }

.chapters{ padding: 40px 0 120px; }
.chapters--dark  { background:#000; color:#fff; }
.chapters--light { background:#fff; color:#111; }
.chapters .head{ font-style:italic; font-weight:700; opacity:.85; letter-spacing:.06em; margin:0 20px 14px; }

.chapter{
  display:block;
  padding:18px 20px 14px;
  border-top:1px solid rgba(255,255,255,.22);
  border-bottom:1px solid rgba(255,255,255,.22);
  text-decoration:none; color:inherit;
  transition: background .18s ease, transform .1s ease, opacity .18s ease;
}
.chapters--light .chapter{ border-color: rgba(0,0,0,.14); }
.chapter .line1{ font-weight:800; letter-spacing:.03em; font-size: clamp(1rem, 3.2vw, 1.25rem); }
.chapter .line2{ opacity:.8; margin-top:6px; font-size:.95rem; }
.chapter:hover{ background: rgba(255,255,255,.06); }
.chapters--light .chapter:hover{ background: rgba(0,0,0,.04); }

.hero--dark .hero__logo{ filter: brightness(0) invert(1); }

.back-btn{
  position: fixed; top: 16px; left: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(0,0,0,.6); color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.hero--light ~ .back-btn{ background: rgba(255,255,255,.85); color:#111; border-color: rgba(0,0,0,.2); }
.back-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }

.mute-btn{
  position: fixed; top: 16px; right: 16px;
  z-index: 9999;
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:12px;
  border:1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.9); color:#111; cursor:pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  user-select:none;
  font-size:18px; line-height:1;
}

.hero--light ~ .mute-btn{ background: rgba(255,255,255,.85); color:#111; border-color: rgba(0,0,0,.2); }
.mute-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.mute-btn.is-muted{ opacity:.85; }

.modal{
  position: fixed; inset: 0; z-index: 58;
  background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.modal.is-open{ opacity:1; visibility:visible; pointer-events:auto; }
.modal__dialog{
  position:absolute; left:50%; top:8%;
  transform: translate(-50%,0) translateY(10px) scale(.98);
  width:min(900px,92vw); max-height:84vh; overflow:auto;
  background:#fff; color:#111; border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  padding:20px 22px 24px;
  opacity:0;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .24s ease;
}
.modal.is-open .modal__dialog{ transform: translate(-50%,0) translateY(0) scale(1); opacity:1; }

body.inspire { background: #e9e9e9; color: #111; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

.inspire-hero{
  min-height: 92vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 22px; text-align:center; padding: 80px 20px 60px;
}
.inspire-butterfly{ width: clamp(180px, 36vw, 460px); height:auto; opacity:0; }
.inspire-line{
  font-family: "Cinzel", serif; font-weight: 700;
  font-size: clamp(1.2rem, 3.6vw, 1.8rem);
  letter-spacing:.02em; opacity:0;
}

.inspire-list{ max-width: 1100px; margin: 0 auto; padding: 40px 18px 120px; display:grid; gap: 100px; }
.inspire-block{ display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap: 32px; }
.inspire-block.right .img-col{ order:2; }
.inspire-block.right .txt-col{ order:1; text-align:left; }
.img-col img{ width: clamp(180px, 28vw, 340px); height:auto; display:block; margin-inline:auto; }
.txt-col p{ line-height:1.7; font-size: 1.02rem; margin:0; }

@media (max-width: 860px){
  .inspire-block{ grid-template-columns: 1fr; gap: 22px; }
  .inspire-block.right .img-col,
  .inspire-block.right .txt-col{ order: initial; }
  .txt-col{ text-align:left; }
}

.inspire-list{
  padding-bottom: max(0.1vh, 5px);
  position: relative;
}

.inspire-list::after{
  content: "";
  display: block;
  height: 52vh;
}

html, body{ height:auto; min-height:100%; overflow-y:auto; }

:root{ --bg:#e6e6e6; }

body.about{ margin:0; background:var(--bg); font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif; }

body.about .flower-stage{
  position:relative;
  height:100svh;
  overflow:hidden;
}

body.about .head{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, -50%) translateY(var(--headY,0));
  pointer-events:none;
}

body.about .part{
  position:absolute; left:50%; top:50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--r,0deg))
    translate(var(--x,0vmin), var(--y,0vmin));
  transform-origin:50% 50%;
  pointer-events:none;
}

body.about .part--stem{
  transform-origin: 50% 0%;
}

body.about .part img{
  display:block; width:var(--w,40vmin); height:auto;
  transform: translate(calc(50% - var(--hx,50%)), calc(50% - var(--hy,50%)));
}

body.about .part--seed  { z-index:0; }
body.about .part--stem  { z-index:1; }
body.about .hero-between{ z-index:2; }
body.about .head,
body.about .part--inner,
body.about .part--petalL,
body.about .part--petalR { z-index:3; }

body.about .part--petalL { --r:-8deg; }
body.about .part--petalR { --r: 8deg; }
body.about .flower-stage.is-closed .part--petalL { --r:  55deg; }
body.about .flower-stage.is-closed .part--petalR { --r: -55deg; }

body.about .hero-between{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, -50%) translateY(var(--heroShift,20px));
  opacity:0; min-width:40vmin; text-align:center;
}
body.about .hero-between p{
  margin:0; font-size:clamp(18px,3vmin,28px); line-height:1.5;
}

body.about .head,
body.about .part,
body.about .hero-between{
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

body.about .flower-stage{
  height: 100vh;
  height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
}

body.about .head,
body.about .part{
  will-change: transform;
}

body.about .hero-between{
  max-width: min(92vw, 760px);
  padding: 0 clamp(12px, 5vw, 24px);
}

body.about .hero-between p{
  font-size: clamp(15px, 3.8vw, 19px);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

@supports (text-wrap: balance){
  body.about .hero-between p{ text-wrap: balance; }
}

/* Mobile: keep the same absolute-positioned, JS-driven fade as desktop.
   Only tune typography here — do NOT force position/opacity, or the
   scroll-triggered fade-in (about-flower.js) is overridden. */
@media (max-width: 640px){
  body.about .hero-between p{
    font-size: clamp(16px, 4.6vw, 22px);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    overflow-wrap: anywhere;
  }
}
