@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/core@5/index.css';
@import 'https://cdn.jsdelivr.net/npm/@photo-sphere-viewer/map-plugin@5/index.css';

.App {
  font-family: sans-serif;
  text-align: center;
  width: 100vw;
  height: 100vh;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  user-select: none;
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none;     
}

.container {
  overflow-x: 'auto';
  overflow-y: 'hidden';
  white-space: 'nowrap';
  width: '100vw';
  height: '100vh';
  overflow-x: 'auto';
  overflow-y: 'hidden';
  white-space: 'nowrap';
  -webkit-overflow-scrolling: 'touch';
}

.square-container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  position: relative;
  z-index: 10;
}

/* mobile style */
.house-bg-mobile {
  display: block;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: -1; /* sits behind everything else */
}

/* tablet style */

/* laptop style */
.house-bg {
  /* display: block; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: stretch;
  z-index: -1; /* sits behind everything else */
}

.square {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  /* make content center */
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  height: 200px;           /* or any height you want */
  cursor: pointer;
}

.square:hover {
  background: rgba(82, 99, 255, 0.5)
}

.square span {
  color: white;
  font-size: 1.5vw;
  text-transform: uppercase;
  /* unselectable */
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

/* custom marker */
.info-marker {
  width: 45px;
  height: 45px;
  /* width: 30px;
  height: 30px; */
  background-color: #3498db;
  color: white;
  border-radius: 100%;
  display: flex;
  position: relative;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  z-index: 10;
  transition: transform 0.3s ease;
}
.info-marker-name {
  height: 90%;
  width: 92%;
  color: white;
  transition: opacity 0.3s ease 0.1s;
  z-index: 1;
}
.info-marker:hover {
  animation: ripple 1s ease-out;
}
.info-marker.hiding {
  animation: hide 200ms ease forwards;
}
.info-marker:hover + .info-marker {
  animation: show 300ms ease forwards;
}
@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(97, 170, 242, 0); }
  20% { box-shadow: 0 0 0 5px rgba(97, 170, 242, 1); }
  100% { box-shadow: 0 0 0 20px rgba(97, 170, 242, 0); }
}
@keyframes show {
  0% { transform: rotate(30deg); opacity: 0; }
  70% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); opacity: 1; }
}
@keyframes hide {
  0% { transform: rotate(0deg); opacity: 1; }
  100% { transform: rotate(30deg); opacity: 0; }
}
.room-marker {
  width: 60px;
  height: 60px;
  background-color: #3498db;
  border-radius: 100%;
  display: flex;
  position: relative;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
  z-index: 10;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.room-marker-icon {
  height: 80%;
  width: 80%;
  color: white;
  transition: opacity 0.3s ease 0.1s;
  z-index: 1;
}
.room-marker-img {
  position: absolute;
  height: 92%;
  width: 92%;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index : 2;
  transform-origin: center center;
}
.room-marker-container {
  /* make content center */
  display: flex;
  flex-direction: column;
  gap: 3%;
  align-items: center;     /* vertical */
  height: 200px;           /* or any height you want */
  cursor: pointer;
}
.room-marker-name {
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.1s ease, growText 0.3s ease-out forwards;
  pointer-events: none;
  transform: translateY(37px)
}
.room-marker-container:hover .room-marker-name {
  opacity: 1; 
  transform: scale(1) translateY(37px);
}
.room-marker-container:hover .room-marker {
  transform: scale(2);
  background-color: white;
}
.room-marker-container:hover .room-marker .room-marker-icon {
  opacity: 0;
}
.room-marker-container:hover .room-marker .room-marker-img {
  opacity: 1;
  transform: scale(1);
}
@keyframes growText {
  from {
    font-size: 0px;
  }
  to {
    font-size: 10px;
  }
}

@media (max-width: 915px) {
  .room-marker {
    width: 45px;
    height: 45px;
  }
  .info-marker {
    width: 30px;
    height: 30px;
  }
}



/* psv */
.psv-navbar {
  background-color: #fff !important;
  height: 60px;
}

.psv-button {
  filter: invert(1); /* Make icons dark for light background */
}

.psv-panel {

}

.psv-panel-resizer {
  display: none;
}

.psv-panel-close-button {
  color: white;
  z-index: 89;
}

.psv-panel-content {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* for Safari */
}

.psv-notification {

}

/* hero section */
.hero {
  display: flex;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  z-index: 2;
  margin-left: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.logo-mph {
  height: 7rem;
  width: auto;
}

.logo-pacmas {
  height: 6rem;
  width: auto;
}

.psv-loader-image {
  max-width: 120px !important;
  max-height: 120px !important;
}

@media (max-width: 915px) {
  .hero-text {
    margin: 1rem;
    margin-bottom: 0;
    margin-top: 0;
  }
  .hero-description {
    font-size: 0.7rem;
    margin: 1rem;
  }
  .logo-mph {
    padding-top: 1rem;
    height: 5rem;
  }
  .logo-pacmas {
    padding-top: 1rem;
    height: 4rem;
  }
}
