:root {
  --brand: #243447; /* lacivert-gri */
  --red: #c62828;
  --bg-light: #f7f9fb;
  --text: #1f1f1f;
  --white: #ffffff;
  --shadow: rgba(36, 52, 71, 0.12);
  --capsule-radius: 999px;
  --container: 1200px;
}

/* GENEL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   🌐 NAVBAR GENEL YAPI
   ============================================================ */

.header-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  pointer-events: none; /* arka plan tıklanabilir kalsın */
}

/* --- NAV kapsülü --- */
.nav-capsule {
  pointer-events: auto;
  width: min(var(--container), 92%);
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--capsule-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 12px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo - Menü - Buton */
  gap: 10px;
  position: relative;
  z-index: 1000;
}

/* --- Logo --- */
.nav__logo img {
  height: 56px;
  display: block;
}

/* ============================================================
   📋 MENÜ YAPISI
   ============================================================ */

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 6px 4px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__menu a:hover {
  color: var(--brand);
  background: #ee8686;
}

/* ============================================================
   🔘 "Bizi Arayın" BUTONU
   ============================================================ */

.nav__cta {
  text-decoration: none;
  color: #fff;
  background: var(--red);
  padding: 10px 18px;
  border-radius: var(--capsule-radius);
  font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap; /* tek satırda kalsın */
}

.nav__cta:hover {
  background: #b71c1c;
}

/* ============================================================
   📂 DROPDOWN MENÜ TASARIMI
   ============================================================ */

/* --- Ana kapsayıcı --- */
.dropdown {
  position: relative; /* Alt menü için referans */
}

/* --- Açılır menü kutusu --- */
.dropdown-content {
  display: none; /* varsayılan gizli */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

/* --- İç linkler --- */
.dropdown-content li {
  text-align: left;
}

.dropdown-content li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

/* --- Hover efekti --- */
.dropdown-content li a:hover {
  background: rgba(21, 101, 192, 0.1);
  color: var(--blue);
}

/* --- Hover ile görünür hale gelsin --- */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   🍔 HAMBURGER MENÜ
   ============================================================ */

#nav-toggle {
  display: none;
}

.hamb {
  display: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
}

.hamb span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 6px 0;
  border-radius: 2px;
}

/* ============================================================
   📱 MOBİL GÖRÜNÜM
   ============================================================ */

@media (max-width: 980px) {
  /* Hamburger görünür */
  .hamb {
    display: block;
    position: absolute;
    left: 140px; /* logonun sağı */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  /* Menü gizli başlasın */
  .nav__menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
  }

  /* Checkbox aktifken menü açılsın */
  #nav-toggle:checked + .nav__menu {
    display: flex;
  }

  /* Dropdown mobilde açık kalsın */
  .dropdown-content {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  /* Buton sağda sabit kalsın */
  .nav__cta {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block !important;
    z-index: 1000;
  }

  /* Menü öğeleri ortalansın */
  .nav__menu {
    justify-content: center;
  }
}


/* ===== HERO (Orijinal sürüm, çerçevesiz) ===== */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
    url("img/hero.jpg") center bottom / cover no-repeat;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 200px; /* yazıyı biraz aşağı alır */
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero h1 {
    white-space: normal;
    font-size: 32px;
  }
}

.hero p {
  font-size: 20px;
  margin-bottom: 24px;
  color: #e5e7eb;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--brand, #1565c0);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.hero-btn:hover {
  background: #1a2638;
}

