/* =============================================================================
   Park sayfası — premium tema (yalnızca resources/views/park/pages/index.blade.php)
   Fontlar: Cormorant Garamond ve Manrope (SIL Open Font License), kendi sunucumuzdan.
   Sayfada satış / teklif / fiyat ifadesi yoktur; tek eylem iletişim formudur.
   ============================================================================= */

/* ---- Fontlar --------------------------------------------------------------- */
@font-face {
    font-family: 'PK Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../fonts/park/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'PK Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../fonts/park/cormorant-garamond-latin-500-normal.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: 'PK Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/park/cormorant-garamond-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'PK Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/park/cormorant-garamond-latin-600-normal.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: 'PK Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../../fonts/park/manrope-latin-ext-wght-normal.woff2') format('woff2-variations'),
         url('../../fonts/park/manrope-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'PK Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../../fonts/park/manrope-latin-wght-normal.woff2') format('woff2-variations'),
         url('../../fonts/park/manrope-latin-wght-normal.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;
}

/* ---- Temel ----------------------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.pk-body {
    --pk-bg: #0a0a0c;
    --pk-line: rgba(255, 255, 255, 0.08);
    --pk-line-strong: rgba(255, 255, 255, 0.14);
    --pk-text: #f3eee4;
    --pk-muted: #aba597;
    --pk-soft: #8f897d;
    --pk-gold: #c9aa6c;
    --pk-gold-light: #e3cb98;
    --pk-err: #f1a59c;
    --pk-ok: #a9dbbb;
    --pk-display: 'PK Display', 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
    --pk-sans: 'PK Sans', 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    margin: 0;
    min-height: 100vh;
    background-color: var(--pk-bg);
    color: var(--pk-text);
    font-family: var(--pk-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.pk-body ::selection { background: rgba(201, 170, 108, 0.35); color: #fff; }
.pk-body a:focus-visible,
.pk-body button:focus-visible { outline: 2px solid var(--pk-gold-light); outline-offset: 3px; }

/* Arka plan: çok hafif sıcak ışık + alan adının ilk harfiyle iri filigran */
.pk-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(60rem 34rem at 8% -12%, rgba(201, 170, 108, 0.11), transparent 62%),
        radial-gradient(48rem 30rem at 104% 112%, rgba(201, 170, 108, 0.06), transparent 60%);
}
.pk-watermark {
    position: fixed;
    right: -2vw;
    bottom: -20vh;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    font-family: var(--pk-display);
    font-weight: 500;
    font-size: min(95vh, 72vw);
    line-height: 1;
    color: rgba(243, 238, 228, 0.026);
}

/* ---- Yerleşim --------------------------------------------------------------- */
.pk-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
    margin: 0 auto;
    padding: 0 clamp(20px, 4.5vw, 56px);
}

.pk-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-top: clamp(20px, 3.5vw, 36px);
}
.pk-header__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 2px;
    color: var(--pk-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pk-header__link::after {
    content: '';
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}
.pk-header__link:hover { color: var(--pk-text); }
.pk-header__link:hover::after { width: 34px; }

.pk-stage {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: clamp(40px, 7vw, 120px);
    padding: clamp(36px, 6vh, 72px) 0 clamp(44px, 7vh, 80px);
}
@media (min-width: 1024px) {
    .pk-stage { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); }
    .pk-stage--solo { grid-template-columns: minmax(0, 1fr); }
    .pk-header { display: none; } /* masaüstünde kart zaten görünür; üst şeritte başka öğe yok */
}

/* ---- Alan adı (hero) ----------------------------------------------------------- */
.pk-hero {
    min-width: 0;
    container-type: inline-size;
}
/* Boyut alan adının uzunluğuna göre (--pk-scale Blade'de hesaplanır): kısa adlar iri, uzun adlar sığar */
.pk-name {
    margin: 0;
    color: var(--pk-text);
    font-family: var(--pk-display);
    font-size: clamp(30px, calc(var(--pk-scale, 12) * 0.9vw), 128px);
    font-weight: 500;
    line-height: 1;
    padding-bottom: 0.06em; /* p, g, y kuyrukları alt metne değmesin */
    letter-spacing: -0.015em;
    font-variant-numeric: lining-nums;
    font-feature-settings: 'lnum' 1, 'kern' 1;
    overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
    .pk-name { font-size: clamp(30px, calc(var(--pk-scale, 12) * 0.5vw), 128px); }
}
@supports (width: 1cqi) {
    .pk-name { font-size: clamp(30px, calc(var(--pk-scale, 12) * 1cqi), 128px); }
}
.pk-name__tld { color: var(--pk-gold); }

