/* ============================================
   BALA MÜHENDİSLİK — Design System v6
   Industrial Metal: Brushed Steel + Charcoal + Amber
   Reference-matched layout
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700;800;900&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brushed Metal Palette */
  --metal-100: #e0e3e8;
  --metal-200: #c8cdd3;
  --metal-300: #b0b8c2;
  --metal-400: #9ba3ad;
  --metal-500: #808a96;

  /* Dark Charcoal / Navy */
  --charcoal-950: #0c1018;
  --charcoal-900: #111820;
  --charcoal-800: #1a2332;
  --charcoal-700: #222e40;
  --charcoal-600: #2a3a50;
  --charcoal-500: #364b66;

  /* Text */
  --text-white:   #ffffff;
  --text-light:   #e0e6ec;
  --text-muted:   #8a9ab0;
  --text-dark:    #1a1a1a;
  --text-charcoal:#2c3e50;

  /* Amber / Orange Accent */
  --amber-600: #c27208;
  --amber-500: #d4870e;
  --amber-400: #e9a319;
  --amber-300: #f5b733;
  --amber-200: #fdd462;
  --amber-glow: rgba(212,135,14,0.2);

  /* Logo Blue */
  --bala-blue: #0d5ea6;

  /* Semantic */
  --white: #ffffff;
  --black: #000000;
  --success: #22c55e;

  /* Legacy aliases (inner pages compatibility) */
  --steel-100: var(--text-light);
  --steel-200: var(--text-light);
  --steel-300: var(--text-muted);
  --steel-400: var(--text-muted);
  --steel-500: var(--metal-500);
  --steel-600: var(--charcoal-600);
  --steel-700: var(--charcoal-700);
  --steel-800: var(--charcoal-800);
  --steel-900: var(--charcoal-900);
  --border-subtle: 1px solid rgba(255,255,255,0.06);
  --duration-fast: var(--dur-fast);
  --duration-base: var(--dur-base);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1400px;
  --header-height:  80px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-card:  0 8px 30px rgba(0,0,0,0.4);
  --shadow-amber: 0 4px 24px rgba(212,135,14,0.35);

  /* Brushed metal gradients */
  --metal-gradient: linear-gradient(180deg,
    #d0d5db 0%, #b8bfc8 15%, #c5ccd4 30%,
    #a8b0ba 50%, #b5bcc5 70%, #9ea6b0 85%, #c0c7cf 100%
  );
  --metal-gradient-h: linear-gradient(90deg,
    #c0c7cf 0%, #b0b8c2 20%, #c8cdd3 40%,
    #a0a8b2 60%, #b8bfc8 80%, #c5ccd4 100%
  );

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    150ms;
  --dur-base:    300ms;
  --dur-slow:    600ms;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--metal-300);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a {
  color: var(--amber-400);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--amber-300); }
ul, ol { list-style: none; }

/* --- Layout --- */
.container       { max-width: var(--container-max);  margin: 0 auto; padding: 0 var(--space-xl); }
.container--wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-xl); }
.section         { padding: var(--space-4xl) 0; }
.section--metal  { background: var(--metal-gradient); }
.section--dark {
  background: var(--metal-gradient);
  color: #1e293b;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5 {
  color: #0f172a;
}
.section--dark p,
.section--dark li,
.section--dark dd,
.section--dark span:not(.text-amber):not(.product-badge):not(.overline):not(.iso-badge) {
  color: #334155 !important;
}
.section--dark dt { color: var(--amber-600) !important; }
.section--dark .overline { color: var(--amber-600) !important; }
.section--dark .text-amber { color: var(--amber-600) !important; }
.section--dark a:not(.btn) { color: var(--amber-600); }
.section--dark a:not(.btn):hover { color: var(--amber-500); }
.section--dark .feature-card,
.section--dark .product-visual { background: rgba(0,0,0,0.06) !important; border-color: rgba(0,0,0,0.1) !important; }
.section--dark .supplier-info { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); color: #334155; }
.section--dark .supplier-info strong { color: #0f172a; }
.section--dark .specs-table th { color: var(--amber-600) !important; background: rgba(0,0,0,0.05); }
.section--dark .specs-table td { color: #334155 !important; }
.section--dark .specs-table th, .section--dark .specs-table td { border-color: rgba(0,0,0,0.1); }
.section--darker { background: var(--charcoal-800); }

/* --- Typography --- */
.display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
}
h1, .h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); text-transform: uppercase; letter-spacing: 1px;
}
h2, .h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.1;
  color: var(--white); text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700; line-height: 1.2; color: var(--white);
  text-transform: uppercase;
}
h4, .h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--text-light); }

