/*
Theme Name: DashhStudio Coming Soon
Theme URI: https://dashhstudio.com
Author: DashhStudio
Description: Nail design stüdyosu DashhStudio için premium "çok yakında" teması. Vişne çürüğü, açık mavi, toz pembe, haki ve yeşil paleti. Açılış tarihi, Instagram ve adres Görünüm > Özelleştir bölümünden değiştirilir. E-posta kayıtları yönetim panelinde "Açılış Listesi" altında toplanır.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: dashhstudio
*/

:root {
	--wine: #5b1230;
	--wine-deep: #3d0a20;
	--wine-lift: #86214a;
	--pink: #e9bfc6;
	--blue: #bcd8ec;
	--khaki: #c3be96;
	--green: #9db89a;
	--ink: #fbeef0;
	--ink-soft: rgba(251, 238, 240, 0.72);
	--display: "Bodoni Moda", "Didot", Georgia, serif;
	--body: "Jost", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(60% 50% at 82% 30%, rgba(134, 33, 74, 0.55), transparent 70%),
		radial-gradient(50% 40% at 8% 95%, rgba(157, 184, 154, 0.14), transparent 70%),
		var(--wine-deep);
	color: var(--ink);
	font-family: var(--body);
	font-weight: 300;
	line-height: 1.6;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.09;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 4px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Sayfa iskeleti ---------- */

.ds-page {
	position: relative;
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: 0 var(--gutter);
	max-width: 1400px;
	margin: 0 auto;
}

.ds-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 28px 0;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
}

.ds-top__brand {
	font-family: var(--display);
	font-style: italic;
	font-size: 1.35rem;
	text-decoration: none;
}

.ds-top__link {
	text-decoration: none;
	color: var(--ink-soft);
	border-bottom: 1px solid rgba(233, 191, 198, 0.35);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
}
.ds-top__link:hover { color: var(--pink); border-color: var(--pink); }

.ds-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(32px, 6vw, 96px);
	padding: clamp(16px, 4vw, 48px) 0 clamp(40px, 6vw, 80px);
}

/* ---------- Metin tarafı ---------- */

.ds-wordmark {
	margin: 0;
	font-family: var(--display);
	font-weight: 500;
	line-height: 0.82;
	letter-spacing: -0.03em;
	font-size: clamp(5.2rem, 15vw, 12.5rem);
	color: var(--ink);
	position: relative;
	display: inline-block;
	animation: ds-reveal 1.5s cubic-bezier(0.7, 0, 0.2, 1) 0.1s both;
}
.ds-wordmark em {
	font-style: italic;
	font-weight: 400;
	color: var(--pink);
}
.ds-wordmark small {
	display: block;
	margin-top: 0.35em;
	font-family: var(--body);
	font-size: clamp(0.8rem, 1.3vw, 1.05rem);
	font-weight: 400;
	letter-spacing: 0.5em;
	text-transform: none;
	color: var(--blue);
	padding-left: 0.2em;
}

/* Oje fırça darbesi: yazıyı soldan sağa açan tek hareket */
.ds-wordmark::after {
	content: "";
	position: absolute;
	inset: -4% -3%;
	background: linear-gradient(100deg, var(--pink) 0%, var(--pink) 60%, #f6d7dc 100%);
	border-radius: 999px 40px 40px 999px;
	transform-origin: right center;
	animation: ds-brush 1.5s cubic-bezier(0.7, 0, 0.2, 1) 0.1s both;
	pointer-events: none;
}
@keyframes ds-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -5% 0 0); } }
@keyframes ds-brush {
	0% { transform: scaleX(0); transform-origin: left center; }
	50% { transform: scaleX(1); transform-origin: left center; }
	50.01% { transform: scaleX(1); transform-origin: right center; }
	100% { transform: scaleX(0); transform-origin: right center; }
}

.ds-headline {
	margin: clamp(28px, 4vw, 48px) 0 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(1.7rem, 3.2vw, 2.7rem);
	line-height: 1.15;
	max-width: 16em;
}
.ds-lead {
	margin: 16px 0 0;
	max-width: 30em;
	font-size: 1.1rem;
	color: var(--ink-soft);
}

