/* ============================================
   AquaPool - Premium Style Sheet
   ============================================ */

:root {
  --primary: #0077B6;
  --primary-dark: #023E8A;
  --primary-deep: #03045E;
  --primary-mid: #0096C7;
  --primary-light: #00B4D8;
  --accent: #90E0EF;
  --gold: #F4A261;
  --gold-warm: #FFD166;

  --text-dark: #0d1b2a;
  --text-medium: #2d3f54;
  --text-gray: #5a7184;
  --text-light: #8fa4b8;

  --bg-white: #ffffff;
  --bg-light: #f0f8ff;
  --bg-subtle: #fafcff;
  --bg-dark: #0d1b2a;

  --shadow-xs: 0 1px 3px rgba(0,60,120,0.06), 0 1px 2px rgba(0,60,120,0.04);
  --shadow-sm: 0 2px 10px rgba(0,60,120,0.08), 0 1px 4px rgba(0,60,120,0.05);
  --shadow: 0 4px 24px rgba(0,60,120,0.10), 0 1px 6px rgba(0,60,120,0.06);
  --shadow-md: 0 8px 32px rgba(0,60,120,0.14), 0 2px 8px rgba(0,60,120,0.06);
  --shadow-hover: 0 16px 48px rgba(0,60,120,0.20), 0 4px 12px rgba(0,60,120,0.08);
  --shadow-colored: 0 8px 32px rgba(0,119,182,0.30);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --border-radius: 16px;

  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);

  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-hero: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 45%, var(--primary) 100%);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-white); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-light), var(--primary));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection {
  background: rgba(0,119,182,0.18);
  color: var(--primary-dark);
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }

p { line-height: 1.8; color: var(--text-gray); }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.preloader-logo {
  font-size: 34px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.preloader-logo span { color: var(--primary-light); }

.preloader-dots {
  display: flex;
  gap: 10px;
}

.preloader-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: dot-bounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) { animation-delay: 0s; }
.preloader-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--accent); }
.preloader-dots span:nth-child(3) { animation-delay: 0.4s; background: var(--gold); }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--gold), var(--primary));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0,180,216,0.5);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,119,182,0.07);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,119,182,0.15);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: 44px;
  color: var(--text-dark);
  margin-bottom: 18px;
  font-weight: 800;
}

.section-title span { color: var(--primary); }

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

/* Shimmer sweep effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::after { left: 160%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(0,119,182,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,119,182,0.50), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* ============================================
   NAVBAR — Beyaz sabit zemin (always white)
   ============================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1180px;
  z-index: 1000;
  padding: 16px 36px;
  transition:
    box-shadow 0.35s var(--ease-in-out),
    border-color 0.35s var(--ease-in-out),
    padding 0.35s var(--ease-in-out);
  isolation: isolate;
  background: #ffffff;
  border-radius: 100px;
  border: 1px solid rgba(0, 119, 182, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 12px 40px -12px rgba(13, 27, 42, 0.12),
    0 4px 16px rgba(0, 60, 120, 0.06);
}

.navbar::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  border-radius: 100px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.14) 50%, transparent);
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.navbar::after { display: none; }

.navbar.scrolled {
  background: #ffffff;
  padding: 14px 36px;
  border-color: rgba(0, 119, 182, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 16px 44px -14px rgba(13, 27, 42, 0.14),
    0 6px 20px rgba(0, 60, 120, 0.07);
}

.navbar.scrolled::before {
  background: linear-gradient(90deg, transparent, rgba(0, 119, 182, 0.14) 50%, transparent);
}

.navbar.scrolled::after { display: none; }

.navbar .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0;
  column-gap: 28px;
  position: relative;
  z-index: 2;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Navbar — logo görseli + site yazısı (content.json logo_text) */
.navbar-brand-logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(120px, 28vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
  transition: filter 0.35s var(--ease-in-out), height 0.35s var(--ease-in-out);
}

.navbar.scrolled .navbar-brand-logo-img {
  filter: drop-shadow(0 1px 6px rgba(13, 27, 42, 0.12));
}