.overline {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber-400);
}
.subtitle {
  font-family: var(--font-heading); font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-light);
}
.lead {
  font-size: 1.05rem; font-weight: 400;
  color: var(--text-muted); line-height: 1.65;
  max-width: 600px;
}
.text-amber  { color: var(--amber-400) !important; }
.text-white  { color: var(--white) !important; }
.text-center { text-align: center; }

/* --- Section Header --- */
.section-header { margin-bottom: var(--space-3xl); }
.section-header h2 { margin-bottom: var(--space-md); }
.section-header.text-center .lead { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn--primary {
  background: var(--amber-500); color: var(--charcoal-950);
}
.btn--primary:hover {
  background: var(--amber-400); color: var(--charcoal-950);
  transform: translateY(-2px); box-shadow: var(--shadow-amber);
}
.btn--outline-amber {
  background: transparent; color: var(--amber-400);
  border: 2px solid var(--amber-400);
}
.btn--outline-amber:hover {
  background: var(--amber-500); color: var(--charcoal-950);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1); color: var(--white);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0) scale(0.98); }

/* ================================================
   HEADER — Brushed Metal
   ================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: var(--metal-gradient);
  border-bottom: 2px solid var(--metal-500);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--container-wide);
  margin: 0 auto; padding: 0 var(--space-xl);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}
.logo img {
  height: 48px; width: auto; display: block;
}

/* Nav */
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-charcoal);
  padding: 0.5rem 1.2rem;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--amber-600); }
.nav-links a.active { color: var(--amber-600); }

/* Nav CTA */
.nav-cta {
  margin-left: var(--space-sm);
  background: transparent !important;
  color: var(--charcoal-900) !important;
  border: 2px solid var(--amber-500) !important;
  font-family: var(--font-heading) !important;
  font-size: 0.85rem !important; font-weight: 700 !important;
  letter-spacing: 2px !important; text-transform: uppercase !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--dur-base) var(--ease-out) !important;
}
.nav-cta:hover {
  background: var(--amber-500) !important;
  color: var(--charcoal-950) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber) !important;
}

/* Mobile Toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--space-sm);
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px; background: var(--text-charcoal);
  transition: all var(--dur-base) var(--ease-out);
  border-radius: 2px;
}

/* ================================================
   HERO — Full Bleed Photo
   ================================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  padding-top: var(--header-height);
  padding-bottom: calc(var(--space-5xl) + 80px);
  background: var(--charcoal-950);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12,16,24,0.65) 0%,
    rgba(12,16,24,0.35) 40%,
    rgba(12,16,24,0.05) 70%,
    transparent 100%
  );
}
.hero-brand-overlay {
  position: absolute;
  bottom: var(--space-2xl); left: var(--space-2xl);
  z-index: 3;
  background: rgba(12,16,24,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-lg);
  display: flex; align-items: center;
}
.hero-content {
  position: relative; z-index: 2;
  padding: var(--space-4xl) 0;
}
.hero .display {
  margin-bottom: var(--space-md);
  max-width: 650px;
}
.hero .subtitle {
  margin-bottom: var(--space-2xl);
}
.hero .lead {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  background: rgba(15, 23, 42, 0.45); /* Subtle dark transparent box */
  backdrop-filter: blur(4px); /* Frosted glass effect */
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber-500);
  display: inline-block;
  margin-top: 0.5rem;
}

/* ================================================
   SERVICE CARDS — Overlapping Hero Bottom
   ================================================ */
.services-overlap {
  position: relative;
  margin-top: -100px;
  z-index: 10;
  background: var(--metal-gradient);
  padding-bottom: var(--space-4xl);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.service-card {
  background: var(--charcoal-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 3px solid var(--amber-400);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
  box-shadow: var(--shadow-card);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--amber-300);
}
.service-card-img {
  width: 100%; height: 160px;
  overflow: hidden;
  background: var(--charcoal-600);
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-card-img img {
  transform: scale(1.08);
}
.service-card-body {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
}
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-md);
  color: var(--amber-400);
}
.service-icon svg {
  width: 100%; height: 100%;
}
.service-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  line-height: 1.25;
}
.service-card p {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.55; margin-bottom: var(--space-lg);
}
.service-link {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber-400);
  display: inline-flex; align-items: center; gap: var(--space-xs);
  transition: gap var(--dur-fast) var(--ease-out);
}
.service-link:hover { gap: var(--space-sm); color: var(--amber-300); }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--charcoal-800);
  border-top: 3px solid var(--amber-500);
  padding: var(--space-2xl) 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl); text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 15%; bottom: 15%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--amber-400); line-height: 1;
}
.stat-label {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ================================================
   PROJECTS SECTION — Metal background
   ================================================ */
.projects-section {
  background: var(--metal-gradient);
  padding: var(--space-4xl) 0;
}
.projects-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.project-card {
  background: var(--charcoal-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--amber-400);
  border-radius: var(--radius-sm);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-base) var(--ease-out);
  display: flex; align-items: center; gap: var(--space-xl);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card-content { flex: 1; }
.project-card .overline { margin-bottom: var(--space-xs); font-size: 0.7rem; }
.project-card h3 { margin-bottom: var(--space-sm); font-size: 1.1rem; }
.project-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--space-md); line-height: 1.5; }
.project-arrow {
  width: 48px; height: 48px;
  background: var(--amber-500);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal-950);
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.project-arrow:hover {
  background: var(--amber-400);
  transform: scale(1.05);
}
.projects-cta {
  text-align: center;
}

