/* ============================================================
   EmpatiLtd Ana Stil Dosyası
   Responsive: Mobile First Design
   ============================================================ */

:root {
  /* Renk Paleti - REHAU kurumsal renkleri */
  --primary:       #E3002B;   /* REHAU kırmızı */
  --primary-dark:  #B0001F;
  --primary-light: #FF3355;
  --secondary:     #1A1A2E;   /* Lacivert/Siyah */
  --accent:        #F5A623;   /* Turuncu vurgu */
  --white:         #FFFFFF;
  --light:         #F8F9FA;
  --gray-100:      #F3F4F6;
  --gray-200:      #E5E7EB;
  --gray-300:      #D1D5DB;
  --gray-500:      #6B7280;
  --gray-700:      #374151;
  --dark:          #111827;
  --success:       #10B981;
  --danger:        #EF4444;

  /* Tipografi */
  --font-main:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;

  /* Boyutlar */
  --max-width:   1280px;
  --border-radius: 12px;
  --border-radius-sm: 6px;
  --border-radius-lg: 20px;

  /* Gölgeler */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.20);
  --shadow-red:  0 8px 25px rgba(227,0,43,.30);

  /* Geçişler */
  --transition:  all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .4s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Yardımcı Sınıflar ───────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding { padding: 80px 0; }

.text-center { text-align: center; }
.text-red    { color: var(--primary); }
.d-none      { display: none !important; }

.section-header { margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
  padding: .3rem .9rem;
  background: rgba(227,0,43,.08);
  border-radius: 100px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Butonlar ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227,0,43,.40);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: #2d2d4e;
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; border-radius: 10px; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ── Navigasyon ──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(26,26,46,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}
.nav-brand-logo {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
}

