/* #region Genel */
.ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ellipsis-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-click {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

.rs-header-one .rs-header-menu {
  padding-inline-start: 15px;
}


.main-menu li a {
  padding: 40px 15px;
}

@media only screen and (max-width: 1600px) {
  .rs-header-one .rs-header-logo-wrapper {
    width: 200px;
  }
}

@media only screen and (max-width: 1466px) {
  .rs-header-one .rs-header-btn {
    display: none !important;
  }
}

/* #endregion */

/* #region Anasayfa */

.rs-banner-three .rs-banner-title {
  font-size: 50px;
}


@media only screen and (max-width: 1366px) {
  .rs-banner-three .rs-banner-title {
    font-size: 50px;
  }
}

@media only screen and (max-width: 1199px) {
  .rs-banner-three .rs-banner-title {
    font-size: 45px;
  }
}

@media only screen and (max-width: 991px) {
  .rs-banner-three .rs-banner-title {
    font-size: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .rs-banner-three .rs-banner-title {
    font-size: 35px;
  }
}


@media only screen and (min-width: 991px) {
  .custom-index-h2 {
    font-size: 35px;
  }
}

/* #endregion */

/* #region Galeri Sayfası */
.custom-gallery-link {
  display: block;
  width: 100%;
  height: 300px;
  /* Galeri resimlerinin görünmesini istediğiniz sabit yükseklik */
  overflow: hidden;
  /* border-radius: 8px; */
}

.custom-gallery-link>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Resmi tam ortalayarak kırpar */
  transition: transform 0.3s ease;
}

.custom-gallery-link:hover>img {
  transform: scale(1.05);
}

/* #endregion */

/* #region Hesap Numaralarımız Sayfası */
.bank-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card {
  border-radius: 5px;
}

.table th {
  color: #555;
  font-weight: 600;
  white-space: nowrap;
}

.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.copy-text {
  flex: 1;
}

.copy-btn {
  border: 0;
  background: transparent;
  color: var(--rs-theme-blue);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: color .2s ease, transform .2s ease;
}

.copy-btn:hover {
  color: #498ff8d8;
  transform: scale(1.05);
}

.copy-btn.copied {
  color: #28a745;
}

.copy-btn i {
  font-size: 18px;
}

/* #endregion */

/* #region Proje Listeleme Sayfası-2 */

.rs-services-three .rs-services-number {
  margin-bottom: 0 !important;
}

@media only screen and (min-width: 1366px) {

  h5,
  .h5 {
    font-size: 22px;
  }
}

/* #endregion */

/* #region Proje Listeleme Sayfası*/

.rs-portfolio-six .rs-portfolio-content {
  padding: 10px 10px !important;
  /* min-height: 124px; */
  top: 410px;
  height: min-content;
}

/* hover olunca resmin aşağıdan yukarıya doğru kayması için gerekli css kodları: */
.rs-portfolio-six .rs-portfolio-item {
  height: 450px;
}

.rs-portfolio-six .rs-portfolio-content {
  transition: all .4s ease;
}

.rs-portfolio-six .rs-portfolio-item:hover .rs-portfolio-content {
  transform: translateY(calc(-100% + 40px));
}

/* mobilde scroll ile hover olsun */
@media (max-width: 767px) {
  .rs-portfolio-six .rs-portfolio-item.in-view .rs-portfolio-content {
    transform: translateY(calc(-100% + 40px));
  }

}

/* data-background attr ile ayarlanan resimler ortalanması için; */
.rs-portfolio-six .rs-portfolio-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  inset-inline-start: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  /* Resmi hem yatayda hem dikeyde ortalayan satır */
  background-position: center;
}

/* #endregion */

/* #region Otomasyon Listeleme sayfası */
.custom-team-height {
  max-height: 23rem;
}

.custom-team-height img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* #endregion */

/* #region Blog sayfası */
.custom-sidebar-blog-thumb {
  height: 85px;
}

.custom-sidebar-blog-thumb img {
  object-fit: cover;
  height: 100%;
}

.rs-postbox-details-content p {
  text-align: justify;
}


.rs-postbox-details-content h5,
h4,
h3,
h2 {
  color: #1a365d;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e2e8f0;
}

/* #endregion */

/* #region İletişim sayfası */

.custom-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
}

.rs-contact-nine .rs-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 30px;
}

@media only screen and (max-width: 1199px) {
  .rs-contact-nine .rs-contact-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 991px) {
  .rs-contact-nine .rs-contact-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .rs-contact-nine .rs-contact-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 
@media (max-width:) {
  
} */

/* #endregion */


/* #region Magnific Popup için */

.custom-magnific {
  cursor: zoom-in;
  transition: opacity 0.2s ease-in-out;
}

.custom-magnific:hover {
  opacity: 0.85;
}

.mfp-bg.custom-zoom-effect {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-bg.custom-zoom-effect.mfp-ready {
  opacity: 0.8;
}

.mfp-bg.custom-zoom-effect.mfp-removing {
  opacity: 0;
}

.mfp-wrap.custom-zoom-effect .mfp-content {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mfp-wrap.custom-zoom-effect.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-wrap.custom-zoom-effect.mfp-removing .mfp-content {
  opacity: 0;
}

/* #endregion */


/* #region DİL SEÇİMİ için */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /* margin: 0 10px; */
}

.lang-trigger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 50px;
  padding: 8px;
  position: relative;
  z-index: 860;
  transition: all 0.3s 0s ease-out;
}

.lang-trigger-btn img.active-flag {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lang-trigger-btn .arrow-icon {
  color: #616161;
  font-size: 12px;
  transition: transform 0.3s ease-out;
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff;
  padding: 10px;
  margin: 10px 0 0 0;
  list-style: none;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s 0s ease-out;
}

.lang-dropdown-menu li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  transition: transform 0.2s ease, color 0.2s ease;
  width: 100%;
}

.lang-dropdown-menu li a:hover {
  transform: translateX(2px) !important;
  color: #000000;
}

.lang-dropdown-menu img {
  width: 24px;
  height: auto;
  display: block;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-selector-wrapper.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  width: 75px;
  background: #ececec;
  padding: 12px 10px;
}

.lang-selector-wrapper.open .lang-trigger-btn .arrow-icon {
  transform: rotate(180deg);
}

/* #endregion */