/*
Theme Name: OlcaytoPress
Theme URI: https://example.com/olcaytopress
Author: Olcayto
Description: Clean scholarly layout starter. Classic PHP theme with responsive header, menu, search, hero video banner, and footer.
Version: 1.0.0
License: GPL-2.0+
Text Domain: olcaytopress
*/

/* ====== GENEL ====== */
:root{ --container:1200px; --radius:12px; }
.container{ max-width:var(--container); margin:0 auto; padding:0 16px; }

/* ====== HEADER ====== */
.site-header{ background:#fff; border-bottom:1px solid #eee; }
.header-top{ padding:12px 0; }
.header-top__inner{ display:flex; align-items:center; gap:16px; }
.brand__link{ font-weight:700; color:#111; font-size:20px; text-decoration:none; }

/* Desktop arama */
.site-search{ margin-left:auto; display:flex; gap:8px; align-items:center; }
.site-search__input{
  width:520px; max-width:60vw; height:44px;
  border:1px solid #ddd; border-radius:999px; padding:0 14px; background:#fff;
}
.site-search__btn{
  height:44px; width:44px; border-radius:999px;
  border:1px solid #111; background:#111; color:#fff; cursor:pointer;
}

/* Mobil arama butonu */
.site-search-toggle{ display:none; margin-left:auto; height:40px; width:40px;
  border:1px solid #111; border-radius:999px; background:#111; color:#fff; }

/* Mobil arama paneli */
.mobile-search-panel{ border-top:1px solid #eee; background:#fafafa; padding:12px 16px; }
.mobile-search-form{ display:flex; gap:8px; }
.mobile-search-form input{ flex:1; height:42px; border:1px solid #ddd; border-radius:8px; padding:0 10px; }
.mobile-search-form button{ height:42px; padding:0 14px; border:1px solid #111; background:#111; color:#fff; border-radius:8px; }

/* ALT BAR (MENÜ) */
.header-nav{ border-top:1px solid #f2f2f2; }
.header-nav__inner{ display:flex; align-items:center; gap:16px; position:relative; }
.hamburger{ display:none; border:1px solid #ddd; border-radius:8px; padding:8px 10px; background:#fff; cursor:pointer; }
.hamburger span{ display:block; width:22px; height:2px; background:#111; margin:4px 0; }

.primary-menu{ width:100%; }
.primary-menu__list{ display:flex; gap:18px; list-style:none; margin:0; padding:10px 0; flex-wrap:wrap; }
.primary-menu__list a{
  text-decoration:none; color:#333; padding:8px 6px; border-radius:8px;
  position:relative;
}
.primary-menu__list a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:#d60000;
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
.primary-menu__list a:hover::after,
.primary-menu__list .current-menu-item > a::after{ transform:scaleX(1); }

/* Responsive */
@media (max-width: 992px){
  .site-search{ display:none; }
  .site-search-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .hamburger{ display:inline-flex; align-items:center; justify-content:center; }
  .header-nav__inner{ flex-direction:column; align-items:flex-start; }
  .primary-menu__list{ display:block; width:100%; max-height:0; overflow:hidden; transition:max-height .3s ease; }
  .primary-menu__list.is-open{ max-height:60vh; }
  .primary-menu__list li{ border-top:1px solid #f0f0f0; }
  .primary-menu__list a{ display:block; padding:12px 0; }
}

/* ====== HERO VIDEO BANNER (400px + cover) ====== */
.banner-hero{
  position:relative;
  height:400px; min-height:400px;
  width:100%;
  overflow:hidden;
  isolation:isolate;
  color:#fff;
  display:grid; place-items:center;
}
.banner-hero__bg{ position:absolute; inset:0; }
.banner-hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
}
.banner-hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.35));
}
.banner-hero__content{ position:relative; z-index:1; text-align:center; padding:0 16px; width:100%; }
.banner-hero__title{ margin:0 0 12px; font-size:clamp(20px, 4.2vw, 32px); line-height:1.2; }

/* Search + Cover */
.banner-hero__search-wrap{ display:flex; gap:20px; justify-content:center; align-items:center; flex-wrap:nowrap; margin-top:12px; }
.banner-hero__search{ display:flex; gap:8px; justify-content:center; align-items:center; width:100%; max-width:700px; margin:0; }
.banner-hero__search input[type="search"]{
  flex:1; height:48px;
  border:1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.12); color:#fff;
  border-radius:999px; padding:0 16px; outline:none; backdrop-filter:blur(4px);
}
.banner-hero__search input::placeholder{ color:rgba(255,255,255,.9); }
.banner-hero__search button{
  height:48px; width:48px; border-radius:999px; cursor:pointer;
  border:1px solid rgba(255,255,255,.85); background:rgba(255,255,255,.18); color:#fff;
}
.banner-hero__cover img{
  width:250px !important;
  max-height:200px !important;
}
/* Mobil */
@media (max-width:768px){
  .banner-hero{ height:400px; min-height:400px; }
  .banner-hero__title{ font-size:clamp(18px, 5vw, 26px); }
  .banner-hero__search-wrap{ flex-direction:column; gap:12px; }
  .banner-hero__search{ max-width:92vw; }
  .banner-hero__cover img{ margin:0 auto; }
}

/* ====== FOOTER ====== */
.site-footer{ background:#0f0f0f; color:#e9e9e9; border-top:1px solid #222; margin-top:24px; }
.footer__inner{ display:flex; align-items:center; gap:16px; justify-content:space-between; padding:18px 16px; }
.footer__brand{ font-weight:600; letter-spacing:.2px; }
.footer__year{ opacity:.75; margin-left:8px; }
.footer__menu{ list-style:none; display:flex; gap:14px; margin:0; padding:0; flex-wrap:wrap; }
.footer__menu a{ color:#cfcfcf; text-decoration:none; padding:6px 8px; border-radius:8px; }
.footer__menu a:hover{ background:#1b1b1b; }
.back-to-top{ height:36px; width:36px; border-radius:999px; border:1px solid #444; background:#1a1a1a; color:#fff; cursor:pointer; }
@media (max-width:768px){ .footer__inner{ flex-direction:column; align-items:flex-start; gap:10px; } }
/* ===== Publications – Sade Akademik Stil ===== */
.pub-wrap { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:#1f2937; }
.pub-wrap h1 { font-size:30px; font-weight:800; letter-spacing:.2px; }
.pub-wrap h2 { 
  margin:28px 0 14px; font-size:22px; font-weight:800; 
  padding-left:10px; border-left:4px solid #d4af37;  /* çok hafif altın vurgu */
}
.pub-wrap h3 { 
  margin:20px 0 10px; font-size:16.5px; font-weight:700; 
  color:#0f172a;
}

.pub-inpress { 
  border:1px solid #e5e7eb; border-radius:10px; padding:16px; 
  background:#fafafa; 
}
.pub-inpress h2 { border-left-color:#b08c2e; } /* in-press biraz daha koyu altın */

.pub-year { margin:34px 0 44px; }
.pub-year > h2 { margin-bottom:10px; }
.pub-year > h3 { 
  display:inline-block; padding:6px 10px; border:1px solid #e5e7eb; 
  border-radius:8px; background:#fff; font-weight:700;
}

.pub-articles { list-style:none; padding:0; margin:12px 0 0; }
.pub-articles li {
  border:1px solid #e5e7eb; border-left:4px solid transparent;
  border-radius:10px; padding:12px 14px; margin:0 0 10px;
  background:#fff;
  transition:border-color .15s ease, background-color .15s ease;
}
.pub-articles li:hover { border-left-color:#d4af37; background:#fcfcfc; }

.pub-articles strong { display:block; font-weight:800; margin-bottom:2px; }
.pub-articles span { color:#4b5563; font-size:14px; }
.pub-articles .doi { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:13px; color:#334155; }

.pub-actions { margin-top:6px; display:flex; gap:10px; align-items:center; }
.pub-actions a { text-decoration:none; }
.pub-actions .btn {
  display:inline-block; padding:6px 10px; border:1px solid #111; 
  border-radius:999px; font-size:13px; font-weight:700; color:#111;
}
.pub-actions .btn:hover { background:#111; color:#fff; }

.pub-note { color:#6b7280; font-size:13px; }

/* Linkler çok sakin kalsın */
.pub-wrap a { color:#0f172a; text-decoration:underline; text-underline-offset:2px; }
.pub-wrap a:hover { text-decoration:underline; }

/* Baskı (PDF çıktı vs.) */
@media print {
  .pub-inpress, .pub-year { break-inside: avoid; }
  .pub-articles li { border-left-color:#000; }
  .pub-actions .btn { border-color:#000; color:#000; }
}