/* İsimle davet cümlesi arasındaki ince altın çizgi */
.pk-rule {
    display: block;
    width: 64px;
    height: 1px;
    margin: clamp(28px, 3.4vw, 40px) 0 0;
    background: linear-gradient(90deg, var(--pk-gold), rgba(201, 170, 108, 0));
}

.pk-lead {
    max-width: 30rem;
    margin: clamp(18px, 2.2vw, 26px) 0 0;
    color: var(--pk-muted);
    font-size: clamp(16px, calc(0.6vw + 10px), 19px);
    line-height: 1.7;
}

/* ---- İletişim kartı --------------------------------------------------------- */
.pk-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 28px);
    border: 1px solid var(--pk-line-strong);
    border-radius: 24px;
    background-color: rgba(14, 14, 17, 0.72);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    scroll-margin-top: 24px;
}
@media (min-width: 1024px) {
    .pk-card { max-width: none; }
}
.pk-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 170, 108, 0), rgba(227, 203, 152, 0.85), rgba(201, 170, 108, 0));
}
.pk-card__eyebrow {
    margin: 0 0 10px;
    color: var(--pk-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
}
.pk-card__title {
    margin: 0;
    color: var(--pk-text);
    font-family: var(--pk-display);
    font-size: clamp(30px, calc(1.2vw + 19px), 36px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.005em;
}
.pk-card__lead {
    margin: 10px 0 20px;
    color: var(--pk-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.pk-form { position: relative; display: grid; gap: 13px; }
.pk-field { display: grid; gap: 7px; }
.pk-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: #d4cec2;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.pk-optional { color: var(--pk-soft); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.pk-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background-color: rgba(8, 8, 10, 0.55);
    color: var(--pk-text);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
textarea.pk-input {
    height: auto;
    min-height: 76px;
    padding: 12px 16px;
    line-height: 1.55;
    resize: vertical;
}
.pk-input::placeholder { color: #6e695f; font-weight: 400; opacity: 1; }
.pk-input:hover { border-color: rgba(255, 255, 255, 0.2); }
.pk-input:focus {
    outline: none;
    border-color: rgba(201, 170, 108, 0.8);
    background-color: rgba(8, 8, 10, 0.8);
    box-shadow: 0 0 0 4px rgba(201, 170, 108, 0.14);
}
.pk-input[aria-invalid="true"] { border-color: rgba(241, 165, 156, 0.75); }
.pk-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(241, 165, 156, 0.14); }
.pk-input:-webkit-autofill,
.pk-input:-webkit-autofill:hover,
.pk-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pk-text);
    -webkit-box-shadow: 0 0 0 1000px #111114 inset;
    caret-color: var(--pk-text);
    transition: background-color 9999s ease-out;
}
.pk-field__error { margin: 0; color: var(--pk-err); font-size: 12.5px; line-height: 1.45; }
.pk-field__error[hidden] { display: none; }

.pk-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    margin-top: 4px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background-color: #efe6d3;
    color: #0c0c0e;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 18px 40px -20px rgba(239, 230, 211, 0.45);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pk-btn:hover {
    background-color: #faf4e7;
    transform: translateY(-1px);
    box-shadow: 0 22px 44px -20px rgba(239, 230, 211, 0.55);
}
.pk-btn:active { transform: translateY(0); }
.pk-btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.pk-btn:hover .pk-arrow { transform: translateX(3px); }
.pk-btn[aria-busy="true"] { pointer-events: none; color: transparent; }
.pk-btn[aria-busy="true"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(12, 12, 14, 0.2);
    border-top-color: #0c0c0e;
    border-radius: 50%;
    animation: pk-spin 0.7s linear infinite;
}

.pk-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 0;
    color: var(--pk-soft);
    font-size: 12.5px;
    line-height: 1.55;
}
.pk-note svg { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--pk-gold); }
.pk-card > div > .pk-btn + .pk-note { margin-top: 14px; } /* form dışı kartlar (yurt dışı ziyaretçi) */

