/* Core Architectural Dark Glassmorphism CSS */
:root {
  --bg-dark: #07090e;
  --bg-card: #0d111a;
  --bg-card-hover: #161c2b;
  --accent-gold: #dfac6c;
  --accent-gold-glow: rgba(223, 172, 108, 0.25);
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-slate);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, #dfac6c 50%, #b8833e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(13, 17, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-gold {
  background: rgba(22, 28, 43, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 172, 108, 0.3);
  box-shadow: 0 12px 40px rgba(223, 172, 108, 0.1);
}

.glass-card {
  background: rgba(22, 28, 43, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1rem;
}

.glass-card:hover {
  background: rgba(22, 28, 43, 0.9);
  border-color: rgba(223, 172, 108, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(223, 172, 108, 0.15);
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Header & Nav */
header.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.sticky-nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(7, 9, 14, 0.95);
  border-bottom: 1px solid rgba(223, 172, 108, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s ease;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.btn-header-wa {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.btn-header-quote {
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Mobile Toggle & Menu Drawer */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-dropdown-menu {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  background: rgba(13, 17, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(223, 172, 108, 0.3);
  padding: 1.5rem;
  z-index: 99;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  gap: 1rem;
}

.mobile-dropdown-menu.active {
  display: flex;
}

.mobile-dropdown-menu a {
  color: var(--text-slate);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu a:hover, .mobile-dropdown-menu a.active {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
  color: var(--bg-dark);
  box-shadow: 0 8px 25px var(--accent-gold-glow);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-emerald {
  background: #10b981;
  color: var(--bg-dark);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  background: #34d399;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
}

/* Pricing Grid 3+3 Desktop Layout */
.pricing-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .pricing-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid-3x2 {
    grid-template-columns: 1fr;
  }
}

/* Pricing Grid Cards */
.price-card {
  background: rgba(22, 28, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(223, 172, 108, 0.15);
}

.price-card-popular {
  border-color: var(--accent-gold);
  background: rgba(22, 28, 43, 0.9);
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Mobile Sticky Conversion Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  
  header.sticky-nav .header-actions .btn-header-wa,
  header.sticky-nav .header-actions .btn-header-quote,
  .header-actions .btn-header-wa,
  .header-actions .btn-header-quote,
  .btn-header-wa,
  .btn-header-quote {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .mobile-bottom-bar {
    display: grid !important;
  }

  .header-actions {
    gap: 0 !important;
  }
}

/* Animated Keyframes & Dynamic Effects */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(223, 172, 108, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(223, 172, 108, 0.45);
    transform: scale(1.02);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* Programkur.com.tr Style Interactive Animated Service Canvas */
.service-canvas-window {
  background: #090d16;
  border: 1px solid rgba(223, 172, 108, 0.3);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(223, 172, 108, 0.12);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.service-canvas-window:hover {
  border-color: rgba(223, 172, 108, 0.6);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.95), 0 0 50px rgba(223, 172, 108, 0.25);
}

.service-canvas-header {
  background: rgba(13, 17, 26, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red { background: #ff5f57; }
.mac-dot-yellow { background: #febc2e; }
.mac-dot-green { background: #28c840; }

.floating-status-chip {
  position: absolute;
  z-index: 15;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 172, 108, 0.35);
  padding: 0.6rem 1rem;
  border-radius: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s ease;
}

.floating-status-chip:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--accent-gold);
}

#canvasMainImg {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Header Animated Links & Brand Pulse */
.nav-links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), #f59e0b);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.brand-icon {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(6deg) scale(1.08);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.5);
}

/* Process Steps / Aşamalar Card Animation Styles */
.process-step-card {
  position: relative;
  background: rgba(13, 17, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.process-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 172, 108, 0.4);
  box-shadow: 0 20px 45px -10px rgba(223, 172, 108, 0.18);
  background: rgba(22, 28, 43, 0.9);
}

.process-step-card:hover::before {
  opacity: 1;
}

.step-badge {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(223, 172, 108, 0.15), rgba(223, 172, 108, 0.05));
  border: 1px solid rgba(223, 172, 108, 0.3);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s ease;
}

.process-step-card:hover .step-badge {
  background: linear-gradient(135deg, var(--accent-gold), #b8833e);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.4);
  transform: scale(1.1) rotate(-3deg);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Base Styles */
footer {
  background: #05070c;
  border-top: 1px solid rgba(223, 172, 108, 0.15);
  padding: 4.5rem 0 5rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* Footer Animated Underline & Links */
.footer-col ul a {
  position: relative;
  display: inline-block;
  color: var(--text-slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-col ul a:hover::after {
  width: 100%;
}

/* Glass Card Hover (Directive 9: translateY -3px, 200ms, no 3D tilt) */
.glass-card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 172, 108, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Floating Action Buttons Stack (Instagram, WhatsApp, Phone - Vertical Stack) */
.floating-contact-stack {
  position: fixed;
  bottom: 2rem;
  right: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

.floating-btn {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 25px rgba(214, 36, 159, 0.45);
}

.floating-ig:hover {
  box-shadow: 0 12px 30px rgba(214, 36, 159, 0.65);
}

.floating-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-wa:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.floating-phone {
  background: #0d1322;
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 25px rgba(13, 19, 34, 0.7);
}

.floating-phone:hover {
  box-shadow: 0 12px 30px rgba(223, 172, 108, 0.5);
  border-color: var(--accent-gold);
}

.floating-wa.single-pulse {
  animation: singleScalePulse 500ms cubic-bezier(.2,.7,.2,1) 1 forwards;
}

@keyframes singleScalePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

/* 5. Hero Architectural Technical Line Animation (Runs Once 1.5s, Opacity ~8%) */
.hero-draft-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.08;
  z-index: 1;
}

.draw-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawStrokeOnce 1.5s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes drawStrokeOnce {
  to {
    stroke-dashoffset: 0;
  }
}

/* 8. Architectural Software Ticker Bar (35s Slow Marquee) */
.software-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(5, 7, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  position: relative;
  user-select: none;
}

.software-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}

.software-ticker-track:hover {
  animation-play-state: paused;
}

.software-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  color: var(--text-slate);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease;
}

.software-chip:hover {
  border-color: rgba(223, 172, 108, 0.4);
  color: var(--accent-gold);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Signature Architectural Production Process Section (Plan -> 3D Model -> Render -> Pafta) */
.signature-process-wrap {
  position: relative;
  padding-top: 1rem;
}

.signature-progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-bottom: 2.25rem;
  overflow: hidden;
}

.signature-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, #eedaa7 100%);
  box-shadow: 0 0 12px rgba(223, 172, 108, 0.6);
  transition: width 400ms cubic-bezier(.16, 1, 0.3, 1);
}

.signature-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.signature-step-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(13, 17, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.45;
  transform: scale(0.98);
  will-change: opacity, transform;
  transition: opacity 350ms cubic-bezier(.16, 1, 0.3, 1), transform 350ms cubic-bezier(.16, 1, 0.3, 1), border-color 350ms ease, box-shadow 350ms ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.signature-step-card.is-active,
.signature-step-card:hover {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(223, 172, 108, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.signature-step-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 172, 108, 0.4);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.signature-step-card.is-active .signature-step-badge {
  background: var(--accent-gold);
  color: #07090e;
  border-color: #ffffff;
}

@media (max-width: 992px) {
  .signature-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .signature-process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .signature-progress-track {
    display: none;
  }
}

/* 12. Reference Project Card Image Hover (1 -> 1.025 in 350ms) */
.ref-card-wrapper {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #040508;
}

.ref-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms cubic-bezier(.2,.7,.2,1);
}

.ref-card-wrapper:hover .ref-card-img {
  transform: scale(1.025);
}

.ref-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.92) 0%, rgba(7, 9, 14, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: opacity 250ms ease;
}

.ref-card-wrapper:hover .ref-card-overlay {
  opacity: 1;
}

/* 9. Connected Architectural Process Line */
.process-line-wrap {
  position: relative;
}

.process-line-connector {
  position: absolute;
  top: 2.2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(223,172,108,0.1) 0%, rgba(223,172,108,0.5) 50%, rgba(223,172,108,0.1) 100%);
  border-top: 1px dashed rgba(223, 172, 108, 0.4);
  z-index: 0;
}

@media (max-width: 992px) {
  .process-line-connector {
    display: none;
  }
}

/* 1. Global Scroll Reveal (Directive 1: translateY 14px -> 0, 550ms cubic-bezier(.2,.7,.2,1)) */
.js-active .scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
  transition: opacity 550ms cubic-bezier(.2,.7,.2,1), transform 550ms cubic-bezier(.2,.7,.2,1);
}

.js-active .scroll-reveal.scroll-reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Jury Student Interactive Section & Status Cards */
.jury-interactive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .jury-interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .jury-interactive-grid {
    grid-template-columns: 1fr;
  }
}

.jury-status-card {
  position: relative;
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.jury-status-card:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 172, 108, 0.4);
  background: rgba(223, 172, 108, 0.06);
}

.jury-status-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(223, 172, 108, 0.1);
  border: 1px solid rgba(223, 172, 108, 0.25);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, color 200ms ease, border-color 200ms ease;
}

.jury-status-card:hover .jury-status-icon {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.jury-status-card.seq-highlight {
  border-color: var(--accent-gold);
  background: rgba(223, 172, 108, 0.12);
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.25);
}

.jury-clock-svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}

.jury-clock-svg.rotate-once {
  transform: rotate(6deg);
}

@media (max-width: 768px) {
  .floating-contact-stack {
    bottom: 5.2rem;
    right: 0.85rem;
    gap: 0.6rem;
  }
  .floating-btn {
    width: 2.85rem;
    height: 2.85rem;
  }
}

/* 4. Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .hero-draft-svg,
  .draw-path,
  .software-ticker-track,
  .floating-btn,
  .floating-wa,
  .glass-card,
  .ref-card-img,
  .ref-card-overlay,
  .jury-status-card,
  .jury-clock-svg,
  .hero-3layer-img,
  .ba-slider-before,
  .a0-sheet-part,
  .storytelling-visual-layer {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
    clip-path: none !important;
  }
}

/* ==========================================================================
   ARCHITECTURAL PREMIUM MOTION & SCROLL INTERACTION SYSTEM (v20260920)
   ========================================================================== */

/* 1. Global Architectural Grid & Line Draw Utilities */
.arch-grid-bg {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(223, 172, 108, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(223, 172, 108, 0.05) 1px, transparent 1px);
}

.hero-mask-title {
  display: block;
  overflow: hidden;
}

.hero-mask-title > span {
  display: block;
}

.js-active .hero-mask-title > span {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), opacity 800ms ease;
}

.js-active .hero-mask-title.is-revealed > span {
  transform: translateY(0);
  opacity: 1;
}

.arch-line-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-line-draw.is-drawn {
  stroke-dashoffset: 0;
}

/* 2. Hero 3-Layer Visual Assembly & 3D Tilt */
.hero-3layer-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(223, 172, 108, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 200ms ease-out;
}

.hero-3layer-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-layer-wireframe {
  z-index: 1;
  filter: contrast(150%) hue-rotate(180deg) brightness(1.2);
  opacity: 1;
}

.hero-layer-model {
  z-index: 2;
  opacity: 0;
  filter: saturate(30%) brightness(0.9);
}

.hero-layer-render {
  z-index: 3;
  opacity: 0;
}

.hero-3layer-container.step-model .hero-layer-model {
  opacity: 1;
}

.hero-3layer-container.step-render .hero-layer-render {
  opacity: 1;
}

/* 3. Stage Cards ("Projenin Hangi Aşamasında Desteğe İhtiyacın Var?") */
.stage-timeline-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.stage-timeline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
  transition: width 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-grid-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stage-grid-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stage-grid-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 992px) {
  .stage-grid-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stage-grid-row-3 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .stage-grid-row-4,
  .stage-grid-row-3 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.stage-card-item {
  position: relative;
  background: rgba(13, 17, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), 
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 600ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 300ms ease,
              background 300ms ease;
}

.stage-card-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

.stage-grid-container:hover .stage-card-item:not(:hover) {
  opacity: 0.85;
}

.stage-card-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-gold);
  background: rgba(223, 172, 108, 0.08);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.stage-card-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.stage-card-icon-svg {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto 0.75rem auto;
  color: var(--text-slate);
  transition: transform 300ms ease, color 300ms ease;
}

.stage-card-item:hover .stage-card-icon-svg {
  transform: scale(1.15) rotate(-3deg);
  color: var(--accent-gold);
}

/* 4. Department Cards ("Bölümünü Seç") */
.dept-card-container {
  position: relative;
  background: rgba(13, 17, 26, 0.8);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.dept-card-container:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 20px 40px rgba(223, 172, 108, 0.15);
}

.dept-border-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.dept-border-path {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 800ms ease-in-out;
}

.dept-card-container.is-selected .dept-border-path {
  stroke-dashoffset: 0;
}

.dept-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.dept-img-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.dept-blueprint-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: opacity 350ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.dept-card-container:hover .dept-blueprint-overlay {
  opacity: 1;
}

.dept-card-container:hover .dept-img-base {
  transform: scale(1.05);
  filter: contrast(110%);
}

/* 5. Scroll Storytelling ("Bir Proje Nasıl Gelişiyor?") */
.storytelling-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .storytelling-grid {
    grid-template-columns: 1fr;
  }
}

.storytelling-sticky-col {
  position: sticky;
  top: 100px;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(223, 172, 108, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #040508;
}

.storytelling-visual-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: opacity 600ms ease, clip-path 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.storytelling-visual-layer.is-active {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.storytelling-step-card {
  background: rgba(13, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2rem;
  opacity: 0.35;
  transform: scale(0.98);
  transition: opacity 400ms ease, transform 400ms ease, border-color 400ms ease;
}

.storytelling-step-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent-gold);
  background: rgba(22, 28, 43, 0.9);
  box-shadow: 0 15px 35px rgba(223, 172, 108, 0.12);
}

/* 6. Drafting Table Steps ("Nasıl Çalışıyoruz?") */
.drafting-table-container {
  position: relative;
  background: #07090e;
  border: 1px solid rgba(223, 172, 108, 0.2);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  overflow: hidden;
}

.drafting-table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .drafting-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .drafting-table-grid {
    grid-template-columns: 1fr;
  }
}

.drafting-step-box {
  background: rgba(13, 17, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.drafting-step-box.is-active {
  border-color: var(--accent-gold);
  background: rgba(223, 172, 108, 0.08);
  transform: translateY(-4px);
}

.drafting-icon-svg {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem auto;
  color: var(--accent-gold);
}

/* 7. Expandable Package Cards */
.pkg-grid-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pkg-grid-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pkg-grid-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 830px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 992px) {
  .pkg-grid-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pkg-grid-row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .pkg-grid-row-3,
  .pkg-grid-row-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.pkg-card-expandable {
  background: #0e121b;
  border: 1px solid rgba(223, 172, 108, 0.25);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.pkg-card-expandable:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(223, 172, 108, 0.15);
}

.pkg-details-container {
  max-height: none;
  opacity: 1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: block;
}

.btn-expand-trigger {
  display: none;
}

/* Subpage H1 Hero Banner Image (Half size) */
.subpage-h1-image-box {
  max-width: 460px !important;
  margin: 1.5rem 0 2rem 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(223, 172, 108, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: #0e121b;
}

/* 8. Interactive Before/After Sliders (Wireframe / Final & Ham / Post-Production) */
.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(223, 172, 108, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-slider-after-img,
.ba-slider-before-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider-before-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--slider-pos, 50%);
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--accent-gold);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
}

.ba-slider-before-wrap .ba-slider-before-img {
  width: 100%;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: var(--slider-pos, 50%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(223, 172, 108, 0.6);
  z-index: 10;
  pointer-events: none;
}

.ba-badge-label {
  position: absolute;
  top: 1rem;
  z-index: 5;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 172, 108, 0.3);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ba-badge-before { left: 1rem; }
.ba-badge-after { right: 1rem; }

/* 9. Scroll-linked A0 Sheet Assembly (`/mimari-sunum-paftasi/`) */
.a0-sheet-grid {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 1.414 / 1;
  background: #090d16;
  border: 2px dashed rgba(223, 172, 108, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.a0-sheet-item {
  background: rgba(22, 28, 43, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.a0-sheet-item.is-placed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* 10. Magnetic Button Hover & Custom Cursor Indicator */
.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform 200ms ease-out;
}

.btn-magnetic .btn-arrow {
  transition: transform 250ms ease;
}

.btn-magnetic:hover .btn-arrow {
  transform: translateX(5px);
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  box-shadow: 0 10px 25px rgba(223, 172, 108, 0.5);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 150ms ease-out, opacity 150ms ease-out;
  opacity: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-cursor-follower.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* 11. Floating Mobile Safe Area Conversion Bar */
.floating-mobile-bar {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(223, 172, 108, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  transition: bottom 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-mobile-bar.is-visible {
  bottom: 0;
}

@media (min-width: 769px) {
  .floating-mobile-bar {
    display: none !important;
  }
}


