/* ════════════════════════════════════════
   KUZEN YAPI — Premium Site Stili
   Açık tema / Light mode premium design
   ════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── ROOT / TOKENS ── */
:root {
  /* Light palette (içerik bölümleri) */
  --bg:      #ffffff;
  --bg-alt:  #f7f8fc;
  --bg-card: #ffffff;

  /* Dark palette (hero, stats, footer) */
  --dark:    #080d14;
  --dark2:   #0d1521;
  --dark3:   #111c2d;

  /* Brand */
  --navy:    #0f172a;
  --blue:    #2563eb;
  --blue-d:  #1d4ed8;
  --blue-l:  #3b82f6;
  --blue-xl: #93c5fd;
  --gold:    #b8882a;
  --gold-l:  #d4a843;
  --gold-xl: #f0c96a;

  /* Text (light sections) */
  --txt:     #0f172a;
  --txt-2:   #334155;
  --txt-3:   #64748b;
  --txt-4:   #94a3b8;

  /* Borders & shadows */
  --border:  #e2e8f0;
  --border2: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-blue: 0 20px 60px rgba(37,99,235,.14);
  --shadow-gold: 0 12px 40px rgba(184,136,42,.2);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease:      cubic-bezier(0.23, 1, 0.32, 1);
  --t:         0.35s;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: none; font-family: inherit; border: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--blue-l); border-radius: 3px; }

/* ══════════════════════════════════
   SCROLL PROGRESS BAR
══════════════════════════════════ */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 99999;
  background: linear-gradient(90deg, var(--blue), var(--gold-l));
  width: 0; transition: width .1s linear;
  pointer-events: none;
}

/* ══════════════════════════════════
   CURSOR SPARKLE TRAIL
══════════════════════════════════ */
.cursor-spark {
  position: fixed; pointer-events: none; z-index: 99995;
  border-radius: 50%; transform: translate(-50%, -50%) scale(1);
  transition: opacity .55s ease, transform .55s ease;
}

/* ══════════════════════════════════
   NOISE GRAIN OVERLAY
══════════════════════════════════ */
.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ══════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════ */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 99997;
  transform: translate(-50%, -50%);
  transition: width .18s var(--ease), height .18s var(--ease), background .18s;
  mix-blend-mode: multiply;
}
#cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(37,99,235,.35);
  border-radius: 50%; pointer-events: none; z-index: 99996;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s;
}
/* Hover states */
body.cursor-hover #cursor       { width: 12px; height: 12px; background: var(--gold); }
body.cursor-hover #cursor-follower { width: 56px; height: 56px; border-color: rgba(184,136,42,.4); }

/* ══════════════════════════════════
   PAGE LOADER
══════════════════════════════════ */
#page-loader {
  position: fixed; inset: 0; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 99990;
  transition: opacity .7s var(--ease), visibility .7s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.loader-logo-img {
  height: 110px; width: auto;
  filter: brightness(0) invert(1);
  animation: loaderPulse 1.6s ease infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: .75; }
}
.loader-bar { width: 180px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader-progress {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  animation: loadProg 2s var(--ease) forwards;
}
@keyframes loadProg { from { width: 0 } to { width: 100% } }

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: all var(--t) var(--ease);
}
#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.06);
}
/* Dark bg at top → white text; scrolled → dark text */
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.85); }
#navbar:not(.scrolled) .nav-logo-img { filter: brightness(0) invert(1); }
#navbar:not(.scrolled) .hamburger span { background: rgba(255,255,255,.85); }
#navbar.scrolled .nav-links a { color: var(--txt-2); }
#navbar.scrolled .nav-logo-img { filter: none; }