.pk-thanks__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 170, 108, 0.45);
    border-radius: 50%;
    color: var(--pk-gold-light);
}
.pk-thanks__icon svg { width: 24px; height: 24px; }
.pk-thanks .pk-card__lead { margin-bottom: 0; }

/* ---- Alt bilgi ------------------------------------------------------------------ */
.pk-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--pk-line);
    background-color: rgba(10, 10, 12, 0.6);
}
.pk-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 28px;
    box-sizing: border-box;
    max-width: 1240px;
    min-height: 72px;
    margin: 0 auto;
    padding: 18px clamp(20px, 4.5vw, 56px);
    color: var(--pk-soft);
    font-size: 12.5px;
}
.pk-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pk-footer a { color: var(--pk-muted); text-decoration: none; transition: color 0.2s ease; }
.pk-footer a:hover { color: var(--pk-text); }
.pk-footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.pk-footer__brand img { width: auto; height: 22px; filter: brightness(0) invert(1); opacity: 0.55; transition: opacity 0.2s ease; }
.pk-footer__brand:hover img { opacity: 0.9; }
.pk-footer__sep { width: 1px; height: 14px; background: var(--pk-line-strong); }
@media (max-width: 640px) {
    .pk-footer__inner { justify-content: center; padding-bottom: 92px; text-align: center; }
}

/* ---- Bildirim (toast) ----------------------------------------------------------- */
.pk-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    width: min(420px, calc(100vw - 40px));
    padding: 16px 48px 16px 16px;
    border: 1px solid var(--pk-line-strong);
    border-radius: 16px;
    background-color: #141417;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95);
    color: var(--pk-text);
    font-family: var(--pk-sans);
    font-size: 14px;
    line-height: 1.5;
    animation: pk-toast-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.pk-toast.is-leaving { animation: pk-toast-out 0.3s ease both; }
.pk-toast__icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; }
.pk-toast__icon svg { width: 16px; height: 16px; }
.pk-toast--error .pk-toast__icon { background-color: rgba(241, 165, 156, 0.12); color: var(--pk-err); }
.pk-toast--success .pk-toast__icon { background-color: rgba(169, 219, 187, 0.12); color: var(--pk-ok); }
.pk-toast__body { padding-top: 3px; }
.pk-toast__close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pk-soft);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.pk-toast__close:hover { background-color: rgba(255, 255, 255, 0.06); color: var(--pk-text); }
@media (max-width: 640px) {
    .pk-toast { top: 12px; right: 12px; left: 12px; width: auto; }
}

/* ---- WhatsApp düğmesi (layout'tan gelir): sade, koyu, nabız animasyonu yok -------- */
.pk-body .whatsapp-float {
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border: 1px solid var(--pk-line-strong);
    background: #131316;
    box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.95);
    animation: pk-fade-in 0.6s ease 1.1s both;
}
.pk-body .whatsapp-float:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 170, 108, 0.6);
    box-shadow: 0 26px 48px -20px rgba(0, 0, 0, 0.95);
}
.pk-body .whatsapp-float:active { transform: translateY(0); }
.pk-body .whatsapp-float__pulse { display: none; }
.pk-body .whatsapp-float__icon { width: 26px; height: 26px; }
.pk-body .whatsapp-float__icon path { fill: #25d366; }
.pk-body .whatsapp-float__tooltip {
    border-color: var(--pk-line-strong);
    background: #141417;
    color: var(--pk-text);
    font-family: var(--pk-sans);
}
.pk-body .whatsapp-float__tooltip::after { border-color: var(--pk-line-strong); background: #141417; }

/* ---- Hareket ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .pk-reveal { animation: pk-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .pk-reveal--1 { animation-delay: 0.05s; }
    .pk-reveal--2 { animation-delay: 0.12s; }
    .pk-reveal--3 { animation-delay: 0.22s; }
    .pk-reveal--4 { animation-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
    .pk-body .whatsapp-float { animation: none; }
    .pk-toast, .pk-toast.is-leaving { animation: none; }
}
@keyframes pk-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pk-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pk-spin { to { transform: rotate(360deg); } }
@keyframes pk-toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pk-toast-out { to { opacity: 0; transform: translateY(-8px); } }
