.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.configurator {
  display: flex;
  gap: 20px;
}

.controls {
  flex: 1;
  padding: 20px;
  background: #161616;
  border-radius: 8px;
}

.visualization {
  flex: 2;
  position: relative;
}

.building-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: center;
}

#buildingImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.led-screen {
  position: absolute;
  background: #111; /* Tam siyah panel */
  border: 2px solid #007bff; /* Mavi çerçeve (istersen kaldırabilirsin) */
  cursor: move;
  top: 0;
  left: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  width: 100px;
  height: 50px;
  border-radius: 0; /* Keskin köşeler */
  overflow: hidden; /* Video taşmasın */
  box-shadow: none; /* Gölge yok */
  transform: none; /* 3D yok */
  z-index: 10;
}

/* 3D efektleri ve yan yüzeyler kaldırıldı */
.led-screen::before,
.led-screen::after {
  display: none !important;
  content: none !important;
}

/* Video içerik kutunun ön yüzeyinde kalmalı */
.led-screen video {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 0;
  box-shadow: none;
}

#angleValue {
  margin-left: 10px;
}

img {
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* Debug styles */
#debugOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.debug-point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: red;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  pointer-events: none;
}

.debug-controls {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 5px;
  z-index: 1001;
}

.debug-controls button {
  margin-right: 10px;
  padding: 5px 10px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.debug-info {
  color: white;
  margin-top: 5px;
}

.perspective-controls {
  margin: 10px 0;
  color: white;
}

.perspective-controls div {
  margin-bottom: 8px;
}

.perspective-controls label {
  display: block;
  margin-bottom: 4px;
}

.perspective-controls input[type="range"] {
  width: 100%;
  margin: 0;
}

#startDebug {
  margin-top: 20px;
  background: #ff4444;
}

#startDebug:hover {
  background: #cc3333;
}

/* Sadece sağ ve alt kenar tutamaçları */
.resize-handle {
  position: absolute;
  background: #007bff;
  border: 2px solid #fff;
  z-index: 20;
  box-sizing: border-box;
}

/* Sağ kenar tutamacı */
.resize-e {
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 30px;
  cursor: e-resize;
}

/* Alt kenar tutamacı */
.resize-s {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  cursor: s-resize;
}

/* Mobil uyarı stili */
.mobile-warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-warning {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-warning h2 {
  color: #e74c3c;
  margin-top: 0;
}

.mobile-warning p {
  margin: 15px 0;
  line-height: 1.5;
}

#continueAnyway {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
}

#continueAnyway:hover {
  background-color: #2980b9;
}

/* Mekan seçim butonları - Gelişmiş Stil */
.location-selector {
  display: flex;
  justify-content: center;
  margin: 25px auto;
  background-color: #f0f2f5;
  padding: 8px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.location-btn {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #555;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
}

.location-btn:hover {
  color: #333;
}

.location-btn.active {
  color: #1a73e8;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

/* Buton ikonları (opsiyonel) */
.location-btn::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: text-bottom;
}

#outdoorBtn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a73e8'%3E%3Cpath d='M15,13V5A3,3 0 0,0 12,2A3,3 0 0,0 9,5V13L5,17V21H19V17L15,13M12,4A1,1 0 0,1 13,5V8H11V5A1,1 0 0,1 12,4Z'%3E%3C/path%3E%3C/svg%3E");
}

#indoorBtn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a73e8'%3E%3Cpath d='M10,2V4.26L12,5.59V4H22V19H17V21H24V2H10M7.5,5L0,10V21H15V10L7.5,5M14,6V6.93L15.61,8H16V6H14M18,6V8H20V6H18M7.5,7.5L13,11V19H10V13H5V19H2V11L7.5,7.5Z'%3E%3C/path%3E%3C/svg%3E");
}

/* Hover efekti */
.location-btn:hover {
  transform: translateY(-1px);
}

.location-btn:active {
  transform: translateY(1px);
}
