/* ===================== CUSTOM PROPERTIES ===================== */
:root {
  --primary:     #1a365d;
  --secondary:   #2b6cb0;
  --accent:      #63b3ed;
  --bg:          #f7fafc;
  --card-bg:     #ffffff;
  --text:        #2d3748;
  --text-light:  #718096;
  --white:       #ffffff;
  --border:      #e2e8f0;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container-max:   1200px;
  --section-padding: clamp(64px, 9vw, 108px) 0;
  --radius:          12px;
  --shadow:          0 4px 20px rgba(26, 54, 93, 0.08);
  --shadow-hover:    0 10px 40px rgba(26, 54, 93, 0.16);
  --transition:      0.3s ease;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text); background: var(--bg);
        line-height: 1.7; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; }

/* ===================== UTILITY ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(43, 108, 176, 0.1);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(43, 108, 176, 0.35);
}
.btn-primary:hover  { background: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(43, 108, 176, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--bg); transform: translateY(-2px); }

/* Scroll animations */
.fade-in       { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible { opacity: 1; transform: translate(0); }


/* ===================== NAVIGATION ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(22, 45, 80, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 12px;
}
.lang-switch a {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.82rem; font-weight: 600;
  transition: color var(--transition);
  padding: 4px 0;
}
.lang-switch a:hover { color: var(--white) !important; }
.lang-switch a.active { color: var(--accent) !important; }
.lang-switch a::after { display: none !important; }
.lang-switch-sep {
  color: rgba(255,255,255,0.3); font-size: 0.82rem; user-select: none;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--primary);
  flex-direction: column; align-items: center; justify-content: center; gap: 44px;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--accent); }

.nav-mobile-close {
  position: absolute; top: 22px; right: clamp(18px, 5vw, 48px);
  background: none; border: none; color: var(--white);
  font-size: 2rem; line-height: 1;
}


/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2340 0%, var(--primary) 45%, #1e3a6e 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 0 120px;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(99, 179, 237, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(99, 179, 237, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 65% 85%, rgba(43, 108, 176, 0.12) 0%, transparent 40%);
}

.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 179, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 237, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero .container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content { max-width: 600px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(99, 179, 237, 0.14);
  border: 1px solid rgba(99, 179, 237, 0.3);
  color: var(--accent);
  font-size: 0.85rem; font-weight: 500;
  padding: 8px 18px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700; color: var(--white);
  line-height: 1.18; margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero h1 em { color: var(--accent); font-style: normal; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.72);
  max-width: 540px; margin-bottom: 44px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.35); font-size: 0.72rem; letter-spacing: 1px;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Hero Visual / Dashboard Mockup ---- */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}

.hero-dash {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(99,179,237,0.22);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  width: 100%; max-width: 420px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,179,237,0.08);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hd-topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
}
.hd-dots { display: flex; gap: 6px; }
.hd-dots i {
  display: block; width: 10px; height: 10px; border-radius: 50%;
}
.hd-dots i:nth-child(1) { background: rgba(255,95,87,0.7); }
.hd-dots i:nth-child(2) { background: rgba(255,188,46,0.7); }
.hd-dots i:nth-child(3) { background: rgba(39,201,63,0.7); }
.hd-tab-row { display: flex; gap: 6px; }
.hd-tab {
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px; border-radius: 6px;
}
.hd-tab.active { color: var(--accent); background: rgba(99,179,237,0.12); }

.hd-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hd-stat {
  padding: 16px 12px; text-align: center;
  background: rgba(10,25,50,0.5);
}
.hd-val {
  display: block;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 5px;
}
.hd-lbl {
  display: block; font-size: 0.7rem;
  color: rgba(255,255,255,0.45); letter-spacing: 0.3px;
}

