/* ==========================================================================
   Pruva Media - Consolidated Main Stylesheet
   Covers: index, kurumsal, ozel-yazilim, sss and related pages
   ========================================================================== */

/* 1) Base / Reset & Variables
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--primary-dark); }


/* 2) Header – Hero variant (index) & Subpage variant
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

/* Subpage header */
body:has(main .page-hero) .header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  position: sticky;
}

body:has(main .page-hero) .header .logo-img { filter: none; }

body:has(main .page-hero) .header .logo-fallback.show,
body:has(main .page-hero) .logo-fallback {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover { opacity: 0.9; }

.logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: filter 0.3s var(--ease);
}

.header .logo-img { filter: brightness(0) invert(1); }

.header.scrolled .logo-img,
body:has(main .page-hero) .header .logo-img { filter: none; }

.logo-fallback {
  display: none;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo-fallback.show { display: inline; }

.header .logo-fallback.show { color: #fff; }

.header.scrolled .logo-fallback.show {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* 3) Nav
   -------------------------------------------------------------------------- */
.nav-wrap { display: flex; align-items: center; gap: 0.25rem; }
.nav-mobile-social { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled .nav,
body:has(main .page-hero) .nav {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }

.header.scrolled .nav a,
body:has(main .page-hero) .nav a { color: var(--text-muted); }

.header.scrolled .nav a:hover,
body:has(main .page-hero) .nav a:hover { color: var(--primary); background: rgba(99, 102, 241, 0.1); }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 100px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.header.scrolled .nav-dropdown-trigger,
body:has(main .page-hero) .nav-dropdown-trigger { color: var(--text-muted); }

.nav-dropdown:hover .nav-dropdown-trigger { color: var(--white); background: rgba(255, 255, 255, 0.12); }

.header.scrolled .nav-dropdown:hover .nav-dropdown-trigger,
body:has(main .page-hero) .nav-dropdown:hover .nav-dropdown-trigger { color: var(--primary); background: rgba(99, 102, 241, 0.1); }

.nav-dropdown-trigger::after {
  content: '';
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(-135deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  padding: 0.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.04);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-dropdown-menu a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.25rem !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

.header.scrolled .nav-cta,
body:has(main .page-hero) .nav-cta { color: var(--white) !important; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease);
}

.header.scrolled .nav-toggle,
body:has(main .page-hero) .nav-toggle {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.2); }

.header.scrolled .nav-toggle:hover,
body:has(main .page-hero) .nav-toggle:hover { background: rgba(99, 102, 241, 0.12); }
.nav-toggle-icon { display: flex; align-items: center; justify-content: center; }
.nav-toggle-close { display: none; }
.nav-toggle-ham { display: flex; }
.header.nav-open .nav-toggle-ham { display: none; }
.header.nav-open .nav-toggle-close { display: flex; }
.nav-toggle svg { width: 24px; height: 24px; }


/* 4) Hero Slider (index)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-slide .hero-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-slide .hero-slide-title,
.hero-slide h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-slide .hero-slide-title span,
.hero-slide h2 span {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide p {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.65;
  opacity: 0.92;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-slide .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-slide:nth-child(1) { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%); }
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #0c4a6e 0%, #0e7490 40%, #155e75 100%); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #115e59 100%); }
.hero-slide:nth-child(5) { background: linear-gradient(135deg, #422006 0%, #b45309 30%, #78350f 100%); }
.hero-slide:nth-child(6) { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #06b6d4 80%); }

.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.6rem;
}

.hero-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-slider-dots button:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.8);
}

.hero-slider-dots button.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

.hero-slider-prev,
.hero-slider-next {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  padding: 0 1.5rem;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hero-slider-nav .hero-slider-prev,
.hero-slider-nav .hero-slider-next {
  pointer-events: auto;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}


/* 5) Section styles, service cards, stats, CTA
   -------------------------------------------------------------------------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title p { margin: 0; color: var(--text-muted); font-size: 1.05rem; }

/* Service cards – modern bento style */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.15);
}

