/* Tokenlar, yazı tipleri, header, footer, düğmeler. */
@font-face { font-family: 'Grandstander'; font-weight: 400 700; font-display: swap; src: url(../fonts/grandstander-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Grandstander'; font-weight: 400 700; font-display: swap; src: url(../fonts/grandstander-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--sun: #f9a11b;
	--sun-dark: #d9820a;
	--sun-soft: #fff1d2;
	--coral: #ec3d5f;
	--coral-dark: #c92446;
	--coral-soft: #ffe3e8;
	--mint: #2fb5a6;
	--mint-dark: #1b8f83;
	--mint-soft: #dcf5f1;
	--sky: #3d9be9;
	--sky-soft: #e0f0ff;
	--lilac: #9b7fd1;
	--lilac-soft: #efe8fb;
	--ink: #17305c;
	--ink-soft: #4a5d7e;
	--cream: #fff9f0;
	--white: #fff;
	--line: #f0e4d2;
	--radius: 28px;
	--radius-sm: 16px;
	--shadow: 0 14px 34px -14px rgba(31, 58, 77, .28);
	--font-head: 'Grandstander', 'Nunito', system-ui, sans-serif;
	--font-body: 'Nunito', system-ui, -apple-system, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-behavior: smooth kullanılmaz: iOS'ta yenilemeden sonra araç çubuğu açılınca tarayıcının kaydırma düzeltmesi animasyonlu oluyor,
   bu sırada beliren öğeler yüzünden WebKit ilk dokunuşu iptal ediyordu (?x=s testiyle doğrulandı). */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--font-body); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; border: 0; font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s, background .2s; }
/* Düğme üzerine gelince yukarı kalkıyor; görünmez pay, kenardaki tıklamanın boşa gitmesini önler. */
.btn { position: relative; }
.btn::after { content: ""; position: absolute; inset: -6px -6px -10px; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 var(--sun-dark); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-dark); }
.btn-mint { background: var(--mint); color: #fff; box-shadow: 0 6px 0 var(--mint-dark); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line), 0 6px 0 var(--line); }

/* Logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-word { font: 700 1.85rem/1 var(--font-head); letter-spacing: .01em; white-space: nowrap; }
.logo-word b { display: inline-block; font-weight: 700; transform: translateY(-4px) rotate(-6deg); }
.logo-word b:nth-child(even) { transform: translateY(-2px) rotate(6deg); }
.logo-word .c1 { color: var(--coral); }
.logo-word .c2 { color: var(--sun); }
.logo-word .c3 { color: var(--mint); }
.logo-word .c4 { color: var(--sky); }
.logo-word .c5 { color: var(--lilac); }
.logo-word .c6 { color: var(--coral); }
.logo-sub { font: 700 .7rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 5px; padding-left: 2px; }
.brand { text-decoration: none; display: inline-flex; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 240, .92); backdrop-filter: blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(31, 58, 77, .25); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font: 600 1.02rem/1 var(--font-head); transition: background .2s, color .2s; }
.nav > ul > li > a[aria-current] { background: var(--coral); color: #fff; }
.nav .sub { position: absolute; top: calc(100% + 8px); left: -10px; min-width: 280px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
/* iPhone'da üzerine gelme kuralı ilk dokunuşu yutar; yalnız fareli cihazlarda. */
@media (hover: hover) { .nav .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; } }
.nav .sub a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav .sub a[aria-current] { background: var(--sun-soft); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-sun { background: var(--sun); } .dot-coral { background: var(--coral); } .dot-mint { background: var(--mint); } .dot-sky { background: var(--sky); } .dot-lilac { background: var(--lilac); }
.nav-phone { display: none; }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sun-soft); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ico { width: 24px; height: 24px; }
.menu-close { display: none; }

@media (max-width: 1080px) {
	.menu-btn { display: inline-flex; }
	.header-cta { margin-left: auto; }
	.header-cta span { display: none; }
	.header-cta { padding: .8em; }
	.menu-btn { margin-left: 0; }
	.nav { position: fixed; inset: 80px 0 auto; max-height: calc(100dvh - 80px); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; background: var(--cream); border-top: 2px dashed var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s; }
	.nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: var(--shadow); }
	.nav > ul { flex-direction: column; }
	.nav > ul > li > a { padding: 14px 16px; font-size: 1.15rem; }
	.nav .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 12px; min-width: 0; }
	.nav-phone { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 14px; border-radius: 999px; background: var(--mint-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
	.menu-open-state .menu-open { display: none; }
	.menu-open-state .menu-close { display: inline; }
}
@media (max-width: 420px) { .logo-word { font-size: 1.55rem; } .header-in { gap: 10px; } }

/* Footer */
.site-footer { position: relative; margin-top: 80px; background: var(--ink); color: #d6e2ea; padding: 40px 0 24px; }
.wave-top { position: absolute; left: 0; right: 0; top: -38px; height: 40px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C100 2 200 2 300 20s200 18 300 0 200-18 300 0 200 18 300 0v20Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C100 2 200 2 300 20s200 18 300 0 200-18 300 0 200 18 300 0v20Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .logo-sub { color: #9fb6c4; }
.footer-brand p { margin-top: 16px; font-size: .95rem; }
.footer-title { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.footer-list, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-list a, .footer-contact a { color: #d6e2ea; text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { margin-top: 4px; color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9fb6c4; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { padding-bottom: 70px; } }
html.menu-locked, html.menu-locked body { overflow: hidden; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); animation: mk-bob 3s ease-in-out infinite; }
.wa-float .ico { width: 30px; height: 30px; }

@keyframes mk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Üzerine gelme efektleri yalnız fareli cihazlarda: dokunmatik ekranda (iPhone) ilk dokunuşu "üzerine gelme" sayıp tıklamayı yutuyor. */
@media (hover: hover) and (pointer: fine) {
	.btn:hover { transform: translateY(-3px) scale(1.03); }
	.btn-sun:hover { box-shadow: 0 9px 0 var(--sun-dark); }
	.btn-coral:hover { box-shadow: 0 9px 0 var(--coral-dark); }
	.btn-mint:hover { box-shadow: 0 9px 0 var(--mint-dark); }
	.nav > ul > li > a:hover { background: var(--sun-soft); }
	.nav .sub a:hover { background: var(--cream); }
	.footer-list a:hover, .footer-contact a:hover { color: var(--sun); }
	.btn:active { transform: translateY(0) scale(.98); }
}