.navbar-brand-text-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  line-height: 1.12;
}

.navbar-brand-line1 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease-in-out);
}

.navbar-brand-line2 {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease-in-out);
}

.navbar.scrolled .navbar-brand-line1 {
  color: var(--primary-deep);
}

.navbar.scrolled .navbar-brand-line2 {
  color: var(--primary);
}

.navbar-logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.03em;
  transition: var(--transition);
}

.navbar.scrolled .navbar-logo-text { color: var(--primary-deep); }

.navbar-logo-text span { color: var(--primary); }
.navbar.scrolled .navbar-logo-text span { color: var(--primary); }

.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  justify-self: center;
}

.navbar-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  padding: 11px 18px;
  border-radius: 100px;
  letter-spacing: 0.035em;
  transition: color 0.3s var(--ease-in-out), background 0.3s var(--ease-in-out), box-shadow 0.3s var(--ease-in-out);
}

.navbar-menu a:hover {
  color: var(--primary-dark);
  background: rgba(0, 119, 182, 0.07);
  box-shadow: none;
}

.navbar-menu a.active {
  color: var(--primary-deep);
  font-weight: 600;
  background: rgba(0, 119, 182, 0.09);
  box-shadow: none;
}

.navbar.scrolled .navbar-menu a {
  color: var(--text-medium);
}

.navbar.scrolled .navbar-menu a:hover {
  color: var(--primary-dark);
  background: rgba(0, 119, 182, 0.07);
  box-shadow: none;
}

.navbar.scrolled .navbar-menu a.active {
  color: var(--primary-deep);
  font-weight: 600;
  background: rgba(0, 119, 182, 0.09);
  box-shadow: none;
}

/* Remove old underline effect */
.navbar-menu a::after { display: none; }

/* ── Nav Dropdown (Ürünler) ── */
.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-medium);
  padding: 11px 18px;
  border-radius: 100px;
  letter-spacing: 0.035em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s var(--ease-in-out), background 0.3s var(--ease-in-out);
}

.nav-dropdown-btn:hover,
.nav-dropdown-wrap:hover .nav-dropdown-btn,
.nav-dropdown-wrap.open .nav-dropdown-btn {
  color: var(--primary-dark);
  background: rgba(0, 119, 182, 0.07);
}

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
  line-height: 1;
}

.nav-dropdown-wrap.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
  padding: 16px 8px 8px;
  display: none;
  z-index: 1100;
  list-style: none;
}

.nav-dropdown-wrap.open .nav-dropdown-menu,
.nav-dropdown-wrap:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  border: none !important;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--text-dark) !important;
  background: none !important;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(0, 119, 182, 0.08) !important;
  color: var(--primary-dark) !important;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.navbar-toggle:hover {
  background: rgba(0, 119, 182, 0.1);
  border-color: rgba(0, 119, 182, 0.18);
}

.navbar-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .navbar-toggle {
  background: rgba(0, 119, 182, 0.06);
  border-color: rgba(0, 119, 182, 0.12);
  box-shadow: var(--shadow-xs);
}

.navbar.scrolled .navbar-toggle:hover {
  background: rgba(0, 119, 182, 0.1);
  border-color: rgba(0, 119, 182, 0.18);
}

.navbar.scrolled .navbar-toggle span { background: var(--text-dark); }

/* ============================================
   Language dropdown (dil seçimi)
   ============================================ */
