

  
    /* Hero Bölümü */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero.dark-background {
  background: transparent !important;
}

#hero .carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item img {
  height: 100%;
}

#hero .carousel-item img {
  width: 100%;
  object-fit: cover;
  display: block;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Hafif karartma */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1;
}

/* Hakkımızda Bölümü (foto + overlay) */




#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* İçerik overlay üstünde */
#about .container {
  position: relative;
  z-index: 1;
}

#about h2 {
  color: #f5f5f5;
  font-weight: 700;
}

#about h3 {
  color: #f5f5f5;
  font-weight: 600;
}

#about p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-title .baslik-ortak {
  font-size: 2rem !important;  /* her ikisine de aynı boyut */
  font-weight: 100 !important;
  letter-spacing: 6px !important;
  text-transform: uppercase !important;
  color: #fff !important;
}




/* Fotoğraf kutusu */
.about-img-wrapper {
  display: inline-block;
  overflow: hidden;
  border-radius: 1rem;
  width: 80%;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.about-img-wrapper img {
  width: 100%;
  display: block;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

.about-img-wrapper:hover img {
  transform: scale(1.1);
}






/* Ortak arka plan resmi */


/* Başlıklar */
.section-bg h2,
.section-bg h3,
.section-bg h4,
.section-bg h5,
.section-bg h6 {
  color: #010101;
  text-shadow: none; /* açık arka plan olduğu için gölgeyi kaldırıyoruz */
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px;
  width: 100%;
  min-height: 100vh;
  background: url('/assets/img/logo13.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

#services {
  margin: 0;
  padding: 0;
}


/* Gölgelendirme efekti */
.services::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.6); 
  z-index: -1; 
}

.service-item { 
  background-size: cover; 
  background-position: center; 
  position: relative; 
  transition: transform 0.6s ease; 
  aspect-ratio: 1 / 1; /* Kare kutular */ 
}

.service-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.57) !important; /* Fotoğraf biraz karardı */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: background 0.3s ease;
  color: #fff;
}

.service-item:hover .overlay {
  background: rgba(0,0,0,0.4); /* Hover’da biraz daha karart */
}




/* Overlay yazıları beyaz */
.service-item .overlay, 
.service-item .overlay h3, 
.service-item .overlay .btn-link, 
.service-item .overlay i {
  color: #fff !important; 
}

.service-item:hover { 
  transform: translateX(-10px); 
}

.service-item .overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.4); 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: flex-start;   /* Ortadan sola aldık */
  text-align: left; 
  padding: 20px 40px;        /* Soldan boşluk verelim */
  transition: background 0.3s ease; 
}

.service-item:hover .overlay { 
  background: rgba(0, 0, 0, 0.6); 
}

.service-item h3 { 
  font-size: 20px; 
  margin: 15px 0; 
  letter-spacing: 1px;
  color: #fff !important; 
} 


/* "Projeler" linki - solunda yatay kırmızı şerit */
.service-item .btn-link { 
  margin-top: 10px; 
  color: #fff; 
  text-decoration: none; 
  border: none; 
  position: relative; 
  padding-left: 20px;   /* Çizgi ile yazı arası boşluk */
  display: inline-block;
  transition: 0.3s;
}

.service-item .btn-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;           /* Çizgi uzunluğu */
  height: 2px;           /* Çizgi kalınlığı */
  background: red; 
  transform: translateY(-50%);
}

.service-item .btn-link:hover { 
  color: red; 
}


@media (max-width: 480px) {
  .services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;              
    padding: 0px;
    box-sizing: border-box;
  }

  .service-item {
    position: relative;
    width: 100%;       /* 107% yerine 100%, kutular taşmasın */
    height: 50vw;      /* Mobilde ekranın yarısı yüksekliğinde */
    overflow: hidden;
    border-radius: 8px;

    background-size: cover;  /* fotoğraf kutuyu doldursun */
    background-position: center;
    background-repeat: no-repeat;
  }

   .service-item img {
    width: 110%;   /* resmi kutudan biraz daha büyük yap */
    height: 110%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  /* Başlık tam ortaya gelsin */
    /* Başlık tam ortaya gelsin */
  .service-item h3 {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 400; /* ince */
    margin: 0;
    color: #fff;
    background: none;
    padding: 0;
    text-align: center;
  }

   .service-item .btn-link {
    font-size: 12px;
    padding-left: 10px;
  }

  .service-item .overlay i {
    font-size: 16px;
  }
}


.testimonials {
  background: url('/assets/img/logo13.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 20px;
  position: relative;
  color: #fff; /* Yazılar overlay ile okunaklı */
  overflow: hidden;
}

/* Karartma overlay */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* %50 karartma */
  z-index: 0;
}

/* Container içerikleri overlay’in üstünde olsun */
.testimonials .container {
  position: relative;
  z-index: 1;
}



/* Section başlığı */
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 50px;
}