.service-card:hover::before { opacity: 1; }

.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card .service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover { color: var(--primary-dark); }

/* Stats – gradient cards */
.stats {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--white);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

.stat h3 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat p { margin: 0.5rem 0 0; font-size: 0.95rem; opacity: 0.85; }

/* CTA – gradient border effect */
.cta-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.cta {
  position: relative;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
}

.cta p { margin: 0 0 1.5rem; color: var(--text-muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: 0.25rem; }

/* SEO intro block */
.intro-seo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: var(--white);
}

.intro-seo .wrap { max-width: 800px; margin: 0 auto; }

.intro-seo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

.intro-seo p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.intro-seo p:last-child { margin-bottom: 0; }

/* Tech logos / kayan altyapı */
.tech-logos {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.tech-logos-heading {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.tech-logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.tech-logos-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 2rem;
  animation: techScroll 40s linear infinite;
  width: max-content;
}

.tech-logos-track:hover { animation-play-state: paused; }

.tech-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 48px;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}

.tech-logo-item:hover { opacity: 1; }

.tech-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.4);
  transition: filter 0.2s var(--ease);
}

.tech-logo-item:hover img { filter: grayscale(0); }

@keyframes techScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Neden Pruva */
.neden-pruva {
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  padding: 4rem 1.5rem;
}

.neden-pruva .section-title { margin-bottom: 2rem; }

.neden-pruva .content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}

.neden-pruva .content p { margin: 0 0 1rem; }


/* 6) Page hero (subpages), content-wrap, value-grid
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--dark), var(--dark-soft));
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
}

.page-hero p { margin: 0; opacity: 0.9; font-size: 1.05rem; }

.content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.content-wrap h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.content-wrap h2:first-of-type { margin-top: 0; }

.content-wrap p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.value-card .value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-card .value-icon svg { width: 26px; height: 26px; }

.value-card .value-content { min-width: 0; }

.value-card h3 { font-size: 1.1rem; color: var(--primary); margin: 0 0 0.5rem; }

.value-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.cta-box {
  text-align: center;
  padding: 2rem 1.5rem;
}

.cta-box p { margin: 0 0 1rem; color: var(--text-muted); }


/* 7) Other services grid (subpages)
   -------------------------------------------------------------------------- */
.other-services {
  padding: 3rem 1.5rem 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.other-services-inner { max-width: 1200px; margin: 0 auto; }

.other-services h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2rem;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.other-service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
}

.other-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.15);
}

.other-service-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.other-service-card .icon-wrap svg { width: 28px; height: 28px; stroke: var(--primary); }

.other-service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 0.5rem; }

.other-service-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.other-service-card .card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.other-service-card:hover .card-link { color: var(--primary-dark); }


/* 8) FAQ – index simple list & SSS page accordion
   -------------------------------------------------------------------------- */
.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

/* Index FAQ – simple items */
.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.25rem 0;
}

.faq-item:first-child { padding-top: 0; }

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* SSS page – accordion style */
.content-wrap .faq-list .faq-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.2s var(--ease);
}

.faq-toggle:hover { background: rgba(99, 102, 241, 0.04); }

.faq-toggle::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-toggle::after { transform: rotate(-135deg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  display: none;
}

.faq-item.open .faq-answer { display: block; }

.faq-answer p { margin: 0; color: var(--text-muted); line-height: 1.8; }

.faq-answer p + p { margin-top: 1rem; }


/* 9) Footer
   -------------------------------------------------------------------------- */
footer {
  background: var(--dark);
  color: var(--white);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col.footer-services ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.5rem;
  row-gap: 0.25rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.footer-social svg { width: 20px; height: 20px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a { color: rgba(255, 255, 255, 0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.8); }


/* 10) Float CTA & Modal
   -------------------------------------------------------------------------- */
.float-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
}

.float-cta a,
.float-cta button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.float-cta a:hover,
.float-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.float-cta a svg,
.float-cta button svg { width: 24px; height: 24px; flex-shrink: 0; }

.float-phone {
  background: #0ea5e9;
  color: #fff;
}

.float-whatsapp {
  background: #25d366;
  color: #fff;
}

.float-teklif {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease);
}

.modal-overlay.open .modal-box { transform: scale(1); }

.modal-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--white); }

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.modal-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }

