/* site/css/atolye.css — CONTRACT WOODWORKING bölümü (4 Eki 2026)
 *
 * Sahibin emri: "woodworking kısmını geliştir — hizmetler, görseller daha fazla,
 * görseller çeşitli ve gerçek, filigranlı; üretim yaptırmak ya da tedarik etmek
 * isteyenler bize ikna olmalı."
 * Görseller: site/img/atolye/*.webp (gerçek fotoğraf, filigranlı — betik/atolye-gorsel-filigran.mjs).
 * Renkler tema.css jetonları; yeni renk yok. ⛔ Uydurma rakam/makine adı yazılmaz
 * (fason KARAR-DEFTERI 5 Ağu: hammal toleransları uydurmuştu, silindi).
 */
.at-kap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.at-ust { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aksan); }

/* Hero: tam genişlik gerçek fotoğraf + koyu degrade */
.at-hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--lacivert); }
.at-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 26, 44, .92) 0%, rgba(8, 26, 44, .72) 46%, rgba(8, 26, 44, .15) 100%), linear-gradient(0deg, rgba(8, 26, 44, .7) 0%, transparent 45%); }
.at-hero .at-kap { position: relative; z-index: 1; width: 100%; padding-block: 72px 56px; }
.at-hero .at-ust { color: #7fd3ea; }
.at-hero h1 { margin: 0; max-width: 17ch; color: #fff; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.at-hero p.at-alt { margin: 18px 0 26px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.at-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.at-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 12px;
  font-weight: 650; font-size: 15.5px; text-decoration: none; transition: background .18s, transform .12s, border-color .18s;
}
.at-btn:active { transform: scale(.98); }
.at-btn--ana { background: #159dc2; color: #fff; box-shadow: 0 6px 20px rgba(21, 157, 194, .35); }
.at-btn--ana:hover { background: #1290b2; color: #fff; text-decoration: none; }
.at-btn--cizgi { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.at-btn--cizgi:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.at-btn--koyu { background: var(--aksan); color: #fff; }
.at-btn--koyu:hover { background: var(--aksan-koyu); color: #fff; text-decoration: none; }
.at-btn--acik { border: 1.5px solid var(--cizgi); color: var(--metin); background: #fff; }
.at-btn--acik:hover { border-color: var(--aksan); color: var(--aksan); text-decoration: none; }
.at-gercekler { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .78); }
.at-gercekler li { display: flex; align-items: center; gap: 8px; }
.at-gercekler li::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(63, 182, 216, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fd3ea' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Bölümler */
.at-bolum { padding-block: 72px; }
.at-bolum--soluk { background: var(--yuzey-2, #eef3f4); }
.at-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.at-bas h2 { margin: 0; max-width: 22ch; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.at-bas p { margin: 0; max-width: 52ch; color: var(--metin-2); font-size: 16px; line-height: 1.6; }

/* Neden biz — 4 gerekçe */
.at-neden { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.at-neden li { padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .04), 0 6px 18px rgba(10, 37, 64, .06); }
.at-neden b { display: block; margin: 12px 0 6px; font-size: 16.5px; letter-spacing: -.01em; }
.at-neden span { font-size: 14px; color: var(--metin-2); line-height: 1.55; }
.at-neden i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--aksan-bg); color: var(--aksan-koyu); font-style: normal; font-weight: 800; }

/* Hizmet kartları — gerçek fotoğraflı */
.at-hizmetler { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.at-hizmet {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; color: var(--metin); text-decoration: none;
  box-shadow: 0 1px 2px rgba(10, 37, 64, .04), 0 6px 18px rgba(10, 37, 64, .06); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.at-hizmet:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 37, 64, .13); text-decoration: none; color: var(--metin); }
.at-hizmet figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--yuzey-2); }
.at-hizmet img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.at-hizmet:hover img { transform: scale(1.05); }
.at-hizmet div { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.at-hizmet h3 { margin: 0; font-size: 17px; letter-spacing: -.015em; }
.at-hizmet p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--metin-2); }
.at-hizmet span.at-git { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 650; color: var(--aksan); }

/* Süreç — numaralı adımlar */
.at-adimlar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: at; margin: 0; padding: 0; list-style: none; }
.at-adimlar li { counter-increment: at; position: relative; padding: 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--cizgi); }
.at-adimlar li::before { content: 'Step ' counter(at) ' of 5'; display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--aksan); }
.at-adimlar b { display: block; font-size: 16px; margin-bottom: 4px; }
.at-adimlar span { font-size: 14px; color: var(--metin-2); line-height: 1.5; }

/* Ne üretiyoruz — görsel mozaik */
.at-mozaik { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.at-mozaik figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--yuzey-2); }
.at-mozaik figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.at-mozaik figure:nth-child(6) { grid-column: span 2; }
.at-mozaik img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-mozaik figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-weight: 650; font-size: 15px;
  background: linear-gradient(0deg, rgba(8, 26, 44, .78), transparent);
}

