/* ─────────────────────────────────────────────────────────
   RIVORA RAFTING — Doğa, Macera, Eğlence
   Klon: https://templates.sparklethings.com/montiq/template-kit/home/
   ───────────────────────────────────────────────────────── */

:root {
  --brand-primary:   #0B3A5D;   /* koyu nehir mavisi — başlık, koyu bölüm */
  --brand-secondary: #BBD9E8;   /* açık su mavisi — gövde arka planı, nav */
  --brand-text:      #15262F;   /* metin */
  --brand-accent:    #D46A2E;   /* turuncu — butonlar, vurgular */
  --brand-white:     #FFFFFF;
  --brand-cream:     #E7F1F8;   /* çok açık mavi — kart, faq açık */
  --brand-dark2:     #0F4874;   /* how-it-works kart bg (mavi ton) */
  --radius-card:     20px;
  --radius-fancy:    20px 60px 20px 20px;  /* Montiq imza asimetrik köşe */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  background: var(--brand-secondary);
  color: var(--brand-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

:where(h1, h2, h3, h4, h5, h6) {
  font-family: 'Oswald', sans-serif;
  color: var(--brand-primary);
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5, .on-dark h6,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white {
  color: #ffffff;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
button { font-family: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ── Layout ───────────────────────────────────────────── */
.container-mq {
  margin-inline: auto;
  max-width: 1290px;
  padding-inline: 1.25rem;
}
@media (min-width: 640px)  { .container-mq { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-mq { padding-inline: 2rem; } }

.section { padding-block: 100px; }
.section-sm { padding-block: 64px; }
@media (max-width: 768px) { .section { padding-block: 64px; } .section-sm { padding-block: 44px; } }

/* ── Eyebrow ("★ OUR SERVICES") ───────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}
.eyebrow svg { width: 15px; height: 15px; color: var(--brand-accent); flex-shrink: 0; }
.eyebrow.center { justify-content: center; }
.eyebrow.is-light { color: #fff; }

/* ── Section title ────────────────────────────────────── */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-primary);
}
.section-title.on-dark, .on-dark .section-title { color: #fff; }
.lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--brand-text);
}
.on-dark .lead, .lead.is-light { color: rgba(255,255,255,0.82); }

/* ── Buttons (pill + orange, icon in a circle) ────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 100px;
  padding: 12px 12px 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  transition: all 0.3s ease;
  border: 0;
  cursor: pointer;
}
.btn .btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary { background: var(--brand-accent); color: #fff; }
.btn-primary .btn-ico { background: rgba(255,255,255,0.18); color: #fff; }
.btn-primary:hover { background: var(--brand-primary); color: #fff; }
.btn-primary:hover .btn-ico { transform: rotate(45deg); }

.btn-dark { background: var(--brand-primary); color: #fff; }
.btn-dark .btn-ico { background: var(--brand-accent); color: #fff; }
.btn-dark:hover { background: var(--brand-accent); }
.btn-dark:hover .btn-ico { background: var(--brand-primary); transform: rotate(45deg); }

.btn-light { background: #fff; color: var(--brand-primary); }
.btn-light .btn-ico { background: var(--brand-accent); color: #fff; }
.btn-light:hover { background: var(--brand-accent); color: #fff; }
.btn-light:hover .btn-ico { background: #fff; color: var(--brand-accent); transform: rotate(45deg); }

/* text-only link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--brand-primary);
  white-space: nowrap;
}
.link-arrow:hover { color: var(--brand-accent); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow svg { transition: transform .25s; }

/* orange circle arrow button (services / steps) */
.circle-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-accent); color: #fff;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease;
}
.circle-arrow svg { width: 18px; height: 18px; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.65rem;
}
.site-header.scrolled {
  background: var(--brand-primary);
  box-shadow: 0 8px 30px rgba(11,58,93,0.25);
}
.site-header.scrolled .bar { padding-block: 0.45rem; }
.site-header .logo img { height: 86px; width: auto; max-width: 320px; object-fit: contain; transition: height .35s ease; }
.site-header.scrolled .logo img { height: 66px; }
@media (max-width: 640px) { .site-header .logo img { height: 60px; } }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav .nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 500;
  color: var(--brand-secondary);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.is-active { color: #fff; }
.site-nav .nav-link svg { width: 12px; height: 12px; opacity: .8; }

.site-nav .has-sub { position: relative; }
.site-nav .submenu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--brand-primary);
  border-radius: 20px 60px 20px 20px;
  box-shadow: 0 20px 40px rgba(11,58,93,0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .28s ease;
  padding: 12px;
  margin-top: 12px;
  z-index: 10;
}
.site-nav .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  color: var(--brand-secondary);
  border-radius: 10px;
}
.site-nav .submenu li a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-socials { display: flex; align-items: center; gap: 0.5rem; }
.header-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-secondary);
  transition: all .25s;
}
.header-socials a:hover { color: #fff; }
.header-socials svg { width: 16px; height: 16px; }

.hamburger {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-accent); color: #fff; border: 0;
  align-items: center; justify-content: center;
}
.hamburger svg { width: 20px; height: 20px; }

