/* =========================================================
   HD ELEKTRİK 2025 — İLETİŞİM SAYFASI (REV6 FINAL)
   ========================================================= */

/* ===== GENEL ===== */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #f9f9f9;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 2px solid #e60000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo img {
  height: 60px;
}

.brand-text h1 {
  font-size: 1.6rem;
  color: #e60000;
  margin: 0;
}

.brand-text p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #e60000;
}

.main-nav a.active {
  color: #e60000;
  font-weight: 600;
}

.lang-switch a {
  font-weight: 600;
}

/* =========================================================
   SAYFA BAŞLIĞI — YAZI ÖN PLANDA (REV6)
   ========================================================= */
.page-title {
  position: relative;
  text-align: center;
  padding: 160px 20px 100px;
  color: #fff;
  z-index: 2;
}

.page-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55); /* arka planı hafif karartır */
  z-index: -1;
}

.page-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #e60000;
  margin: 25px auto 0;
  border-radius: 2px;
}

.page-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 12px;
}

.page-title p {
  font-size: 1.1rem;
  color: #f2f2f2;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* =========================================================
   İLETİŞİM KUTULARI (Kurumsal REV5 görünüm)
   ========================================================= */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 100px auto;
  padding: 0 40px;
  align-items: stretch;
}

.contact-box {
  background: #fff;
  border-left: 4px solid #e60000;
  border-top: 4px solid #e60000;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: all 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: -8px -8px 16px rgba(230, 0, 0, 0.35),
              6px 6px 18px rgba(0, 0, 0, 0.12);
}

/* ===== KUTU BAŞLIKLARI ===== */
.contact-box h3 {
  color: #e60000;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
}

.contact-box h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #e60000;
  margin-top: 6px;
  border-radius: 2px;
}

/* ===== METİN ALANLARI ===== */
.contact-box p {
  color: #333;
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0;
}

.contact-box a {
  color: #e60000;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease;
  word-break: break-word;
}

.contact-box a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ===== HARİTA ===== */
iframe {
  border: none;
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-top: 10px;
}

.map-link {
  margin-top: 10px;
  text-align: right;
}

.map-link a {
  color: #e60000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.map-link a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.legal-bar {
  background-color: #f3f3f3;
  color: #555;
  font-size: 13px;
  text-align: center;
  padding: 10px 15px;
  border-top: 1px solid #ddd;
}

/* =========================================================
   RESPONSIVE (Mobil & Tablet)
   ========================================================= */
@media (max-width: 1024px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .brand-logo img {
    height: 55px;
  }

  .page-title {
    padding: 120px 15px 80px;
  }

  .contact-container {
    padding: 0 20px;
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .brand-logo img {
    height: 48px;
  }

  .page-title h2 {
    font-size: 1.8rem;
  }

  .contact-box {
    min-height: auto;
    padding: 25px 20px;
  }

  iframe {
    height: 220px;
  }
}