.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-dropdown {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 50px;
  cursor: pointer;
  background: rgba(0, 119, 182, 0.06);
  border: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.lang-button:hover {
  background: rgba(0, 119, 182, 0.1);
  border-color: rgba(0, 119, 182, 0.18);
}

.lang-button:focus {
  outline: 2px solid rgba(0, 119, 182, 0.25);
  outline-offset: 2px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-flag svg {
  display: block;
}

.lang-code {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.lang-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-medium);
  white-space: nowrap;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
  padding: 8px;
  display: none;
  z-index: 1200;
}

.lang-dropdown.open .lang-menu { display: block; }

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lang-item:hover {
  background: rgba(0, 119, 182, 0.08);
}

.lang-item.active {
  background: rgba(0, 119, 182, 0.12);
  border: 1px solid rgba(0, 119, 182, 0.22);
}

.navbar.scrolled .lang-button {
  background: rgba(0, 119, 182, 0.06);
  border-color: rgba(0, 119, 182, 0.14);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Görsel yoksa nötr koyu zemin (mavi gradient yok) */
  background: #141821;
}

/* Eski mavi ambient layer kapatıldı — fotoğraf doğal görünsün */
.hero::before,
.hero::after {
  display: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-waves svg { width: 100%; height: 90px; }

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 100vh;
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  text-align: left;
  background: rgba(3,4,94,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px 42px 42px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  margin-left: -440px;
}

.hero-qr {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  margin-right: -440px;
}

.hero-qr-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.hero-qr-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(0,0,0,0.25);
}

.hero-qr-img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  background: white;
  padding: 12px;
}

.hero-qr-label {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-qr-url {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.hero-title {
  font-size: 52px;
  color: white;
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0,180,216,0.35));
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

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

.hero-buttons .btn {
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 14px;
}

.hero-stats {
  position: absolute;
  bottom: 110px;
  right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-stat {
  padding: 28px 32px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.58);
  margin-top: 6px;
  display: block;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================
   FLOATING CARDS
   ============================================ */
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 18px 24px;
  color: white;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-float-card .icon { font-size: 28px; }

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

.card-1 { top: 22%; right: 6%; animation-delay: 0s; }
.card-2 { top: 52%; right: 14%; animation-delay: 2s; }

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--bg-subtle);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,119,182,0.14), transparent);
}

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

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(0,119,182,0.06);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,119,182,0.12);
}

.service-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-image { transform: scale(1.05); }

.service-card-image-placeholder {
  width: 100%;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.service-card-body { padding: 30px; }

.service-icon {
  font-size: 38px;
  margin-bottom: 16px;
  display: block;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.75;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  transition: var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ============================================
   PRODUCTS (Equipment & Chemicals)
   ============================================ */
.products-section.products-alt {
  background: var(--bg-white);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card .service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .service-desc {
  flex: 1;
}

.product-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 7px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(239,68,68,0.35);
  z-index: 2;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-price-badge--discounted {
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  padding: 8px 14px;
  border-radius: 14px;
}

.badge-original {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.9);
  letter-spacing: 0.2px;
  line-height: 1;
}

.badge-current {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(0,119,182,0.06), rgba(0,180,216,0.08));
  border: 1px solid rgba(0,119,182,0.12);
  border-radius: 10px;
}

.product-price-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-price-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.product-price-original {
  font-size: 12px;
  font-weight: 500;
  color: #e53e3e;
  text-decoration: line-through;
  text-decoration-color: #e53e3e;
  opacity: 0.75;
  letter-spacing: 0.2px;
}

.product-price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.product-order-link {
  margin-top: 18px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  border-radius: 50px;
  justify-content: center;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(0,119,182,0.25);
}

.product-order-link:hover {
  gap: 12px;
  color: white !important;
  box-shadow: 0 6px 18px rgba(0,119,182,0.4);
  transform: translateY(-1px);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,119,182,0.04) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

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

.about-image-wrapper { position: relative; }

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(0,119,182,0.1);
  border-radius: var(--radius-xl);
  z-index: 0;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 1;
}

.about-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  z-index: 1;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-colored);
  z-index: 2;
  border: 3px solid white;
}