@media (max-width: 1100px) {
  .site-nav, .header-socials { display: none; }
  .hamburger { display: inline-flex; }
}

/* ── Mobile drawer ────────────────────────────────────── */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,58,93,0.6);
  z-index: 60;
  animation: fade-in 0.25s ease-out;
}
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 86%;
  max-width: 22rem;
  background: var(--brand-primary);
  box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  z-index: 61;
  display: flex;
  flex-direction: column;
  animation: slide-in-right 0.35s cubic-bezier(0.22,1,0.36,1);
}
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-header img { height: 68px; width: auto; }
.drawer-close {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-accent); color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer-nav { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer-nav > ul > li > a,
.drawer-nav > ul > li > .drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.9rem 0.25rem;
  font-weight: 500; font-size: 1rem;
  color: var(--brand-secondary);
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left; font-family: inherit; cursor: pointer;
}
.drawer-nav a:hover, .drawer-nav .drawer-link:hover { color: #fff; }
.drawer-nav .drawer-item.has-sub .chev { transition: transform .25s; color: var(--brand-accent); }
.drawer-nav .drawer-item.has-sub.open .chev { transform: rotate(180deg); }
.drawer-nav .drawer-sub { padding: 0 0 0.5rem 1rem; }
.drawer-nav .drawer-sub li a {
  display: block; padding: 0.6rem 0.25rem;
  font-size: 0.9375rem; color: var(--brand-secondary); border: 0;
}
.drawer-nav .drawer-sub li a:hover { color: #fff; }
.drawer-foot { padding: 1.5rem; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ── Scroll reveal ────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(0.22,1,0.36,1), transform .8s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-in-view { opacity: 1; transform: none; }
[data-reveal-stagger] > * {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s cubic-bezier(0.22,1,0.36,1), transform .7s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal-stagger].is-in-view > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-in-view > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger].is-in-view > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].is-in-view > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-stagger].is-in-view > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-stagger].is-in-view > *:nth-child(6) { transition-delay: 450ms; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero .hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,58,93,0.45) 0%, rgba(11,58,93,0.05) 30%, rgba(11,58,93,0.15) 70%, rgba(11,58,93,0.55) 100%);
}
.hero .hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: flex-end;
  gap: 2rem;
}
.hero .hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(48px, 6.6vw, 96px);
  font-weight: 700;
  line-height: 1.02;
  color: #fff;
  max-width: 12ch;
}
.hero .hero-card {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  color: #fff;
}
.hero .hero-card p { color: rgba(255,255,255,0.9); font-size: 0.9375rem; line-height: 1.6; margin: 0 0 1.5rem; }
.hero .hero-card .row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero { min-height: 640px; }
  .hero .hero-inner { grid-template-columns: 1fr; }
  .hero .hero-card { max-width: 420px; }
}

