



#videoModal .modal-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#videoModal .modal-content {
  height: 100%;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Video alanı – %80 boyut, ortalanmış */
#videoModal .video-wrapper {
  position: relative;
  width: 80%;
  height: 80%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

#videoModal .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Kapatma butonu – Görünür, sabit konumda */
#videoModal .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 42px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}
#videoModal .close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobil uyum */
@media (max-width: 768px) {
  #videoModal .video-wrapper {
    width: 85vw;
    height: 85vh;
  }
  #videoModal .close {
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    font-size: 36px;
    line-height: 42px;
  }
}


/* ======= Teklif Modal Responsive Düzen ======= */
#teklifModal {
  padding-right: 0 !important; /* sağa taşmayı engeller */
}

#teklifModal .modal-dialog {
  margin: 0;
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 15px;
}

#teklifModal .modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 20px 20px 25px 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.35);
  width: 100%;
  max-width: 420px;
  text-align: center;
  overflow: hidden;
}

#teklifModal .modal-body {
  padding: 10px;
}

#teklifModal img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

#teklifModal p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

#teklifModal .btn-orange {
  background-color: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 16px;
  transition: background-color 0.3s;
}
#teklifModal .btn-orange:hover {
  background-color: #d97706;
}

/* Kapatma Butonu */
#teklifModal .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 30px;
  color: #777;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1000;
}
#teklifModal .close:hover {
  color: #000;
}

/* ======= Mobil Uyumluluk ======= */
@media (max-width: 576px) {
  #teklifModal .modal-dialog {
    padding: 10px;
  }
  #teklifModal .modal-content {
    width: 95%;
    max-width: none;
    padding: 15px;
  }
  #teklifModal p {
    font-size: 14px;
  }
  #teklifModal .btn-orange {
    font-size: 15px;
    padding: 10px 14px;
  }
  #teklifModal .close {
    top: 6px;
    right: 8px;
    font-size: 26px;
  }
}



/* ===== Dil Dropdown (SVG) Stilleri ===== */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

/* Üstte görünen buton */
.lang-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-btn .flag {
  width: 22px;
  height: 15px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: middle;
}

/* Menü */
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  background: #fff !important;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  min-width: 150px;
  margin-top: 5px;
  z-index: 9999;
  border: 1px solid rgba(0,0,0,0.1);
  color-scheme: light; /* Dark mode renk tersini engeller */
}

/* Menü içi bağlantılar */
.lang-menu a {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  text-decoration: none;
  color: #000 !important; /* Yazı hep siyah */
  background: #fff !important; /* Zemin beyaz */
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
  -webkit-text-fill-color: #000 !important; /* Safari ve Chrome dark mode fix */
}

.lang-menu a:hover {
  background: #f2f2f2 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.lang-menu .flag {
  width: 20px;
  height: 14px;
  margin-right: 8px;
  border-radius: 2px;
}

/* Hover yerine click ile açma kontrolü sağlanacak */
.lang-dropdown.show .lang-menu {
  display: block;
}


/* Mobil uyum */
@media (max-width: 768px) {
  .lang-btn {
    font-size: 13px;
    padding: 3px 8px;
  }
  .lang-menu a {
    font-size: 13px;
    padding: 6px 8px;
  }
}