.about-badge strong {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.about-badge span { font-size: 13px; opacity: 0.88; font-weight: 500; }

.about-content .section-header { text-align: left; }
.about-content .section-subtitle { margin: 0; font-size: 16px; }

.about-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.85;
  margin: 18px 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.about-stat {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(0,119,182,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-stat::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.about-stat:hover {
  border-color: rgba(0,119,182,0.18);
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.about-stat:hover::before { opacity: 1; }

.about-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stat span {
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 60%, var(--primary-mid) 100%);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.why-us::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,180,216,0.07) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.why-us .section-tag {
  background: rgba(255,255,255,0.09);
  color: var(--accent);
  border-color: rgba(255,255,255,0.14);
}

.why-us .section-tag::before { background: var(--accent); }
.why-us .section-title { color: white; }
.why-us .section-subtitle { color: rgba(255,255,255,0.68); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.why-card:hover::before { opacity: 1; }

.why-icon {
  font-size: 46px;
  margin-bottom: 20px;
  display: block;
}

.why-title {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery { background: var(--bg-subtle); }

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,119,182,0.06);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,119,182,0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  display: block;
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-item-placeholder { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3,4,94,0.85) 0%,
    rgba(0,119,182,0.25) 50%,
    transparent 70%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: white;
  font-weight: 600;
  font-size: 15px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--bg-white); overflow: hidden; }

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

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,119,182,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

/* Decorative opening quote */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 20px;
  font-size: 130px;
  font-family: Georgia, 'Times New Roman', serif;
  color: rgba(0,119,182,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Bottom accent line on hover */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,119,182,0.12);
}

.testimonial-card:hover::after { opacity: 1; }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.star { color: #f59e0b; font-size: 17px; }

.testimonial-text {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(0,119,182,0.08);
  padding-top: 20px;
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,119,182,0.28);
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--bg-subtle); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(0,119,182,0.08);
  transition: var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,119,182,0.16);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,119,182,0.25);
}

.contact-item-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2px;
}

.contact-socials { display: flex; gap: 12px; }

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-btn[title="WhatsApp"] { background: #25D366; }
.social-btn[title="Instagram"] { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn[title="Facebook"] { background: #1877F2; }

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  filter: brightness(1.1);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,119,182,0.06);
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-medium);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,119,182,0.12);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-subtle);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0,119,182,0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

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

.form-submit {
  width: 100%;
  padding: 17px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-success {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(6,95,70,0.12);
}

.form-success[hidden],
.form-error[hidden] {
  display: none !important;
}

.form-error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(153,27,27,0.15);
}

/* ============================================
   MAP
   ============================================ */
.map-section {
  height: 420px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.map-section iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.62);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), var(--primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
  display: block;
  letter-spacing: -0.02em;
}

.footer-brand .logo-text span { color: var(--primary-light); }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.85;
  margin-bottom: 28px;
}

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

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.07);
}

.footer-social[title="WhatsApp"] { background: #25D366; border-color: #25D366; }
.footer-social[title="Instagram"] { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.footer-social[title="Facebook"] { background: #1877F2; border-color: #1877F2; }

.footer-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  filter: brightness(1.15);
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
}

.footer-contact-item span:first-child { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: max(30px, env(safe-area-inset-bottom, 30px));
  right: 30px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 35px rgba(37,211,102,0.6);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.2); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0.0); }
}

/* ============================================
   SCROLL TO TOP — siyah ok (arka plansız)
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: max(30px, env(safe-area-inset-bottom, 30px));
  left: 50%;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #000000;
  cursor: pointer;
  z-index: 999;
  box-shadow: none;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s var(--ease-out);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-icon {
  font-size: 22px;
  line-height: 1;
  /* Koyu zemin üzerinde hafif beyaz kontur ile okunurluk */
  filter:
    drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.6))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transform: translateY(0);
}

@keyframes scroll-top-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.scroll-top.visible .scroll-top-icon {
  animation: scroll-top-bounce 1.1s ease-in-out infinite;
}

.scroll-top.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: all;
}

.scroll-top:hover {
  transform: translate(-50%, -4px);
  box-shadow: none;
  background: transparent;
}

.scroll-top.visible:hover .scroll-top-icon {
  animation-play-state: paused;
  transform: translateY(-5px);
}

.scroll-top:active {
  transform: translate(-50%, 0);
}

.scroll-top.visible:active .scroll-top-icon {
  animation-play-state: paused;
  transform: translateY(0);
}

.scroll-top:focus-visible {
  outline: 2px solid rgba(13, 13, 13, 0.85);
  outline-offset: 6px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top.visible .scroll-top-icon {
    animation: none;
  }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: white;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg) scale(1.1);
  border-color: var(--primary);
}