/* ── About (3-image layout) ───────────────────────────── */
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.about-images .a-tall,
.about-images .a-img {
  border-radius: var(--radius-fancy);
  overflow: hidden;
}
.about-images .a-tall { min-height: 480px; }
.about-images .a-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 1.25rem; }
.about-images img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .about-images .a-tall { min-height: 340px; } }

/* ── Ticket card (white, dashed border) — features + steps */
.ticket-card {
  background: #fff;
  border: 2px dashed rgba(11,58,93,0.35);
  border-radius: var(--radius-fancy);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.ticket-card:hover { transform: translateY(-6px); border-color: var(--brand-accent); box-shadow: 0 20px 44px rgba(11,58,93,0.1); }
.ticket-card .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--brand-accent); line-height: 1; margin-bottom: 1rem;
}
.ticket-card h3 { font-size: 1.4rem; color: var(--brand-primary); margin-bottom: 0.75rem; }
.ticket-card p { font-size: 0.9375rem; color: var(--brand-text); line-height: 1.7; opacity: 0.85; }
/* On the dark how-it-works section: white card, light dashed frame */
.on-dark .ticket-card { border-color: rgba(255,255,255,0.45); }

/* Features grid: dark card + 01/02 (row1), wide image + 03 (row2) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.features-img { border-radius: var(--radius-card); overflow: hidden; min-height: 240px; }
.features-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .features-grid > :nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .features-grid > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
  .features-grid > :nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
  .features-grid > :nth-child(4) { grid-area: 2 / 1 / 3 / 3; }
  .features-grid > :nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
}
@media (max-width: 899px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ── Feature cards (Why Choose Us) ────────────────────── */
.feature-dark {
  background: var(--brand-primary);
  border-radius: var(--radius-fancy);
  padding: 2.75rem 2.25rem;
  color: #fff;
  height: 100%;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,58,93,0.12); }
.feature-card .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--brand-accent);
  line-height: 1; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9375rem; color: var(--brand-text); line-height: 1.7; }