/* Gerçek logo görseli — navbar içinde beyaz zemin üzerinde */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo-img:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transform: translateY(-1px);
}
.navbar.scrolled .nav-logo-img {
  height: 42px;
}
.nav-brand-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.nav-brand-text span {
  display: block;
  font-size: .72rem;
  opacity: .7;
  letter-spacing: .04em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: block;
  padding: .55rem .9rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.lang-switcher {
  display: flex;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.lang-btn {
  padding: .35rem .65rem;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  background: none;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero İstatistik Şeridi ───────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 50%, #0f3460 100%);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero .container {
  display: flex;
  justify-content: flex-end;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255,255,255,.15);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .2rem;
  white-space: nowrap;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

/* ── Slider Rozeti (yetkili bayi etiketi) ────────── */
.slider-badge-wrap {
  position: absolute;
  top: 1.25rem;  /* slider-wrap navbar altında başladığı için normal offset yeterli */
  right: 1.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1.1rem;
  background: rgba(227,0,43,.88);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
.slider-badge-wrap::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@media (max-width: 767px) {
  .slider-badge-wrap { font-size: .7rem; padding: .35rem .8rem; top: .75rem; right: .75rem; }
}

/* ── Videolar Bölümü ─────────────────────────────── */
.videos-section { background: #fff; }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}

/* 16:9 responsive iframe wrapper */
.video-embed-wrap {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card-title {
  padding: .75rem 1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border-top: 1px solid var(--gray-200);
}

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

/* ── Ürünler Bölümü ──────────────────────────────── */
.products-section { background: var(--gray-100); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 100px;
  letter-spacing: .04em;
}
.product-card-body { padding: 1.25rem; }
.product-category {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.product-desc {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Yükle daha fazla butonu */
.load-more-wrap { text-align: center; margin-top: 2.5rem; }

/* ── Referanslar Bölümü ──────────────────────────── */
.references-section { background: var(--white); }
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.reference-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 16/9;
  background: var(--secondary);
}
.reference-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .7;
  transition: var(--transition-slow);
}
.reference-card:hover img { opacity: .5; transform: scale(1.04); }
.reference-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,26,46,.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.reference-year {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.reference-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.reference-location {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}

/* ── Hakkımızda Bölümü ───────────────────────────── */
.about-section { background: var(--secondary); color: var(--white); }
.about-section .section-title { color: var(--white); }
.about-section .section-subtitle { color: rgba(255,255,255,.6); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text { color: rgba(255,255,255,.82); line-height: 1.8; }
.about-text p { margin-bottom: 1rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.feature-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(227,0,43,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-label {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
}
.about-visual {
  background: rgba(255,255,255,.05);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.1);
}
.rehau-logo-card {
  text-align: center;
  padding: 2rem 1rem;
}
.rehau-logo-big {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.02em;
  line-height: 1;
}
.rehau-sub { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: .5rem; }
.rehau-award {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(245,166,35,.1);
  border-radius: 10px;
  border: 1px solid rgba(245,166,35,.2);
  margin-top: 1.5rem;
}
.award-icon { font-size: 2rem; }
.award-text strong { display: block; color: var(--accent); font-size: .95rem; }
.award-text span  { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ── Kalite Bölümü ───────────────────────────────── */
.quality-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); }
.quality-section .section-title { color: var(--white); }
.quality-text { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.8; max-width: 720px; margin: 0 auto; }

/* ── İletişim Bölümü ─────────────────────────────── */
.contact-section { background: var(--gray-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(227,0,43,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}
.contact-info-value {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.contact-info-value a {
  color: var(--gray-700);
  transition: color .2s;
}
.contact-info-value a:hover { color: var(--primary); }

/* Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: .95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--gray-100);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(227,0,43,.1);
}
.form-control.error { border-color: var(--danger); }
.form-error {
  font-size: .78rem;
  color: var(--danger);
  margin-top: .35rem;
  display: none;
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Alert mesajları */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--accent); }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ── Harita ──────────────────────────────────────── */
.map-section { height: 400px; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .5rem;
}
.footer-brand-sub { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-desc {
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-heading {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-contact-list { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-item {
  display: flex;
  gap: .6rem;
  font-size: .85rem;
  align-items: flex-start;
}
.footer-contact-item a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.social-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}
.footer-bottom a { color: var(--primary); transition: color .2s; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ── WhatsApp Butonu ─────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: var(--transition);
  color: var(--white);
  font-size: 1.6rem;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37,211,102,.55);
}

/* ── Scroll to Top ───────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 900;
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-red);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  font-size: 1.1rem;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Loading Overlay ─────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--secondary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-logo-img {
  max-height: 80px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}
.loader-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}
.loader-logo--text {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ── Responsive (Tablet) ─────────────────────────── */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; }
  
  .about-grid { grid-template-columns: 1.2fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* ── Mobile Nav ──────────────────────────────────── */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--secondary);
    padding: 5rem 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 999;
    min-height: 100vh;
    box-shadow: var(--shadow-xl);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; padding: .75rem 1rem; width: 100%; }
  .hero-stats { gap: 1.5rem; justify-content: center; }
  .stat-number { font-size: 1.4rem; }
  .hero .container { justify-content: center; }
  .section-padding { padding: 60px 0; }
  .contact-form-card { padding: 1.5rem; }
}

/* ── Animasyonlar ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG placeholder */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: var(--gray-300);
  font-size: 3rem;
}


/* ═══════════════════════════════════════════════════════════
   SLIDER
   ═══════════════════════════════════════════════════════════ */
.slider-section {
  width: 100%;
  overflow: hidden;
  background: #0d1117;
  position: relative;
  padding-top: var(--navbar-h, 76px); /* hep navbar altında başlasın */
}

.slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height adapts to viewport width with 16:7 ratio on desktop, taller on mobile */
  height: clamp(280px, 42vw, 580px);
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.slider-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  /* Koyu gradyan arka plan — ürün görselleri beyaz arka planlı olduğunda güzel görünür */
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
}

.slider-slide img {
  /* Ürün fotoğrafı: sağ tarafa yerleştir, tam ürünü göster, kırpma */
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  display: block;
  opacity: .95;
  transition: transform 6s ease, opacity .4s ease;
  /* Sol kenarı arka plana yumuşakça bağla */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 20%, black 45%);
  mask-image:         linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 20%, black 45%);
}

.slider-wrap:not(:hover) .slider-slide[aria-hidden="false"] img {
  transform: scale(1.03) translateX(-8px);
}

/* Video arka plan - video tipli slide'lar için */
.slider-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay — sol taraftan yazı okunabilirliği için */
.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,30,.92) 0%,
    rgba(10,10,30,.70) 40%,
    rgba(10,10,30,.10) 65%,
    transparent 100%
  );
}

