/* Genel Ayarlar */
:root {
  --primary-yellow: #FFC107;
  --dark-bg: #121212;
  --white: #ffffff;
  --gray: #f8f9fa;
  --text-dark: #333;
  --text-light: #777;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8%;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--primary-yellow); }

.logo-icon { width: 46px; height: auto; display: block; }

.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-line { font-weight: 700; font-size: 1.5rem; }

nav a {
  text-decoration: none;
  color: var(--text-dark);
  margin: 0 15px;
  font-weight: 500;
  transition: 0.3s;
}
nav a:hover { color: var(--primary-yellow); }

.btn-call {
  background: var(--primary-yellow);
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  transition: 0.3s;
  display: inline-block;
}
.btn-call:hover { transform: scale(1.05); background: #e0a800; }

/* Hero */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--white);
  padding: 110px 8%;
  min-height: 520px;
  display: flex;
  align-items: center;

  --stripe-border: 6px;
  --stripe-checker: 20px;
  --stripe-height: calc(var(--stripe-border) * 2 + var(--stripe-checker));
}

/* Karartma */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    rgba(18,18,18,0.48) 0%,
    rgba(18,18,18,0.44) 40%,
    rgba(18,18,18,0.28) 65%,
    rgba(18,18,18,0.05) 100%
  );
  z-index: 1;
}

/* HERO üst + alt taksi şeridi (ALT şerit kayma fixli) */
.hero::after{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  background:
    /* ===== ÜST ŞERİT ===== */
    linear-gradient(var(--primary-yellow), var(--primary-yellow))
      0 0 / 100% var(--stripe-border) no-repeat,

    repeating-linear-gradient(
      90deg,
      #000 0 var(--stripe-checker),
      #fff var(--stripe-checker) calc(var(--stripe-checker) * 2)
    )
      0 var(--stripe-border) / 100% var(--stripe-checker) no-repeat,

    linear-gradient(var(--primary-yellow), var(--primary-yellow))
      0 calc(var(--stripe-border) + var(--stripe-checker))
      / 100% var(--stripe-border) no-repeat,

    /* ===== ALT ŞERİT (FIX) ===== */
    /* Alt şeridin ÜST sarı çizgisi */
    linear-gradient(var(--primary-yellow), var(--primary-yellow))
      0 calc(100% - var(--stripe-border) - var(--stripe-checker) - var(--stripe-border))
      / 100% var(--stripe-border) no-repeat,

    /* Alt şeridin DAMA bandı (tam iki çizginin arası) */
    repeating-linear-gradient(
      90deg,
      #000 0 var(--stripe-checker),
      #fff var(--stripe-checker) calc(var(--stripe-checker) * 2)
    )
      0 calc(100% - var(--stripe-border) - var(--stripe-checker) + 12px)
      / 100% var(--stripe-checker) no-repeat,

    /* Alt şeridin ALT sarı çizgisi */
    linear-gradient(var(--primary-yellow), var(--primary-yellow))
      0 calc(100% - var(--stripe-border))
      / 100% var(--stripe-border) no-repeat;
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1{
  font-size: 3.2rem;
  margin-bottom: 18px;
  line-height: 1.05;
}
.hero-content h1 span{ color: var(--primary-yellow); }

.hero-content p{
  font-size: 1.1rem;
  color: #cfcfcf;
  margin-bottom: 30px;
  max-width: 720px;
}

.btn-secondary{
  display: inline-block;
  padding: 12px 30px;
  border: none;
  background: var(--primary-yellow);
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: 0.3s;
}
.btn-secondary:hover{ transform: scale(1.05); background: #e0a800; }

.hero-buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.hero-call{ padding: 12px 26px; }

.btn-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
}
.btn-whatsapp:hover{ background: #1ebe57; transform: translateY(-1px); }

/* Hero görseli */
.hero-image{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-image img{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);

  height: 105%;
  width: auto;
  max-height: 520px;
  max-width: 120vw;

  object-fit: contain;
  opacity: 0.95;

  filter: drop-shadow(0 22px 55px rgba(0,0,0,0.60));

  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}

/* Ortak Başlık Yapısı */
.section-title { text-align: center; margin-bottom: 50px; }
.underline { width: 60px; height: 4px; background: var(--primary-yellow); margin: 10px auto; }

/* Services */
.services { padding: 80px 8%; background: var(--gray); }

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.card:hover { transform: translateY(-10px); }
.card i { font-size: 50px; color: var(--primary-yellow); margin-bottom: 20px; }

/* Hizmet Bölgeleri */
.areas{
  padding: 80px 8%;
  background: #fff;
}

.areas-desc{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
  color: #555;
  font-size: 1.05rem;
}

.areas-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.area-card{
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.area-card:hover{ transform: translateY(-4px); }

.area-card h3{
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.area-card p{ color: #666; }

.areas-cta{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* Gallery */
.gallery { padding: 80px 8%; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  background-image:
    repeating-linear-gradient(90deg, #000 0 12px, var(--primary-yellow) 12px 24px),
    repeating-linear-gradient(0deg, #000 0 12px, var(--primary-yellow) 12px 24px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.3s;
  background: transparent;
}

.img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 60px 8% 20px;
  border-top: 5px solid var(--primary-yellow);
}

.footer-content{
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-left h2{ margin-bottom: 8px; }
.footer-left p{ color: #cfcfcf; }

.footer-right{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}

.contact-pill {
  background: transparent;
  border: 2px solid var(--primary-yellow);
  padding: 14px 18px;
  border-radius: 50px;
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-pill.address{
  border-radius: 20px;
  line-height: 1.35;
}

.copyright {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 0.85rem;
  color: #777;
}

/* Sabit (floating) Ara + WhatsApp */
.floating-actions{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: 0.25s;
}

.float-btn span{ white-space: nowrap; }

.float-btn:hover{
  transform: translateY(-2px);
}

.float-call{
  background: var(--primary-yellow);
  color: #000;
}

.float-wa{
  background: #25D366;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .hero{
    padding: 90px 6%;
    min-height: 520px;
    text-align: center;
    justify-content: center;

    --stripe-border: 5px;
    --stripe-checker: 16px;
  }

  .hero-content{ max-width: 100%; }
  .hero-content h1{ font-size: 2.4rem; }

  .hero::before{
    background: linear-gradient(180deg,
      rgba(18,18,18,0.95) 0%,
      rgba(18,18,18,0.80) 55%,
      rgba(18,18,18,0.55) 100%
    );
  }

  .hero-image img{
    right: -40px;
    top: 55%;
    transform: translateY(-50%);
    height: 62%;
    width: auto;
    max-width: none;
    opacity: 0.28;
  }

  nav { display: none; }

  .footer-content{ flex-direction: column; }
  .footer-right{ width: 100%; }

  /* Mobilde altta yan yana */
  .floating-actions{
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    justify-content: center;
  }

  .float-btn{
    flex: 1;
    justify-content: center;
    padding: 14px 12px;
  }

  /* Alttaki sabit bar içeriği kapatmasın */
  body{
    padding-bottom: 92px;
  }

  /* Mobilde sadece ikon */
  .float-btn span{ display: none; }
  .float-btn{ gap: 0; }
  .float-btn i{ font-size: 18px; }
}

/* Masaüstünde biraz daha “buton” hissi */
@media (min-width: 993px){
  .float-btn{
    padding: 12px 16px;
  }
}