.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 64px; width: auto; transition: filter .3s; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  color: var(--txt-2); transition: all .2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--navy); }
.nav-links .nav-cta {
  background: var(--blue); color: #fff !important; padding: 9px 22px;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.nav-links .nav-cta:hover { background: var(--blue-d); box-shadow: 0 6px 20px rgba(37,99,235,.4); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 8px; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ══════════════════════════════════
   MOBILE MENU
══════════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0; background: rgba(8,13,20,.97);
  backdrop-filter: blur(24px); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-menu a {
  font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600;
  color: rgba(255,255,255,.5); padding: 10px 40px; display: block;
  transition: color .25s;
}
.mobile-menu a:hover { color: #fff; }

/* ══════════════════════════════════
   HERO  (dark dramatic section)
══════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--dark);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .6s; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(8,13,20,.9) 0%, rgba(13,21,33,.6) 60%, rgba(8,13,20,.4) 100%);
  transition: background .6s;
}
/* Arka plan resmi varken overlay hafifler, canvas solar */
#hero.has-bg-image #heroCanvas { opacity: .25; }
#hero.has-bg-image .hero-overlay {
  background: linear-gradient(125deg, rgba(8,13,20,.72) 0%, rgba(13,21,33,.5) 55%, rgba(8,13,20,.28) 100%);
}

/* Arka plan watermark yazısı */
.hero-bg-text {
  position: absolute; right: -2%; bottom: -8%;
  font-family: 'Playfair Display', serif; font-size: clamp(180px, 22vw, 320px);
  font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.04);
  user-select: none; pointer-events: none; line-height: 1;
  letter-spacing: -8px;
}

.hero-content {
  position: relative; z-index: 2;
  padding: clamp(120px, 14vh, 160px) clamp(24px, 7vw, 96px) 80px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 30px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; color: rgba(255,255,255,.75);
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-xl);
  animation: dotPulse 2s ease infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,201,106,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(240,201,106,0); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 700; line-height: 1.08; color: #fff;
  margin-bottom: 24px;
  animation: fadeUp .9s var(--ease) .1s both;
}
.hero-title span {
  background: linear-gradient(135deg, var(--gold-xl), var(--gold-l));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.6);
  line-height: 1.75; margin-bottom: 44px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats   { display: flex; align-items: center; gap: 28px; }
.hero-stat strong {
  display: block; font-size: 30px; font-family: 'Playfair Display', serif;
  font-weight: 700; color: var(--gold-xl);
}
.hero-stat span { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .5px; }
.hero-stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,.12); }

/* Köşe tag */
.hero-corner-tag {
  position: absolute; right: 40px; bottom: 56px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.hero-corner-tag span {
  font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.25); font-family: 'Montserrat', sans-serif; font-weight: 600;
}

/* Scroll mouse */
.hero-scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; animation: fadeIn 1s .8s both;
}
.scroll-mouse {
  width: 26px; height: 40px; border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 13px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px; background: rgba(255,255,255,.5);
  border-radius: 2px; animation: wheelSpin 2s ease infinite;
}
@keyframes wheelSpin {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  81%  { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}
.hero-scroll-indicator > span { font-size: 9px; letter-spacing: 3px; color: rgba(255,255,255,.2); }

/* Reveal-fade for hero elements */
.reveal-fade { animation: fadeUp .85s var(--ease) both; }
.reveal-fade:nth-child(3) { animation-delay: .2s; }
.reveal-fade:nth-child(4) { animation-delay: .35s; }
.reveal-fade:nth-child(5) { animation-delay: .5s; }
.reveal-fade:nth-child(6) { animation-delay: .65s; }

/* ══════════════════════════════════
   MARQUEE BAND
══════════════════════════════════ */
.marquee-section {
  overflow: hidden; background: var(--dark3);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 15px 0;
}
.marquee-track { display: flex; width: max-content; }
.marquee-content {
  display: flex; align-items: center; gap: 36px;
  padding: 0 36px; white-space: nowrap;
  animation: marqueeRoll 28s linear infinite;
}
.marquee-content span {
  font-family: 'Montserrat', sans-serif; font-size: 10px;
  font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.marquee-dot { color: var(--gold) !important; font-size: 7px !important; opacity: .7; }
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ══════════════════════════════════
   SECTION BASE  (light sections)
══════════════════════════════════ */
.section { padding: 104px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 36px; }

.section-header { text-align: center; margin-bottom: 68px; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700; line-height: 1.12; color: var(--navy);
  margin-bottom: 18px;
}

/* Underline decoration on section titles */
.section-title::after {
  content: '';
  display: block; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  margin: 14px auto 0;
}
.about-content .section-title::after { margin-left: 0; }

.section-desc { font-size: 16px; color: var(--txt-3); max-width: 520px; margin: 0 auto; line-height: 1.8; }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  padding: 15px 30px; border-radius: 12px;
  font-weight: 600; font-size: 15px; border: none;
  box-shadow: 0 4px 20px rgba(37,99,235,.3);
  transition: background .25s, box-shadow .25s, transform .4s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}
.btn-primary:hover {
  background: var(--blue-d);
  box-shadow: 0 8px 32px rgba(37,99,235,.4);
}
.btn-primary i { transition: transform .3s var(--ease); }
.btn-primary:hover i { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); color: #fff;
  padding: 15px 30px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: background .25s, border-color .25s, transform .4s var(--ease);
}
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════
   SERVICES  (light bg + 3D tilt)