.modal-body { padding: 1.25rem 1.5rem 1.5rem; }

.modal-form .form-group { margin-bottom: 1.25rem; }

.modal-form .form-group:last-of-type { margin-bottom: 1.5rem; }

.modal-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.4rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.5);
  color: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(15, 23, 42, 0.65);
}

.modal-form select option { background: #1e293b; color: var(--white); }

.modal-form textarea { min-height: 100px; resize: vertical; }

.modal-form .btn { width: 100%; }


/* 11) Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Mobil menü: header altında açılır, tam ekran, border-radius yok */
  .nav-wrap {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: rgba(15, 23, 42, 0.92);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem 2rem;
    margin: 0;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease), pointer-events 0s 0.35s;
    overflow-y: auto;
  }

  .header.nav-open .nav-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease);
  }

  .header.nav-open {
    background: rgba(255, 255, 255, 0.98);
  }

  .header.nav-open .logo-img { filter: none; }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    flex: 1;
  }

  .nav a,
  .nav-dropdown-trigger {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Mobil menü sosyal medya – altta yatay */
  .nav-mobile-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: auto;
  }

  .nav-mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }

  .nav-mobile-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .nav-mobile-social svg {
    width: 22px;
    height: 22px;
  }

  .nav-mobile-social { display: flex; }

  .header.scrolled .nav a,
  .header.scrolled .nav-dropdown-trigger,
  body:has(main .page-hero) .nav a,
  body:has(main .page-hero) .nav-dropdown-trigger {
    color: rgba(255, 255, 255, 0.9);
  }

  .nav a:hover,
  .nav-dropdown:hover .nav-dropdown-trigger {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.25rem auto 0;
    padding: 0.5rem 0;
    display: none;
    min-width: auto;
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
  }

  .nav-dropdown.open .nav-dropdown-trigger {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .nav-dropdown-menu li { text-align: center; }
  .nav-dropdown-menu a { text-align: center; }

  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-dropdown-menu a { color: rgba(255, 255, 255, 0.9); }

  .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  }

  .nav-toggle { display: flex; margin-left: auto; }
}

@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .other-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* Header: logo ve menü butonu görünürlüğü */
  .header-inner {
    padding: 0.75rem 1rem;
  }

  .logo-link {
    min-width: 0;
    flex-shrink: 0;
  }

  .logo-img {
    height: 36px;
    max-width: 140px;
  }

  .logo-fallback.show {
    font-size: 1.2rem;
  }

  .nav-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .nav-toggle svg {
    width: 22px;
    height: 22px;
  }

  /* Hero sayfasında header arka plan – logo ve menü için kontrast */
  body:has(main .hero) .header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 100%);
  }

  body:has(main .hero) .header.scrolled {
    background: rgba(255, 255, 255, 0.92);
  }

  body:has(main .hero) .header.scrolled .nav-toggle {
    background: rgba(15, 23, 42, 0.08);
    color: var(--text);
    border-color: rgba(15, 23, 42, 0.12);
  }

  /* Slider: kenarlardaki boşlukları kaldır */
  .hero {
    min-height: auto;
    padding: 0;
    overflow: hidden;
  }

  .hero-slider {
    min-height: 520px;
  }

  .hero-slide {
    padding: 5.5rem 1rem 3.5rem;
  }

  .hero-slide-inner {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .float-cta { bottom: 1rem; left: 1rem; gap: 0.4rem; }

  .float-cta a,
  .float-cta button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .float-cta a svg,
  .float-cta button svg { width: 22px; height: 22px; }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-slider-nav {
    padding: 0 1rem;
    justify-content: space-between;
  }
  .hero-slider-prev,
  .hero-slider-next {
    width: 40px;
    height: 40px;
  }


  .section { padding: 3rem 1.25rem; }

  .services-grid { grid-template-columns: 1fr; }

  .stat h3 { font-size: 1.75rem; }

  .intro-seo,
  .neden-pruva,
  .faq-section { padding: 2.5rem 1.25rem; }

  .tech-logo-item { width: 64px; height: 40px; }

  .tech-logos-track { gap: 2rem; }

  .value-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }

  .footer-col.footer-services ul { grid-template-columns: 1fr; }

  .footer-social { justify-content: center; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-toggle { display: flex; }

  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* 15) Contact page – contact-wrap, contact-cards, contact-form, map
   -------------------------------------------------------------------------- */
