/*
Theme Name: Meto Dijital
Theme URI: https://metodijital.com
Author: Meto Dijital
Description: Dijital ajans landing page teması — web tasarımı, sosyal medya yönetimi, Google işletme yönetimi ve ürün/mekan çekimi hizmetleri için. Tüm içerikler Görünüm > Özelleştir panelinden düzenlenebilir.
Version: 1.0.0
Requires at least: 6.0
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: meto-dijital
*/

/* ---------------------------------------------------------------------------
   Design Tokens — Next.js projesindeki globals.css ile birebir aynı.
--------------------------------------------------------------------------- */
:root {
  --background: 240 23% 5%;
  --foreground: 240 14% 96%;

  --card: 240 18% 8%;
  --card-foreground: 240 14% 96%;

  --primary: 255 86% 62%; /* beyaz metinle 5.2:1 kontrast (WCAG AA) */
  --primary-foreground: 0 0% 100%;
  --primary-soft: 255 86% 72%; /* koyu zemin üzerinde metin için 6:1 kontrast */

  --accent: 172 82% 55%;
  --accent-foreground: 240 23% 5%;

  --muted: 240 12% 14%;
  --muted-foreground: 240 8% 66%;

  --border: 240 12% 16%;
  --ring: 255 86% 62%;

  --radius: 1rem;
  --radius-md: 0.625rem;

  --section-py: 5rem;

  --ease-out: cubic-bezier(0.21, 0.47, 0.32, 0.98);
}

@media (min-width: 768px) {
  :root {
    --section-py: 7.5rem;
  }
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/GeistVF.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Base
-------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

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

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: hsl(var(--primary) / 0.35);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-padding {
  padding-block: var(--section-py);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Gradyan vurgulu başlık parçası */
.text-gradient {
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Scroll reveal (Framer Motion whileInView karşılığı)
-------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Butonlar
-------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.75rem;
  padding-inline: 1.5rem;
  transition: all 0.3s ease;
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn--lg {
  height: 3rem;
  padding-inline: 2rem;
  font-size: 1rem;
}

.btn--sm {
  height: 2.25rem;
  padding-inline: 1rem;
}

.btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 28px -8px hsl(var(--primary) / 0.8);
}

.btn--primary:hover {
  background: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 36px -8px hsl(var(--primary) / 0.9);
}

.btn--secondary {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.6);
  color: hsl(var(--foreground));
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--muted));
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header / Navbar
-------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  animation: nav-in 0.6s var(--ease-out) both;
}