.hd-chart-wrap { padding: 18px 18px 8px; }
.hd-chart-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.35);
  margin-bottom: 12px; letter-spacing: 0.3px;
}
.hd-bars {
  display: flex; align-items: flex-end; gap: 7px; height: 72px;
}
.hd-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(99,179,237,0.28);
  transition: background var(--transition);
}
.hd-bar.hi { background: rgba(99,179,237,0.7); }
.hd-bar.peak { background: var(--accent); }

.hd-items { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.hd-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
}
.hd-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hd-item-val {
  margin-left: auto; font-weight: 600;
  color: rgba(255,255,255,0.85); font-size: 0.72rem;
  background: rgba(255,255,255,0.07); padding: 2px 8px; border-radius: 100px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}


/* ===================== HİZMETLER ===================== */
.hizmetler { padding: var(--section-padding); background: var(--bg); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(43,108,176,0.1), rgba(99,179,237,0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 600;
  color: var(--primary); margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 1.75; margin-bottom: 24px;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  background: rgba(43, 108, 176, 0.08);
  color: var(--secondary);
  font-size: 0.77rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
}


/* ===================== NASIL ÇALIŞIYORUM ===================== */
.nasil-calisiyorum {
  padding: var(--section-padding);
  background: var(--primary);
  position: relative; overflow: hidden;
}
.nasil-calisiyorum::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.nasil-calisiyorum .section-tag   { background: rgba(99,179,237,0.15); color: var(--accent); }
.nasil-calisiyorum .section-title  { color: var(--white); }
.nasil-calisiyorum .section-subtitle { color: rgba(255,255,255,0.62); }

.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative; z-index: 1;
}
.timeline::before {
  content: ''; position: absolute;
  top: 39px;
  left: calc(12.5% + 0px); right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(99,179,237,0.25) 100%);
}

.timeline-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 700;
  color: var(--accent);
  margin-bottom: 28px;
  position: relative; z-index: 2;
  transition: all var(--transition);
}
.timeline-step:hover .step-number {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(99,179,237,0.12);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.98rem; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.step-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.65; }


/* ===================== HAKKIMDA ===================== */
.hakkimda { padding: var(--section-padding); background: var(--bg); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: center;
}

.about-photo { position: relative; }

.profile-photo {
  width: 100%; max-width: 380px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
}

.photo-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--secondary); color: var(--white);
  padding: 12px 20px; border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 4px 18px rgba(43,108,176,0.32);
}

.about-content .section-header { text-align: left; margin-bottom: 24px; }

.about-role {
  font-size: 1rem; font-weight: 500;
  color: var(--secondary);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.about-bio {
  font-size: 1.05rem; color: var(--text);
  line-height: 1.85; margin-bottom: 32px;
}

.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }

.tech-badge {
  display: flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--border);
  color: var(--text); font-size: 0.85rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: all var(--transition);
}
.tech-badge:hover { border-color: var(--accent); color: var(--secondary); }

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.stat-item {
  text-align: center; padding: 22px 12px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.stat-item:hover { transform: translateY(-3px); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  color: var(--secondary); line-height: 1; margin-bottom: 8px;
}

.stat-label { font-size: 0.78rem; color: var(--text-light); line-height: 1.4; }


/* ===================== ÖRNEK PROJELER (CAROUSEL) ===================== */
.projeler { padding: var(--section-padding); background: var(--white); overflow: hidden; }

.carousel-wrapper { position: relative; max-width: 900px; margin: 0 auto; }

.carousel-viewport { overflow: hidden; border-radius: var(--radius); }

.carousel-track {
  display: flex;
  transition: transform 0.52s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.project-card {
  min-width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.project-visual {
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
}
.project-visual svg {
  width: 80px; height: 80px;
  opacity: 0.22; color: #fff; position: relative; z-index: 1;
}
.project-visual-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

.project-body {
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
}

.project-sector {
  display: inline-block;
  background: rgba(43,108,176,0.1);
  color: var(--secondary);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  margin-bottom: 18px; width: fit-content;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary); margin-bottom: 14px; line-height: 1.25;
}

.project-desc {
  font-size: 0.97rem; color: var(--text-light); line-height: 1.78;
}

/* Controls */
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 28px;
}

.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); cursor: pointer;
  transition: all var(--transition); box-shadow: var(--shadow); flex-shrink: 0;
}
.carousel-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.carousel-dots { display: flex; gap: 8px; align-items: center; }