══════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), border-color .3s, transform .15s;
  transform-style: preserve-3d; will-change: transform; overflow: hidden;
}
/* spotlight glow — position driven by JS --mx/--my */
.service-card-glow {
  position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.09), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.service-card:hover .service-card-glow { opacity: 1; }
.service-card:hover {
  box-shadow: var(--shadow-blue);
  border-color: rgba(37,99,235,.18);
}
/* top color stripe */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0; transition: opacity .35s;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 58px; height: 58px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(37,99,235,.04));
  border: 1px solid rgba(37,99,235,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue);
  margin-bottom: 24px; transition: all .35s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p  { font-size: 14px; color: var(--txt-3); line-height: 1.75; }

.service-arrow {
  position: absolute; top: 28px; right: 28px;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--txt-4);
  transition: all .3s var(--ease); opacity: 0; transform: scale(.8);
}
.service-card:hover .service-arrow { opacity: 1; transform: scale(1); color: var(--blue); background: rgba(37,99,235,.08); }

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-frame {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 5/6;
  box-shadow: var(--shadow-lg);
}
.about-image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
  will-change: transform;
}
.about-image-frame:hover img { transform: scale(1.03); }
.about-image-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,13,20,.4), transparent 55%);
}
.about-image-badge {
  position: absolute; bottom: 28px; left: 28px; z-index: 2;
  background: rgba(8,13,20,.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  padding: 16px 24px; text-align: center;
}
.about-image-badge strong {
  display: block; font-size: 36px; font-family: 'Playfair Display', serif;
  font-weight: 700; color: var(--gold-xl); line-height: 1;
}
.about-image-badge span { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; display: block; }

/* Yüzen kart */
.about-float-card {
  position: absolute; top: 36px; right: -28px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.about-float-card i { font-size: 20px; color: var(--blue); }
.about-float-card strong { display: block; font-size: 13px; color: var(--navy); }
.about-float-card span  { font-size: 11px; color: var(--txt-3); }

.about-content .section-title { text-align: left; }
.about-content .section-label { text-align: left; display: block; }
.about-text { font-size: 16px; color: var(--txt-2); line-height: 1.85; margin-bottom: 32px; }

.about-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.about-feature { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--txt-2); }
.about-feature-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--blue);
}

/* ══════════════════════════════════
   PROJECTS
══════════════════════════════════ */
.project-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 44px; justify-content: center;
}
.filter-btn {
  padding: 9px 22px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: var(--bg-alt); border: 1.5px solid var(--border); color: var(--txt-3);
  transition: all .25s;
}
.filter-btn:hover { border-color: var(--blue-l); color: var(--blue); background: rgba(37,99,235,.04); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(37,99,235,.25); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all .45s var(--ease);
  position: relative;
}
/* project card spotlight */
.project-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(37,99,235,.06), transparent 70%);
  opacity: 0; transition: opacity .35s; border-radius: inherit;
}
.project-card:hover::after { opacity: 1; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--border2); }
.project-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,13,20,.8) 0%, transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-body { padding: 22px 26px; }
.project-category {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue);
  background: rgba(37,99,235,.07); border: 1px solid rgba(37,99,235,.15);
  padding: 4px 11px; border-radius: 100px; margin-bottom: 10px;
}
.project-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.project-card p  { font-size: 13px; color: var(--txt-3); line-height: 1.65; }

.projects-empty, .refs-empty {
  text-align: center; padding: 80px 20px; color: var(--txt-4); grid-column: 1 / -1;
}
.projects-empty i { font-size: 44px; margin-bottom: 14px; color: var(--border2); display: block; }

/* ══════════════════════════════════
   STATS  (dark dramatic section)
══════════════════════════════════ */
.stats-section { padding: 0; overflow: hidden; }
.stats-inner {
  background: var(--dark2);
  padding: 100px 0;
  position: relative;
}
.stats-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(37,99,235,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(184,136,42,.08) 0%, transparent 60%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  position: relative;
}
.stat-item {
  text-align: center; padding: 48px 28px;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
  position: relative; overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.02); }
