* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

.walkthrough-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.viewport {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Dedicated 360 Viewer Canvas Container */
#panorama-viewer {
  width: 60%;
  height: 100%;
  background: #111;
}

/* Content Sidebar Wrapper */
.content-sidebar {
  width: 40%;
  height: 100%;
  position: relative;
}

.room-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.room-content.active {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.room-content::-webkit-scrollbar {
  width: 6px;
}

.room-content::-webkit-scrollbar-track {
  background: rgba(212, 175, 55, 0.1);
}

.room-content::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 3px;
}

.room-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #d4af37;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 700;
}

.room-description {
  font-size: 15px;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 30px;
  text-align: justify;
}

.room-highlights {
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid #d4af37;
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
}

.room-highlights h4 {
  color: #d4af37;
  font-size: 13px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.room-highlights ul {
  list-style: none;
  padding: 0;
}

.room-highlights li {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.room-highlights li:before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #d4af37;
}

/* Navigation Controls */
.nav-container {
  position: absolute;
  bottom: 40px;
  left: 30%;
  /* Centered relative to the 360 panorama frame */
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.nav-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.room-indicator {
  color: #d4af37;
  font-size: 14px;
  font-weight: 600;
  min-width: 140px;
  text-align: center;
  letter-spacing: 1px;
}

/* Room List */
.room-list {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 8px;
  max-height: 60vh;
  overflow-y: auto;
}

.room-list::-webkit-scrollbar {
  width: 4px;
}

.room-list::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 2px;
}

.room-btn {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  text-align: left;
}

.room-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  color: #d4af37;
}

.room-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  color: #000;
  border-color: #d4af37;
}

/* Header Info */
.header-info {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.header-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.header-info p {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 0.5px;
}

/* Pricing Info */
.pricing-info {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: right;
}

.pricing-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #d4af37;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.pricing-item {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

.pricing-item .price {
  color: #d4af37;
  font-weight: 600;
  font-size: 14px;
}

.pricing-item .label {
  color: #999;
  font-size: 11px;
}

/* Overriding Pannellum defaults to preserve look & feel */
.pnm-about-msg {
  display: none !important;
}

.pnm-control {
  background-color: rgba(0, 0, 0, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

/* Responsive UI changes */
@media (max-width: 1024px) {
  #panorama-viewer {
    width: 50%;
  }

  .content-sidebar {
    width: 50%;
  }

  .room-content {
    padding: 40px 30px;
  }

  .room-title {
    font-size: 28px;
  }

  .nav-container {
    left: 25%;
  }
}

@media (max-width: 768px) {
  .viewport {
    flex-direction: column;
  }

  #panorama-viewer {
    width: 100%;
    height: 50%;
  }

  .content-sidebar {
    width: 100%;
    height: 50%;
  }

  .room-content {
    padding: 30px 20px;
    border-left: none;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }

  .room-list {
    left: 10px;
    top: 25%;
    transform: translateY(0);
    max-height: 20vh;
  }

  .nav-container {
    bottom: calc(50% + 20px);
    left: 50%;
  }

  .header-info,
  .pricing-info {
    display: none;
  }

  /* Hide heavy components on mobile views */
}