/* Caption */
.slider-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 4rem;
  max-width: 600px;
  color: #fff;
}

.slider-category {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--red, #E3002B);
  color: #fff;
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  align-self: flex-start;
}

.slider-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.slider-subtitle {
  font-size: clamp(.8rem, 1.4vw, 1rem);
  color: rgba(255,255,255,.8);
  margin: 0 0 1.25rem;
  max-width: 380px;
}

.slider-cta {
  display: inline-block;
  padding: .55rem 1.4rem;
  background: var(--red, #E3002B);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  align-self: flex-start;
  transition: background .2s, transform .2s;
}
.slider-cta:hover { background: #b8001f; transform: translateX(3px); }

/* Prev / Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.slider-btn:hover { background: rgba(227,0,43,.7); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s;
}
.slider-dot.active {
  background: #E3002B;
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.15);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: #E3002B;
  width: 0;
}

/* Mobile */
@media (max-width: 640px) {
  .slider-caption { padding: 1.5rem 1.25rem; }
  .slider-btn { width: 36px; height: 36px; font-size: 1.2rem; }
  .slider-prev { left: .5rem; }
  .slider-next { right: .5rem; }
}


/* ══════════════════════════════════════════════════════════
   MOBİL & TABLET RESPONSIVE İYİLEŞTİRMELER
   ══════════════════════════════════════════════════════════ */

/* ── Mobil Nav Kapatma Butonu ────────────────────────────── */
.nav-close-btn {
  display: none;
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
  line-height: 1;
}
.nav-close-btn:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── Küçük Ekran: form-row tek kolon (< 640px) ────────────── */
@media (max-width: 639px) {
  .form-row { grid-template-columns: 1fr !important; }
}

/* ── Telefon (< 480px) ────────────────────────────────────── */
@media (max-width: 479px) {
  /* About özellikler tek kolon */
  .about-features { grid-template-columns: 1fr !important; gap: .85rem; }

  /* Hero stats: sarma + ayırıcı gizle */
  .hero-stats { flex-wrap: wrap; gap: .75rem 2rem; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: 1.25rem; }

  /* Bölüm başlıkları daha küçük */
  .section-title { font-size: clamp(1.35rem, 6vw, 1.8rem); }

  /* Slider yüksekliği */
  .slider-wrap { height: clamp(240px, 56vw, 340px); }

  /* Ürün kartı resim yüksekliği */
  .product-card-img { height: 160px; }

  /* Butonlar tam genişlik olmayabilir ama padding azalt */
  .btn-lg { padding: .85rem 1.75rem; font-size: .95rem; }
}

/* ── Mobil (< 768px) ──────────────────────────────────────── */
@media (max-width: 767px) {
  /* Menü içi kapat butonu göster */
  .nav-close-btn { display: flex; }

  /* Slider: görsel tam kap, metni koru */
  .slider-slide img {
    width: 100%;
    opacity: .15;
    object-position: center center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .slider-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,10,30,.80) 0%,
      rgba(10,10,30,.70) 60%,
      rgba(10,10,30,.85) 100%
    );
  }
  .slider-caption { max-width: 100%; }

  /* References: tek kolon (481+ kendi bloğunda 2 kolon olacak) */
  .references-grid { grid-template-columns: 1fr; }

  /* About features */
  .about-features { grid-template-columns: 1fr 1fr; gap: .9rem; }

  /* Footer-bottom sütun */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }

  /* Harita yüksekliği */
  .map-section { height: 260px; }

  /* Kalite metni */
  .quality-text { font-size: .92rem; }

  /* Sayfa dolgusu */
  .section-padding { padding: 52px 0; }

  /* Footer dolgusu */
  .footer { padding: 2.5rem 0 1.25rem; }

  /* WhatsApp & yukarı butonu */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float a { width: 50px; height: 50px; font-size: 1.4rem; }
  .scroll-top { bottom: 4.5rem; right: 1.25rem; width: 40px; height: 40px; }
}

