/* GENEL */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background: radial-gradient(circle at top, #e3f0ff 0, #f4f4f4 45%, #f4f4f4 100%);
  color: #333;
}

/* BANNER */
.banner {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffcc00;
  color: #000;
  padding: 10px 0;
  font-weight: bold;
  font-size: 1.2em;
  white-space: nowrap;
  overflow: hidden;
  z-index: 1000;
}
.banner span {
  display: inline-block;
  padding-left: 100%;
  animation: slide-left 12s linear infinite;
}
@keyframes slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* HEADER */
header {
  background: linear-gradient(135deg, #003366, #00509e);
  color: white;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  margin-top: 40px; /* banner için boşluk */
}
header h1 {
  margin: 0;
  font-size: 2.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* NAV */
nav {
  background: #ffffffdd;
  backdrop-filter: blur(6px);
  text-align: center;
  padding: 12px;
  position: sticky;
  top: 40px;
  z-index: 3;
}
nav a {
  color: #003366;
  margin: 0 18px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}
nav a:hover {
  text-decoration: none;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 3px;
}

/* MAIN LAYOUT */
main {
  padding-top: 80px;
  padding-bottom: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO */
.hero-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* SECTION KART */
main section {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
main section h2 {
  margin-top: 0;
  color: #003366;
}

/* HİZMET SLIDER WRAPPER */
.hizmet-wrapper {
  position: relative;
  margin-top: 10px;
}

.hizmet-slider {
  display: flex;
  gap: 22px;
  overflow-x: hidden;   /* yatay scroll yok */
  overflow-y: hidden;   /* dikey scroll da yok */
  scroll-behavior: smooth;
  padding: 10px 40px;
  scrollbar-width: none; /* Firefox scroll çubuğu gizle */
}

.hizmet-slider::-webkit-scrollbar {
  display: none; /* Chrome, Edge vs. scroll çubuğu gizle */
}


/* --- HİZMET KARTLARI (496x496 kare görseller için) --- */
.hizmet.kart {
  flex: 0 0 360px;          /* kart genişliği */
  height: 360px;            /* kare */
  border-radius: 16px;
  background-size: contain; /* görseli KIRPMADAN tam göster */
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #02294f; /* görselle uyumlu lacivert zemin */
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  overflow: hidden;

}

.hizmet.kart:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 35px rgba(0,0,0,0.4);
}


/* OK BUTONLARI */
.hizmet-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 70px;
  border: none;
  border-radius: 50px;
  background: rgba(0,0,0,0.22);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  font-size: 20px;
  z-index: 5; /* sliderın üstünde olsun */
}
.hizmet-arrow.left { left: 5px; }
.hizmet-arrow.right { right: 5px; }

.hizmet-arrow:hover {
  background: rgba(0,0,0,0.38);
}

/* FOTOĞRAF BAĞLANTILARI (PNG isimlerinle birebir eşleşmeli) */
.elektrik-ariza { background-image: url("img/elektrik-ariza.png"); }
.plan-proje    { background-image: url("img/plan-proje.png"); }
.aydinlatma    { background-image: url("img/aydinlatma.png"); }
.daire-tesisat { background-image: url("img/daire-tesisati.png"); }
.cafe-restorant{ background-image: url("img/cafe.png"); }
.bakim-onarim  { background-image: url("img/bakim.png"); }

/* YORUMLAR */
.yorumlar {
  background: linear-gradient(135deg,#f5f8ff,#fff);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.yorum-kutusu {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.yorum-metin {
  font-style: italic;
  font-size: 1.15em;
}
.yorum-ad {
  margin-top: 14px;
  font-weight: bold;
  font-size: 1em;
  color: #0b3d91;
}

/* WHATSAPP BUTONU – eski haline yakın */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.whatsapp-float img {
  width: 55px;
  height: auto;
  display: block;
}

/* INTRO EKRANI */
#intro-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0A3D8F, #1E5BD8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 1s;
}
#intro-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
.intro-logo {
  width: 220px;
  filter: drop-shadow(0 0 25px #4A8CFF);
  animation: introScale 1.6s ease;
}
@keyframes introScale {
  0%   { opacity: 0; transform: scale(.7); }
  60%  { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* FOOTER */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 14px;
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ========== HAKKIMIZDA ÖZEL ALANLAR ========== */

.about-hero {
  padding: 26px;
}

.about-flex {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
}

.about-text p {
  margin-bottom: 10px;
}

.about-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-badges span {
  background: #e3f0ff;
  color: #003366;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  display: block;
}

/* Neden biz kartları */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.about-card {
  background: #f7f9ff;
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid #dde6ff;
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #003366;
}

/* İstatistikler */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.stat-item {
  background: #0b3d91;
  color: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
}

/* Zaman çizelgesi */
.timeline {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-left: 2px solid #d1ddff;
}

.timeline-item {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #003366;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px #d1ddff;
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #003366;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Etiketler */
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 8px;
}

.about-tags span {
  background: #eaf1ff;
  color: #003366;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.about-note {
  font-size: 0.9rem;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .about-flex {
    grid-template-columns: 1fr;
  }
}
/* ========== İLETİŞİM SAYFASI ========== */

.contact-top {
  padding: 26px;
}

.contact-top p {
  margin-bottom: 14px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.contact-card {
  background: #f7f9ff;
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid #dde6ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #003366;
}

.contact-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.contact-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e3f0ff;
  color: #003366;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #003366;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.contact-btn-whatsapp {
  background: #25D366;
}

/* Alt kısım: form + harita */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 22px;
  margin-top: 18px;
}

.contact-form-card,
.contact-map-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-form-card h2,
.contact-map-card h2 {
  margin-top: 0;
  color: #003366;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 4px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 1px solid #c7d4f5;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #003366;
  box-shadow: 0 0 0 2px rgba(0,51,102,0.15);
}

.contact-submit-btn {
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #003366;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.contact-submit-btn:hover {
  background: #00509e;
}

.contact-form-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 8px;
}

.map-wrapper {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  height: 260px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.error-msg {
  font-size: 0.8rem;
  color: #d00000;
  margin-top: 4px;
  display: block;
}

.input-error {
  border-color: #d00000 !important;
  box-shadow: 0 0 0 2px rgba(208,0,0,0.2) !important;
}
.seo-section {
  padding: 40px 20px;
  background: #f7f9ff;
}

.seo-container {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-section h2,
.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #003366;
}

.seo-section p {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.98rem;
}

.faq-section {
  padding: 30px 20px 50px;
  background: #ffffff;
}

.faq-item {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f2f5ff;
}

.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: #003366;
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

