/* =========================================
   ÖZEL TASARIM PASPASLAR SAYFASI
   (hizmetler.css üzerine kurulur)
   ========================================= */
.ot-hero .srv-hero-bg { background-position: center; }

.ot-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.srv-head p { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* NELER ÜRETİYORUZ */
.ot-types { padding: clamp(60px, 7vw, 100px) 0; }

.ot-type-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ot-type {
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .03), 0 12px 30px rgba(0, 0, 0, .05);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.ot-type:hover { transform: translateY(-6px); box-shadow: 0 4px 10px rgba(0, 0, 0, .05), 0 22px 44px rgba(0, 0, 0, .09); }

.ot-type-media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }

.ot-type-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }

.ot-type:hover .ot-type-media img { transform: scale(1.05); }

.ot-type-body { position: relative; padding: 34px 22px 24px; }

.ot-type-icon {
    position: absolute;
    top: -22px;
    left: 22px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 18px -6px rgba(227, 6, 19, .55);
}

.ot-type h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.ot-type p { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* TASARIM ÖNİZLEME */
.ot-designer { padding: clamp(60px, 7vw, 100px) 0; background: #f7f7f5; scroll-margin-top: var(--header-h); }

.ot-designer-box {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .25);
}

/* Sahne: kapı önü fotoğrafı; paspas zemine perspektifle yatırılır */
.ot-stage {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f7f7f5;
}

.ot-scene {
    --tex: url('../img/ozel-tasarim/doku.png');   /* ışık-gölge katmanı: her renkte aynı belirginlikte */
    container-type: inline-size;
    position: relative;
    aspect-ratio: 742 / 780;
    overflow: hidden;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
}

/* Kamera sabit: tüm ölçüler aynı açı ve uzaklıkla görünür */
.ot-mat {
    container-type: inline-size;
    position: absolute;
    left: 51.9%;
    bottom: 20%;
    width: var(--w, 82%);
    aspect-ratio: var(--ratio, 3 / 2);
    padding: 3.2cqw;
    border-radius: 1cqw;
    background: linear-gradient(180deg, #2a2a2a, #0d0d0d 60%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 1.2cqw 1.6cqw rgba(0, 0, 0, .45);
    --fit: 1;   /* yazının kullanabileceği genişlik payı (forma göre) */
    transform-origin: 50% 100%;
    transform: translateX(-50%) perspective(97cqw) rotateX(27deg);
    transition: width .5s var(--ease), aspect-ratio .5s var(--ease), border-radius .5s var(--ease);
}

.ot-mat-field {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1cqw;
    height: 100%;
    padding: 4cqw;
    overflow: hidden;
    border-radius: inherit;
    background: var(--tex) 0 0 / 10cqw, var(--mat);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 2.4cqw rgba(0, 0, 0, .55);
    text-align: center;
    transition: background-color .4s var(--ease);
}

/* Güneş ışığı */
.ot-mat-field::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 236, 200, .16) 0%, transparent 45%, rgba(0, 0, 0, .18) 100%);
    pointer-events: none;
}

.ot-mat[data-shape="oval"],
.ot-mat[data-shape="oval"] .ot-mat-field { border-radius: 50%; }
.ot-mat[data-shape="oval"] { --fit: .72; }
.ot-mat[data-shape="oval"] .ot-mat-field { padding: 6cqw 12cqw; }

.ot-mat[data-shape="half"] { --fit: .8; aspect-ratio: 2 / 1; border-radius: 999px 999px 1cqw 1cqw; }
.ot-mat[data-shape="half"] .ot-mat-field { justify-content: flex-end; padding: 10cqw 14cqw 4cqw; }

