*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    height: 100vh;
    width: 100vw;
    height: 100dvh;
    width: 100dvw;
    background-color: #000000;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style-type: none;
}

.main {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 250px;
    max-height: 150px;
    position: fixed;
    top: 10px;
    left: 10px;
}

.drone-view { 
    width: 54px; 
    height: 54px; 
    padding: 8px; 
    border-radius: 50%; 
    position: fixed; 
    top: 24px; 
    right: 140px; 
    z-index: 9; 
    background-color: #ffffff; 
    overflow: hidden; 
}

.bg-image {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.2;
    z-index: -1;
}

.project-details {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    row-gap: 24px;
    color: #ffffff;
    width: 60%;
}

.project-title {
    text-align: center;
    font-size: 48px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
}

.project-description {
    text-align: center;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    line-height: 28px;
    letter-spacing: 1px;
    font-weight: 300;
}

.copyright-wrapper {
    position: fixed;
    bottom: 14px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1.5px;
    font-weight: 300;
    font-size: 14px;
    text-align: center;
}

.share-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 18px;
    right: 18px;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.05), rgba(194, 56, 27, 0.15));
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
        inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
        0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.share-button:hover {
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.35), rgba(194, 56, 27, 0.45));
    transform: scale(1.05);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.share-container.active .button-group {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.social-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.05), rgba(194, 56, 27, 0.15));
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
        inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
        0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-button:hover {
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.35), rgba(194, 56, 27, 0.45));
    transform: scale(1.05);
}


.dialog-title {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 1px;
}


.feature-btns-wrapper {
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.15), rgba(194, 56, 27, 0.25));
    transform: scale(1.1);
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
        inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
        0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Open Sans', sans-serif;
    padding: 12px 24px;
    border-radius: 50px;
    max-width: 90%;
    box-sizing: border-box;
}

.feature-btn {
    width: 100%;
    min-width: 120px;
    height: 95px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 1.5px;
    font-weight: 400;
}

.feature-btn .icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
        inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
        0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.feature-btn img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border-radius: 50%;
    object-fit: contain;
}

.feature-btn:hover .icon-wrapper {
    border-color: #ffffff;
    transform: scale(1.05);
}

.feature-btn:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.feature-btn.active .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.spim-logo-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 72px;
    padding: 8px;
}

.spim-logo {
    width: 100%;
    height: 100%;
}

.full-screen-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99;
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.05), rgba(194, 56, 27, 0.15));
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
        inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
        0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.full-screen-container button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.hide {
    display: none;
}

@supports not (backdrop-filter: blur(10px)) {
  .feature-btn .icon-wrapper,
  .share-button,
  .social-button,
  .interiors-dialog,
  .interior-inner-wrapper,
  .interior-close-btn,
  .interiors-card,
  .feature-btns-wrapper,
  .full-screen-container {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media screen and (max-width: 768px) {
  .interiors-cards-list {
    grid-template-columns: 1fr;
    background: transparent;
  }

  .feature-btns-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    padding: 8px 16px;
    max-width: 95%;
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.15), rgba(194, 56, 27, 0.25));
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
      inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
      0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .logo {
    min-width: 180px;
    min-height: 60px;
    }

    
  .feature-btn {
    min-width: 100px;
    height: 80px;
    font-size: 12px;
  }

  .feature-btn .icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
      inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
      0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .feature-btn img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .project-title,
  .project-description,
  .copyright-wrapper {
    display: none;
  }

  .feature-btns-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 16px;
    max-width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.15), rgba(194, 56, 27, 0.25)) !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
      inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
      0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .logo {
    min-width: 180px;
    min-height: 60px;
  }

  .interiors-dialog,
  .interior-inner-wrapper,
  .interiors-card,
  .share-button,
  .social-button,
  .full-screen-container,
  .interior-close-btn {
    background: linear-gradient(145deg, rgba(255, 184, 51, 0.15), rgba(194, 56, 27, 0.25)) !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1),
      inset 0px 0px 7px 1px rgba(255, 255, 255, 0.1),
      0px 0px 7px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .interiors-cards-list {
    background: transparent !important;
  }

  @supports not (backdrop-filter: blur(10px)) {
    .feature-btns-wrapper,
    .interiors-dialog,
    .interior-inner-wrapper,
    .interiors-card,
    .share-button,
    .social-button,
    .full-screen-container,
    .interior-close-btn {
      background: rgba(255, 255, 255, 0.1) !important;
    }
  }
}

@media screen and (min-width: 1025px) {
  .feature-btns-wrapper {
    bottom: 54px;
    top: auto;
    transform: translateX(-50%);
  }
}



.spim-logo-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 72px;
  padding: 8px;
}


.loader-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: #000000;
}

.loader {
    max-width: 350px;
    max-height: 350px;
}

.hidden-loader {
    display: none;
}


.loader-container svg {
    background: transparent;
    width: 100%;
    height: 100%;
}

.loader-container path, .loader-container rect, .loader-container polygon {
    fill: transparent;
    stroke: #ffffff;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: 1;
    stroke-dasharray: 10000; 
    stroke-dashoffset: 0;
    filter: 
        drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.75))
        drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.75));
    transform-origin: center;
    transition: 
        stroke 0.3s ease-in-out,
        stroke-width 0.3s ease-in-out,
        stroke-dashoffset 0.4s ease-in-out,
        stroke-opacity 0.3s ease-in-out;
}

.loader-container .cls {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loader-container .path-reveal {
  stroke-dasharray: 10000; 
  stroke-dashoffset: 10000;
  animation: draw 10s ease-in-out infinite;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.progress-wrapper {
  margin-top: 20px;
  display: flex;
  align-items: center;
  width: 300px;
  gap: 10px;
}

.progress-icon i {
  font-size: 26px;
  color: #ffb833;
  animation: bounce 1.2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.progress-bar-container {
  flex-grow: 1;
  height: 14px;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #ffb833, #c2381b);
  transition: width 0.3s ease;
}

.progress-percent {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  width: 40px;
  text-align: right;
}
