body {
  margin: 0;
  overflow: hidden; /* Kameranın dışına taşan objeleri gizler */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
}

#start-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Kameranın hep üstünde kalması için yüksek z-index */
  color: white;
  text-align: center;
}

.content h1 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #f1c40f; /* KAPI grubuna uygun bir altın/sarı ton denenebilir */
}

.content p {
  margin-bottom: 30px;
  font-size: 16px;
  color: #ddd;
  padding: 0 20px;
}

#start-button {
  padding: 15px 35px;
  font-size: 18px;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

#start-button:hover {
  background-color: #c0392b;
}

#start-button:active {
  transform: scale(0.95);
}

/* MindAR'ın kendi yükleme arayüzünü her zaman üstte tutmak için */
.mindar-ui-overlay {
  z-index: 9000 !important;
}

/* Telefonu Yan Çevir Uyarısı */
#rotate-warning {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.95);
  color: white;
  z-index: 10001; /* Start ekranından daha üstte olsun */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#rotate-warning svg {
  animation: rotatePhone 2s infinite ease-in-out;
  margin-bottom: 20px;
}
@keyframes rotatePhone {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-90deg); }
  100% { transform: rotate(-90deg); }
}

/* Sadece Dikey (Portrait) modda göster */
@media screen and (orientation: landscape) {
  #rotate-warning {
    display: none !important;
  }
}

/* Tam Ekran Video Konteyneri */
#fullscreen-video-container {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: black;
  z-index: 10002; /* En üstte */
  display: none; /* Başlangıçta gizli */
  justify-content: center;
  align-items: center;
}

#fs-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Videoyu kırpmadan ekrana sığdırır */
  outline: none;
}

#close-video-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10003;
  backdrop-filter: blur(5px);
  transition: background-color 0.3s;
}

#close-video-btn:hover {
  background-color: rgba(255, 0, 0, 0.7);
  border-color: red;
}