@keyframes nav-in {
  from {
    transform: translateY(-80px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.site-header.is-scrolled {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .site-nav {
    height: 4.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 700;
}

.brand__accent {
  color: hsl(var(--primary-soft));
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: hsl(var(--foreground));
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle .icon-close,
.menu-open .nav-toggle .icon-menu {
  display: none;
}

.menu-open .nav-toggle .icon-close {
  display: block;
}

.mobile-menu {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  border-bottom: 0 solid hsl(var(--border));
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(16px);
}

.menu-open .mobile-menu {
  border-bottom-width: 1px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}

.mobile-menu a:not(.btn):hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.mobile-menu .menu-cta {
  margin-top: 0.5rem;
  padding-inline: 0.75rem;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero (21st.dev Shape Landing Hero uyarlaması)
-------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: hsl(var(--background));
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.06),
    transparent,
    hsl(var(--accent) / 0.06)
  );
  filter: blur(64px);
}

/* Tipografi duvarı: soluk kontur kelimeler + spotlight ile renklenen katman */
.hero__wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.wall-row {
  display: flex;
  width: max-content;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  animation: wall-drift 90s linear infinite;
}

.wall-row:nth-child(1) { animation-duration: 95s; }
.wall-row:nth-child(2) { animation-duration: 70s; animation-direction: reverse; }
.wall-row:nth-child(3) { animation-duration: 110s; }
.wall-row:nth-child(4) { animation-duration: 80s; animation-direction: reverse; }
.wall-row:nth-child(5) { animation-duration: 100s; }

@keyframes wall-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.wall-row span {
  padding-right: 0.5em;
  color: transparent;
  -webkit-text-stroke: 1px hsl(var(--foreground) / 0.05);
}

.hero__wall--reveal .wall-row span {
  -webkit-text-stroke: 0;
  background: linear-gradient(
    90deg,
    hsl(var(--primary-soft)),
    hsl(var(--accent))
  );
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.38;
}

.hero__wall--reveal {
  -webkit-mask-image: radial-gradient(
    circle 250px at var(--sx, -600px) var(--sy, -600px),
    #000 25%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle 250px at var(--sx, -600px) var(--sy, -600px),
    #000 25%,
    transparent 72%
  );
}

/* İmleci izleyen yumuşak ışık */
.hero__torch {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 560px;
  height: 560px;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    hsl(var(--primary) / 0.14),
    hsl(var(--accent) / 0.05) 45%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  will-change: transform;
}

.hero.is-lit .hero__torch {
  opacity: 1;
}

@media (max-width: 767px) {
  .hero__wall {
    gap: 0.875rem;
  }

  .hero__wall--reveal {
    -webkit-mask-image: radial-gradient(
      circle 170px at var(--sx, -600px) var(--sy, -600px),
      #000 25%,
      transparent 72%
    );
    mask-image: radial-gradient(
      circle 170px at var(--sx, -600px) var(--sy, -600px),
      #000 25%,
      transparent 72%
    );
  }

  .hero__torch {
    width: 380px;
    height: 380px;
  }
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.shape__parallax {
  will-change: transform;
}

.shape {
  position: absolute;
  opacity: 0;
  animation: shape-in 2.4s cubic-bezier(0.23, 0.86, 0.39, 0.96) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes shape-in {
  from {
    opacity: 0;
    transform: translateY(-150px) rotate(calc(var(--rot, 0deg) - 15deg));
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
}

.shape__float {
  position: relative;
  width: var(--w);
  height: var(--h);
  animation: shape-float 12s ease-in-out infinite;
}

@keyframes shape-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
}

.shape__body {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--tint), transparent);
  backdrop-filter: blur(2px);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.06),
    0 8px 32px 0 rgb(255 255 255 / 0.05);
}

.shape__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgb(255 255 255 / 0.15),
    transparent 70%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

/* İçeriğin arkasında okunabilirlik için yumuşak karartma */
.hero__content::before {
  content: "";
  position: absolute;
  inset: -4rem -3rem;
  z-index: -1;
  background: radial-gradient(
    ellipse 70% 60% at 50% 45%,
    hsl(var(--background) / 0.78),
    transparent 75%
  );
  pointer-events: none;
}

/* Hero giriş animasyonları (fadeUpVariants karşılığı) */
.fade-up {
  opacity: 0;
  animation: fade-up 1s cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.375rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(8px);
  animation-delay: 0.4s;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--accent));
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 hsl(var(--accent) / 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px hsl(var(--accent) / 0);
  }
}

.hero__badge span:last-child {
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: hsl(var(--muted-foreground));
}

.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
  animation-delay: 0.6s;
}

