/*
Theme Name: Profesyonel Kalemler - Düzenlenebilir
Theme URI: https://profesyonelkalemler.com.tr/
Author: OpenAI
Description: Profesyonel Kalemler özel ders sitesi için hızlı, mobil uyumlu, SEO odaklı ve Gutenberg ile tamamen düzenlenebilir WordPress teması.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profesyonel-kalemler
Tags: education, tutoring, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, translation-ready
*/

:root {
  --pk-navy: #102a43;
  --pk-navy-2: #173f5f;
  --pk-blue: #1f67b1;
  --pk-orange: #f28c28;
  --pk-green: #28a66a;
  --pk-yellow: #f6c453;
  --pk-ink: #1d2a35;
  --pk-muted: #607080;
  --pk-bg: #f5f8fb;
  --pk-white: #ffffff;
  --pk-border: #dde6ee;
  --pk-shadow: 0 18px 45px rgba(16, 42, 67, .12);
  --pk-radius: 18px;
  --pk-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pk-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--pk-blue); text-decoration: none; }
a:hover { color: var(--pk-orange); }
button, input, textarea, select { font: inherit; }

.pk-container { width: min(calc(100% - 40px), var(--pk-container)); margin-inline: auto; }
.pk-section { padding: 86px 0; }
.pk-section--soft { background: var(--pk-bg); }
.pk-section--navy { color: #fff; background: linear-gradient(135deg, var(--pk-navy), var(--pk-navy-2)); }
.pk-section-title { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.pk-section-title h2 { margin: 0 0 12px; color: var(--pk-navy); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; letter-spacing: -.035em; }
.pk-section-title p { margin: 0; color: var(--pk-muted); }
.pk-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--pk-orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.pk-eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: currentColor; }

.pk-btn, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 23px;
  border: 0;
  border-radius: 12px;
  background: var(--pk-orange);
  color: #fff !important;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 25px rgba(242, 140, 40, .25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pk-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: #dc7414; box-shadow: 0 16px 30px rgba(242, 140, 40, .32); }
.pk-btn--ghost { color: var(--pk-navy) !important; background: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.7); }
.pk-btn--blue { background: var(--pk-blue); box-shadow: 0 12px 25px rgba(31,103,177,.22); }

/* Top bar */
.pk-topbar { background: #0b2238; color: #dce8f1; font-size: .9rem; }
.pk-topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pk-topbar__items { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.pk-topbar a { color: #fff; }
.pk-topbar svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* Header */
.pk-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(221,230,238,.82); backdrop-filter: blur(12px); }
.admin-bar .pk-site-header { top: 32px; }
.pk-header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pk-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.pk-brand img { max-height: 58px; width: auto; }
.pk-brand__mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, var(--pk-blue), var(--pk-green)); font-size: 1.4rem; font-weight: 900; }
.pk-brand__text { line-height: 1; }
.pk-brand__title { display: block; color: var(--pk-navy); font-size: 1.15rem; font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; }
.pk-brand__tag { display: block; margin-top: 6px; color: var(--pk-orange); font-size: .82rem; font-weight: 800; }
.pk-nav { margin-left: auto; }
.pk-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.pk-nav li { position: relative; }
.pk-nav a { display: block; padding: 13px 10px; color: var(--pk-navy); font-size: .91rem; font-weight: 750; }
.pk-nav a:hover, .pk-nav .current-menu-item > a, .pk-nav .current-menu-ancestor > a { color: var(--pk-orange); }
.pk-nav .sub-menu { position: absolute; top: 100%; left: 0; width: 255px; display: block; visibility: hidden; opacity: 0; transform: translateY(10px); padding: 10px; border: 1px solid var(--pk-border); border-radius: 14px; background: #fff; box-shadow: var(--pk-shadow); transition: .2s ease; }
.pk-nav li:hover > .sub-menu, .pk-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.pk-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.pk-nav .sub-menu a:hover { background: var(--pk-bg); }
.pk-header-phone { flex: 0 0 auto; }
.pk-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--pk-border); border-radius: 10px; background: #fff; color: var(--pk-navy); cursor: pointer; }