/* Geri sayım */
.ds-count {
	display: flex;
	gap: clamp(16px, 3vw, 36px);
	margin: clamp(28px, 4vw, 44px) 0 0;
	padding: 0;
	list-style: none;
}
.ds-count li { text-align: left; min-width: 3.2em; }
.ds-count b {
	display: block;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--blue);
}
.ds-count span {
	display: block;
	margin-top: 6px;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

/* Form */
.ds-form { margin-top: clamp(28px, 4vw, 44px); max-width: 32em; }
.ds-form__row {
	display: flex;
	gap: 8px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(251, 238, 240, 0.08);
	border: 1px solid rgba(233, 191, 198, 0.35);
	transition: border-color 0.2s, background 0.2s;
}
.ds-form__row:focus-within { border-color: var(--pink); background: rgba(251, 238, 240, 0.13); }
.ds-form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 12px 20px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}
.ds-form input[type="email"]::placeholder { color: rgba(251, 238, 240, 0.5); }
.ds-form input[type="email"]:focus { outline: none; }
.ds-form button {
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--pink);
	color: var(--wine);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, transform 0.2s;
}
.ds-form button:hover { background: var(--blue); }
.ds-form button:active { transform: scale(0.97); }
.ds-form__note { margin: 12px 20px 0; font-size: 0.9rem; color: var(--ink-soft); }
.ds-form__note.is-ok { color: var(--green); }
.ds-form__note.is-err { color: var(--pink); }
.ds-hp { position: absolute; left: -9999px; }

/* ---------- Tırnak vitrini ---------- */

.ds-hand {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: clamp(6px, 1.4vw, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ds-nail {
	position: relative;
	flex: 1 1 0;
	max-width: 118px;
	margin: 0;
}
.ds-nail:nth-child(1) { --h: 0.62; transform: rotate(-9deg) translateY(10%); }
.ds-nail:nth-child(2) { --h: 0.86; }
.ds-nail:nth-child(3) { --h: 1;    }
.ds-nail:nth-child(4) { --h: 0.9;  }
.ds-nail:nth-child(5) { --h: 0.7;  }

.ds-nail button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.ds-nail svg {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 100 / 200;
	overflow: visible;
	transform: scaleY(var(--h));
	transform-origin: bottom center;
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
	transition: translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ds-nail:hover svg, .ds-nail:focus-within svg, .ds-nail.is-open svg { translate: 0 -14px; }

.ds-nail .fill {
	transform-box: fill-box;
	transform-origin: bottom center;
	animation: ds-paint 1.1s cubic-bezier(0.5, 0, 0.1, 1) both;
	animation-delay: calc(1.5s + var(--i) * 0.28s);
}
.ds-nail .gloss {
	opacity: 0;
	animation: ds-gloss 0.9s ease-out both;
	animation-delay: calc(2.2s + var(--i) * 0.28s);
}
@keyframes ds-paint { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ds-gloss { from { opacity: 0; transform: translateX(-30%); } to { opacity: 1; transform: none; } }

.ds-nail__tip {
	display: block;
	margin-top: 14px;
	text-align: center;
	font-size: 0.9rem;
	color: var(--ink-soft);
	opacity: 0.55;
	transition: opacity 0.3s, color 0.3s;
}
.ds-nail:hover .ds-nail__tip, .ds-nail:focus-within .ds-nail__tip, .ds-nail.is-open .ds-nail__tip {
	opacity: 1;
	color: var(--pink);
}

/* ---------- Alt bilgi ---------- */

.ds-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(233, 191, 198, 0.2);
	font-size: 0.92rem;
	color: var(--ink-soft);
}
.ds-foot a { text-decoration: none; }
.ds-foot a:hover { color: var(--pink); }

/* ---------- Mobil ---------- */

@media (max-width: 860px) {
	.ds-hero { grid-template-columns: 1fr; }
	.ds-hand-wrap { order: -1; }
	.ds-nail__tip { font-size: 0.78rem; }
}
@media (max-width: 480px) {
	.ds-form__row { flex-direction: column; border-radius: 28px; padding: 8px; }
	.ds-form input[type="email"] { text-align: center; }
	.ds-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ds-wordmark, .ds-wordmark::after, .ds-nail .fill, .ds-nail .gloss { animation: none; }
	.ds-wordmark::after { display: none; }
	.ds-nail .gloss { opacity: 1; }
	.ds-nail svg { transition: none; }
}
