/* ethnogaze — Christopher temasının görünümü, sıfırdan yazıldı */
:root {
  --accent: #8d1a11;        /* bordo: başlık, buton, slogan */
  --box: #ffb300;           /* içerik kutusu sarısı */
  --frame: #febc20;         /* kutu çevresi ince çizgi */
  --shadow: #658f29;        /* yeşil gölge */
  --brown: #64453f;
  --text-brown: #572f1a;
  --ink: #050505;
  --page-bg: #f2eae3;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg) url(../img/arkaplan.jpg) center top / 100% auto repeat-y;
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  letter-spacing: -0.2px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); font-weight: 600; text-decoration: none; transition: .2s all; }
a:not(.btn):not(.wp-block-button__link):hover { color: var(--accent); }
h1, h2, h3 { font-family: 'Cabin', sans-serif; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin: 0 0 .8em; }

#root { max-width: 1280px; margin: 0 auto; padding: 40px 5% 30px; }

/* Header */
#header { text-align: center; margin-bottom: 3.5%; position: relative; }
.logo img { display: block; width: 640px; max-width: 90%; margin: 0 auto; }
.tagline {
  font-family: 'Cabin', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin: 10px 0 25px;
}
.site-menu {
  font-family: 'Cabin', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: #000;
}
.site-menu a { color: #000; font-weight: 500; }
.site-menu a.active { color: var(--accent); }
.site-menu .sep { margin: 0 6px; opacity: .6; }
.search-btn { background: none; border: 0; cursor: pointer; font-size: 11px; color: #000; padding: 0 4px; }
.menu-toggle { display: none; }

/* İçerik kutusu: ince sarı çerçeve + sarı kutu + yeşil gölge */
.frame {
  max-width: 1000px; margin: 0 auto 8.9%;
  border: 1px solid var(--frame); padding: 30px 5% 45px;
}
.content-box {
  background: var(--box);
  box-shadow: 10px 10px 0 0 var(--shadow);
  padding: 7.4% 0;
  color: var(--text-brown);
}
.content-width { width: 600px; max-width: 86%; margin: 0 auto; }
.post-title { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.content-box p { margin: 0 0 1.2em; }

blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--accent); font-style: italic; }

/* Butonlar */
.btn, .wp-block-button__link, .contact-form button {
  display: inline-block; background: var(--accent); color: #fff !important; border: 0; cursor: pointer;
  font-family: 'Cabin', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .5px;
  padding: 8px 22px; border-radius: 999px; transition: .2s all;
}
.btn:hover, .wp-block-button__link:hover, .contact-form button:hover { background: var(--brown); }
.wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2em; }

/* Ürünler */
.wp-block-image { margin: 0 0 1.2em; }
.wp-block-image img { display: block; margin: 0 auto; }
.products .wp-block-image:has(img[src*="LOGO"]) img { max-width: 100%; }
.wp-block-separator.is-style-dots {
  border: 0; background: none !important; height: auto; text-align: center; margin: 2.5em 0; line-height: 1;
}
.wp-block-separator.is-style-dots::before { content: '···'; font-size: 28px; letter-spacing: 1em; padding-left: 1em; color: inherit; }
.anchor { display: block; position: relative; top: -30px; visibility: hidden; }

/* SSS (akordeon) */
.wp-block-coblocks-accordion-item details {
  background: rgba(255,255,255,.35); margin-bottom: 10px; border-radius: 4px;
}
.wp-block-coblocks-accordion-item summary {
  cursor: pointer; padding: 12px 14px; font-weight: 600; color: #000; list-style: none; position: relative; padding-right: 36px;
}
.wp-block-coblocks-accordion-item summary::-webkit-details-marker { display: none; }
.wp-block-coblocks-accordion-item summary::after { content: '+'; position: absolute; right: 14px; top: 10px; font-size: 18px; }
.wp-block-coblocks-accordion-item details[open] summary::after { content: '–'; }
.wp-block-coblocks-accordion-item__content { padding: 0 14px 10px; color: #000; }

/* Takım ızgarası */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; max-width: 1140px; margin: 0 auto 8.9%; }
.team-item { position: relative; display: block; box-shadow: 15px 15px 0 0 var(--shadow); transition: .2s all; }
.team-item:hover { box-shadow: 10px 10px 0 0 var(--accent); transform: translate(5px, 5px); }
.team-item img { display: block; width: 100%; }
.team-title {
  position: absolute; right: 15px; bottom: 15px; background: var(--brown); color: #fff;
  font-family: 'Cabin', sans-serif; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 15px; opacity: 0; transition: .3s all;
}
.team-item:hover .team-title, .team-item:focus .team-title { opacity: 1; }
.single-portfolio .content-box { color: #000; }
.alignleft { float: left; margin: 0 25px 15px 0; width: 280px; max-width: 45%; }
.content-width::after { content: ''; display: block; clear: both; }
.back { clear: both; padding-top: 10px; }

/* İletişim formu */
.contact-form label { display: block; font-weight: 600; color: #fff; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  background: var(--box); color: #fff; border: 1px solid var(--frame);
  font: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--shadow); } .form-status.err { color: var(--accent); }
.map { margin: 2em 0; } .map iframe { width: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
#footer { text-align: center; font-family: 'Cabin', sans-serif; font-size: 10px; letter-spacing: 2px; }

/* Arama katmanı */
#search-overlay { position: fixed; inset: 0; background: #fff; z-index: 100; display: flex; align-items: center; justify-content: center; }
#search-overlay[hidden] { display: none; }
#search-overlay input { font-size: 28px; border: 0; border-bottom: 2px solid var(--ink); width: min(700px, 85vw); background: none; padding: 10px; outline: none; color: var(--ink); }
.search-close { position: absolute; top: 20px; right: 30px; font-size: 40px; background: none; border: 0; cursor: pointer; }
#search-results h2 { font-size: 15px; margin: 1.2em 0 .3em; }
#search-results mark { background: rgba(141,26,17,.2); color: inherit; }

/* Giriş (typewriter) */
body.intro { background: var(--box); min-height: 100vh; }
.intro-wrap { width: 70%; margin: 0 auto; padding: 40px 0; font-size: 14px; font-weight: 700; color: #000; }
.intro-wrap p { overflow-wrap: break-word; margin: 0 0 1em; }
.intro-wrap .skip { border-radius: 0; margin-bottom: 30px; }

/* Mobil */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 680px) {
  #root { padding-top: 25px; }
  .menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
  .menu-toggle span { width: 22px; height: 2px; background: #000; display: block; }
  .site-menu { display: none; padding: 10px 0; line-height: 2.4; }
  .site-menu.open { display: block; }
  .site-menu .sep { display: none; }
  .site-menu a { display: block; }
  .frame { padding: 15px 3% 25px; }
  .content-box { box-shadow: 5px 5px 0 0 var(--shadow); padding: 30px 0; }
  .content-width { max-width: 88%; }
  .team-grid { grid-template-columns: 1fr; padding: 0 5%; }
  .alignleft { float: none; display: block; margin: 0 auto 20px; max-width: 100%; }
  .intro-wrap { width: 88%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
