/* ============================================================
   ALFA YANGIN SÖNDÜRME SİSTEMLERİ - STİL DOSYASI
   Modern, kurumsal, koyu zemin + kırmızı vurgu temalı tasarım
   ============================================================ */

/* ====== DEĞİŞKENLER (RENKLER / ÖLÇÜLER) ====== */
/* Renkleri buradan değiştirirsen tüm site otomatik güncellenir */
:root {
  --kirmizi: #e02424;        /* ana vurgu rengi (ateş kırmızısı) */
  --kirmizi-koyu: #b81b1b;   /* hover (üzerine gelince) tonu */
  --lacivert: #0d1424;       /* koyu kurumsal arka plan */
  --lacivert-2: #131c30;     /* ikincil koyu zemin */
  --gri-acik: #f4f6f9;       /* açık bölüm zemini */
  --gri-metin: #5b6573;      /* gri yazı rengi */
  --beyaz: #ffffff;
  --metin: #1a2233;          /* koyu yazı rengi */
  --golge: 0 10px 30px rgba(13, 20, 36, 0.12);
  --radius: 14px;            /* köşe yuvarlaklığı */
  --gecis: 0.3s ease;        /* genel animasyon hızı */
}

/* ====== SIFIRLAMA (RESET) ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--metin);
  line-height: 1.65;
  background: var(--beyaz);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ====== ORTAK YERLEŞİM ====== */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }
.section { padding: 90px 0; }
.section-alt { background: var(--gri-acik); }