.carousel-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--border); border: none; cursor: pointer;
  transition: all 0.35s ease; padding: 0;
}
.carousel-dot.active { background: var(--secondary); width: 28px; }

@media (max-width: 768px) {
  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 180px; border-radius: var(--radius) var(--radius) 0 0; }
  .project-body { padding: 28px 24px; }
  .project-title { font-size: 1.2rem; }
}


/* ===================== CTA BANNER ===================== */
.cta-banner {
  padding: 84px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(99,179,237,0.12) 0%, transparent 55%);
}
.cta-banner .container { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.72);
  max-width: 480px; margin: 0 auto 36px;
}


/* ===================== İLETİŞİM ===================== */
.iletisim { padding: var(--section-padding); background: var(--bg); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }

/* Form */
.contact-form {
  background: var(--white); padding: 40px;
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 600;
  color: var(--primary); margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text); margin-bottom: 7px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--bg); outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--secondary); background: var(--white); }

.form-group textarea { height: 130px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  width: 100%; background: var(--secondary); color: var(--white);
  padding: 14px; border-radius: 8px;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  border: none; transition: all var(--transition);
}
.btn-submit:hover    { background: var(--primary); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success svg { width: 56px; height: 56px; color: #38a169; margin: 0 auto 16px; display: block; }
.form-success h3  { font-family: var(--font-heading); color: var(--primary); margin-bottom: 8px; }
.form-success p   { color: var(--text-light); font-size: 0.95rem; }

.form-error {
  display: none; text-align: center; padding: 48px 24px;
}
.form-error svg { width: 56px; height: 56px; color: #e53e3e; margin: 0 auto 16px; display: block; }
.form-error h3  { font-family: var(--font-heading); color: #e53e3e; margin-bottom: 8px; font-size: 1.05rem; }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.contact-info-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--primary); }

.contact-items { display: flex; flex-direction: column; gap: 20px; }

.contact-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-item-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(43,108,176,0.09);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); flex-shrink: 0;
}

.contact-item-label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 4px; }
.contact-item-value { font-size: 0.93rem; color: var(--text); font-weight: 500; }


/* ===================== FOOTER ===================== */
.footer { background: var(--primary); padding: 32px 0; }

.footer .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-logo span { color: var(--accent); }

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); transition: all var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }


/* ===================== PROJECT OUTCOME ===================== */
.project-outcome {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  background: rgba(99,179,237,0.1);
  border: 1px solid rgba(99,179,237,0.25);
  color: #90cdf4;
  font-size: 0.8rem; font-weight: 600;
  padding: 7px 13px; border-radius: 8px;
  width: fit-content;
}
.project-outcome svg { flex-shrink: 0; }

/* ===================== REFERANSLAR ===================== */
.referanslar { padding: var(--section-padding); background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.t-stars { color: #f6ad55; font-size: 1rem; letter-spacing: 3px; }

.t-quote {
  font-size: 0.96rem; color: var(--text); line-height: 1.82;
  font-style: italic; flex: 1; position: relative;
  padding-left: 16px;
}
.t-quote::before {
  content: '"';
  font-size: 3.5rem; line-height: 0;
  color: rgba(43,108,176,0.13);
  font-family: Georgia, serif;
  position: absolute; top: 24px; left: -4px;
}

.t-author { display: flex; align-items: center; gap: 13px; }

.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.05rem; color: #fff; flex-shrink: 0;
}

.t-name { font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.t-role { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }


/* ===================== DETAIL PAGE — PROJECT HERO ===================== */
.project-hero {
  min-height: 52vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.project-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,179,237,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,179,237,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.project-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent); }

.project-hero-tag {
  display: inline-block;
  background: rgba(99,179,237,0.18);
  border: 1px solid rgba(99,179,237,0.35);
  color: var(--accent);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 20px;
}

.project-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 22px;
  max-width: 700px;
  letter-spacing: -0.3px;
}