.lightbox img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0,119,182,0.5);
}

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next { width: 42px; height: 42px; font-size: 26px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox img { max-width: 92vw; }
}

/* ============================================
   ACETERNITY - AURORA BACKGROUND (Hero)
   ============================================ */
.hero-aurora {
  display: none;
}

.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: aurora-move 15s ease-in-out infinite alternate;
}

.hero-aurora::before {
  width: 70%;
  height: 70%;
  top: -20%;
  left: -10%;
  background: radial-gradient(ellipse, var(--accent) 0%, var(--primary-light) 40%, transparent 70%);
  animation-name: aurora-1;
  animation-duration: 12s;
}

.hero-aurora::after {
  width: 60%;
  height: 60%;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(ellipse, var(--primary-mid) 0%, var(--primary) 40%, transparent 70%);
  animation-name: aurora-2;
  animation-duration: 16s;
}

.hero-aurora-extra {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 30%;
  left: 25%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--primary-light) 0%, var(--primary-dark) 50%, transparent 70%);
  animation: aurora-3 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(10%, 15%) rotate(60deg) scale(1.15); }
  66%  { transform: translate(-5%, 8%) rotate(120deg) scale(0.9); }
  100% { transform: translate(15%, -5%) rotate(180deg) scale(1.1); }
}

@keyframes aurora-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(-12%, -8%) rotate(-60deg) scale(1.2); }
  66%  { transform: translate(8%, -15%) rotate(-120deg) scale(0.85); }
  100% { transform: translate(-10%, 10%) rotate(-180deg) scale(1.05); }
}

@keyframes aurora-3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50%  { transform: translate(-15%, 10%) scale(1.3); opacity: 0.3; }
  100% { transform: translate(10%, -8%) scale(0.8); opacity: 0.7; }
}

/* ============================================
   ACETERNITY - GRADIENT ANIMATION BLOBS (Why Us)
   ============================================ */
.gradient-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.4;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: hard-light;
}

.gradient-blob:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -10%;
  left: 10%;
  background: var(--primary-light);
  animation: blob-move-h 20s ease-in-out infinite;
}

.gradient-blob:nth-child(2) {
  width: 350px;
  height: 350px;
  top: 20%;
  right: 5%;
  background: var(--accent);
  animation: blob-move-circle 25s ease-in-out infinite;
}

.gradient-blob:nth-child(3) {
  width: 300px;
  height: 300px;
  bottom: -5%;
  left: 30%;
  background: var(--primary-mid);
  animation: blob-move-v 18s ease-in-out infinite;
}

.gradient-blob:nth-child(4) {
  width: 280px;
  height: 280px;
  bottom: 10%;
  right: 25%;
  background: var(--gold);
  opacity: 0.35;
  animation: blob-move-circle 22s ease-in-out infinite reverse;
}

@keyframes blob-move-h {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(120px); }
}

@keyframes blob-move-v {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-80px); }
}

@keyframes blob-move-circle {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(50px, -60px); }
  50%  { transform: translate(-40px, -30px); }
  75%  { transform: translate(30px, 50px); }
  100% { transform: translate(0, 0); }
}

/* ============================================
   ACETERNITY - CARD SPOTLIGHT (Service Cards)
   ============================================ */
.service-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
}

.service-card .spotlight-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    350px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(0, 180, 216, 0.12) 0%,
    rgba(0, 119, 182, 0.06) 40%,
    transparent 70%
  );
}

.service-card:hover .spotlight-overlay {
  opacity: 1;
}

/* ============================================
   ACETERNITY - INFINITE MOVING CARDS (Testimonials)
   ============================================ */
.testimonials-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 20px 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.testimonials-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.testimonials-marquee-track:hover {
  animation-play-state: paused;
}

