/* ===== Alov Təhlükəsizlik — Əsas dizayn faylı ===== */

:root {
  --qirmizi: #e3211c;
  --qirmizi-tund: #b5140f;
  --tund: #14181f;
  --tund-2: #1d2330;
  --boz: #6b7280;
  --boz-acig: #f4f5f7;
  --ag: #ffffff;
  --metn: #2a2f3a;
  --kolge: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --keçid: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--metn);
  line-height: 1.6;
  background: var(--ag);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.konteyner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Üst zolaq ===== */
.ust-zolaq {
  background: var(--tund);
  color: #cbd2dc;
  font-size: 0.85rem;
}
.ust-zolaq .konteyner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  flex-wrap: wrap;
}
.ust-zolaq a:hover { color: var(--ag); }
.ust-zolaq .ust-melumat span { margin-right: 18px; }
.ust-zolaq i { color: var(--qirmizi); margin-right: 6px; }

/* ===== Naviqasiya ===== */
.basliq {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ag);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.basliq .konteyner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
.footer .logo-img {
  height: 72px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}
.logo-metn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
  color: var(--tund);
}
.logo-metn span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--qirmizi);
}

.menyu { display: flex; gap: 6px; }
.menyu a {
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px;
  color: var(--tund);
  transition: var(--keçid);
}
.menyu a:hover, .menyu a.aktiv { background: var(--boz-acig); color: var(--qirmizi); }

.basliq-dugme {
  background: var(--qirmizi);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  transition: var(--keçid);
}
.basliq-dugme:hover { background: var(--qirmizi-tund); transform: translateY(-2px); }