/* Testimonial kartları */
.testimonial-card {
  background-color: rgba(0,0,0,0.9); /* Siyah kutu */
  color: #fff; /* Yazılar beyaz */
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.client-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.client-position {
  font-size: 14px;
  color: #ccc;
}


/* Responsive */
@media (max-width: 768px) {
  .testimonials {
    padding: 60px 15px;
  }
  .section-title {
    font-size: 20px !important;
    margin-bottom: 40px;
  }
}







    


/* Galeri Kartı */
.portfolio-wrap {
    position: relative;
    overflow: hidden;
    height: 350px; /* Tüm kartların aynı boyutta olmasını sağlar */
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.portfolio-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görselin kartı doldurmasını sağlar */
    display: block;
    border-radius: 0;
    transition: transform 0.6s ease-in-out; /* Hover'da yumuşak geçiş sağlar */
}

.portfolio-wrap:hover img {
    transform: scale(1.05); /* Titreme/büyüme efekti */
}

/* Hover üzerine çıkan metinler ve çizgiler için katman */
.portfolio-info {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Arka planı hafifçe kararttık, metin daha okunaklı olsun diye */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    border-radius: 1rem;
}

.portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio-info h4 {
    color: white !important; /* Başlık rengini beyaz yapmaya zorlar */
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Gölgelendirme daha belirgin */
    line-height: 1.2;
}

.portfolio-info p {
    color: white !important; /* Açıklama metninin rengini beyaz yapmaya zorlar */
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
}

/* Diğer CSS kodlarını değiştirmeyin */

/* Çizgi efekti için sözde-elemanlar */
.portfolio-info::before,
.portfolio-info::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid white;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sol üst köşe çizgisi */
.portfolio-info::before {
    top: 20px;
    left: 20px;
    border-width: 2px 0 0 2px;
}

/* Sağ alt köşe çizgisi */
.portfolio-info::after {
    bottom: 20px;
    right: 20px;
    border-width: 0 2px 2px 0;
}

/* Hover'da çizgilerin görünür olması ve uzaması */
.portfolio-wrap:hover .portfolio-info::before,
.portfolio-wrap:hover .portfolio-info::after {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    opacity: 1;
}

/* Galeri Başlık */
#galeri h2 {
    font-weight: 100;
    text-align: center;
    margin-bottom: 10px;
    color: #f1efef !important;
}

#galeri p {
    text-align: center;
    margin-bottom: 40px;
    color: #f9f3f3 !important;
}





/* Video Galeri - Mevcut CSS'i korundu */
#videogaleri .section-title h2,
#videogaleri .section-title p {
    color: #111 !important;
}

#videogaleri .portfolio-filters li {
    color: #222 !important;
}

#videogaleri .portfolio-filters li.filter-active {
    background: rgba(0,0,0,0.1);
    color: #927f7f !important;
    border-radius: 6px;
}

video {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.stat-box {
  margin-bottom: 30px;
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #030303;
}

.stat-box p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #030303;
}







/* Logo resmi */
.logo-img {
    width: 60px; /* istediğin genişliği ayarlayabilirsin */
    height: 60px; /* yükseklik orantılı, resim kare değilse auto yapabilirsin */
    object-fit: contain; /* resmi bozmadan kutuya sığdırır */
    border-radius: 8px; /* hafif yuvarlak köşe, opsiyonel */
}

/* Başlık yanındaki boşluk */
.sitename {
    font-size: 1.5rem; /* istersen artır veya azalt */
    font-weight: 700;
    color: #111;
}






/* Harita */
#contact .map-container iframe {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}



/* İletişim Kısmı Arka PLan /*

/* Arka yüz başlığı Fotoğraf */
.flip-card-back h4,
.flip-card-back p,
.flip-card-back a {
  font-family: 'Inter', sans-serif;
  font-weight: 150; /* Extra Light */
  color: #fff; /* Beyaz */
  position: relative;
  z-index: 1;
}

/* SAĞDAN sola */
@keyframes slideRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* SOLDAN sağa */
@keyframes slideLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ZOOM IN */
@keyframes zoomIn {
  from { transform: scale(1.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ZOOM OUT */
@keyframes zoomOut {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}








/* İletişim-Wrap kısmı
Overlay karartma */





#scroll-top {
  background: transparent !important;
  box-shadow: none; /* varsa gölgeyi kaldırır */
  border: none;     /* varsa kenarlığı kaldırır */
  color: white;
  font-size: 36px; /* büyüklüğünü ayarlayabilirsin */

}

/* Mesaj kutusu: yuvarlak ve modern */
.message-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  cursor: pointer;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  overflow: visible;
}

/* Header ikon */
.message-header i {
  font-size: 28px;
  color: #14100f;
}

/* Açılır body */
.message-body {
  position: absolute;
  bottom: 70px; /* header’ın üstünde başlasın */
  right: 0;
  background-color: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
  white-space: nowrap;
}

/* Açık olduğunda */
.message-box.open .message-body {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Telefon linki */
.phone-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #030303;
  text-decoration: none;
  font-weight: 500;
}

.phone-icon i {
  font-size: 22px;
  color: #060403;
}

.phone-text {
  display: none;
}

/* Hover: telefon yazısı */
.phone-icon:hover .phone-text {
  display: inline-block;
}


/* Kart kaplama */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 9999; /* diğer içeriklerin üstünde */
}

/* Aktif olunca görünsün */
.welcome-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.welcome-card {
  background: transparent; /* arka planı tamamen şeffaf */
  padding: 20px;
  border-radius: 12px;
  width: 500px;       /* kartın genişliğini büyüttüm */
  height: 300px;      /* kartın yüksekliğini ayarladım */
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  position: relative;
  overflow: hidden;
}

/* Arka plana resim */
.welcome-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/hazem_ana_logo3.png") center/contain no-repeat;
  /* contain → resim kırpılmadan karta sığar */
  opacity: 1;
  z-index: -1;
  border-radius: 12px;
}


/* 📱 Mobil uyumlu boyutlar */
@media (max-width: 768px) {
  .welcome-card {
    width: 300px;   /* mobilde küçültülmüş genişlik */
    height: 180px;  /* orantılı yükseklik */
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .welcome-card {
    width: 250px;   /* daha küçük ekran için */
    height: 150px;
    padding: 10px;
  }
}



/* Flip kartların kare olması için */









