/* =====================================================================
   MERTER PERA KONAKLARI — içerik katmanı
   Yerleşim css/sablon.css'ten olduğu gibi gelir; bu dosya yalnızca
   yer tutucuların yerine gelen gerçek görselleri yerleştirir.
   Görseller: Mürekkep Yapı'nın gönderdiği renderlar (25.10.2026).
   ===================================================================== */

@layer bilesen {
  img.kaydirici__kare,
  img.peyzaj__gorsel,
  img.one-cikan__arka {
    object-fit: cover;
    background: var(--renk-yer-tutucu-koyu);
  }
  img.kaydirici__kare { width: 100%; }
  img.peyzaj__gorsel { flex: 1; min-width: 0; height: 100%; }
  img.one-cikan__arka { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* Kat planı: 16:9 sayfanın tamamı (başlık ve oda listesi dahil) kırpılmadan görünsün */
  img.daireler__plan { width: 778px; object-fit: contain; background: #fff; }

  /* Hero: renderların üst kısmı gökyüzü; binalar kadrajın altında kalsın */
  .hero img.kaydirici__kare { object-position: center 70%; }
  .peyzaj__gorsel { object-position: 40% center; }

  /* Öne çıkan alan: açık cephe üzerinde metin okunsun diye sol taraf daha koyu */
  .one-cikan::after {
    background: linear-gradient(90deg, rgb(0 0 0 / .78) 0, rgb(0 0 0 / .6) 38%, rgb(0 0 0 / .15) 62%, transparent 75%);
  }
}

/* Konum haritası: gömülü Google Haritalar */
@layer bilesen {
  .harita__alan--konum {
    position: relative; display: grid; place-items: center; overflow: hidden;
    background:
      repeating-linear-gradient(0deg, transparent 0 47px, rgb(0 0 0 / .05) 47px 48px),
      repeating-linear-gradient(90deg, transparent 0 47px, rgb(0 0 0 / .05) 47px 48px),
      var(--renk-yer-tutucu);
  }
  .harita__alan--konum iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .harita__kategoriler { list-style: none; }
}

/* Haritanın sağ altındaki yol tarifi butonu */
@layer bilesen {
  .harita__tarif { position: absolute; right: 20px; bottom: 24px; z-index: 1; box-shadow: 0 6px 20px rgb(0 0 0 / .2); }
}

/* ===== İkonlar: tek tarz (24×24 ızgara, 1.6 px çizgi, yuvarlak uç, dolgu yok) ===== */
@layer bilesen {
  .ikon-seti { position: absolute; width: 0; height: 0; overflow: hidden; }
  .ikon {
    display: block; width: 1em; height: 1em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  }

  .hap__ikon { display: grid; place-items: center; }
  .hap--koyu .hap__ikon { color: var(--renk-koyu); font-size: 13px; }
  .hap--kategori .hap__ikon { color: #fff; font-size: 18px; }

  .ok .ikon { font-size: 24px; }
  .ok--kart .ikon { font-size: 22px; }
  .oynat { display: grid; place-items: center; color: #fff; font-size: 22px; }

  .f-sayi__ikon { display: grid; place-items: center; color: var(--renk-vurgu-koyu); font-size: 26px; }

  .alt__sosyal a { display: grid; place-items: center; color: var(--renk-koyu-2); font-size: 18px; }
  .whatsapp .ikon { font-size: 25px; }

  .tam-menu__kapat .ikon, .video-pencere__kapat .ikon { font-size: 32px; }
  .yan-form__kapat .ikon { font-size: 22px; }
}

/* Firma logosu (footer) */
@layer bilesen {
  .alt__firma-logo { display: block; width: 109px; height: 72px; }
}

/* Firma projeleri: gerçek görselli kartlar + oklar */
@layer bilesen {
  .projeler-kap { position: relative; }
  .projeler { scroll-behavior: smooth; scroll-snap-type: x mandatory; }
  .p-kart { scroll-snap-align: start; }
  img.p-kart__gorsel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease; }
  .p-kart:is(:hover, :focus-visible) img.p-kart__gorsel { scale: 1.04; }
  .p-kart::after { background: linear-gradient(to top, rgb(0 0 0 / .55), rgb(0 0 0 / .05) 55%); }
  .p-kart__bilgi { z-index: 2; background: none; }
  .projeler-kap .ok--galeri { color: #fff; }
  .projeler-kap .ok--sol { left: 40px; }
  .projeler-kap .ok--sag { right: 40px; }
  @media (prefers-reduced-motion: reduce) { .projeler { scroll-behavior: auto; } img.p-kart__gorsel { transition: none; } }
}
@layer bilesen { .giris:has(+ .projeler-kap) { height: 412px; } }

/* Talep formu: izin kutuları kaldırıldı, gönder butonu bilgi satırının altında; durum mesajı */
@layer bilesen {
  .form__bilgi + .form__gonder { margin-top: 18px; }
  .form__durum { min-height: 20px; margin-top: 12px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / .85); }
  .yan-buton { display: grid; place-items: center; }
}

/* Başlık görselleri: iki satır da aynı el yazısı fontuyla (Pinyon Script, sitede gömülü) */
@layer token {
  :root { --font-el-yazisi: "Pinyon Script", "Snell Roundhand", cursive; }
}
@layer bilesen {
  .baslik-gorsel { font-size: 64px; line-height: .95; }
  #ayricaliklar .baslik-gorsel { font-size: 56px; } /* 132 px yüksekliğindeki kutuya sığsın */
  .baslik-gorsel span {
    font-family: var(--font-el-yazisi); font-size: inherit; font-weight: 400;
    letter-spacing: 0; text-transform: none;
  }
}

/* Firma hakkında: harita yerine tanıtım + hizmetler paneli (murekkepyapi.com içeriği) */
@layer bilesen {
  .f-sayi__etiket { max-width: 200px; }
  .firma__panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
    height: 661px; margin-top: 78px; padding: 64px 72px;
    background: #fff; border-radius: 4px;
  }
  .firma__logo { width: 145px; height: 96px; }
  .firma__slogan { margin-top: 28px; font-family: var(--font-el-yazisi); font-size: 44px; line-height: 1.1; color: var(--renk-baslik); }
  .firma__tanitim p:not(.firma__slogan) { margin-top: 18px; font-size: 16px; line-height: 27px; color: #333; }
  .firma__link { margin-top: 28px; }
  .firma__alt-baslik { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--renk-ikincil); }
  .firma__hizmetler ul { margin-top: 18px; }
  .firma__hizmetler li { display: grid; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--renk-cizgi); }
  .firma__hizmetler li:first-child { border-top: 1px solid var(--renk-cizgi); }
  .firma__hizmetler strong { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--renk-baslik); }
  .firma__hizmetler span { font-size: 14.4px; line-height: 21px; color: var(--renk-ikincil); }
  .hap--cizgi-koyu {
    height: 44px; padding: 0 22px; border: 1px solid var(--renk-koyu); color: var(--renk-koyu);
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
  }

  /* Footer e-posta */
  .alt__eposta { display: block; margin-top: 10px; font-size: 17.28px; line-height: 24px; color: rgb(255 255 255 / .75); }
  .alt__eposta:hover { color: #fff; }
}

/* Proje logosu: el yazısı "Merter Pera" + aralıklı büyük harf "KONAKLARI" (tanıtım filmindeki başlıkla aynı oran: büyük harf = el yazısının yarısı) */
@layer bilesen {
  .proje-logo {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    height: 69px; padding: 0 20px; border-radius: 0 0 6px 6px;
    background: var(--renk-koyu); color: #fff; text-align: center;
  }
  .proje-logo__el { font-family: var(--font-el-yazisi); font-size: 30px; line-height: .9; white-space: nowrap; }
  .proje-logo__ad { margin-top: 3px; padding-left: .08em; font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: .08em; }
  .proje-logo--kucuk { height: 52px; padding: 0 16px; }
  .proje-logo--kucuk .proje-logo__el { font-size: 25px; }
  .proje-logo--kucuk .proje-logo__ad { margin-top: 2px; font-size: 12.5px; }
  .proje-logo--alt { padding: 0; margin-bottom: 3px; background: none; border-radius: 0; }
  .proje-logo--alt .proje-logo__el { font-size: 40px; }
  .proje-logo--alt .proje-logo__ad { margin-top: 4px; font-size: 20px; }
}

/* Tanıtım filmi kapağı: tıklayınca video penceresinde oynar */
@layer bilesen {
  .video-kapak { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0; background: var(--renk-koyu); cursor: pointer; }
  .video-kapak img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
  .video-kapak .oynat { position: relative; transition: background .2s ease; }
  .video-kapak:hover img { scale: 1.03; }
  .video-kapak:hover .oynat { background: rgb(0 0 0 / .75); }
  video.video-pencere__alan { display: block; background: #000; }
  video.video-pencere__alan[hidden], .video-pencere__alan[hidden] { display: none; }
}