.menyu-dugme {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--tund);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(rgba(13, 17, 23, 0.82), rgba(13, 17, 23, 0.88)),
              url("https://images.unsplash.com/photo-1599710406491-f1d83b3a7e7b?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: 110px 0;
}
.hero h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--qirmizi); }
.hero p { font-size: 1.15rem; max-width: 640px; color: #d7dce3; margin-bottom: 32px; }
.hero-dugmeler { display: flex; gap: 16px; flex-wrap: wrap; }

.dugme {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  transition: var(--keçid);
  cursor: pointer;
  border: 2px solid transparent;
}
.dugme-esas { background: var(--qirmizi); color: #fff; }
.dugme-esas:hover { background: var(--qirmizi-tund); transform: translateY(-2px); }
.dugme-cevre { border-color: #fff; color: #fff; }
.dugme-cevre:hover { background: #fff; color: var(--tund); }

/* ===== Statistika ===== */
.statistika {
  background: var(--qirmizi);
  color: #fff;
}
.statistika .konteyner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 46px 20px;
  text-align: center;
}
.statistika .reqem { font-size: 2.6rem; font-weight: 800; }
.statistika .ad { font-size: 0.95rem; opacity: 0.9; }

/* ===== Bölmə başlıqları ===== */
.bolme { padding: 80px 0; }
.bolme-boz { background: var(--boz-acig); }
.bolme-basliq { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.bolme-basliq .etiket {
  color: var(--qirmizi);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}
.bolme-basliq h2 { font-size: 2.2rem; margin: 10px 0 14px; color: var(--tund); }
.bolme-basliq p { color: var(--boz); }

/* ===== Xidmət kartları ===== */
.kart-setir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.kart {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--kolge);
  transition: var(--keçid);
  border-top: 4px solid transparent;
}
.kart:hover { transform: translateY(-8px); border-top-color: var(--qirmizi); }
.kart .ikon {
  width: 64px; height: 64px;
  background: rgba(227, 33, 28, 0.1);
  color: var(--qirmizi);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.kart h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--tund); }
.kart p { color: var(--boz); font-size: 0.96rem; }
.kart .ardi { display: inline-block; margin-top: 16px; color: var(--qirmizi); font-weight: 700; }

/* ===== Niyə biz ===== */
.niye {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.niye img { border-radius: var(--radius); box-shadow: var(--kolge); }
.niye-siyahi li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.niye-siyahi .ikon {
  flex: 0 0 46px;
  height: 46px;
  background: var(--qirmizi);
  color: #fff;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.niye-siyahi h4 { color: var(--tund); margin-bottom: 4px; }
.niye-siyahi p { color: var(--boz); font-size: 0.95rem; }

/* ===== Tərəfdaşlar ===== */
.terefdaslar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.terefdaslar .marka {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--boz);
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ===== Çağırış (CTA) ===== */
.cagiris {
  background: linear-gradient(135deg, var(--qirmizi), var(--qirmizi-tund));
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}
.cagiris h2 { font-size: 2.1rem; margin-bottom: 14px; }
.cagiris p { max-width: 560px; margin: 0 auto 28px; opacity: 0.92; }
.cagiris .dugme { background: #fff; color: var(--qirmizi); }
.cagiris .dugme:hover { background: var(--tund); color: #fff; }

/* ===== Layihələr ===== */
.layihe-setir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.layihe {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--kolge);
  background: #fff;
  position: relative;
}
.layihe img { height: 220px; object-fit: cover; width: 100%; transition: var(--keçid); }
.layihe:hover img { transform: scale(1.07); }
.layihe .metn { padding: 22px; }
.layihe h3 { font-size: 1.15rem; color: var(--tund); margin-bottom: 6px; }
.layihe span { color: var(--qirmizi); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }

/* ===== Daxili səhifə başlığı ===== */
.sehife-basliq {
  background: linear-gradient(rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.85)),
              url("https://images.unsplash.com/photo-1486718448742-163732cd1544?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.sehife-basliq h1 { font-size: 2.6rem; margin-bottom: 10px; }
.sehife-basliq .yol { color: #d7dce3; font-size: 0.95rem; }
.sehife-basliq .yol span { color: var(--qirmizi); }

/* ===== Haqqımızda ===== */
.haqqinda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.haqqinda img { border-radius: var(--radius); box-shadow: var(--kolge); }
.haqqinda h2 { font-size: 2rem; color: var(--tund); margin-bottom: 18px; }
.haqqinda p { color: var(--boz); margin-bottom: 16px; }
.deyer-setir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.deyer {
  text-align: center;
  padding: 30px 20px;
}
.deyer .ikon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  background: rgba(227, 33, 28, 0.1);
  color: var(--qirmizi);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.8rem;
}
.deyer h3 { color: var(--tund); margin-bottom: 8px; }
.deyer p { color: var(--boz); font-size: 0.95rem; }

/* ===== Əlaqə ===== */
.elaqe-setir {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.elaqe-melumat .sətir {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.elaqe-melumat .ikon {
  flex: 0 0 50px; height: 50px;
  background: var(--qirmizi); color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.elaqe-melumat h4 { color: var(--tund); margin-bottom: 2px; }
.elaqe-melumat p { color: var(--boz); }

.forma { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--kolge); }
.forma label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--tund); font-size: 0.92rem; }
.forma input, .forma textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dde1e7;
  border-radius: 10px;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--keçid);
}
.forma input:focus, .forma textarea:focus { outline: none; border-color: var(--qirmizi); }
.forma textarea { resize: vertical; min-height: 130px; }
.forma .dugme { width: 100%; border: none; }
.forma-cavab { margin-top: 14px; color: var(--qirmizi); font-weight: 600; display: none; }

.xerite { margin-top: 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--kolge); }
.xerite iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ===== Footer ===== */
.footer {
  background: var(--tund);
  color: #aeb6c2;
  padding: 64px 0 0;
}
.footer-setir {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 50px;
}
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.05rem; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer p { font-size: 0.92rem; margin-bottom: 14px; }
.footer-link li { margin-bottom: 11px; }
.footer-link a:hover { color: var(--qirmizi); }
.footer .sosial { display: flex; gap: 12px; margin-top: 16px; }
.footer .sosial a {
  width: 40px; height: 40px;
  background: var(--tund-2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: var(--keçid);
}
.footer .sosial a:hover { background: var(--qirmizi); }
.footer-alt {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.86rem;
}

/* ===== WhatsApp düyməsi ===== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: var(--keçid);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== Animasiya ===== */
.gorun { opacity: 0; transform: translateY(30px); transition: 0.7s ease; }
.gorun.aktiv { opacity: 1; transform: translateY(0); }

/* ===== Responsiv (mobil) ===== */
@media (max-width: 980px) {
  .kart-setir, .layihe-setir { grid-template-columns: repeat(2, 1fr); }
  .statistika .konteyner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .niye, .haqqinda, .elaqe-setir { grid-template-columns: 1fr; }
  .footer-setir { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; }
}

@media (max-width: 680px) {
  .menyu {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 14px 20px;
    box-shadow: var(--kolge);
    display: none;
  }
  .menyu.acig { display: flex; }
  .menyu-dugme { display: block; }
  .basliq-dugme { display: none; }
  .kart-setir, .layihe-setir, .deyer-setir, .footer-setir { grid-template-columns: 1fr; }
  .ust-zolaq .konteyner {
    height: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
  }
  .ust-zolaq .ust-melumat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .ust-zolaq .ust-melumat span { margin-right: 0; }
  .ust-zolaq .ust-melumat span:last-child { display: none; }
  .ust-zolaq .ust-sosial { display: flex; gap: 16px; }
  .hero { padding: 70px 0; }
  .hero h1 { font-size: 1.9rem; }
}