/* ── Orta Mobil (481px–767px): references 2 kolon ───────── */
@media (min-width: 481px) and (max-width: 767px) {
  .references-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-features   { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet (768px–1023px) ────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Slider caption daha geniş */
  .slider-caption { padding: 2rem 2.5rem; max-width: 520px; }

  /* Hero stats */
  .hero-stats { gap: 2rem; }

  /* Ürün grid tablet: 3 kolon */
  .products-grid { grid-template-columns: repeat(3, 1fr); }

  /* References 2 kolon */
  .references-grid { grid-template-columns: repeat(2, 1fr); }

  /* Navbar boşlukları */
  .nav-link { padding: .45rem .65rem; font-size: .85rem; }

  /* Quality inner 1 kolon (860px'den küçük zaten quality-block.css'de) */
}

/* ── Büyük Tablet / Küçük Desktop (1024px–1199px) ────────── */
@media (min-width: 1024px) and (max-width: 1199px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 1.75rem; }
}

/* ── Navbar İletişim Bilgileri ────────────────────────────── */
.nav-contact {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.nav-contact-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav-contact-item:hover { color: #fff; }
.nav-contact-item span { font-size: .85rem; opacity: .8; flex-shrink: 0; }
.nav-contact-sep {
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* 1100px'den küçükte e-postayı gizle, sadece telefon göster */
@media (max-width: 1100px) {
  .nav-contact-sep,
  .nav-contact-item:last-child { display: none; }
}

/* Mobil: nav-contact'ı tamamen gizle */
@media (max-width: 767px) {
  .nav-contact { display: none; }
}

/* ── Ürün Arama ───────────────────────────────────────────── */
.product-search-wrap {
  margin: 1.5rem auto 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.product-search-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.product-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 2px 16px rgba(227,0,43,.13);
}
.ps-icon {
  display: flex;
  align-items: center;
  padding: 0 .75rem 0 1.1rem;
  color: var(--text-light);
  flex-shrink: 0;
}
.ps-input {
  flex: 1;
  border: none;
  outline: none;
  padding: .7rem 0;
  font-size: .95rem;
  color: var(--text-dark);
  background: transparent;
  min-width: 0;
}
.ps-input::placeholder { color: #aaa; }
.ps-input::-webkit-search-cancel-button { display: none; }
.ps-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 1rem;
  color: #aaa;
  font-size: 1rem;
  line-height: 1;
  transition: color .15s;
  flex-shrink: 0;
}
.ps-clear:hover { color: var(--primary); }
.ps-count {
  font-size: .78rem;
  color: var(--text-light);
  background: rgba(0,0,0,.05);
  padding: .2rem .7rem;
  border-radius: 20px;
}
@media (max-width: 479px) {
  .product-search-wrap { max-width: 100%; }
  .ps-input { font-size: .88rem; }
}

/* ── Öne Çıkmayan Ürünler (başlangıçta gizli) ─────────── */
.prod-extra { display: none; }
.prod-extra.ps-visible { display: block; }