.contact-hero .section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.contact-trust {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.15);
}

.contact-card-static {
  cursor: default;
  pointer-events: none;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.contact-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card-value {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card:not(.contact-card-static) .contact-card-value { color: var(--primary); }
.contact-card:not(.contact-card-static):hover .contact-card-value { color: var(--primary-dark); }

.contact-card-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-form-wrapper {
  min-width: 0;
}

.contact-form-visual {
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  display: flex;
  align-items: stretch;
}

.contact-visual-inner {
  width: 100%;
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-visual-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-visual-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--primary);
  opacity: 0.4;
}

.contact-form-box {
  position: relative;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-form-box::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact-form-box h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.contact-form-desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-form .form-group,
.contact-form-box .form-group {
  margin-bottom: 1.25rem;
}

.contact-form .form-group:last-of-type,
.contact-form-box .form-group:last-of-type { margin-bottom: 1.5rem; }

.contact-form .form-group label .required { color: var(--primary); }

.contact-form input,
.contact-form textarea,
.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form-box input:focus,
.contact-form-box textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-form textarea,
.contact-form-box textarea {
  min-height: 140px;
  resize: vertical;
}

.map-section {
  background: var(--bg);
  padding: 3rem 1.5rem 4rem;
}

.map-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.map-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}

.map-desc {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.2);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.map-link-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-dark);
}

.map-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--white);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (min-width: 768px) {
  .map-wrap iframe { height: 500px; }
}

@media (min-width: 1024px) {
  .map-wrap iframe { height: 550px; }
}

@media (max-width: 900px) {
  .contact-form-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
}

@media (max-width: 640px) {
  .contact-wrap { padding: 1.25rem 1rem 2rem; }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
  }
  .contact-card { padding: 1.25rem; }
  .contact-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
  }
  .contact-card-icon svg { width: 20px; height: 20px; }
  .contact-card h3 { font-size: 0.8rem; }
  .contact-card-value {
    font-size: 1rem;
    word-break: break-word;
    line-height: 1.4;
  }
  .contact-card-hint { font-size: 0.75rem; }
  .contact-form-section { gap: 1.5rem; }
  .contact-form-box { padding: 1.5rem; }
  .contact-form-box h2 { font-size: 1.2rem; }
  .contact-form-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
  .contact-visual-inner { min-height: 240px; }
  .map-section { padding: 2rem 1rem 3rem; }
  .map-section h2 { font-size: 1.25rem; }
  .map-desc { font-size: 0.9rem; }
  .map-link-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1rem;
  }
}

/* 16) Referanslar – ref-grid
   -------------------------------------------------------------------------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.ref-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ref-card span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* 17) Blog – blog-wrap, blog-grid, blog-card
   -------------------------------------------------------------------------- */
.blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img span { font-size: 3rem; opacity: 0.4; }

.blog-card-body { padding: 1.5rem; }

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
