/*
Theme Name: Profesyonel Matematik Sade
Theme URI: https://www.ankaraozelmatematikdersi.net/
Author: Doruk Ertürk için özel tasarım
Description: Yalnızca matematik özel ders hizmetleri için geliştirilmiş, hızlı, sade ve tamamen düzenlenebilir WordPress blok teması.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: profesyonel-matematik-sade
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, education, one-column
*/

:root {
  --pm-shadow: 0 18px 50px rgba(15, 23, 42, .08);
  --pm-shadow-sm: 0 10px 30px rgba(15, 23, 42, .07);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { text-underline-offset: .18em; }

.wp-site-blocks { overflow: hidden; }
.pm-sticky-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(14px); }
.admin-bar .pm-sticky-header { top: 32px; }

.pm-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pm-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -200px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.18), rgba(249,115,22,0) 70%);
  z-index: -1;
}
.pm-hero::after {
  content: "π  ∑  √x  x²  ∫";
  position: absolute;
  right: 5%;
  bottom: 7%;
  color: rgba(15,23,42,.055);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
  z-index: -1;
}

.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(249,115,22,.22);
  border-radius: 999px;
  padding: .45rem .75rem;
  background: rgba(255,247,237,.86);
}
.pm-badge::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 5px rgba(249,115,22,.12);
}

.pm-card {
  height: 100%;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--pm-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,.3);
  box-shadow: var(--pm-shadow);
}
.pm-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 800;
  font-size: 1.05rem;
}

.pm-stat { border-left: 3px solid #f97316; padding-left: 1rem; }
.pm-step { position: relative; }
.pm-step-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f172a;
  color: white;
  font-size: .86rem;
  font-weight: 800;
}

.pm-panel {
  border-radius: 24px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: 0 28px 65px rgba(15,23,42,.18);
  overflow: hidden;
  position: relative;
}
.pm-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(249,115,22,.22);
  filter: blur(2px);
}

.pm-checklist { list-style: none; padding-left: 0; }
.pm-checklist li { position: relative; padding-left: 1.65rem; margin-bottom: .7rem; }
.pm-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .02rem;
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffedd5;
  color: #c2410c;
  font-weight: 900;
  font-size: .72rem;
}

.pm-quote { position: relative; }
.pm-quote::before {
  content: "“";
  position: absolute;
  top: .25rem;
  right: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(249,115,22,.13);
  font-family: Georgia, serif;
}

.pm-faq details {
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #fff;
  padding: 0 1.15rem;
}
.pm-faq details + details { margin-top: .75rem; }
.pm-faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; }
.pm-faq details[open] { border-color: rgba(249,115,22,.35); }
.pm-faq details p { margin-top: 0; padding-bottom: 1rem; }

.pm-button .wp-block-button__link,
.wp-block-button.pm-button .wp-block-button__link {
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 22px rgba(249,115,22,.18);
}
.pm-button .wp-block-button__link:hover,
.wp-block-button.pm-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(249,115,22,.24);
}

.pm-phone-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
}
.pm-phone-float .wp-block-button__link {
  box-shadow: 0 14px 34px rgba(15,23,42,.22);
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 1.5rem;
  background: #fff;
}

@media (max-width: 781px) {
  .admin-bar .pm-sticky-header { top: 46px; }
  .pm-hero { text-align: left; }
  .pm-hero::after { right: -15%; bottom: 3%; font-size: 2.8rem; }
  .pm-phone-float { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