/* Bölünmüş blok: fotoğraf + metin */
.at-iki { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.at-iki img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }
.at-iki h2 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.12; }
.at-iki p { margin: 0 0 14px; color: var(--metin-2); font-size: 16px; line-height: 1.65; }
.at-liste { margin: 6px 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.at-liste li { position: relative; padding-left: 26px; font-size: 15px; color: var(--metin); }
.at-liste li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--aksan-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075a72' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* Galeri */
.at-galeri { columns: 3 280px; column-gap: 12px; }
.at-galeri figure { break-inside: avoid; margin: 0 0 12px; border-radius: 14px; overflow: hidden; background: var(--yuzey-2); position: relative; }
.at-galeri img { width: 100%; height: auto; display: block; }
.at-galeri figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 8px; background: rgba(8, 26, 44, .72); color: #fff; font-size: 12.5px; font-weight: 600; }
.at-cipler { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.at-cip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cizgi); background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: var(--metin); }
.at-cip[aria-pressed="true"] { background: var(--aksan); border-color: var(--aksan); color: #fff; }

/* Kapanış bandı */
.at-cta { position: relative; overflow: hidden; border-radius: 22px; padding: 44px; color: #fff; background: var(--lacivert); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; }
.at-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.at-cta > * { position: relative; }
.at-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.025em; }
.at-cta p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16px; max-width: 56ch; }
.at-not { margin-top: 14px; font-size: 12.5px; color: var(--metin-3); }

/* Hizmet detay sayfası görsel şeridi */
.at-serit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.at-serit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }

@media (max-width: 1024px) {
  .at-neden { grid-template-columns: 1fr 1fr; }
  .at-adimlar { grid-template-columns: 1fr 1fr; }
  .at-adimlar li:last-child { grid-column: span 2; }
  .at-mozaik { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .at-mozaik figure:nth-child(6) { grid-column: span 1; }
}
@media (max-width: 760px) {
  .at-iki, .at-cta { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .at-bolum { padding-block: 48px; }
}
@media (max-width: 640px) {
  .at-kap { padding-inline: 16px; }
  .at-hero { min-height: 0; }
  .at-hero::after { background: linear-gradient(0deg, rgba(8, 26, 44, .94) 0%, rgba(8, 26, 44, .7) 60%, rgba(8, 26, 44, .4) 100%); }
  .at-hero .at-kap { padding-block: 120px 34px; }
  .at-hero p.at-alt { font-size: 15.5px; }
  .at-dugmeler .at-btn { flex: 1 1 100%; }
  .at-gercekler { flex-direction: column; gap: 8px; margin-top: 22px; }
  .at-neden { grid-template-columns: 1fr; }
  /* Telefonda hizmet kartı YATAY ve kompakt: 12 kart × tam genişlik foto sayfayı 11.000 px
     yapıyordu (ölçüldü). Solda kare foto, sağda başlık + 2 satır metin. */
  .at-hizmetler { grid-template-columns: 1fr; gap: 10px; }
  .at-hizmet { flex-direction: row; border-radius: 14px; }
  .at-hizmet figure { flex: none; width: 108px; aspect-ratio: auto; position: relative; }
  .at-hizmet figure img { position: absolute; inset: 0; }
  .at-hizmet div { padding: 12px 14px; gap: 3px; min-width: 0; }
  .at-hizmet h3 { font-size: 15.5px; }
  .at-hizmet p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .at-hizmet span.at-git { padding-top: 2px; font-size: 13px; }
  .at-neden li { padding: 16px; display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; }
  .at-neden i { width: 36px; height: 36px; grid-row: span 2; }
  .at-neden b { margin: 0; }
  .at-adimlar li { padding: 14px 16px; }
  .at-adimlar { grid-template-columns: 1fr; }
  .at-adimlar li:last-child { grid-column: auto; }
  .at-mozaik { grid-auto-rows: 150px; gap: 8px; }
  .at-mozaik figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .at-galeri { columns: 2 140px; column-gap: 8px; }
  .at-galeri figure { margin-bottom: 8px; }
  .at-cta { padding: 28px 20px; border-radius: 18px; }
  .at-cta .at-btn { width: 100%; }
  .at-serit { grid-template-columns: 1fr 1fr; }
  .at-serit img:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .at-hizmet, .at-hizmet img { transition: none; } }