/* ====== BÖLÜM BAŞLIKLARI ====== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--kirmizi); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.2; }
.section-head p { color: var(--gri-metin); margin-top: 14px; font-size: 17px; }

/* ====== BUTONLAR ====== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: var(--gecis); text-align: center;
}
.btn-primary { background: var(--kirmizi); color: #fff; box-shadow: 0 8px 20px rgba(224,36,36,0.3); }
.btn-primary:hover { background: var(--kirmizi-koyu); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--lacivert); }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR (ÜST MENÜ)
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 20, 36, 0.95); backdrop-filter: blur(8px);
  transition: var(--gecis);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
/* Menüdeki amblem (PDF'ten alınan logo) */
.logo-img { height: 50px; width: auto; display: block; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #d7dce5; font-size: 15px; font-weight: 500; transition: var(--gecis); }
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Dil seçici düğmeleri */
.lang-switch { display: flex; gap: 4px; background: rgba(255,255,255,0.08); padding: 4px; border-radius: 8px; }
.lang-btn {
  background: none; border: none; color: #aeb6c4; font-size: 13px; font-weight: 600;
  padding: 5px 9px; border-radius: 6px; cursor: pointer; transition: var(--gecis);
}
.lang-btn.active { background: var(--kirmizi); color: #fff; }

/* Mobil hamburger menü butonu (geniş ekranda gizli) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; transition: var(--gecis); }

/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background-size: cover; background-position: center; transform: scale(1.05); }
.slide.active { opacity: 1; }

/* Slayt arka planları (gerçek şantiye fotoğrafları).
   Fotoğrafı değiştirmek istersen img/ içine yeni dosyayı koyup
   buradaki dosya adını değiştirmen yeterli. */
.slide-1 { background-image: url('../img/slide-1.jpg'); }
.slide-2 { background-image: url('../img/slide-2.jpg'); }
.slide-3 { background-image: url('../img/slide-3.jpg'); }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,20,36,0.85) 0%, rgba(13,20,36,0.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-block; background: rgba(224,36,36,0.18); border: 1px solid rgba(224,36,36,0.5);
  color: #ffb3b3; font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 30px; margin-bottom: 22px;
}
.hero-title { font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero-text { font-size: 18px; color: #d3d9e3; max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider alt noktaları */
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; transition: var(--gecis); }
.dot.active { background: var(--kirmizi); border-color: var(--kirmizi); }

/* ============================================================
   GÜVEN ŞERİDİ
   ============================================================ */
.strip { background: var(--kirmizi); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 22px; }
.strip-item { text-align: center; }
.strip-item strong { display: block; font-size: 18px; font-weight: 700; }
.strip-item span { font-size: 14px; opacity: 0.9; }

/* ============================================================
   HİZMET KARTLARI
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid #e8ecf2; border-radius: var(--radius);
  padding: 34px 28px; transition: var(--gecis);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--golge); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; background: rgba(224,36,36,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--kirmizi); margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gri-metin); font-size: 15px; }

/* ============================================================
   HAKKIMIZDA
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--golge);
}
.about-badge {
  position: absolute; bottom: -24px; right: -10px; background: var(--kirmizi); color: #fff;
  padding: 18px 26px; border-radius: 14px; text-align: center; box-shadow: var(--golge);
}
.about-badge strong { display: block; font-size: 28px; font-weight: 800; }
.about-badge span { font-size: 13px; opacity: 0.9; }
.about-text .section-tag { text-align: left; }
.about-text h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--gri-metin); margin-bottom: 16px; font-size: 16px; }
.about-text .btn { margin-top: 10px; }

/* ====== HAKKIMIZDA BİLGİ ŞERİDİ ====== */
.about-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0 28px; }
.about-stat { display: flex; flex-direction: column; }
.about-stat strong { font-size: 22px; font-weight: 800; color: var(--kirmizi); line-height: 1.2; }
.about-stat span { font-size: 13.5px; color: var(--gri-metin); }

/* ============================================================
   BELGELER & STANDARTLAR
   ============================================================ */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-item {
  background: #fff; border: 1px solid #e8ecf2; border-radius: var(--radius);
  padding: 32px 26px; text-align: center; transition: var(--gecis);
}
.cert-item:hover { box-shadow: var(--golge); transform: translateY(-4px); border-color: transparent; }
.cert-item svg { width: 48px; height: 48px; color: var(--kirmizi); margin-bottom: 16px; }
.cert-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cert-item p { color: var(--gri-metin); font-size: 14.5px; }
/* Standart & onay logoları (NFPA, FM, UL) */
.std-label { text-align: center; color: var(--gri-metin); font-size: 14px; margin: 44px 0 18px; }
.std-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.std-tile {
  background: #fff; border: 1px solid #e8ecf2; border-radius: 12px;
  width: 170px; height: 110px; display: flex; align-items: center; justify-content: center;
  padding: 18px 24px; box-shadow: 0 6px 18px rgba(13,20,36,0.06);
}
.std-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ============================================================
   NEDEN BİZ?
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid #e8ecf2; transition: var(--gecis); }
.why-item:hover { box-shadow: var(--golge); transform: translateY(-4px); }
.why-num { font-size: 34px; font-weight: 800; color: rgba(224,36,36,0.25); }
.why-item h3 { font-size: 18px; font-weight: 700; margin: 8px 0 8px; }
.why-item p { color: var(--gri-metin); font-size: 14.5px; }

/* ============================================================
   SEKTÖRLER (HİZMET VERDİĞİMİZ ALANLAR)
   ============================================================ */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-item {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid #e8ecf2; border-radius: var(--radius); padding: 22px 24px; transition: var(--gecis);
}
.sector-item:hover { box-shadow: var(--golge); transform: translateY(-4px); border-color: transparent; }
.sector-item svg { width: 36px; height: 36px; color: var(--kirmizi); flex-shrink: 0; }
.sector-item span { font-size: 16px; font-weight: 600; }

/* ============================================================
   ÇALIŞMA SÜRECİ
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { position: relative; padding: 14px 6px; }
/* Adımları birbirine bağlayan çizgi (sadece masaüstü) */
.process-step::after {
  content: ''; position: absolute; top: 28px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--kirmizi) 0 8px, transparent 8px 16px);
}
.process-step:last-child::after { display: none; }
.process-num {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--kirmizi); color: #fff; font-size: 22px; font-weight: 800;
  margin: 0 auto 18px; position: relative; z-index: 1;
}
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--gri-metin); font-size: 14.5px; }

