/* Özel Gülce Anaokulu - site stilleri (Wix tasarımından uyarlandı) */
:root {
  --ink: #2d2727;
  --orange: #ff5200;
  --pink: #d7bebe;
  --sand: #eae2da;
  --line: #e6e0dc;
  --white: #fff;
  --maxw: 1366px;
  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .4em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 .8em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 100px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-decoration: none; text-transform: uppercase;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-wide { width: 100%; }
.arr { font-size: 16px; line-height: 1; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.hdr-in { max-width: var(--maxw); margin: 0 auto; height: 96px; padding: 0 40px; display: flex; align-items: center; gap: 24px; }
.logo img { width: 74px; height: auto; border-radius: 50%; background: #fff; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 12px 12px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-decoration: none; color: #fff; }
.nav > ul > li.on > a, .nav > ul > li > a:hover { color: #ffb59a; }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav ul ul { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.nav li.dd:hover > ul, .nav li.dd:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.nav ul ul a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav ul ul a:hover, .nav ul ul li.on a { background: #f6efeb; color: var(--orange); }
.dd-tg { display: none; }
.hdr-cta { min-height: 44px; padding: 0 24px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .2s; }

/* ---------- sections / Wix layout ---------- */
main { display: block; }
.sec { position: relative; padding: clamp(32px, 4vw, 56px) 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 3vw, 42px); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.row { display: flex; align-items: flex-start; margin-top: min(calc(var(--g, 0) * 1px), calc(var(--g, 0) * .0732vw)); }
.col { flex: 0 0 var(--w); max-width: var(--w); margin-left: var(--ml); min-width: 0; }
.col > * + * { margin-top: 18px; }
.tx { font-size: clamp(calc(max(16, var(--fs) * .55) * 1px), calc(var(--fs) * .0732vw), calc(var(--fs) * 1px)); line-height: 1.45; }
.tx h1, .tx h2, .tx h3, .tx h4, .tx h5, .tx h6 { font-size: inherit; line-height: 1.15; }
.tx p { margin: 0 0 .5em; }
.tx p.sp { height: .6em; margin: 0; }
.tx ul, .tx ol { padding-left: 1.2em; margin: 0 0 .6em; }
.tx a { color: var(--orange); }
.im { margin: 0; overflow: hidden; border-radius: 22px; }
.im img { width: 100%; height: 100%; object-fit: cover; }
.im.vid video { width: 100%; height: 100%; object-fit: cover; }
.sec-bg { background-size: cover; background-position: center; color: #fff; }
.hero { padding: 0; }
.hero-img { width: 100%; height: auto; }
.hero-ctas { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; justify-content: center; gap: 12px; }
.hero-ctas .btn { background: #fff; color: var(--ink); }

/* ---------- gallery + slider + lightbox ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery .gi { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform .4s; }
.gallery .gi:hover img { transform: scale(1.04); }
.slider { position: relative; }
.slider .track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider .track::-webkit-scrollbar { display: none; }
.slider .gi { flex: 0 0 clamp(240px, 39vw, 533px); aspect-ratio: 1; scroll-snap-align: start; border-radius: 18px; overflow: hidden; }
.slider img { width: 100%; height: 100%; object-fit: cover; }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9);
  font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); color: var(--ink); }
.sl-prev { left: 10px; } .sl-next { right: 10px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(20,16,16,.92); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 46px; cursor: pointer; padding: 10px 18px; }
.lb-x { top: 10px; right: 10px; } .lb-p { left: 6px; } .lb-n { right: 6px; }

/* ---------- headings for built pages ---------- */
.page-title { font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }
.sec-title { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 20px; }
.eyebrow { font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { font-size: 18px; margin: 0; }
.faq details p { padding: 0 0 14px; margin: 0; }

/* ---------- blog ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-3px); }
.card a { text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-b { padding: 18px 20px 22px; }
.card time { font-size: 13px; opacity: .7; }
.card h2 { font-size: 19px; margin: 6px 0 8px; }
.card p { font-size: 15px; margin: 0; opacity: .85; }
.post h1 { font-size: clamp(28px, 3.4vw, 44px); }
.post time { display: block; margin-bottom: 24px; opacity: .7; }
.post .im { margin: 22px 0; }
.post .im img { height: auto; }
.crumb a { font-weight: 700; color: var(--orange); text-decoration: none; font-size: 14px; }

/* ---------- form ---------- */
.form-sec { background: #faf6f3; }
.frm fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.frm legend { font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.frm label, .frm .lbl { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.frm .lbl { margin-bottom: 8px; }
.frm input:not([type=checkbox]), .frm select, .frm textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; font: inherit; font-weight: 400;
  border: 1px solid #d9cfca; border-radius: 12px; background: #fff; color: var(--ink); }
.frm input:focus, .frm select:focus, .frm textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.dob { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dob select { margin-top: 0; }
.chks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.frm .chk { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; margin: 0; }
.frm .chk input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: 0 0 auto; }
.frm .kvkk { margin: 6px 0 22px; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.form-msg.ok { background: #e3f4e6; color: #1d5b2b; }
.form-msg.err { background: #fde5dd; color: #8a2a0b; }
.invalid { border-color: #d6401a !important; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); background: #fff; font-size: 15px; }
.ftr-in { max-width: var(--maxw); margin: 0 auto; padding: 48px clamp(16px, 3vw, 42px) 24px; display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 40px; }
.flogo img { width: 110px; height: auto; border-radius: 50%; }
.fnav { list-style: none; padding: 0; margin: 18px 0 0; }
.fnav a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration: none; font-size: 14px; }
.fnav a:hover { color: var(--orange); }
.fh { font-size: 15px; font-weight: 800; margin: 0 0 18px; }
.fh2 { font-weight: 700; margin-top: 18px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--orange); }
.social a { margin-right: 14px; text-decoration: underline !important; }
.hours { padding-left: 1.1em; margin: 0 0 12px; }
.fbot { max-width: var(--maxw); margin: 0 auto; padding: 18px clamp(16px, 3vw, 42px) 28px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav > ul > li > a { padding: 12px 8px; font-size: 12px; }
}
@media (max-width: 960px) {
  .hdr-in { height: 76px; padding: 0 16px; }
  .logo img { width: 58px; }
  .hdr-cta { margin-left: auto; padding: 0 18px; min-height: 40px; font-size: 13px; }
  .burger { display: block; margin-left: 4px; }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--ink); overflow-y: auto; transform: translateX(100%); transition: transform .25s; margin: 0; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; padding: 12px 16px 40px; }
  .nav > ul > li > a { font-size: 16px; padding: 16px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .chev { display: none; }
  .dd-tg { display: block; position: absolute; right: 0; top: 6px; width: 48px; height: 44px; background: none; border: 0; cursor: pointer; }
  .dd-tg::after { content: ""; display: block; margin: 0 auto; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: .2s; }
  .dd.open > .dd-tg::after { transform: rotate(-135deg); }
  .nav ul ul { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 0 0 8px 12px; }
  .nav li.dd:hover > ul { display: none; }
  .nav li.dd.open > ul { display: block; }
  .nav ul ul a { color: #f3e7e2; font-size: 15px; }
  .nav ul ul a:hover, .nav ul ul li.on a { background: none; color: #ffb59a; }
  body.menu-open { overflow: hidden; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 767px) {
  .row { display: block; margin-top: min(calc(var(--g, 0) * 1px), 28px); }
  .col { max-width: none; margin-left: 0; }
  .col + .col { margin-top: 18px; }
  .im { border-radius: 16px; }
  .ftr-in { grid-template-columns: 1fr; gap: 28px; }
  .hero-ctas { position: static; padding: 16px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery .gi { margin-bottom: 10px; }
  .fbot { flex-direction: column; }
}