/* ================================================
   REFERENCES SECTION — Marquee
   ================================================ */
.references-section {
  background: var(--charcoal-900);
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
}
.references-section .section-header { margin-bottom: var(--space-xl); }

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--charcoal-900) 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--charcoal-900) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.ref-card {
  display: flex; align-items: center; gap: var(--space-sm);
  background: var(--charcoal-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-xl);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.ref-card:hover {
  background: var(--charcoal-600);
  border-color: var(--amber-500);
}
.ref-card span {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-light);
}
.ref-card img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  /* Uniform color: brightness(0) makes all colors black, invert(1) makes them pure white */
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter var(--dur-base) var(--ease-out);
}
.ref-card:hover img {
  filter: brightness(0) invert(1) opacity(0.9);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: var(--charcoal-800);
  border-top: 3px solid var(--amber-500);
  padding: var(--space-4xl) 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(212,135,14,0.06) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: var(--space-md); }
.cta-section .lead { margin: 0 auto var(--space-2xl); }

/* ================================================
   FOOTER — Brushed Metal (matching header + reference)
   ================================================ */
.site-footer {
  background: var(--metal-gradient);
  border-top: 4px solid var(--amber-500);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.footer-brand .logo { margin-bottom: var(--space-md); }
.footer-brand p {
  font-size: 0.85rem; color: var(--text-charcoal); max-width: 250px;
  line-height: 1.6; opacity: 0.7;
}
.footer-heading {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-dark);
  margin-bottom: var(--space-lg);
}
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a {
  color: var(--text-charcoal); font-size: 0.88rem;
  opacity: 0.7;
  transition: all var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: var(--amber-600); opacity: 1; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  margin-bottom: var(--space-md); font-size: 0.85rem;
  color: var(--text-charcoal); opacity: 0.7;
}
.footer-contact svg { color: var(--amber-600); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  background: var(--charcoal-900);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--amber-400); }
.footer-bottom a:hover { color: var(--amber-300); }
/* ================================================
   INNER PAGE COMPONENTS
   ================================================ */

/* Feature cards (hakkimizda page) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.feature-card {
  background: var(--charcoal-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: all var(--dur-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,135,14,0.15);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--amber-glow);
  border: 1px solid rgba(212,135,14,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-400);
  margin-bottom: var(--space-lg);
}
.feature-card h3 { margin-bottom: var(--space-sm); }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Inner page hero — brushed metal gradient accent */
.hero .hero-accent {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg,
      rgba(12,16,24,0.92) 0%,
      rgba(26,35,50,0.75) 50%,
      rgba(34,46,64,0.4) 100%
    ),
    var(--metal-gradient);
}

/* Inner page body background alternates */
body .section--dark + .section--darker { border-top: 1px solid rgba(255,255,255,0.04); }
body .section--darker + .section--dark  { border-top: 1px solid rgba(255,255,255,0.04); }

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.animate-on-scroll {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll[data-delay="1"] { transition-delay: 0.12s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.24s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.36s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeInUp 0.8s var(--ease-out) both; }
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }

/* ================================================
   WHATSAPP FAB
   ================================================ */
.whatsapp-fab {
  position: fixed; bottom: var(--space-xl); right: var(--space-xl);
  width: 56px; height: 56px; border-radius: 50%; z-index: 999;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--dur-base) var(--ease-out);
  font-size: 1.6rem;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
  color: var(--white);
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
  .projects-cta { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--metal-gradient);
    padding: var(--space-xl); gap: var(--space-lg);
    border-bottom: 2px solid var(--metal-500);
    box-shadow: var(--shadow-md);
  }
  .nav-cta { margin-left: 0 !important; }
  .services-grid { grid-template-columns: 1fr; }
  .services-overlap { margin-top: -60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); }
  .hero { min-height: 70vh; padding-bottom: calc(var(--space-4xl) + 40px); }
  .section { padding: var(--space-3xl) 0; }
  .stat-item::after { display: none; }
  .project-card { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  
  /* Marquee Mobile Optimizations */
  .marquee-track { gap: var(--space-md); }
  .ref-card { padding: var(--space-sm) var(--space-md); }
  .ref-card img { height: 32px; max-width: 110px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