/* ===== İLETİŞİM KAPSÜLÜ ===== */
.contact-pill {
  width: 100%;
  max-width: 880px; /* navbar genişliğiyle eşitlendi */
  margin: 0 auto -20px auto; /* boşluk azaltıldı */
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--capsule-radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: var(--text);
  padding: 28px 34px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.contact-pill a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.contact-pill a:hover {
  color: var(--red);
}

/* ===== HİZMETLER ===== */
.services {
  padding: 80px 20px;
  margin-top: -80px;
  background: linear-gradient(to bottom, #f2f4f7, #e9edf2);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.services h2 {
  background: #1f2937; /* lacivert */
  color: #fff; /* beyaz yazı */
  display: block; /* inline değil artık — tüm satırı kaplar */
  text-align: center; /* yazı ortada */
  width: 100%; /* tüm grid genişliğini kaplasın */
  padding: 25px 0; /* yükseklik → 25px yukarı + 25px aşağı = ince bant */
  font-size: 32px;
  margin: 0 auto 50px; /* altına 50px boşluk bırak (kartlarla arası) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* yumuşak gölge */
  letter-spacing: 0.5px;
  border-radius: 16px;
}

.services h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #c62828;
  margin: 10px auto 0;
  border-radius: 2px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 16px var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer; /* 👈 kartın tıklanabilir olduğunu gösterir */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(30, 136, 229, 0.25);
}

.service-card i {
  font-size: 40px;
  color: var(--brand);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card ul {
  list-style: none;
  margin-bottom: 18px;
  color: #555;
}
.service-card li {
  margin: 4px 0;
}
.service-card a {
  text-decoration: none;
  color: var(--red);
  font-weight: 600;
  transition: color 0.2s;
}
.service-card a:hover {
  color: var(--brand);
}

/* HAKKIMIZDA */
.about {
  padding: 100px 20px;
  background: #fff;
}

.about-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Sol taraf: yazı */
.about-text {
  flex: 1.2; /* 🔹 60% oran */
  min-width: 320px;
}

.about-text h2 {
  position: relative;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  background: #1f2937;
  border-radius: 16px;
  padding: 14px 180px;
  display: inline-block;
  margin-bottom: 30px;
}

/* 🔹 Hizmetlerimizdeki gibi alt çizgi */
.about-text h2::after {
  content: "";
  margin: 0px auto 0;
  display: block;
  left: 0;
  bottom: 10px;
  width: 120px; /* 🔹 kısa, zarif çizgi */
  height: 4px;
  background: #c62828;
  border-radius: 2px;
}

/* Paragraflar */
.about-text p {
  margin-bottom: 16px;
  color: #333;
  line-height: 1.6;
  font-size: 17px;
  max-width: 600px;
}

/* Sağ taraf: görsel */
.about-image {
  flex: 0.8; /* 🔹 40% oran */
  min-width: 280px;
}

.about-image img {
  width: 100%;
  max-width: 420px; /* 🔹 küçültüldü */
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Mobil */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text h2 {
    font-size: 28px;
    padding: 10px 24px;
  }
  .about-image img {
    max-width: 300px;
  }
}

/* ===== FOOTER (3 sütun) ===== */
.footer {
  background: var(--brand);
  color: #fff;
  gap: 60px;
  justify-content: center;
}
.footer .footer-wrap {
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer h4 {
  margin-bottom: 14px;
  font-size: 18px;
}
.footer p {
  color: #e9eef5;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li {
  margin: 8px 0;
  color: #e9eef5;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .footer-links li {
  margin: 6px 0;
}
.footer-social a {
  display: inline-block;
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 16px 20px;
  font-size: 14px;
  color: #e9eef5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hamb {
    display: block;
  }
  .nav__menu {
    display: none;
  }
  /* açılır menü kapsül altında panel gibi */
  #nav-toggle:checked ~ .nav__menu {
    display: flex;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    padding: 14px;
  }
  .nav__cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
  .services h2 {
    font-size: 30px;
  }
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .footer .footer-wrap {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   🌐 ALT SAYFA TASARIMI (hizmet detay sayfaları)
   ============================================================ */

/* === SAYFA BAŞLIĞI (üst kısım, koyu arka planlı) === */
.page-header {
  background: #1f2937; /* koyu lacivert ton */
  color: #fff;
  text-align: center;
  padding: 160px 20px 60px; /* üst boşluk geniş, altta az */
  border-bottom: 4px solid #d32f2f; /* altına kırmızı şerit (marka rengiyle uyumlu) */
}
.page-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
  letter-spacing: 0.5px; /* daha okunaklı başlık */
}
.page-header p {
  font-size: 18px;
  color: #d1d5db; /* açık gri ton */
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   ⚙️ HİZMET DETAY (Paragraf + Görsel + Alt Liste)
   ============================================================ */
.service-detail {
  background: #f7f9fb; /* sayfa arka planı (açık gri ton) */
  padding: 80px 20px;
}

/* === Ana kart kapsayıcı === */
.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff; /* beyaz kart */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  display: flex;
  flex-direction: column; /* üstte paragraf+resim, altta tablo */
  gap: 40px;
}

/* === ÜST BÖLÜM (Metin + Görsel yan yana) === */
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* mobilde alt alta */
}

/* Metin kısmı */
.detail-text {
  flex: 1.2;
  min-width: 320px;
}
.detail-text h2 {
  color: #1f2937;
  margin-bottom: 16px;
  font-size: 26px;
}
.detail-text p {
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* Görsel kısmı */
.detail-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail-image img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1; /* kare oran */
  object-fit: cover; /* kırpılmadan orantılı yerleşim */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}
.detail-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* === ALT BÖLÜM (Tablo benzeri liste) === */
.equipment-table {
  background: #f3f4f6; /* çok açık gri ile ana karttan ayrışsın */
  border-radius: 12px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px 40px;
  border-top: 2px solid #e5e7eb; /* kart bölümü ayırıcı çizgi */
}

/* Her sütun (örneğin Vinçler, Forkliftler vs.) */
.equipment-table > div {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.equipment-table > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Başlıklar */
.equipment-table h3 {
  background: #36455d;
  border-left: 4px solid #c62828;
  font-size: 18px;
  color: #edf0f4;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 8px 12px; /* iç boşluk biraz artar, daha dengeli görünür */
  border-radius: 6px; /* köşelere hafif yumuşaklık */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* başlığa hafif derinlik efekti */
}

/* Liste elemanları */
.equipment-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.equipment-table li {
  padding: 5px 0;
  color: #374151;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.equipment-table li::before {
  content: "•";
  color: #1565c0;
  font-size: 18px;
  line-height: 1;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .detail-top {
    flex-direction: column;
    text-align: center;
  }
  .detail-image img {
    max-width: 360px;
  }
  .equipment-table {
    padding: 20px;
    gap: 20px;
  }
}
/* ===== İLETİŞİM SAYFASI ===== */
.contact-section {
  background: #f7f9fb;
  padding: 80px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.contact-form h2,
.contact-info h2 {
  color: #d32f2f;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

.contact-form button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1a2638;
}

.contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
}
/* ===== SOL TARAF: İLETİŞİM BİLGİLERİ ===== */
.contact-form {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  border-left: 5px solid #c62828;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Liste düzeni */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #333;
  margin-bottom: 14px;
}

.contact-list i {
  color: #c62828;
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.contact-list a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: #c62828;
}

/* Alt butonlar */
.contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.call-btn,
.whatsapp-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.call-btn {
  background: #1a2638;
}
.whatsapp-btn {
  background: #25d366;
}

.call-btn:hover,
.whatsapp-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.map-container {
  width: 100%;
  max-width: 500px; /* sağ kartta taşmayı engeller */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 300px;
  display: block;
  border: none;
  border-radius: 12px;
}
