/* Plaka Sorgulama - Clean Modern CSS Reset + Theme */

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --primary: #0891B2;
  --primary-dark: #0E7490;
  --primary-light: #CFFAFE;
  --text: #0f172a;
  --text-light: #475569;
  --bg: #f0fdfa;
  --white: #ffffff;
  --border: #ccfbf1;
  --success: #10b981;
  --shadow: 0 10px 40px rgba(8, 145, 178, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 880px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #0f172a 0%, #164e63 100%);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.site-header > div {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header a:first-child {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header a:first-child::before {
  content: "🚗";
  font-size: 1.3rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s;
}

.site-header nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.site-header nav a[href="/"] {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Main Layout */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.entry.single-entry {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.entry-content-wrap {
  padding: 28px 30px 36px;
}

.entry-content.single-content {
  padding: 0;
}

.ps-breadcrumb {
  padding: 18px 30px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-light);
}

.ps-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.ps-breadcrumb a:hover {
  text-decoration: underline;
}

.ps-breadcrumb span {
  margin: 0 8px;
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.blog-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(8, 145, 178, 0.12);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-light);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h2 {
  font-size: 1.15rem;
  margin: 0 0 10px 0;
  border-bottom: none;
  padding-bottom: 0;
}

.blog-card-body h2 a {
  color: var(--text);
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 16px 0;
  flex: 1;
}

.blog-card-link {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-card-link:hover {
  text-decoration: underline;
}

/* Images in posts */
figure.wp-block-image,
.wp-block-image {
  margin: 24px 0;
}

figure.wp-block-image img,
.wp-block-image img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

figure.wp-block-image.featured-image {
  margin: 0 0 28px 0;
  text-align: center;
}

figure.wp-block-image.featured-image img {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

figcaption {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 12px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 12px;
}

/* Read More / Buttons inside posts */
.wp-block-kadence-advancedbtn {
  margin: 18px 0;
}

.wp-block-kadence-advancedbtn a.kb-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
  transition: transform 0.15s, box-shadow 0.2s;
}

.wp-block-kadence-advancedbtn a.kb-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.wp-block-kadence-advancedbtn a.kb-button svg {
  width: 18px;
  height: 18px;
}

/* AKM / custom link buttons */
.akm-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.3;
}

.akm-link-btn.solid {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.35);
  border-color: transparent;
}

.akm-link-btn.solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(8, 145, 178, 0.45);
  background: linear-gradient(135deg, var(--primary-dark) 0%, #155E75 100%);
}

.akm-link-btn.outline {
  background: #fff;
  color: var(--primary) !important;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.10);
}

.akm-link-btn.outline:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.18);
}

.akm-link-wrap,
.akm-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

@media (max-width: 480px) {
  .akm-link-btn {
    width: 100%;
    text-align: center;
  }
}

/* Row layouts from Kadence */
.kb-row-layout-wrap,
.wp-block-kadence-rowlayout {
  margin-bottom: 28px;
  width: 100%;
}

.kt-row-column-wrap,
.kt-inside-inner-col,
.wp-block-kadence-column {
  width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 16px 0;
  font-weight: 800;
}

h1 {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
}

h2 {
  font-size: 1.45rem;
  margin-top: 36px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}

h3 {
  font-size: 1.15rem;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

h3 .kb-adv-text-inner {
  display: inline;
}

/* Paragraphs */
.wp-block-paragraph,
p {
  margin: 0 0 18px 0;
  color: var(--text);
}

/* Hero Section */
.ps-hero {
  text-align: center;
  padding: 28px 20px 36px;
  margin-bottom: 10px;
}

.ps-hero h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 14px 0;
  border-bottom: none;
  padding-bottom: 0;
}

.ps-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 22px;
  line-height: 1.65;
}

.ps-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ps-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.06);
}

/* Form Section */
.ps-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 38px 30px 40px;
  background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
  border-radius: var(--radius);
  border: 2px solid var(--primary-light);
  box-shadow: 0 8px 32px rgba(8, 145, 178, 0.12);
  position: relative;
  overflow: hidden;
}

.ps-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #2DD4BF);
}

.ps-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  text-align: center;
}

.ps-flag {
  width: 52px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.ps-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ps-wrap h1 {
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 4px 0;
  text-align: left;
}

.ps-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
}

.ps-form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.ps-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ps-plate-field {
  flex: 1;
}

.ps-input {
  width: 100%;
  padding: 16px 18px;
  font-size: 1.2rem;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  background: var(--white);
}

.ps-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.ps-btn {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}

.ps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.45);
}

.ps-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.ps-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Progress & Results */
.ps-progress-wrap {
  display: none;
  margin: 24px 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 22px 20px;
  border: 1px solid var(--border);
}

.ps-progress-wrap.ps-active {
  display: block;
}