/* ── Trail / Destination cards ────────────────────────── */
.trail-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: #fff;
  isolation: isolate;
}
.trail-card .trail-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.trail-card:hover .trail-bg { transform: scale(1.06); }
.trail-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,58,93,0) 30%, rgba(11,58,93,0.85) 100%);
}
.trail-card .trail-title { font-size: 1.75rem; color: #fff; margin-bottom: 0.875rem; }
.trail-card .trail-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.trail-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.trail-badge svg { width: 13px; height: 13px; }
.trail-card.wide { min-height: 340px; }

/* ── How it works steps (on dark) ─────────────────────── */
.step-card {
  background: var(--brand-dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform .3s, background .3s;
}
.step-card:hover { transform: translateY(-6px); background: #10527F; }
.step-card .step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.step-card .step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem; font-weight: 700; color: var(--brand-accent); line-height: 1;
}
.step-card h3 { font-size: 1.375rem; color: #fff; margin-bottom: 0.625rem; }
.step-card p { font-size: 0.9375rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ── Service cards (hover'da görsel açılır) ───────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative;
  background: var(--brand-primary);
  border-radius: var(--radius-card);
  padding: 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
/* Görsel katmanı — her zaman tam görünür, hover'da hafif yakınlaşır */
.service-card .svc-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--svc-img);
  background-size: cover; background-position: center;
  opacity: 1; transform: scale(1);
  transition: transform .7s ease;
}
.service-card:hover .svc-bg,
.service-card:focus-visible .svc-bg,
.service-card.is-touched .svc-bg { transform: scale(1.06); }
/* Başlık — görselin ortasında, yarı saydam siyah bant üzerinde */
.service-card h3 {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  margin: 0; max-width: none;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: background .35s ease;
}
.service-card:hover h3,
.service-card.is-touched h3 { background: rgba(0, 0, 0, 0.6); }
/* Ok butonu sağ alt köşede */
.service-card .circle-arrow { position: absolute; right: 1.25rem; bottom: 1.25rem; }
.service-card:hover .circle-arrow,
.service-card.is-touched .circle-arrow { transform: rotate(45deg); }
@media (max-width: 899px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Team cards (ticket style, name overlay) ──────────── */
.team-card {
  position: relative;
  border-radius: var(--radius-fancy);
  background: #fff;
  border: 2px dashed rgba(11,58,93,0.35);
  padding: 12px;
  transition: transform .3s, border-color .3s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--brand-accent); }
.team-card .photo {
  position: relative;
  border-radius: 14px; overflow: hidden;
  aspect-ratio: 3/3.9;
  isolation: isolate;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,58,93,0) 45%, rgba(11,58,93,0.75) 100%);
}
.team-card .socials {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: flex; flex-direction: column; gap: 8px;
}
.team-card .socials a {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-accent); color: #fff;
  transition: transform .25s;
}
.team-card .socials a:hover { transform: scale(1.12); }
.team-card .socials svg { width: 14px; height: 14px; }
.team-card .name-tag {
  position: absolute; left: 22px; bottom: 20px; z-index: 2;
}
.team-card .name-tag h4 { font-size: 1.65rem; color: #fff; line-height: 1.05; }
.team-card .name-tag p {
  font-size: 0.72rem; color: var(--brand-secondary); font-weight: 600;
  font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}

/* ── CTA band (dark, collage) ─────────────────────────── */
.cta-band {
  position: relative;
  background: var(--brand-primary);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: #fff;
}
.cta-band .cta-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.cta-band .cta-inner { position: relative; z-index: 1; }
.cta-collage { display: flex; gap: 1rem; align-items: center; }
.cta-collage .frame {
  border-radius: 18px; overflow: hidden;
  border: 2px dashed rgba(255,255,255,0.4);
  padding: 6px;
}
.cta-collage .frame img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

/* ── Testimonials ─────────────────────────────────────── */
.testi-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2.5rem 2.25rem;
}
.testi-card .qmark {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem; font-weight: 700;
  color: var(--brand-secondary);
  line-height: 0.7;
  margin-bottom: 1rem;
  display: block;
}
.testi-card blockquote {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem; line-height: 1.7; color: var(--brand-text);
}
.testi-card .author { display: flex; align-items: center; gap: 1rem; }
/* Müşteri fotoğrafı yerine site logosu */
.testi-card .author .author-logo {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-cream);
  flex-shrink: 0; overflow: hidden;
}
.testi-card .author .author-logo img {
  width: 100%; height: 100%; object-fit: contain; padding: 4px;
}
.testi-card .author h5 { font-size: 1.125rem; color: var(--brand-primary); }
.testi-card .author p { font-size: 0.8125rem; color: var(--brand-accent); font-weight: 600; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ── FAQ accordion (pill style) ───────────────────────── */
.faq-item {
  border-radius: 100px;
  margin-bottom: 1rem;
  background: var(--brand-primary);
  overflow: hidden;
  transition: border-radius .3s, background .3s;
}
.faq-item.open { background: var(--brand-cream); border-radius: 28px; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; width: 100%; padding: 1.15rem 1.75rem;
  background: transparent; border: 0; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff;
  cursor: pointer;
}
.faq-item.open .faq-question { color: var(--brand-primary); }
.faq-question .chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  transition: transform .3s, background .3s; flex-shrink: 0;
}
.faq-item.open .faq-question .chev { transform: rotate(180deg); background: var(--brand-accent); }
.faq-answer {
  display: none;
  padding: 0 1.75rem 1.35rem;
  font-size: 0.9375rem; color: var(--brand-text); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Blog cards ───────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,58,93,0.12); }