.project-hero-outcome {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,179,237,0.14);
  border: 1px solid rgba(99,179,237,0.3);
  color: #90cdf4;
  font-size: 0.9rem; font-weight: 600;
  padding: 9px 18px; border-radius: 8px;
}


/* ===================== DETAIL PAGE — "VIEW DETAILS" LINK ON CAROUSEL ===================== */
.project-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.83rem; font-weight: 600;
  transition: gap var(--transition), opacity var(--transition);
  width: fit-content;
}
.project-link:hover { gap: 10px; opacity: 0.85; }


/* ===================== DETAIL PAGE — CONTENT SECTIONS ===================== */
.detail-section { padding: var(--section-padding); background: var(--bg); }
.detail-section.alt { background: var(--white); }

.detail-prose {
  max-width: 780px;
  margin: 0 auto;
}
.detail-prose p {
  font-size: 1.05rem; color: var(--text); line-height: 1.85;
  margin-bottom: 20px;
}
.detail-prose p:last-child { margin-bottom: 0; }


/* ===================== DETAIL PAGE — HIGHLIGHTS ===================== */
.highlights-list {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 780px; margin: 0 auto;
}
.highlight-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-item:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.highlight-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(43,108,176,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); flex-shrink: 0; margin-top: 1px;
}
.highlight-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 600;
  color: var(--primary); margin-bottom: 4px;
}
.highlight-text p {
  font-size: 0.88rem; color: var(--text-light);
  line-height: 1.6; margin: 0;
}


/* ===================== DETAIL PAGE — TECH STACK (centered) ===================== */
.tech-stack-centered {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; max-width: 700px; margin: 0 auto;
}


/* ===================== DETAIL PAGE — SCREENSHOTS ===================== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 960px; margin: 0 auto;
}
.screenshot-placeholder {
  aspect-ratio: 16/9;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--text-light);
  font-size: 0.83rem; text-align: center; padding: 20px;
  transition: border-color var(--transition), background var(--transition);
}
.screenshot-placeholder:hover { border-color: var(--accent); background: var(--white); }
.screenshot-placeholder svg { opacity: 0.35; }
.screenshot-label { font-weight: 500; color: var(--text-light); }
.screenshot-hint  { font-size: 0.75rem; color: var(--border); margin-top: -4px; }

.screenshot-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  display: block;
}


/* ===================== DETAIL PAGE — VIDEO ===================== */
.video-wrap { max-width: 780px; margin: 0 auto; }
.video-placeholder {
  aspect-ratio: 16/9;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  color: var(--text-light);
  transition: border-color var(--transition);
}
.video-placeholder:hover { border-color: var(--accent); }
.video-play-btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(43,108,176,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  transition: background var(--transition), transform var(--transition);
}
.video-placeholder:hover .video-play-btn { background: rgba(43,108,176,0.18); transform: scale(1.06); }
.video-placeholder p { font-size: 0.88rem; font-weight: 500; }

.video-embed {
  aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.video-embed iframe { width: 100%; height: 100%; border: none; }


/* ===================== DETAIL PAGE — RESULTS ===================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px; max-width: 720px; margin: 0 auto;
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline::before { display: none; }
  .timeline-step { padding: 0 16px; }

  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { display: flex; justify-content: center; }

  .sektor-grid   { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .navbar .lang-switch { display: none; }
  .hamburger { display: flex; }

  .timeline { grid-template-columns: 1fr; gap: 36px; }

  .cards-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }

  .footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta    { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .stats-grid  { grid-template-columns: 1fr; }
  .about-photo .photo-badge { right: 8px; bottom: -8px; }
}