/* Hero */
.pk-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #0d2b45 0%, #123c60 48%, #1b5f91 100%); }
.pk-hero::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: radial-gradient(circle at 25% 25%, #fff 1px, transparent 1.5px); background-size: 28px 28px; }
.pk-hero::after { content: ""; position: absolute; right: -130px; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(40,166,106,.16); }
.pk-hero__inner { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 58px; padding: 76px 0; }
.pk-hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(2.65rem, 5.6vw, 5.15rem); line-height: 1.03; letter-spacing: -.052em; }
.pk-hero h1 span { color: var(--pk-yellow); }
.pk-hero__lead { max-width: 680px; margin: 0 0 30px; color: #e8f2f8; font-size: clamp(1.06rem, 2vw, 1.25rem); }
.pk-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.pk-hero__trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; color: #dcecf6; font-size: .93rem; font-weight: 700; }
.pk-hero__trust span::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; color: #fff; background: var(--pk-green); }
.pk-hero__visual { position: relative; }
.pk-hero__visual img { width: 100%; filter: drop-shadow(0 28px 38px rgba(0,0,0,.24)); }
.pk-hero__badge { position: absolute; left: -28px; bottom: 22px; width: 160px; padding: 16px; border-radius: 16px; color: var(--pk-navy); background: #fff; box-shadow: var(--pk-shadow); text-align: center; font-weight: 900; }
.pk-hero__badge strong { display: block; color: var(--pk-orange); font-size: 2rem; line-height: 1; }

/* Cards */
.pk-grid { display: grid; gap: 24px; }
.pk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pk-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pk-card { position: relative; height: 100%; padding: 30px; border: 1px solid var(--pk-border); border-radius: var(--pk-radius); background: #fff; box-shadow: 0 10px 28px rgba(16,42,67,.06); transition: transform .22s ease, box-shadow .22s ease; }
.pk-card:hover { transform: translateY(-6px); box-shadow: var(--pk-shadow); }
.pk-card__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 16px; color: #fff; background: linear-gradient(145deg, var(--pk-blue), var(--pk-green)); font-size: 1.55rem; font-weight: 900; }
.pk-card h3 { margin: 0 0 10px; color: var(--pk-navy); font-size: 1.28rem; line-height: 1.25; }
.pk-card p { margin: 0; color: var(--pk-muted); font-size: .98rem; }
.pk-card__link { display: inline-block; margin-top: 18px; font-weight: 800; }

/* Split */
.pk-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.pk-split h2 { margin: 0 0 18px; color: var(--pk-navy); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; letter-spacing: -.04em; }
.pk-checklist { display: grid; gap: 12px; padding: 0; margin: 25px 0 0; list-style: none; }
.pk-checklist li { display: flex; gap: 11px; color: var(--pk-ink); font-weight: 700; }
.pk-checklist li::before { content: "✓"; flex: 0 0 25px; display: grid; place-items: center; height: 25px; border-radius: 50%; color: #fff; background: var(--pk-green); font-size: .8rem; }
.pk-image-frame { position: relative; overflow: hidden; min-height: 430px; border-radius: 26px; background: linear-gradient(145deg, #dceaf6, #f6fafc); box-shadow: var(--pk-shadow); }
.pk-image-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.pk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-top: -1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; }
.pk-stat { padding: 28px 20px; text-align: center; background: rgba(255,255,255,.05); }
.pk-stat strong { display: block; color: var(--pk-yellow); font-size: 2.2rem; line-height: 1.1; }
.pk-stat span { color: #e8f2f8; font-size: .92rem; font-weight: 700; }

/* Testimonials and CTA */
.pk-quote { position: relative; }
.pk-quote::before { content: "“"; position: absolute; right: 24px; top: 8px; color: rgba(31,103,177,.12); font: 900 5.2rem Georgia, serif; }
.pk-stars { color: #f1b72c; letter-spacing: 2px; }
.pk-quote cite { display: block; margin-top: 18px; color: var(--pk-navy); font-style: normal; font-weight: 900; }
.pk-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px; border-radius: 24px; color: #fff; background: linear-gradient(125deg, var(--pk-blue), var(--pk-navy)); box-shadow: var(--pk-shadow); }
.pk-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; }
.pk-cta p { margin: 0; color: #dbeaf5; }

/* Content */
.pk-page-header { padding: 70px 0; color: #fff; background: linear-gradient(125deg, var(--pk-navy), var(--pk-blue)); }
.pk-page-header h1 { margin: 0; color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
.pk-breadcrumb { margin-bottom: 10px; color: #dcebf4; font-size: .92rem; }
.pk-breadcrumb a { color: #fff; }
.pk-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 55px; padding: 70px 0; }
.pk-content-wrap--full { display: block; }
.pk-entry-content > * { max-width: 850px; margin-left: auto; margin-right: auto; }
.pk-entry-content > .alignwide { max-width: 1120px; }
.pk-entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.pk-entry-content h2, .pk-entry-content h3, .pk-entry-content h4 { color: var(--pk-navy); line-height: 1.22; }
.pk-entry-content h2 { margin-top: 2.1em; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.pk-entry-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.pk-entry-content img { border-radius: 16px; }
.pk-entry-content blockquote { margin: 30px 0; padding: 20px 25px; border-left: 5px solid var(--pk-orange); border-radius: 0 12px 12px 0; background: var(--pk-bg); }
.pk-sidebar .widget { margin-bottom: 24px; padding: 24px; border: 1px solid var(--pk-border); border-radius: 16px; background: #fff; }
.pk-sidebar .widget-title { margin: 0 0 14px; color: var(--pk-navy); font-size: 1.2rem; }
.pk-sidebar ul { padding-left: 18px; }
.pk-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pk-post-card { overflow: hidden; border: 1px solid var(--pk-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,67,.06); }
.pk-post-card__image { display: block; aspect-ratio: 16/10; background: var(--pk-bg); }
.pk-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.pk-post-card__body { padding: 22px; }
.pk-post-card h2 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.3; }
.pk-post-card h2 a { color: var(--pk-navy); }
.pk-meta { color: var(--pk-muted); font-size: .85rem; }
.navigation.pagination { margin-top: 35px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--pk-border); border-radius: 8px; background: #fff; }
.page-numbers.current { color: #fff; background: var(--pk-blue); border-color: var(--pk-blue); }

/* Footer */
.pk-footer { color: #cddbe6; background: #0a2237; }
.pk-footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; padding: 68px 0 48px; }
.pk-footer h3 { margin: 0 0 18px; color: #fff; font-size: 1.08rem; }
.pk-footer p { margin: 0 0 10px; }
.pk-footer ul { padding: 0; margin: 0; list-style: none; }
.pk-footer li { margin-bottom: 8px; }
.pk-footer a { color: #dce8f1; }
.pk-footer a:hover { color: var(--pk-yellow); }
.pk-footer__bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.pk-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.pk-floating { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: grid; gap: 10px; }
.pk-floating a { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 1.2rem; font-weight: 900; }
.pk-floating__wa { background: #20b767; }
.pk-floating__phone { background: var(--pk-blue); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], textarea, select {
  width: 100%; padding: 13px 14px; border: 1px solid #cfdbe5; border-radius: 10px; background: #fff; color: var(--pk-ink);
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(31,103,177,.14); border-color: var(--pk-blue); }
input[type="submit"], button[type="submit"] { padding: 12px 22px; border: 0; border-radius: 10px; color: #fff; background: var(--pk-orange); font-weight: 800; cursor: pointer; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 5px; left: 5px; z-index: 100000; width: auto; height: auto; padding: 15px 23px; clip: auto !important; background: #fff; color: #000; }

@media (max-width: 1120px) {
  .pk-header-phone { display: none; }
  .pk-nav a { padding-inline: 8px; font-size: .86rem; }
  .pk-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .admin-bar .pk-site-header { top: 46px; }
  .pk-topbar__inner { justify-content: center; }
  .pk-topbar__items--right { display: none; }
  .pk-menu-toggle { display: block; }
  .pk-nav { position: fixed; top: 128px; left: 20px; right: 20px; display: none; max-height: calc(100vh - 150px); overflow: auto; padding: 14px; border: 1px solid var(--pk-border); border-radius: 16px; background: #fff; box-shadow: var(--pk-shadow); }
  .admin-bar .pk-nav { top: 174px; }
  .pk-nav.is-open { display: block; }
  .pk-nav ul { display: block; }
  .pk-nav a { padding: 12px; }
  .pk-nav .sub-menu { position: static; width: auto; visibility: visible; opacity: 1; transform: none; display: block; margin: 0 0 5px 14px; padding: 0 0 0 8px; border: 0; border-left: 2px solid var(--pk-border); border-radius: 0; box-shadow: none; }
  .pk-hero__inner, .pk-split { grid-template-columns: 1fr; }
  .pk-hero__inner { min-height: auto; padding: 65px 0; }
  .pk-hero__visual { max-width: 600px; margin-inline: auto; }
  .pk-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pk-stats { grid-template-columns: repeat(2, 1fr); }
  .pk-content-wrap { grid-template-columns: 1fr; }
  .pk-sidebar { display: none; }
  .pk-post-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-footer__main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .pk-container { width: min(calc(100% - 28px), var(--pk-container)); }
  .pk-section { padding: 65px 0; }
  .pk-topbar__items { gap: 10px; font-size: .8rem; }
  .pk-header__inner { min-height: 74px; }
  .pk-brand__title { font-size: .92rem; }
  .pk-brand__tag { font-size: .72rem; }
  .pk-brand__mark { width: 42px; height: 42px; }
  .pk-brand img { max-height: 48px; }
  .pk-nav { top: 111px; }
  .admin-bar .pk-nav { top: 157px; }
  .pk-hero h1 { font-size: 2.55rem; }
  .pk-hero__actions { display: grid; }
  .pk-hero__actions .pk-btn { width: 100%; }
  .pk-hero__badge { left: 0; width: 130px; font-size: .85rem; }
  .pk-grid--3, .pk-grid--4, .pk-post-grid, .pk-footer__main { grid-template-columns: 1fr; }
  .pk-stats { grid-template-columns: 1fr 1fr; }
  .pk-cta { grid-template-columns: 1fr; padding: 30px 24px; }
  .pk-cta .pk-btn { width: 100%; }
  .pk-footer__bottom-inner { display: block; text-align: center; }
  .pk-floating { right: 13px; bottom: 13px; }
  .pk-floating a { width: 48px; height: 48px; }
}