.ps-progress-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-progress-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: ps-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes ps-pulse {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.ps-progress-track {
  width: 100%;
  height: 10px;
  background: var(--primary-light);
  border-radius: 99px;
  overflow: hidden;
}

.ps-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #42a5f5);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.ps-progress-steps {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.ps-step {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  background: var(--bg);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.ps-step.ps-step-active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

#ps-results-wrapper {
  margin-top: 20px;
}

.ps-result-box {
  background: var(--primary-light);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.ps-result-box h4 {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.ps-result-box p {
  margin: 0;
  color: var(--text);
}

.ps-redirect-notice {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  font-weight: 700;
  color: #92400e;
}

.ps-redirect-notice a {
  color: var(--primary);
  text-decoration: underline;
}

/* Icon Lists */
.wp-block-kadence-iconlist {
  margin: 18px 0;
}

.kt-svg-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kt-svg-icon-list-item-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.kb-svg-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.kb-svg-icon-wrap svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.kt-svg-icon-list-text {
  color: var(--text);
  font-weight: 500;
  flex: 1;
}

/* Heading Icons */
.kb-adv-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.kb-adv-heading-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block;
}

/* Regular lists */
.wp-block-list,
ol {
  margin: 0 0 18px 0;
  padding-left: 24px;
}

.wp-block-list li,
ol li {
  margin-bottom: 8px;
}

/* Tables */
.wp-block-table,
figure.wp-block-table {
  margin: 20px 0;
  overflow-x: auto;
  width: 100%;
}

.wp-block-table table,
.has-fixed-layout {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.wp-block-table th,
.wp-block-table td,
.has-fixed-layout th,
.has-fixed-layout td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.wp-block-table tbody tr:last-child td,
.has-fixed-layout tbody tr:last-child td {
  border-bottom: none;
}

.wp-block-table tbody tr:nth-child(odd),
.has-fixed-layout tbody tr:nth-child(odd) {
  background: var(--bg);
}

.wp-block-table strong,
.has-fixed-layout strong {
  color: var(--primary);
}

/* Accordion / FAQ */
.wp-block-kadence-accordion {
  margin: 24px 0;
}

.kt-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kt-accordion-inner-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kt-blocks-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.kt-blocks-accordion-header:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.kt-blocks-accordion-header.kt-accordion-panel-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.kt-blocks-accordion-title-wrap {
  padding-right: 12px;
  display: flex;
  align-items: center;
}

.kt-blocks-accordion-icon-trigger {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.kt-blocks-accordion-icon-trigger::before,
.kt-blocks-accordion-icon-trigger::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.kt-blocks-accordion-icon-trigger::before {
  width: 14px;
  height: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kt-blocks-accordion-icon-trigger::after {
  width: 3px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kt-blocks-accordion-header.kt-accordion-panel-active .kt-blocks-accordion-icon-trigger::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.kt-accordion-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
  max-height: 500px;
  transition: max-height 0.35s ease;
}

.kt-accordion-panel.kt-accordion-panel-hidden {
  max-height: 0 !important;
  display: none;
}

.kt-accordion-panel-inner {
  padding: 18px;
}

.kt-accordion-panel-inner p {
  margin: 0;
}

/* Utility */
strong {
  color: inherit;
}

a {
  color: var(--primary);
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #083344 0%, #0f172a 100%);
  color: #cbd5e1;
  padding: 48px 16px 32px;
  text-align: center;
  margin-top: 56px;
  border-top: 4px solid var(--primary);
}

.site-footer p {
  margin: 8px 0;
  color: #94a3b8;
}

.footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.site-footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Telegram float */
.telegram-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #08c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.45);
  transition: transform 0.2s;
}

.telegram-float:hover {
  transform: scale(1.08);
}

.telegram-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header > div {
    flex-direction: column;
    gap: 14px;
  }

  .site-header nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header nav a {
    padding: 7px 12px;
    font-size: 0.88rem;
  }

  .entry.single-entry {
    border-radius: 14px;
  }

  .entry-content-wrap {
    padding: 22px 18px 28px;
  }

  .ps-breadcrumb {
    padding: 14px 18px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .ps-input-row {
    flex-direction: column;
  }

  .ps-btn {
    width: 100%;
  }

  .ps-header {
    flex-direction: column;
    gap: 10px;
  }

  .ps-wrap h1 {
    text-align: center;
  }

  .ps-progress-steps {
    flex-direction: column;
  }

  .wp-block-table th,
  .wp-block-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .site-main {
    padding: 16px 10px 40px;
  }

  .entry-content.single-content {
    padding: 18px 14px;
  }

  .ps-wrap {
    padding: 22px 16px;
  }

  .kt-blocks-accordion-header {
    padding: 14px;
    font-size: 0.95rem;
  }

  .kb-svg-icon-wrap svg,
  .kb-adv-heading-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
}