/* spotlight on dark stat cards */
.stat-item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.04), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.stat-item:hover::after { opacity: 1; }
.stat-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(184,136,42,.1); border: 1px solid rgba(184,136,42,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold-l); margin: 0 auto 20px;
}
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 52px;
  font-weight: 700; color: var(--gold-xl); line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 500; letter-spacing: .5px; }

/* ══════════════════════════════════
   REFERENCES
══════════════════════════════════ */
.refs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.ref-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease);
}
.ref-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border2); }
.ref-logo { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.ref-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ref-logo-placeholder {
  width: 76px; height: 76px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-d), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff;
}
.ref-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.ref-testimonial { font-size: 13px; color: var(--txt-3); line-height: 1.65; font-style: italic; }

/* ══════════════════════════════════
   FAQ
══════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.open { border-color: var(--blue-l); box-shadow: 0 4px 20px rgba(37,99,235,.08); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; cursor: none; font-size: 15px; font-weight: 600;
  color: var(--navy); gap: 16px; transition: color .2s;
}
.faq-question:hover { color: var(--blue); }
.faq-question i {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--blue); transition: all .3s var(--ease);
}
.faq-item.open .faq-question i { transform: rotate(45deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.faq-answer {
  padding: 0 28px; max-height: 0; overflow: hidden;
  font-size: 14.5px; color: var(--txt-2); line-height: 1.85;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
}
.faq-item.open .faq-answer { max-height: 320px; padding-bottom: 24px; }

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--blue);
}
.contact-item-label { display: block; font-size: 10.5px; color: var(--txt-4); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--navy); transition: color .2s; }
a.contact-item-value:hover { color: var(--blue); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; height: 240px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }
.map-placeholder {
  width: 100%; height: 100%; background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--txt-3); font-size: 14px;
}
.map-placeholder i { font-size: 32px; color: var(--txt-4); }

.contact-form-wrap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 44px; box-shadow: var(--shadow-sm);
}
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--txt-3); margin-bottom: 8px; letter-spacing: .3px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--navy);
  font-family: inherit; outline: none; transition: border-color .22s, box-shadow .22s;
  appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--txt-4); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  background: #fff;
}
.form-group textarea { resize: vertical; }

/* Contact form — make btn-primary dark text friendly */
#iletisim .btn-primary { width: 100%; justify-content: center; }

.form-success {
  display: flex; align-items: center; gap: 12px; margin-top: 14px;
  background: rgba(16,185,129,.08); border: 1.5px solid rgba(16,185,129,.25);
  padding: 14px 18px; border-radius: 10px; font-size: 14px; color: #059669;
}

/* ══════════════════════════════════
   FOOTER  (dark)
══════════════════════════════════ */
#footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .footer-logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.75; max-width: 280px; }
.footer-logo-img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-links h4, .footer-services h4, .footer-contact h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.footer-links ul, .footer-services ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-services li { font-size: 14px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.75); }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.35); margin-bottom: 10px;
}
.footer-contact i { color: var(--blue-l); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: rgba(255,255,255,.25);
}
.admin-link { color: rgba(255,255,255,.15); font-size: 12px; transition: color .2s; }
.admin-link:hover { color: rgba(255,255,255,.35); }

/* ══════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 92px; right: 28px; z-index: 100;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 4px 24px rgba(37,211,102,.45);
  transition: all .35s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.55); }
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 100;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ══════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Word-split reveal */
.word-wrap { overflow: hidden; display: inline-block; vertical-align: top; }
.word { display: inline-block; transform: translateY(110%); transition: transform .6s var(--ease); }
.reveal.visible .word { transform: translateY(0); }

/* ══════════════════════════════════
   KEYFRAMES
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 56px; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .about-float-card { right: 0; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .section     { padding: 76px 0; }
  .container   { padding: 0 20px; }
  .services-grid  { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .refs-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom  { flex-direction: column; gap: 10px; text-align: center; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .hero-corner-tag { display: none; }
  .form-row-double { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
  body { cursor: auto; }
  #cursor, #cursor-follower { display: none; }
  button { cursor: pointer; }
}

@media (max-width: 480px) {
  .refs-grid   { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-item   { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .hero-stats  { gap: 16px; }
  .hero-stat strong { font-size: 24px; }
}