.testimonials-marquee .testimonial-card {
  flex-shrink: 0;
  width: 380px;
  align-self: stretch;
  height: auto;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.nav-overlay.active { display: block; }

.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .hero-content {
    margin-left: 0;
    max-width: min(520px, 100%);
    padding: 44px 36px 40px;
  }
  .hero .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }
  .hero-buttons { flex-wrap: wrap; }
  .hero-qr { margin-right: 0; }
  .hero-stats { display: none; }
  .hero-float-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; gap: 50px; }
  .about-image-wrapper { max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 34px; }
  .section-header { margin-bottom: 48px; }
  .hero .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(env(safe-area-inset-top, 0px) + 88px);
    padding-bottom: 32px;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
  }
  .hero-content {
    margin-left: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 36px 28px 32px;
  }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { white-space: normal; text-align: center; }
  .hero-qr { display: none; }
  .hero-title { font-size: 32px; overflow-wrap: break-word; word-wrap: break-word; }
  .hero-subtitle { font-size: 15px; max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }

  .navbar {
    top: 10px;
    width: calc(100% - 24px);
    padding: 10px 18px;
    border-radius: 20px;
  }

  .navbar.scrolled { padding: 10px 18px; }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -290px;
    width: 290px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 0;
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    transition: right 0.35s var(--ease-out);
    overflow-y: auto;
    border-radius: 0;
    border: none;
    justify-self: stretch;
  }

  .navbar-menu.active { right: 0; }

  .navbar-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .navbar-menu a {
    color: var(--text-dark) !important;
    background: none !important;
    display: block;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    font-size: 15px;
  }
  .navbar-toggle { display: flex; z-index: 1000; }

  /* Mobile nav dropdown */
  .nav-dropdown-wrap {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-dropdown-btn {
    width: 100%;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
    background: none !important;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0,119,182,0.04);
    padding: 4px 0 4px 16px;
    display: none;
  }
  .nav-dropdown-wrap.open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-wrap:hover .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown-wrap.open:hover .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu li {
    width: 100%;
  }
  .nav-dropdown-menu a {
    padding: 12px 8px !important;
    font-size: 14px !important;
    border-bottom: none !important;
  }

  .about-image { height: 260px; }
  .about-image-placeholder { height: 260px; }
  .about-image-wrapper::before { display: none; }
  .about-badge { right: 12px; bottom: -14px; padding: 14px 18px; }
  .about-badge strong { font-size: 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-marquee .testimonial-card { width: 320px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrapper { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .map-section { height: 320px; }
  .whatsapp-btn { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 24px; }
  .scroll-top { bottom: 20px; left: 50%; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .hero-title { font-size: 26px; line-height: 1.18; }
  .hero-content { padding: 24px 18px 22px; border-radius: var(--radius-lg); }
  .hero-subtitle { font-size: 14px; }
  .hero-buttons .btn {
    white-space: normal;
    text-align: center;
    padding: 12px 18px;
  }
  .section-subtitle { font-size: 15px; }
  .container { padding: 0 18px; }
  .navbar-logo-text { font-size: 22px; }
  .navbar-brand-logo-img { height: 40px; max-width: min(100px, 30vw); }
  .navbar-brand-line1 { font-size: 15px; letter-spacing: 0.03em; }
  .navbar-brand-line2 { font-size: 10px; letter-spacing: 0.08em; }
  .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-image { height: 220px; }
  .about-image-placeholder { height: 220px; }
  .about-badge { right: 8px; bottom: -12px; padding: 12px 16px; }
  .about-badge strong { font-size: 26px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
  .map-section { height: 260px; }
  .service-card-image { height: 190px; }
  .service-card-image-placeholder { height: 190px; }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card::before { font-size: 90px; top: -5px; right: 16px; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 26px; }
  .section-title { font-size: 23px; }
  .navbar-logo-text { font-size: 20px; }
  .navbar-brand-logo-img { height: 36px; max-width: min(88px, 32vw); }
  .navbar-brand-line1 { font-size: 14px; }
  .navbar-brand-line2 { font-size: 9px; letter-spacing: 0.06em; }
  .why-card { padding: 28px 20px; }
  .testimonial-card { padding: 24px 18px; }
  .whatsapp-btn { width: 48px; height: 48px; font-size: 20px; bottom: 16px; right: 16px; }
  .scroll-top { bottom: 16px; left: 50%; }
}
