/* değişkenler */
:root {
  --header-height: 6em;
  --header-height-mobile: 3.3em;
}

/* Genel Gövde Ayarları */
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background-color: #e8ddee;
  background-size: 4px 4px;
  padding-top: var(--header-height);
}


/* 🌐 Genel Header Yapısı */
.ust-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(to bottom, #e1e1e1, #ffffff 90%, #bc9d9d);
  border-bottom: 1px solid #ff0000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0.5em 0;
}

/* 📦 İçerik Genişlik Sınırlayıcı */
.ust-header > .iletisim-alani,
.ust-header > .logo-baslik-alani {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1em;
  box-sizing: border-box;
}

/* 📞 İletişim Alanı */
.iletisim-alani {
  
  display: flex;
  justify-content: space-between; /* 👈 Sol ve sağa yaslama */
  align-items: center;
  font-size: 1em;
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1em;
  box-sizing: border-box;
}

/* Sol: Telefon */
.telefon-alani {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Sağ: WhatsApp */
.whatsapp-alani {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  
}

.telefon,
.whatsapp-link {
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.telefon{
  color: #8B0000;
  font-size: 15px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #52fa58;
  text-shadow: 0 0 8px #000000, 0 0 8px #0a4222;
  text-decoration: none;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  display: block;
}


.rakam {
  transition: color 0.1s, text-shadow 0.1s;
}

.rakam.flas {
  color: #ffefef;
  text-shadow: 0 0 6px #ff0033;
}

/* 🖼️ Logo ve Başlık Alanı */
.logo-baslik-alani {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 0.5em;
}

/* Sol: Logo */
.ray-logo img {
  height: 24px;
  width: auto;
}

/* Orta: Başlık */
.orta {
  flex: 1;
  text-align: center;
}

.logo-baslik {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 2.5em;
  color: #d10000;
  white-space: nowrap;
  word-spacing: normal;
  letter-spacing: normal;
  text-shadow: 0px 2px 0px rgba(224, 178, 178, 0.918),
  0px -2px 0px rgb(90, 33, 66);               
  mix-blend-mode: multiply;

}

/* Efektli Kelime */
.efekt {
  position: relative;
  display: inline;
  transition: all 0.2s ease-in-out;
}

.efekt.flas {
  color: #ffffff;
  text-shadow: 0 0 18px #ff0000, 0 0 20px #ffffff;
  transform: scale(1.05);
}

/* Sağ: Hamburger Menü */
.sag {
  display: none;
}

.hamburger {
  font-size: 1em;
  cursor: pointer;
}



/* Instagram Link */
.instagram-link svg {
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.instagram-link:hover svg {
  transform: scale(1.2);
}

/* Menü */
nav.menu {
  max-width: 1250px;
  margin: 0 auto;
  margin-top: -10px;
  display: flex;
  flex-wrap: wrap; /* mobilde alt alta gelmesi için */
  justify-content: space-between;
  background-color: #ad0000;
  z-index: 999;
}

/* Menü Linkleri */
nav.menu a {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 0px;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Hafif beyaz çizgi */
  transition: background-color 0.3s, color 0.3s;
  min-width: 120px; /* mobilde düzgün hizalanması için */
}

/* Hover Efekti */
nav.menu a:hover {
  background-color: #000000;
  color: rgb(255, 145, 145);
}

/* Hamburger simgesi */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  color: white;
  background-color: #ad0000;
  z-index: 1000;
}


.kayan-alan {
  overflow: hidden;
  width: 1250px;         
  background: #fff;
  padding: 10px 0;
  margin: 0 auto;
}

.kayan-icerik {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: kaydir 24s linear infinite;

}

.kayan-icerik img {
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@keyframes kaydir {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.slider-container {
  max-width: 1250px;
  height: 240px;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hizmetlerimiz {
  max-width: 1250px;
  background: #ffeaea;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* Yatay değil, dikey hizalama */
  align-items: center;
  position: relative;
}

.bolum-baslik {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #ffffff; /* Hizmetlerimiz Başlık Yazı Rengi */
  text-shadow: #f70101 2px 2px 4px;
  font-size: 2rem;
  margin: 10px;
  
}

/*Hizmet Kartları bu alana*/

.hizmet-kartlari {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  justify-items: center;
  padding: 1rem 0;
}

.hizmet-karti {
  perspective: 1250px;
  width: 100%;
  max-width: 450px;
  height: 360px;
  position: relative;
  transform-origin: center bottom;
}

.kart-icerik {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  position: relative;
}

.hizmet-karti.flip .kart-icerik {
  transform: rotateX(180deg);
}

.kart-on, .kart-arka {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #e0aeae;
  border-radius: 8px;
  padding: 0px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  background-color: #ffffff;
  text-align: center;
}

.kart-on {
  z-index: 2;
}

.kart-arka {
  transform: rotateX(180deg);
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hizmet-resim {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5em;
}

.hizmet-baslik {
  color: #C00000;
  font-size: 1.3em;
  margin-bottom: 0.3em;
}

.hizmet-aciklama {
  color: #333;
  font-size: 1em;
  line-height: 1.4;
}

.kart-arka h4 {
  color: #C00000;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.kart-arka ul {
  list-style: disc;
  padding-left: 1.6em;
  text-align: left;
  color: #333;
  font-size: 0.95em;
  line-height: 1.4;
}

.kart-arka a {
  background: gainsboro;
  align-self: flex-end;
  margin-top: auto;
  margin-bottom: 50px; /* iletişim alanı + boşluk */
  padding: 10px 25px;
  text-decoration: none;
  color: #C00000;
  font-weight: bold;
  font-size: 0.95em;
  transition: color 0.3s ease;
}


.kart-arka a:hover {
  background-color: #ff9191;
}

/* hizmet kartı iletişim satırı */
.kart-iletisim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  box-sizing: border-box;
  z-index: 3;
  margin-bottom: 20px;
  
  
}

.kart-iletisim a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  font-size: 0.9em;
  font-weight: bold;
  text-decoration: none;
  gap: 0.4em;
  
  
}

.kart-iletisim .tel-link {
  background-color: #ffe4e1;
  color: #e60000;
  border-right: 1px solid #ccc;
  border-bottom-left-radius: 8px;
}

.kart-iletisim .whatsapp-link {
  background-color: #d0f0c0;
  color: #00ff00;
  border-bottom-right-radius: 8px;
}

.kart-iletisim .whatsapp-link img {
  height: 16px;
  width: 16px;
  vertical-align: middle;
}



/* hizmet kartları sonu*/


/* Sık Sorulan Sorular Bölümü */

.sss-bolumu {
  max-width: 1220px;
  margin: 20px auto;
  padding: 1rem;
  background-color: #ffe6ec; /* Açık pembe */
}

.sss-baslik {
  color: #C00000;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.sss-soru {
  margin-bottom: 1rem;
  border: 1px solid #C00000;
  border-radius: 6px;
  background-color: #fff;
  padding: 0.5rem 1rem;
}

.sss-soru summary {
  font-weight: 600;
  cursor: pointer;
  color: #C00000;
  padding: 0.5rem 0;
}

.sss-soru[open] summary {
  color: #8B0000;
}

.sss-soru p {
  margin-top: 0.5rem;
  color: #333;
  line-height: 1.5;
}


.iletisim-bolumu {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem;
}

.iletisim-icerik {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.iletisim-sol {
  flex: 0 0 60%;
}

.iletisim-sag {
  flex: 1;
}

.iletisim-sag iframe {
  margin-top: 40px;
  height: 420px; /* Önceki 250px'ti */
}


.iletisim-sol h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.iletisim-sol p {
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

.iletisim-sol a {
  color: #ff6699; /* Açık pembe */
  text-decoration: none; /* Alt çizgiyi kaldır */
}

.iletisim-sol a:hover {
  text-decoration: underline; /* İsteğe bağlı: hover'da çizgi */
  color: #ff3366; /* Hover'da biraz daha koyu pembe */
}

.dukkan-foto {
  margin-top: 1rem;
  width: 100%;
  max-width: 700px; /* 1250 px'e göre */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #222;
}


.copyright {
  font-size: 0.9rem;
  color: #666666cc; /* Açık gri */
  text-align: center;
}


@font-face {
  font-family: 'DotMatrix';
  src: url('/fonts/DOTMBold.TTF') format('woff');
}


.led-ticker {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: #000;
  overflow: hidden;
  z-index: 9999;
  border-top: 2px solid #0f0;
  box-shadow: 0 0 10px #0f0;
}

.led-text {
  display: inline-block;
  white-space: nowrap;
  color: #0f0;
  font-family: 'DotMatrix', monospace;
  font-size: 22px;
  padding-left: 100%;
  animation: scroll-left 40s linear infinite;
  text-shadow: 0 0 5px rgb(66, 255, 66);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* 1250 < X < 1024 arası çözünürlükler için */

@media (max-width: 1279px) {
  .hizmet-kartlari {
    grid-template-columns: repeat(2, 1fr); /* Mobil: 2 sütun */
  }


}

















/*    MOBIL    MOBIL    MOBIL    MOBIL    MOBIL    MOBIL    MOBIL    MOBIL */


@media (max-width: 800px) {
  .hizmet-kartlari {
    grid-template-columns: repeat(1, 1fr); /* Mobil: 2 sütun */
  }
}








/* Mobil */
@media (max-width: 600px) {
  /* Genel Gövde Ayarları */
  body {
    margin: 0px;
    margin-top: var(--header-height-mobile);
  
    font-family: Inter, Arial, sans-serif;
    padding-top: var(--header-height-mobile); /* header yüksekliği kadar boşluk bırak */
    
  }

.iletisim-alani {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

.telefon-alani,
.whatsapp-alani {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  color: #fff;
}

.telefon-alani {
  background-color: #e6baba; /* Kahverengi/Gri */
}

.whatsapp-alani {
  background-color: #4caf50; /* Yeşil */
  margin-right: 0px;
}

/* WhatsApp Link ve İkon */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #52fa58;
  text-shadow: 0 0 8px #000000, 0 0 8px #0a4222;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

.whatsapp-icon {
  width: 20px;
  /* height: 20px; */
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;

}

  .logo-baslik {
    margin: 0px;
    align-items: center;
    text-align: center;
  }

  .ray-logo img {
    height: auto;
    max-height: 30px; /* Mobilde ideal yükseklik */
    width: auto;
    max-width: 80%;   /* Ekrana taşmaması için */
    display: block;
    margin: 0 auto;   /* Ortalamak için */
  }

  .logo-baslik-alani h1 {
  margin: 0px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-right: 30px;
  font-size: 1.3em;
  transform: scaleY(1); /* 👈 Dikeyde %30 uzatma */
  word-spacing: 0;
  letter-spacing: normal;
  color: #ff0000;
  }

  .efekt {
  display: inline;
  margin: 0;
  padding: 0;
}


  .sag {
    display: block;
  }



.hamburger {
  position: fixed;
  top: 59px;
  right: 0px;
  background: linear-gradient(to bottom, #f5eaea, #eec5c5 70%, #754e4e);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 5px 10px;
  z-index: 999;
}


  .hamburger a {
    margin: 0;
    color: #333;
    text-decoration: none;
  }

nav.menu {
  position: fixed;
  top: 100px;
  right: 0px;
  width: fit-content;
  max-width: 90vw;
  background-color: #851a1aec;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  z-index: 1000;
}


  nav.menu.active {
    display: flex;
  }

  nav.menu a {
    flex: none;
    padding: 15px 20px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid rgba(44, 16, 16, 0.781);
    color: white;
    text-decoration: none;
  }

  .kayan-alan {
    margin: -5px 0px;
    padding: 20px 0px;
        width: 100%;


  }

  .kayan-icerik {
    color: #ad0000;
    white-space: pre;
    letter-spacing: 0.2em;
  }

  

  .slider-container {
    margin: 5px 0px;
    width: 100%;
    height: 110px;
    padding: 0px;
  }

.bolum-baslik {
    color: #ffffff; /* Koyu kırmızı */
    text-shadow: #8B0000;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
  }

  .hizmet-kartlari {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobil: 1 sütun */
    
  }

  .hizmet-karti {
    width: 90%; /* Mobilde genişlik */
  }

  .iletisim-icerik {
    flex-direction: column;
  }

  .iletisim-sol,
  .iletisim-sag {
    flex: 1 1 100%;
  }

  .iletisim-sag iframe {
    height: 200px;
  }


}

