/*
Theme Name: ZOZO
Theme URI: https://zozo.work
Author: ZOZO
Author URI: https://zozo.work
Description: Sade, mavi tonlu ve çok dilli (TR / EN / DE / ES) tek sayfalık dijital hizmet teması. Tarayıcı dilini otomatik algılar, web danışmanlığı / dijital çözümler / online eğitim için ayrı hizmet detay sayfalarıyla gelir. Tüm mobil ve masaüstü cihazlarda uyumludur.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zozo
*/

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #16203a;
  background: #fafbfe;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
::selection { background: #2f6bff; color: #fff; }
#zozo-root { min-height: 100vh; overflow-x: hidden; }

/* ---- Hover states (layout stays inline in markup) ---- */
.z-cta { transition: background .2s; }
.z-cta:hover { background: #2f6bff !important; }

.z-grad { transition: filter .2s; }
.z-grad:hover { filter: brightness(1.1); }

.z-btn-secondary { transition: border-color .2s, color .2s; }
.z-btn-secondary:hover { border-color: #2f6bff !important; color: #2f6bff !important; }

.z-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.z-card:hover { border-color: #c9d6f5 !important; box-shadow: 0 14px 40px -18px rgba(47,107,255,.35); transform: translateY(-2px); }

.z-pill { transition: background .2s, color .2s, border-color .2s; }
.z-pill:hover { background: rgba(255,255,255,.13) !important; color: #fff !important; border-color: rgba(111,155,255,.5) !important; }

.z-back { transition: color .2s; }
.z-back:hover { color: #2f6bff !important; }

.z-lang { transition: all .2s; }

/* ===================================================================
   Site chrome — header / menu / footer
   =================================================================== */
.zozo-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #16203a; color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
  text-decoration: none; font-weight: 600; font-size: 14px;
}
.zozo-skip:focus { left: 0; }

.zozo-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,254,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #eaeef6;
}
.zozo-header-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.zozo-brand { display: flex; align-items: center; text-decoration: none; }
.zozo-brand-img, .zozo-brand .custom-logo { height: 40px; width: auto; display: block; }
.zozo-header .custom-logo-link { display: flex; align-items: center; text-decoration: none; }
.zozo-header .custom-logo,
.zozo-header img.custom-logo { height: 40px !important; width: auto !important; max-width: 220px; display: block; }
.zozo-menu { flex: 1 1 auto; }
.zozo-menu-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.zozo-menu-list a {
  display: block; text-decoration: none; color: #3a465f;
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.zozo-menu-list a:hover,
.zozo-menu-list .current-menu-item > a,
.zozo-menu-list .current_page_item > a { background: #eef3ff; color: #2f6bff; }
.zozo-header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.zozo-lang-switch { display: flex; gap: 2px; background: #eef3ff; padding: 4px; border-radius: 999px; }
.zozo-contact {
  text-decoration: none; background: #16203a; color: #fff;
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
}

.zozo-footer { background: #fafbfe; border-top: 1px solid #eaeef6; }
.zozo-footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 36px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.zozo-footer-brand { display: flex; align-items: center; gap: 13px; }
.zozo-footer-logo { height: 30px; width: auto; display: block; }
.zozo-footer-brand span { font-size: 14px; color: #8590ab; }
.zozo-footer-rights { font-size: 13px; color: #8590ab; }

/* ===================================================================
   Back to top
   =================================================================== */
.zozo-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(120deg, #16205a, #2f6bff); color: #fff;
  font-size: 20px; line-height: 1;
  box-shadow: 0 12px 30px -8px rgba(47,107,255,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, filter .2s;
}
.zozo-top:hover { filter: brightness(1.12); }
@media (max-width: 600px) { .zozo-top { right: 16px; bottom: 16px; } }

/* ===================================================================
   Content — pages, posts, listings (WordPress-managed content)
   =================================================================== */
.zozo-content { max-width: 800px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px; }
.zozo-list { max-width: 1080px; }

.zozo-article-head { margin-bottom: 28px; }
.zozo-meta { color: #8590ab; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.zozo-meta a { color: #8590ab; text-decoration: none; }
.zozo-meta a:hover { color: #2f6bff; }
.zozo-article-title, .zozo-list-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.1; font-size: clamp(2rem, 5vw, 3rem); margin: 0; color: #16203a;
}
.zozo-list-head { margin-bottom: 40px; }
.zozo-list-desc { color: #5b6781; font-size: 1.05rem; line-height: 1.6; margin-top: 12px; }
.zozo-article-thumb img { border-radius: 18px; display: block; width: 100%; height: auto; margin-bottom: 28px; }

.entry-content { font-size: 1.08rem; line-height: 1.75; color: #3a465f; }
.entry-content > * { margin: 0 0 1.2em; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.7rem; letter-spacing: -.01em; color: #16203a; margin-top: 1.6em; line-height: 1.2; }
.entry-content h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.3rem; color: #16203a; margin-top: 1.4em; }
.entry-content h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.1rem; color: #16203a; margin-top: 1.3em; }
.entry-content a { color: #2f6bff; text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: #1e4fd8; }
.entry-content img { border-radius: 14px; height: auto; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { font-size: .9rem; color: #8590ab; margin-top: 8px; text-align: center; }
.entry-content blockquote { margin: 1.6em 0; padding: 6px 0 6px 22px; border-left: 3px solid #2f6bff; color: #16203a; font-size: 1.15rem; font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .4em 0; }
.entry-content code { background: #eef3ff; color: #1e3a8a; padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.entry-content pre { background: #0c1733; color: #e7ecf6; padding: 20px; border-radius: 14px; overflow: auto; font-size: .92rem; }
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content hr { border: none; border-top: 1px solid #e6ebf4; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.entry-content th, .entry-content td { border: 1px solid #e6ebf4; padding: 10px 14px; text-align: left; }
.entry-content th { background: #f3f6fc; }

.zozo-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.zozo-tags a {
  display: inline-block; text-decoration: none; font-size: 13px; font-weight: 600;
  color: #5b6781; background: #f3f6fc; border: 1px solid #e7ecf4; padding: 6px 14px; border-radius: 999px;
}
.zozo-tags a:hover { color: #2f6bff; border-color: #c9d6f5; }

.zozo-post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 52px; padding-top: 28px; border-top: 1px solid #eaeef6; font-weight: 600; }
.zozo-post-nav a { color: #2f6bff; text-decoration: none; }
.zozo-post-nav a:hover { color: #1e4fd8; }
.zozo-post-nav-next { text-align: right; }

/* Listings */
.zozo-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.zozo-card-post {
  background: #fff; border: 1px solid #e9edf5; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.zozo-card-post:hover { border-color: #c9d6f5; box-shadow: 0 14px 40px -18px rgba(47,107,255,.35); transform: translateY(-2px); }
.zozo-card-thumb { display: block; }
.zozo-card-thumb img { display: block; width: 100%; height: 200px; object-fit: cover; }
.zozo-card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.zozo-card-meta { color: #8590ab; font-size: 13px; font-weight: 600; }
.zozo-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; margin: 8px 0 10px; line-height: 1.25; }
.zozo-card-title a { color: #16203a; text-decoration: none; }
.zozo-card-title a:hover { color: #2f6bff; }
.zozo-card-excerpt { color: #5b6781; font-size: .98rem; line-height: 1.6; }
.zozo-readmore { margin-top: 16px; color: #2f6bff; font-weight: 700; text-decoration: none; }
.zozo-readmore:hover { color: #1e4fd8; }

/* Pagination */
.zozo-content .pagination .nav-links,
.zozo-content .navigation .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.zozo-content .navigation { margin-top: 48px; }
.zozo-content .page-numbers {
  display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 12px; border: 1px solid #e2e8f5; background: #fff; color: #16203a;
  text-decoration: none; font-weight: 600; transition: border-color .2s, color .2s, background .2s;
}
.zozo-content .page-numbers.current { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.zozo-content .page-numbers:hover { border-color: #2f6bff; color: #2f6bff; }
.zozo-content .page-numbers.current:hover { color: #fff; }

/* 404 + empty states */
.zozo-404 { text-align: center; }
.zozo-404-code { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(4rem, 16vw, 9rem); line-height: 1; color: #cdd9f5; }
.zozo-404-text { color: #5b6781; font-size: 1.1rem; line-height: 1.6; max-width: 440px; margin: 12px auto 28px; }
.zozo-btn-primary { display: inline-block; text-decoration: none; background: linear-gradient(120deg, #16205a, #2f6bff); color: #fff; padding: 15px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: 0 12px 32px -12px rgba(47,107,255,.6); }
.zozo-404-search, .zozo-none { max-width: 440px; margin: 32px auto 0; }
.zozo-none { text-align: center; color: #5b6781; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; border: 1px solid #e2e8f5; border-radius: 12px; padding: 13px 16px; font-size: 15px; font-family: 'Manrope', sans-serif; color: #16203a; outline: none; background: #fff; }
.search-form .search-field:focus { border-color: #2f6bff; }
.search-form .search-submit { border: none; cursor: pointer; background: #16203a; color: #fff; border-radius: 12px; padding: 0 22px; font-size: 15px; font-weight: 600; font-family: 'Manrope', sans-serif; }
.search-form .search-submit:hover { background: #2f6bff; }

/* Comments */
.zozo-content .comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid #eaeef6; }
.zozo-content .comments-title, .zozo-content .comment-reply-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.4rem; color: #16203a; }
.zozo-content .comment-list { list-style: none; padding: 0; }
.zozo-content .comment-body { padding: 18px 0; border-bottom: 1px solid #eef1f7; }
.zozo-content .comment-form input[type="text"],
.zozo-content .comment-form input[type="email"],
.zozo-content .comment-form input[type="url"],
.zozo-content .comment-form textarea { width: 100%; border: 1px solid #e2e8f5; border-radius: 12px; padding: 12px 14px; font-family: 'Manrope', sans-serif; font-size: 15px; color: #16203a; outline: none; }
.zozo-content .comment-form textarea:focus,
.zozo-content .comment-form input:focus { border-color: #2f6bff; }
.zozo-content .form-submit .submit { border: none; cursor: pointer; background: linear-gradient(120deg, #16205a, #2f6bff); color: #fff; border-radius: 12px; padding: 14px 26px; font-size: 15px; font-weight: 700; font-family: 'Manrope', sans-serif; }

@media (max-width: 640px) {
  .zozo-header-inner { padding: 12px 18px; }
  .zozo-menu { order: 3; flex-basis: 100%; }
  .zozo-menu-list { justify-content: center; }
  .zozo-header-right { margin-left: auto; }
}