/* ============================================================
   TANITIM VİDEOSU
   ============================================================ */
/* Koyu zemin: video player'ın öne çıkması için */
.video-section { background: var(--lacivert); }
.video-section .section-head h2 { color: #fff; }
.video-section .section-head p { color: #aeb6c4; }
/* 16:9 oranında, köşeleri yuvarlak video kutusu */
.video-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4); background: #000;
}
.video-wrap video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* ============================================================
   PROJELER / GALERİ
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  box-shadow: 0 6px 18px rgba(13,20,36,0.08);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item { cursor: pointer; }
.gallery-item:hover img { transform: scale(1.08); }

/* ---- Lightbox (büyük görünüm penceresi) ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(8,12,22,0.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lb-close, .lb-arrow {
  position: absolute; background: rgba(255,255,255,0.12); border: none; color: #fff;
  cursor: pointer; border-radius: 50%; transition: var(--gecis);
}
.lb-close:hover, .lb-arrow:hover { background: var(--kirmizi); }
.lb-close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lb-arrow { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 24px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #cfd6e2; font-size: 14px; font-weight: 600; }
@media (max-width: 560px) {
  .lb-arrow { width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ============================================================
   SSS (AKORDEON)
   ============================================================ */
.faq-item { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 22px; font-size: 16.5px; font-weight: 600; color: var(--metin);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
/* Açma/kapama artı işareti */
.faq-q i { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q i::before, .faq-q i::after {
  content: ''; position: absolute; background: var(--kirmizi); transition: var(--gecis);
}
.faq-q i::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-q i::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.open .faq-q i::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--gri-metin); }

/* ============================================================
   İLETİŞİM + FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.contact-info .section-tag { text-align: left; }
.contact-info h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 14px; }
.contact-info > p { color: var(--gri-metin); margin-bottom: 26px; }
.contact-list li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid #e8ecf2; }
.ci-label { font-size: 13px; font-weight: 700; color: var(--kirmizi); letter-spacing: 0.5px; }
.contact-list a, .contact-list span:not(.ci-label) { font-size: 16px; color: var(--metin); margin-top: 2px; }
.contact-list a:hover { color: var(--kirmizi); }

/* Form alanları */
.contact-form { background: var(--gri-acik); padding: 32px; border-radius: var(--radius); border: 1px solid #e8ecf2; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d4dae3; border-radius: 9px;
  font-size: 15px; font-family: inherit; background: #fff; transition: var(--gecis);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--kirmizi); box-shadow: 0 0 0 3px rgba(224,36,36,0.12);
}
.form-note { font-size: 12.5px; color: var(--gri-metin); text-align: center; margin-top: 12px; }
/* Form gönderim sonucu mesajı (boşken görünmez) */
.form-status { font-size: 14px; font-weight: 600; text-align: center; margin-top: 10px; min-height: 1px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--lacivert); color: #c2c9d6; padding: 50px 0 30px; }
.footer-inner { text-align: center; }
.footer-logo { height: 64px; width: auto; margin: 0 auto; display: block; }
.footer-brand p { margin: 10px 0 22px; font-size: 14px; }
.footer-copy { font-size: 13px; color: #7e8798; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; }

/* ====== SABİT WHATSAPP BUTONU ====== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: var(--gecis);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ============================================================
   MOBİL UYUM (RESPONSIVE)
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr; }
  /* Süreç adımları mobilde alt alta, çizgi gizli */
  .process { grid-template-columns: 1fr; gap: 14px; }
  .process-step { display: flex; align-items: center; gap: 16px; text-align: left; padding: 12px 0; }
  .process-step::after { display: none; }
  .process-num { margin: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 19px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Mobil menü: gizlenir, hamburger ile açılır */
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--lacivert); padding: 10px 0; transform: translateY(-150%);
    transition: transform 0.35s ease; box-shadow: var(--golge);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .menu-toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .cards, .why-grid { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