.blog-card .cover { aspect-ratio: 16/11; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .cover img { transform: scale(1.05); }
.blog-card .body { padding: 1.5rem 1.5rem 1.75rem; }
.blog-card .meta {
  display: flex; gap: 1rem; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brand-accent);
  margin-bottom: 0.875rem;
}
.blog-card .meta .dot { color: var(--brand-secondary); }
.blog-card h3 { font-size: 1.375rem; line-height: 1.25; margin-bottom: 1.25rem; transition: color .25s; }
.blog-card:hover h3 { color: var(--brand-accent); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--brand-primary);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
}
.footer-cta {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.footer-cta .fc-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.footer-cta .fc-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(11,58,93,0.9), rgba(11,58,93,0.55)); }
.footer-cta h2 { position: relative; z-index: 1; color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 16ch; }
.footer-cta .btn { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.25rem; margin-bottom: 1.5rem; }
.site-footer .foot-about { font-size: 0.9375rem; line-height: 1.7; margin: 1.25rem 0 1.5rem; color: rgba(255,255,255,0.7); }
.site-footer ul li { padding: 0.4rem 0; font-size: 0.9375rem; }
.site-footer ul a { color: rgba(255,255,255,0.72); }
.site-footer ul a:hover { color: #fff; }
.foot-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.foot-contact li svg { width: 18px; height: 18px; color: var(--brand-accent); flex-shrink: 0; margin-top: 3px; }
.foot-news form {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 5px 5px 5px 20px;
  margin-top: 0.5rem;
}
.foot-news input { flex: 1; background: transparent; border: 0; color: #fff; font-family: inherit; font-size: 0.9375rem; outline: none; }
.foot-news input::placeholder { color: rgba(255,255,255,0.5); }
.foot-news button {
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--brand-accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .25s;
}
.foot-news button:hover { transform: rotate(45deg); }
.footer-wordmark {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
}
.footer-wordmark .mark {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4rem, 16vw, 15rem);
  font-weight: 700; line-height: 0.9;
  color: #fff;
  display: inline-flex; align-items: center; gap: 0.1em;
  letter-spacing: -0.02em;
}
.footer-wordmark .mark .peak { color: var(--brand-accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .social-row { display: flex; gap: 0.5rem; }
.footer-bottom .social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: all .25s;
}
.footer-bottom .social-row a:hover { background: var(--brand-accent); }
.footer-bottom .social-row svg { width: 16px; height: 16px; }

/* ── Mobil alt sabit bar ──────────────────────────────── */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: end;
    background: var(--brand-primary);
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -6px 24px rgba(11,58,93,0.28);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bar .mb-item,
  .mobile-bar .mb-home {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: transparent; border: 0; padding: 4px 2px;
    color: rgba(255,255,255,0.85); font-family: 'Inter', sans-serif;
    cursor: pointer; text-decoration: none;
  }
  .mobile-bar .mb-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
  }
  .mobile-bar svg { width: 21px; height: 21px; }
  .mobile-bar .mb-label { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
  .mobile-bar .mb-item:active { color: #fff; transform: scale(0.94); }

  /* Ortadaki yükseltilmiş anasayfa butonu */
  .mobile-bar .mb-home { position: relative; }
  .mobile-bar .mb-home-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 50%;
    background: var(--brand-accent); color: #fff;
    margin-top: -30px;
    border: 4px solid var(--brand-primary);
    box-shadow: 0 6px 16px rgba(212,106,46,0.45);
    transition: transform .2s ease;
  }
  .mobile-bar .mb-home svg { width: 24px; height: 24px; }
  .mobile-bar .mb-home:active .mb-home-btn { transform: scale(0.92); }

  /* Sosyal medya açılır paneli */
  .mobile-bar .mb-social-sheet {
    position: absolute; right: 8px; bottom: calc(100% + 10px);
    display: flex; gap: 10px;
    background: #fff;
    border-radius: 100px;
    padding: 10px 14px;
    box-shadow: 0 12px 30px rgba(11,58,93,0.28);
    animation: mb-pop .22s ease-out;
  }
  .mobile-bar .mb-social-sheet[hidden] { display: none; }
  .mobile-bar .mb-social-sheet a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-cream); color: var(--brand-primary);
  }
  .mobile-bar .mb-social-sheet a:active { background: var(--brand-accent); color: #fff; }
  @keyframes mb-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* İçerik barın altında kalmasın */
  body { padding-bottom: 74px; }
}