.hero__title-top {
  background: linear-gradient(
    180deg,
    hsl(var(--foreground)),
    hsl(var(--foreground) / 0.8)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Dönen kelime: kelime dışarı süzülür, yenisi alttan gelir */
.word-rotator {
  display: inline-block;
  white-space: nowrap;
  vertical-align: bottom;
  transition: width 0.45s var(--ease-out);
}

.wr-word {
  display: inline-block;
  background: linear-gradient(
    90deg,
    hsl(var(--primary)),
    hsl(var(--foreground) / 0.9),
    hsl(var(--accent))
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition:
    transform 0.45s var(--ease-out),
    opacity 0.45s ease,
    filter 0.45s ease;
}

.wr-word.wr-out {
  transform: translateY(-0.55em);
  opacity: 0;
  filter: blur(6px);
}

.wr-word.wr-in {
  transform: translateY(0.55em);
  opacity: 0;
  filter: blur(6px);
  transition: none;
}

.wr-measure {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.hero__desc {
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  padding-inline: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
  animation-delay: 0.8s;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation-delay: 1s;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }

  .hero__badge {
    margin-bottom: 3rem;
  }

  .hero__title {
    margin-bottom: 2rem;
  }
}

.hero__vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    hsl(var(--background)),
    transparent 40%,
    hsl(var(--background) / 0.8)
  );
}

/* --------------------------------------------------------------------------
   Bölüm başlıkları
-------------------------------------------------------------------------- */
.section-header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-header__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(var(--card) / 0.5);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.section-header__title {
  margin-bottom: 1rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.section-header__text {
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-header__text {
    font-size: 1.125rem;
  }
}

/* --------------------------------------------------------------------------
   Özellik kartları (21st.dev Magic Card uyarlaması)
-------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.magic-card {
  --mx: -220px;
  --my: -220px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(hsl(var(--card)) 0 0) padding-box,
    radial-gradient(
        220px circle at var(--mx) var(--my),
        hsl(var(--primary)),
        hsl(var(--accent)),
        hsl(var(--border)) 100%
      )
      border-box;
}

.magic-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
    220px circle at var(--mx) var(--my),
    hsl(var(--muted)),
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.magic-card:hover::after {
  opacity: 0.65;
}

.magic-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary-soft));
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.magic-card:hover .feature-icon {
  transform: translateY(-4px) scale(1.06);
  background: hsl(var(--primary) / 0.18);
}

.feature-icon {
  transition:
    transform 0.35s var(--ease-out),
    background-color 0.35s ease;
}

.magic-card__inner h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.magic-card__inner > p {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.feature-list li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: hsl(var(--accent));
}

/* --------------------------------------------------------------------------
   Son Yazılar (ana sayfa) + Blog
-------------------------------------------------------------------------- */
.latest-posts {
  position: relative;
}

.latest-posts__glow,
.blog-page__glow {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 16rem;
  max-width: 48rem;
  margin-inline: auto;
  background: hsl(var(--primary) / 0.1);
  filter: blur(120px);
  pointer-events: none;
}

.latest-posts .container {
  position: relative;
}

.posts-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Ana sayfa: ilk yazı 2 sütun + 2 satır kaplayan öne çıkan kart */
  .posts-grid--home {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }

  .posts-grid--home .post-card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.post-card {
  border-radius: var(--radius);
}

.post-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: hsl(var(--muted));
}

.post-card--featured .post-card__media {
  flex: 1;
  min-height: 220px;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.post-card:hover .post-card__media img {
  transform: scale(1.05);
}

.post-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, hsl(var(--primary) / 0.35), transparent 60%),
    radial-gradient(circle at 80% 80%, hsl(var(--accent) / 0.3), transparent 60%),
    hsl(var(--muted));
  transition: transform 0.5s var(--ease-out);
}

.post-card:hover .post-card__placeholder {
  transform: scale(1.05);
}

.post-card__placeholder span {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--primary-soft)), hsl(var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.5rem;
}

.post-card--featured .post-card__body {
  padding: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.post-meta__cat {
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.15);
  font-weight: 500;
  color: hsl(var(--primary-soft));
}

.post-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.post-card--featured .post-card__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.post-card:hover .post-card__title {
  color: hsl(var(--primary-soft));
}

.post-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--accent));
}

.read-more svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.post-card:hover .read-more svg {
  transform: translateX(4px);
}

.latest-posts__cta,
.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.btn--arrow svg {
  transition: transform 0.3s var(--ease-out);
}

.btn--arrow:hover svg {
  transform: translateX(4px);
}

.posts-empty {
  padding: 3rem;
  border: 1px dashed hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
  color: hsl(var(--muted-foreground));
}

/* Blog listesi + tekil yazı sayfaları */
.blog-page,
.single-post-page {
  position: relative;
  padding-top: 8rem;
  padding-bottom: var(--section-py);
}

.blog-header {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
  text-align: center;
}

.blog-pagination {
  margin-top: 3rem;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary-soft));
}

.blog-pagination .page-numbers:hover:not(.current) {
  border-color: hsl(var(--primary) / 0.4);
  color: hsl(var(--foreground));
}

.container--narrow {
  max-width: 46rem;
}

