/* assets/themes/ozelders/tema.css — Özel ders teması (2026-11-09)
 * Hava: sıcak, kişisel, defter sayfası. Krem zemin, kiremit + koyu yeşil, fosforlu kalem sarısı,
 * el yazısı notlar (Caveat), yumuşak serif başlıklar (Fraunces).
 */

html.tk-ozelders body { background: var(--tk-surface); color: var(--tk-ink); }
html.tk-ozelders .font-display { letter-spacing: -0.012em; }
html.tk-ozelders ::selection { background: rgba(242, 193, 78, .55); color: var(--tk-ink); }

/* Eski iç sayfalar: koyu başlık şeridindeki "secondary" yazı bu temada koyu yeşil kalır; sarıya çevir */
html.tk-ozelders .bg-darkbg .text-secondary { color: var(--tk-accent) !important; }

/* Menü: etkin sayfa */
.od-nav-link[aria-current="page"] { color: var(--tk-primary); background: #fff; box-shadow: inset 0 0 0 1px var(--tk-line); }
#odMenu a[aria-current="page"] { color: var(--tk-primary); }

/* Defter kareli zemin */
.od-grid-bg {
    background-color: var(--tk-surface);
    background-image:
        linear-gradient(to right, rgba(30, 42, 58, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(30, 42, 58, .055) 1px, transparent 1px);
    background-size: 26px 26px;
    background-position: -1px -1px;
}
/* Koyu zemin üstünde açık kareli desen (randevu bölümü) */
.od-grid-light {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 26px 26px;
}
/* Defterin kırmızı kenar çizgisi (yalnız geniş ekranda) */
@media (min-width: 1024px) {
    .od-margin { position: relative; }
    .od-margin::before { content: ""; position: absolute; top: 0; bottom: 0; left: 56px; width: 2px; background: rgba(180, 83, 42, .18); pointer-events: none; }
}

/* Fosforlu kalem vurgusu (satır kırılsa da her satırda devam eder) */
.od-mark {
    background-image: linear-gradient(100deg, rgba(242, 193, 78, 0) 0, rgba(242, 193, 78, .8) .3em, rgba(242, 193, 78, .62) 94%, rgba(242, 193, 78, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% .42em;
    background-position: 0 86%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 .08em;
}

/* El yazısı not */
.od-hand { font-family: var(--tk-font-hand); font-weight: 700; line-height: 1.05; }

/* Başlık altı dalgalı çizgi */
.od-rule {
    display: block; width: 7.5rem; height: .75rem; margin-top: .6rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5c9-5 17-5 26 0s17 5 26 0 17-5 26 0 17 5 26 0 9-3 12-2' fill='none' stroke='%23B4532A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 100% 100%;
}
.od-rule-center { margin-left: auto; margin-right: auto; }
.od-rule-light {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5c9-5 17-5 26 0s17 5 26 0 17-5 26 0 17 5 26 0 9-3 12-2' fill='none' stroke='%23F2C14E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Polaroid fotoğraf ve bant */
.od-photo {
    position: relative; margin: 0; background: #fff; padding: 12px 12px 58px; border-radius: 6px;
    box-shadow: 0 1px 2px rgba(30, 42, 58, .08), 0 28px 50px -24px rgba(30, 42, 58, .45);
    transform: rotate(-2.4deg);
}
.od-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 2px; background: #f1ebe2; }
.od-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; text-align: center; color: var(--tk-ink); }
.od-tape {
    position: absolute; top: -15px; left: 50%; width: 118px; height: 32px; transform: translateX(-50%) rotate(3deg);
    background: rgba(242, 193, 78, .62); box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 96%, 0 50%);
}
.od-sticker {
    position: absolute; right: -14px; bottom: 40px; width: 104px; height: 104px; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
    background: var(--tk-secondary); color: #fff; transform: rotate(9deg);
    box-shadow: 0 12px 24px -12px rgba(47, 93, 80, .8);
    font-family: var(--tk-font-hand); font-size: 1.35rem; line-height: 1; font-weight: 700;
}
.od-photo-empty { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: #f1ebe2; color: var(--tk-primary); font-family: var(--tk-font-display); font-size: 5rem; }

/* Kartlar */
.od-card { transition: transform .2s ease, box-shadow .2s ease; }
.od-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(30, 42, 58, .45); }

/* Adımlar: el çizimi daire içinde rakam */
.od-step-num {
    width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
    border: 2.5px solid var(--tk-primary); color: var(--tk-primary); background: var(--tk-surface);
    font-family: var(--tk-font-display); font-size: 1.5rem; font-weight: 600;
}

/* Fiyat kartı: öne çıkan paket */
.od-pkg-flag {
    position: absolute; top: -16px; right: 18px; padding: .3rem .85rem; border-radius: 9999px;
    background: var(--tk-accent); color: var(--tk-ink); transform: rotate(3deg);
    font-family: var(--tk-font-hand); font-size: 1.3rem; font-weight: 700; line-height: 1.1;
    box-shadow: 0 8px 16px -10px rgba(30, 42, 58, .6);
}

/* Yorum kartları */
.od-quote::before {
    content: "“"; position: absolute; top: -.35rem; left: 1rem; font-family: var(--tk-font-display);
    font-size: 4.5rem; line-height: 1; color: rgba(180, 83, 42, .22);
}

/* Sık sorulan sorular */
.od-faq summary { list-style: none; cursor: pointer; }
.od-faq summary::-webkit-details-marker { display: none; }
.od-faq .od-faq-icon { transition: transform .2s ease; }
.od-faq[open] .od-faq-icon { transform: rotate(45deg); }
.od-faq[open] { background: #fff; }

/* Form */
.od-input {
    width: 100%; border: 1.5px solid var(--tk-line); border-radius: 12px; background: #fff; color: var(--tk-ink);
    padding: .7rem .9rem; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.od-input:focus { outline: none; border-color: var(--tk-primary); box-shadow: 0 0 0 4px rgba(180, 83, 42, .14); }
.od-choice input { position: absolute; opacity: 0; pointer-events: none; }
.od-choice span { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .55rem .9rem;
    border: 1.5px solid var(--tk-line); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; transition: all .15s; }
.od-choice input:checked + span { border-color: var(--tk-primary); background: rgba(180, 83, 42, .08); color: var(--tk-primary-dark); }
.od-choice input:focus-visible + span { outline: 3px solid var(--tk-accent); outline-offset: 2px; }

/* Telefonda alta sabit hızlı işlem çubuğu */
.od-actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--tk-line);
    box-shadow: 0 -10px 26px -14px rgba(30, 42, 58, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.od-actionbar a {
    flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
    border-radius: 12px; border: 1px solid var(--tk-line); background: var(--tk-surface); color: var(--tk-ink);
    font-weight: 700; font-size: 14px; text-decoration: none;
}
.od-actionbar a:not(.od-actionbar-main) { flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.1; }
.od-actionbar a .fa-whatsapp { color: #128C7E; font-size: 18px; }
.od-actionbar a.od-actionbar-main { flex-grow: 2.2; background: var(--tk-primary); border-color: var(--tk-primary); color: #fff; font-size: 15px; }
@media (min-width: 768px) { .od-actionbar { display: none; } }
@media (max-width: 767.98px) {
    html.tk-ozelders body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    html.tk-ozelders .tk-preview-bar { bottom: 76px !important; }
}