/* ── Hizmet detay makale gövdesi ──────────────────────── */
.svc-article {
  max-width: 860px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(11,58,93,0.12);
}
.svc-article p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--brand-text);
  margin: 0 0 1.35rem;
}
.svc-article p:last-child { margin-bottom: 0; }
/* İlk paragrafın ilk harfi büyük (makale hissi) */
.svc-article p:first-of-type::first-letter {
  float: left;
  font-family: 'Oswald', sans-serif;
  font-size: 3.4rem;
  line-height: 0.86;
  font-weight: 700;
  color: var(--brand-accent);
  margin: 4px 12px 0 0;
}
@media (max-width: 640px) {
  .svc-article { margin-top: 2.5rem; padding-top: 2rem; }
  .svc-article p { font-size: 1rem; line-height: 1.8; }
}

/* ── Geliştirici imzası (Ceyhan Yazılım) ──────────────── */
.dev-credit {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 0.8125rem; color: rgba(255,255,255,0.55); margin: 0;
}
.dev-credit a {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; padding: 6px 12px; line-height: 0; margin-left: 2px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.dev-credit a:hover { background: rgba(255,255,255,0.16); border-color: var(--brand-accent); transform: translateY(-1px); }
.dev-credit img { height: 17px; width: auto; display: block; }
@media (max-width: 640px) { .dev-credit { justify-content: center; } }

/* ── Page hero (inner pages) ──────────────────────────── */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  background: var(--brand-primary);
  color: #fff;
  text-align: center;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
}
.page-hero .ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.28; }
.page-hero .container-mq { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; }
.page-hero .crumbs {
  display: inline-flex; gap: 0.5rem; align-items: center;
  font-size: 0.9375rem; color: var(--brand-secondary);
  margin-top: 1rem; font-family: 'Inter', sans-serif;
}
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { opacity: 0.6; }

/* ── Pricing cards ────────────────────────────────────── */
.price-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,58,93,0.12); }
.price-card.featured { background: var(--brand-primary); color: #fff; }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-flag {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--brand-accent); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 100px;
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-card .price {
  font-family: 'Oswald', sans-serif; font-size: 3.25rem; font-weight: 700;
  color: var(--brand-primary); line-height: 1;
  display: flex; align-items: flex-start; gap: 2px;
}
.price-card .price .cur { font-size: 1.5rem; margin-top: 0.4rem; }
.price-card .price .unit { font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 500; color: inherit; opacity: 0.6; align-self: flex-end; margin-bottom: 0.6rem; }
.price-card.featured .price .unit { color: rgba(255,255,255,0.7); }
.price-list { margin-top: 1.75rem; display: grid; gap: 0.875rem; }
.price-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.price-list .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-accent); color: #fff; flex-shrink: 0;
}
.price-list .tick svg { width: 12px; height: 12px; }
.price-card.featured .price-list { color: rgba(255,255,255,0.85); }

/* ── Contact ──────────────────────────────────────────── */
.contact-info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff; border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: transform .3s;
}
.contact-info-card:hover { transform: translateY(-4px); }
.contact-info-card .ci-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-accent); color: #fff; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.9375rem; color: var(--brand-text); }
.contact-form {
  background: #fff; border-radius: var(--radius-card);
  padding: 2.5rem;
}
.contact-form .field { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-primary); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--brand-cream);
  border: 1px solid transparent; border-radius: 12px;
  padding: 0.875rem 1.125rem; font-family: inherit; font-size: 0.9375rem;
  color: var(--brand-text); outline: none; transition: border-color .25s, background .25s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-accent); background: #fff; }
.contact-map { border-radius: var(--radius-card); overflow: hidden; line-height: 0; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* utility */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-680 { max-width: 680px; }
.grid { display: grid; }
.flex { display: flex; }