.single-article__header {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.back-link:hover {
  color: hsl(var(--foreground));
}

.back-link:hover svg {
  transform: translateX(-4px);
}

.single-article__title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.single-article__thumb {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.single-article__thumb img {
  width: 100%;
  height: auto;
}

.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.9);
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure {
  margin-bottom: 1.25rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content a {
  color: hsl(var(--primary-soft));
  text-underline-offset: 4px;
}

.entry-content a:hover {
  text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.375rem;
}

.entry-content blockquote {
  padding: 1rem 1.5rem;
  border-left: 3px solid hsl(var(--primary));
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
}

.entry-content img {
  border-radius: var(--radius-md);
}

.entry-content pre {
  overflow-x: auto;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  background: hsl(var(--card));
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Hizmetler sayfası
-------------------------------------------------------------------------- */
.services-page {
  position: relative;
  padding-top: 8rem;
  padding-bottom: var(--section-py);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }

  .service-row--flip .service-row__visual {
    order: 2;
  }
}

.service-row__visual {
  border-radius: var(--radius);
}

.service-row__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 25% 25%, hsl(var(--primary) / 0.28), transparent 60%),
    radial-gradient(circle at 78% 80%, hsl(var(--accent) / 0.22), transparent 60%);
  border-radius: inherit;
}

.service-row__num {
  position: absolute;
  left: 1.25rem;
  top: 0.75rem;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px hsl(var(--foreground) / 0.14);
}

.service-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: var(--radius);
  background: hsl(var(--card) / 0.8);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary-soft));
  transition: transform 0.35s var(--ease-out);
}

.service-row__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.service-row__visual:hover .service-row__icon {
  transform: translateY(-6px) scale(1.05);
}

.service-row__body h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-row__body > p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.service-row__body .feature-list {
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   İletişim formu (footer)
-------------------------------------------------------------------------- */
.contact-form {
  max-width: 34rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-form label span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font: inherit;
  font-size: 0.9375rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: hsl(var(--muted-foreground) / 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.6);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form__submit {
  align-self: center;
  min-width: 12rem;
}

/* Honeypot: bot tuzağı, insanlara görünmez */
.contact-form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-notice {
  max-width: 34rem;
  margin: 0 auto 1.25rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.form-notice--ok {
  border: 1px solid hsl(var(--accent) / 0.4);
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}

.form-notice--error {
  border: 1px solid hsl(350 89% 60% / 0.4);
  background: hsl(350 89% 60% / 0.1);
  color: hsl(350 89% 70%);
}

.contact-alt {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.contact-alt a {
  color: hsl(var(--primary-soft));
  text-underline-offset: 4px;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   SSS (akordeon)
-------------------------------------------------------------------------- */
.faq .container {
  max-width: 48rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  transition: border-color 0.3s ease;
}

.faq-item.is-open {
  border-color: hsl(var(--primary) / 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  font-weight: 500;
}

@media (min-width: 768px) {
  .faq-question {
    padding: 1.5rem;
    font-size: 1.125rem;
  }
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Footer
-------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid hsl(var(--border));
}

.footer-cta {
  max-width: 42rem;
  margin-inline: auto;
  padding-block: 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-cta {
    padding-block: 6rem;
  }
}

.footer-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.footer-cta p {
  margin-bottom: 2rem;
  color: hsl(var(--muted-foreground));
  text-wrap: balance;
}

@media (min-width: 768px) {
  .footer-cta p {
    font-size: 1.125rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-about .brand {
  margin-bottom: 1rem;
}

.footer-about > p {
  max-width: 24rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: hsl(var(--foreground));
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}

.footer-social:hover {
  border-color: hsl(var(--primary) / 0.4);
  color: hsl(var(--foreground));
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
-------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shape,
  .shape__float,
  .fade-up,
  .site-header,
  .wall-row,
  .hero__badge-dot {
    animation: none;
    opacity: 1;
  }

  .hero__wall--reveal {
    /* Işık gezinmez; merkezde sabit durur */
    -webkit-mask-image: radial-gradient(
      circle 250px at 50% 50%,
      #000 25%,
      transparent 72%
    );
    mask-image: radial-gradient(
      circle 250px at 50% 50%,
      #000 25%,
      transparent 72%
    );
  }

  .hero__torch {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