/* Yazı da halı dokusunda: doku + renk, yazının içine kırpılır */
.ot-mat-line {
    position: relative;
    z-index: 1;
    font-family: 'Alfa Slab One', 'Montserrat', serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    /* üstteki yarı saydam renk katmanı yazıdaki dokuyu zemine göre yumuşatır */
    background:
        linear-gradient(color-mix(in srgb, var(--ink-c) 40%, transparent) 0 0),
        var(--tex) 0 0 / 10cqw,
        var(--ink-c);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 .35cqw 0 rgba(0, 0, 0, .4));
    font-size: min(28cqw, calc(118cqw * var(--fit) / var(--len, 2)));
    transition: font-size .3s var(--ease);
}

.ot-mat-line--sub { font-size: min(13cqw, calc(118cqw * var(--fit) / var(--len, 6))); }
.ot-mat-line:empty { display: none; }

.ot-mat[data-font="modern"] .ot-mat-line { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: .04em; }

.ot-mat[data-font="el"] .ot-mat-line {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    font-size: min(30cqw, calc(200cqw * var(--fit) / var(--len, 2)));
}

.ot-mat[data-font="el"] .ot-mat-line--sub { font-size: min(17cqw, calc(210cqw * var(--fit) / var(--len, 6))); }

.ot-stage-size {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(4px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ink);
}

.ot-stage-note { font-size: 11px; color: #7a746c; text-align: center; }

.ot-chip--kolej span { font-family: 'Alfa Slab One', serif; font-weight: 400; }
.ot-chip--modern span { font-weight: 800; }
.ot-chip--el span { font-family: 'Caveat', cursive; font-size: 16px; font-weight: 700; line-height: 1.05; }

/* Seçenekler */
.ot-controls { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3vw, 40px); }

.ot-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 0; }

.ot-field > span,
.ot-field legend {
    padding: 0;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.ot-field > span { margin-bottom: 0; }
.ot-field small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ot-field legend b { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }

.ot-field input[type="text"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.ot-field input[type="text"]:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 6, 19, .12); }

.ot-swatches, .ot-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.ot-swatch, .ot-chip { position: relative; cursor: pointer; }

.ot-swatch input, .ot-chip input { position: absolute; opacity: 0; pointer-events: none; }

.ot-swatch i {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.ot-swatch:hover i { transform: scale(1.08); }
.ot-swatch input:checked + i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--white), 0 0 0 4px var(--red); }
.ot-swatch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 4px; }

.ot-chip span {
    display: block;
    padding: 8px 14px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all .25s var(--ease);
}

.ot-chip:hover span { border-color: var(--ink); }
.ot-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ot-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.ot-field-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; }

.ot-submit { align-self: stretch; justify-content: center; margin-top: 4px; }

.ot-hint { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.ot-hint svg { flex-shrink: 0; color: var(--red); }

/* KULLANIM ALANLARI */
.ot-places { padding: clamp(36px, 4vw, 50px) 0; border-bottom: 1px solid rgba(0, 0, 0, .07); }

.ot-places ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.ot-places li { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 14px; }
.ot-places strong { font-weight: 600; }

/* SSS */
.ot-faq { padding: clamp(60px, 7vw, 100px) 0 clamp(20px, 3vw, 40px); }

.ot-faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(0, 0, 0, .1); }

.ot-faq details { border-bottom: 1px solid rgba(0, 0, 0, .1); }

.ot-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color .25s var(--ease);
}

.ot-faq summary::-webkit-details-marker { display: none; }
.ot-faq summary:hover { color: var(--red); }

.ot-faq-plus {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .2);
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.ot-faq details[open] .ot-faq-plus { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }

.ot-faq details p { padding: 0 50px 22px 4px; font-size: 14px; line-height: 1.75; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .ot-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ot-places ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ot-places li { justify-content: flex-start; }
}

@media (max-width: 991px) {
    .ot-designer-box { grid-template-columns: minmax(0, 1fr); }
    .ot-scene { max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
    .ot-type-grid { grid-template-columns: minmax(0, 1fr); }
    .ot-stage { padding: 12px; }
    .ot-field-row { grid-template-columns: minmax(0, 1fr); }
    .ot-places ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .ot-faq details p { padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .ot-type, .ot-type-media img, .ot-mat { transition: none; }
}
