/* ===== Ek özellikler: hero iki sütun, "en çok incelenen" carousel, teklif modalı =====
   Mevcut site.css değişkenlerini kullanır (--ink, --gold, --paper ...). site.css'den SONRA yüklenir. */

/* Hero: solda metin, sağda carousel */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: center; text-align: left; }
.hero-split:not(.has-carousel) { display: block; }
.hero-split .hero-copy { margin: 0; max-width: none; }
.hero-split .hero-actions { justify-content: flex-start; }

/* Carousel */
.tm-carousel { background: rgba(255,255,255,.04); border: 1px solid rgba(165,129,75,.55); border-radius: var(--radius); padding: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.45); min-width: 0; }
.tm-head h2 { color: #fff; font-size: 1.35rem; margin-bottom: .9em; }
.tm-head .eyebrow { margin-bottom: .5em; }
.tm-viewport { position: relative; }
.tm-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.tm-track::-webkit-scrollbar { display: none; }
.tm-slide { flex: 0 0 100%; scroll-snap-align: center; background: #2c3338; border-radius: var(--radius); overflow: hidden; }
.tm-img { position: relative; display: block; aspect-ratio: 4/3; background: #3a4248; }
.tm-img img { width: 100%; height: 100%; object-fit: cover; }
.tm-info { padding: 14px 16px 16px; text-align: center; }
.tm-info h3 { font: 700 1.25rem/1.2 var(--serif); margin: 0 0 .2em; }
.tm-info h3 a { color: #fff; text-decoration: none; }
.tm-meta { color: #aaa; font-size: .85rem; margin: 0 0 .9em; }
.tm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tm-btn { display: inline-block; border: 1.5px solid rgba(255,255,255,.6); color: #fff; padding: 8px 20px; border-radius: 2px; font: 700 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.tm-btn:hover { background: #fff; color: var(--ink); }
.tm-quote { display: inline-block; background: var(--gold); color: #fff; border: 1.5px solid var(--gold); border-radius: 2px; padding: 8px 20px; font: 700 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.tm-quote:hover { background: var(--gold-2); color: #fff; }
.tm-nav { position: absolute; top: 34%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(13,13,13,.7); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.tm-nav:hover { background: var(--gold); border-color: var(--gold); }
.tm-prev { left: 8px; } .tm-next { right: 8px; }
.tm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.tm-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: background .2s, transform .2s; }
.tm-dots button[aria-selected=true] { background: var(--gold); transform: scale(1.35); }

@media (max-width: 1180px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tm-carousel { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero-split { text-align: center; }
  .hero-split .hero-actions { justify-content: center; }
  .tm-carousel { padding: 14px; }
  .tm-nav { width: 34px; height: 34px; }
}

/* Teklif modalı */
.qm[hidden] { display: none; }
.qm { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.qm-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.qm-dialog { color: var(--text); position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow); }
.qm-dialog h2 { margin-bottom: .2em; }
.qm-lead { color: var(--muted); }
.qm-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.qm-model { background: var(--paper); border-left: 3px solid var(--gold); padding: 8px 12px; font-size: .92rem; }
.qm-alert { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid #eac3b9; background: #fbeeea; color: var(--err); font-size: .93rem; }
.qm-lead, .tm-meta { margin-top: 0; }
.qm-success { text-align: center; padding: 12px 0; }
.qm-success h3 { color: var(--ok); }
.qm-form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) { .qm-dialog { padding: 22px 16px 18px; } }
