#cloud-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  cursor: pointer;
}
.cloud-item-1 {
  position: absolute;
  animation: moveCloud 60s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-2 {
  position: absolute;
  animation: moveCloud 55s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-3 {
  position: absolute;
  animation: moveCloud 58s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-4 {
  position: absolute;
  animation: moveCloud 45s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-5 {
  position: absolute;
  animation: moveCloud 30s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-6 {
  position: absolute;
  animation: moveCloud 38s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-7 {
  position: absolute;
  animation: moveCloud 28s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-8 {
  position: absolute;
  animation: moveCloud 32s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-9 {
  position: absolute;
  animation: moveCloud 24s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-10 {
  position: absolute;
  animation: moveCloud 27s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-11 {
  position: absolute;
  animation: moveCloud 40s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-12 {
  position: absolute;
  animation: moveCloud 33s linear infinite;
  pointer-events: none;
  user-select: none;
}
.cloud-item-13 {
  position: absolute;
  animation: moveCloud 47s linear infinite;
  pointer-events: none;
  user-select: none;
}

@keyframes moveCloud {
  from {
    transform: translateX(0vw);
    opacity: 0.5;
  }
  5% {
    opacity: 1;
  }
  to {
    transform: translateX(50vw);
    opacity: 0.5;
  }
}

#logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255 255 255 / 40%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

#logo-overlay img {
  max-width: 150px;
  height: auto;
}

/* Preloader fade-out olduğunda logo da kaybolsun */
#cloud-preloader.fade-out #logo-overlay {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
}

.content {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.map {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.layout-area {
  display: none;
}
.layout-item {
    position: absolute;
    background: rgb(255 255 255 / 40%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    padding: 10px;
}
.layout-item img{
  width: 100%;
  height: 100%;
}
.layout-item.menu {
    width: 50px;
    height: 50px;
    left: 10px;
    top: 1.5%;
}
.layout-item.home {
    width: 50px;
    height: 50px;
    left: 70px;
    top: 1.5%;
}
.layout-item.right-buttons {
    width: 55px;
    right: 1%;
    top: 1.5%;
    display: flex;
    flex-wrap: wrap;
    border-radius: 15px;
}
.layout-item button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}
.layout-item button:hover {
    background: rgb(255 255 255 / 0%);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}
.layout-item button:focus {
    outline: none;
}

.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.custom-modal-overlay .custom-modal {
  display: flex;
  gap: 20px; 
  border-radius: 20px;
  max-width: 1400px;
  width: 90%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(25px);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

.custom-modal-overlay .left-icons {
  width: 80px;
  background: rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 25px 10px;
}

.custom-modal-overlay .icon-btn {
    background: white;
    border-radius: 60%;
    padding: 12px;
    border: none;
    color: #333;
    font-size: 18px;
    width: 50px;
    height: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.custom-modal-overlay .icon-btn.active-tab {
  background-color: #ffce54;
  color: #222;
}

.custom-modal-overlay .modal-content-area {
  flex-grow: 1;
  padding: 20px 30px;
  min-width: 900px;
  color: white;
}

.custom-modal-overlay .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-overlay .close-btn {
  background: transparent;
  font-size: 24px;
  border: none;
  color: white;
  cursor: pointer;
}

.custom-modal-overlay .products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr)); /* Sütunlar daha geniş */
  gap: 24px;
  margin-top: 20px;
}

.custom-modal-overlay .product-card {
  background: rgba(255,255,255,0.10);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 10px 10px 10px 10px;
  display: flex;
  flex-direction: row; /* DİKKAT: row yaptık */
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid rgba(255,255,255,0.13);
  min-height: 120px;
  
}

.custom-modal-overlay .product-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transform: translateY(-4px) scale(1.03);
  background: rgba(255,255,255,0.18);
}

.custom-modal-overlay .product-img-wrap {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0; /* alt boşluk kaldırıldı */
  margin-right: 18px; /* sağa boşluk eklendi */
  overflow: hidden;
  flex-shrink: 0;
}

.custom-modal-overlay .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.custom-modal-overlay .product-info {
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-modal-overlay .product-name {
  font-size: 1.08em;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.custom-modal-overlay .product-code {
  font-size: 0.98em;
  color: #ffce54;
  opacity: 0.85;
}

#productDetailContainer {
  display: none; 
}

#productDetailContainer .modal-container {
  display: flex;
  gap: 30px;
}

.custom-modal-overlay #productDetailContainer .modal-container {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  color: white;
}

.custom-modal-overlay #productDetailContainer .modal-image img {
  width: 300px;
  border-radius: 10px;
}

.custom-modal-overlay #productDetailContainer .modal-content {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Her alt eleman arasında 16px boşluk */
  flex-grow: 1;
  background: transparent;
  color: white;
  border: none;
  position: relative; /* Eklendi */
}

.custom-modal-overlay #productDetailContainer .modal-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;      /* Eklendi */
  right: 0;                /* Sağdan hizala */
  bottom: 0;               /* Alttan hizala */
  margin: 20px;            /* Kenarlardan boşluk */
}
.loader {
  width: 60px;
  height: 60px;
  display: inline-block;
  animation: split 1s ease-in infinite alternate;
  position: absolute;
  z-index: 1;
  left: 48%;
  top: 48%;
  display: none;
}
.loader::before , .loader::after {
  content: '';
  position: absolute;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  left: 0;
  top: 0;
  transform: translateX(-10px);
  background: #0063a8;
  opacity: 0.75;
  backdrop-filter: blur(20px);
}
.loader::after {
  left: auto;
  right: 0;
  background: #FFF;
  transform: translateX(10px);
}
@keyframes split {
 0% , 25%{ width: 64px }
 100%{ width: 130px }
}
.product-image {
    width: 75px;
    height: auto;
}