/*
Theme Name: Aslı Kendir
Theme URI: https://aslikendir.com
Author: Aslı Sani Kendir
Description: Aslı Sani Kendir — Gayrimenkul Yatırım Danışmanı için özel Warm Ivory teması. Marcellus + Jost, krem/kil/koyu kahve paleti. Mülk portföyü (özel yazı tipi), blog, Golden Visa, TR/EN dil anahtarı ve iletişim formu içerir.
Version: 1.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: asli-kendir
*/

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #F4EFE6;
  color: #2B2620;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::placeholder { color: #A89E8E; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #A65F3E !important; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #8B8273; margin-top: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Blog yazı içeriği (single.php) */
.ak-article-content { display: flex; flex-direction: column; gap: 10px; }
.ak-article-content h2 { font-family: 'Marcellus', serif; font-weight: 400; font-size: 26px; color: #2B2620; margin: 26px 0 10px; }
.ak-article-content h3 { font-family: 'Marcellus', serif; font-weight: 400; font-size: 22px; color: #2B2620; margin: 22px 0 8px; }
.ak-article-content p { font-size: 17px; line-height: 1.85; color: #3A3128; font-weight: 300; margin: 0 0 8px; }
.ak-article-content ul, .ak-article-content ol { font-size: 17px; line-height: 1.85; color: #3A3128; font-weight: 300; padding-left: 24px; }
.ak-article-content blockquote { border-left: 2px solid #A65F3E; margin: 16px 0; padding: 4px 0 4px 20px; font-family: 'Marcellus', serif; font-size: 20px; color: #2B2620; }
.ak-article-content img { border-radius: 4px; }

/* SSS akordeon */
.ak-faq details { border-top: 1px solid #E2DACB; }
.ak-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-family: 'Marcellus', serif; font-size: 21px; color: #2B2620; }
.ak-faq summary::-webkit-details-marker { display: none; }
.ak-faq summary::after { content: '+'; font-size: 24px; color: #A65F3E; line-height: 1; font-family: 'Jost', sans-serif; }
.ak-faq details[open] summary::after { content: '–'; }
.ak-faq details p { font-size: 16px; line-height: 1.75; color: #6E665A; font-weight: 300; margin: 0; padding: 0 0 28px; }

/* ============ MOBİL UYUMLULUK ============ */
/* Tablet ve altı */
@media (max-width: 980px) {
  .ak-grid-3, .ak-grid-4 { grid-template-columns: 1fr 1fr !important; }
  .ak-grid-5 { grid-template-columns: 1fr 1fr 1fr !important; }
  .ak-hero, .ak-grid-2 { grid-template-columns: 1fr !important; }
  .ak-cols-3 { columns: 2 !important; }
  .ak-nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 12px !important; gap: 18px !important; }
}

/* Telefon */
@media (max-width: 640px) {
  .ak-grid-2, .ak-grid-3, .ak-grid-4, .ak-grid-5 { grid-template-columns: 1fr !important; }
  .ak-cols-3 { columns: 1 !important; }

  /* Navigasyon: logo üstte, bağlantılar altta ortalanır */
  .ak-nav-links { justify-content: center; gap: 14px !important; font-size: 13px !important; }

  /* Başlık ölçüleri (şablonlardaki inline değerleri ezer) */
  h1[style*="font-size:64px"] { font-size: 38px !important; }
  h1[style*="font-size:56px"] { font-size: 34px !important; }
  h1[style*="font-size:52px"] { font-size: 32px !important; }
  h1[style*="font-size:44px"] { font-size: 30px !important; }
  h2[style*="font-size:46px"] { font-size: 30px !important; }
  h2[style*="font-size:42px"] { font-size: 29px !important; }
  h2[style*="font-size:38px"] { font-size: 27px !important; }
  h2[style*="font-size:36px"] { font-size: 26px !important; }
  h2[style*="font-size:34px"] { font-size: 25px !important; }
  p[style*="font-size:30px"]  { font-size: 21px !important; }
  div[style*="font-size:44px"] { font-size: 34px !important; }

  /* Golden Visa şerit başlığı */
  span[style*="letter-spacing:0.34em"] { font-size: 20px !important; letter-spacing: 0.22em !important; }
  span[style*="width:70px"][style*="height:1px"] { width: 30px !important; }

  /* Geniş iç boşlukları daralt */
  div[style*="padding:72px 64px"] { padding: 44px 24px !important; }
  div[style*="padding:60px 64px"] { padding: 36px 24px !important; }
  div[style*="padding:40px 36px"] { padding: 30px 22px !important; }
  div[style*="padding:36px 40px"] { padding: 28px 22px !important; }
  div[style*="padding:84px 40px"], div[style*="padding:72px 40px"] { padding-left: 22px !important; padding-right: 22px !important; padding-top: 48px !important; }
  div[style*="padding:64px 40px"], div[style*="padding:56px 40px"], div[style*="padding:48px 40px"] { padding-left: 22px !important; padding-right: 22px !important; }
  div[style*="padding:22px 40px"] { padding: 16px 18px !important; }
  div[style*="padding:24px 40px"] { padding: 20px 18px !important; }
  div[style*="padding:8px 40px"]  { padding: 8px 22px !important; }
  div[style*="padding:44px"]      { padding: 28px 20px !important; }

  /* Hero portre ve makale görseli yüksekliği */
  div[style*="min-height:540px"] { min-height: 420px !important; }
  div[style*="min-height:560px"] { min-height: 420px !important; }
  div[style*="height:380px"]     { height: 240px !important; }

  /* Logo */
  a[style*="letter-spacing:0.18em"][style*="font-size:22px"] { font-size: 17px !important; letter-spacing: 0.14em !important; }

  /* Dokunma hedefleri */
  .ak-filtre { padding: 12px 18px !important; }
}
