/* Section Judul */
#project-detail h2 {
  color: #b8860b;
  /* gold */
  font-size: 2rem;
}

#project-detail {
  user-select: text;
}

/* Price Box */
#project-detail .price-box {
  background: linear-gradient(135deg, #b8860b, #daa520);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#project-detail .price-box h3 {
  font-size: 1.8rem;
  color: #000;
  /* hitam biar kontras */
  font-weight: 700;
  margin-bottom: 0;
}

#project-detail .price-box h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#project-detail .price-box p {
  font-size: 0.95rem;
  white-space: nowrap;
}

#project-detail .sticky-box {
  position: sticky;
  top: 100px;
  /* tinggi navbar */
  margin-top: 1rem;
}

/* Akses Strategis */
.akses-strategis {
  margin-top: 1rem !important;
  overflow: hidden; /* Clear any floats */
}

.akses-strategis .col-6 {
  display: flex;
  margin-bottom: 1rem;
}

.akses-item {
  background: #BF8F29;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
  padding: 8px 12px;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 60px;
  position: relative;
}

.akses-name {
  padding-right: 80px; /* Memberi ruang untuk akses-time */
}

.akses-time {
  position: absolute;
  right: 12px;
  background: linear-gradient(to bottom, #ffffff, #BF8200);
  color: #000;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Mobile specific fixes for Akses Strategis */
@media (max-width: 768px) {
  /* Add more spacing between sections */
  .row.g-2 {
    margin-bottom: 2rem !important;
  }
  
  /* Force proper spacing for Akses Strategis heading */
  h5.fw-bold.mt-4 {
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    clear: both;
    position: relative;
    z-index: 1;
  }
  
  .akses-strategis {
    margin-top: 1rem !important;
    clear: both;
    position: relative;
    z-index: 1;
  }
  
  .akses-strategis .col-6 {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .akses-item {
    min-height: 55px;
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .akses-name {
    padding-right: 75px;
    line-height: 1.2;
  }
  
  .akses-time {
    right: 10px;
    font-size: 0.75rem;
    min-width: 65px;
    padding: 1px 8px;
  }
  
  /* Ensure facilities section doesn't interfere */
  .row.g-2 .col-6 {
    margin-bottom: 0.5rem;
  }
  
  /* Add specific spacing for section containers */
  .col-lg-5 > h5:not(:first-child) {
    margin-top: 3rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  
  /* Force clear for any potential overlaps */
  .col-lg-5 {
    overflow: visible !important;
  }
  
  .col-lg-5 > * {
    position: relative !important;
    z-index: 1 !important;
  }
  
  /* Extra margin for mobile */
  @media (max-width: 576px) {
    h5.fw-bold.mt-4 {
      margin-top: 4rem !important;
      padding-top: 1.5rem !important;
    }
    
    .akses-strategis {
      margin-top: 2rem !important;
    }
  }
}

/* Badge waktu */
.akses-time {
  background: linear-gradient(to bottom, #ffffff, #BF8200);
  color: #000;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  min-width: 70px;
  text-align: center;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Type Unit Card */
#project-detail .card {
  border: 2px solid #e0e0e0;
  border-radius: 1rem;
}

#project-detail .card h5 {
  font-weight: 700;
}

.type-unit {
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.type-unit:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.type-unit .swiper {
  position: relative;
  overflow: hidden;
  border-radius: 15px 0 0 15px;
}

.type-unit .swiper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: brightness(1.05) contrast(1.1);
}

.type-unit .swiper img:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.15);
}

.type-unit .swiper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.type-unit:hover .swiper::before {
  opacity: 0.7;
}

.type-unit hr {
  margin: 0.5rem 0 1rem;
  border-top: 1px solid #ddd;
}

.type-unit .row .col-6 {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Responsive adjustments for type-unit images */
@media (max-width: 768px) {
  .type-unit .swiper {
    border-radius: 15px 15px 0 0;
  }
  
  .type-unit .swiper img {
    height: 220px;
  }
  
  .type-unit:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 576px) {
  .type-unit .swiper img {
    height: 200px;
  }
}

/* Floating Denah Overlay - Enhanced */
.denah-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
    box-sizing: border-box;
}

.denah-overlay.show {
    opacity: 1;
    visibility: visible;
}

.denah-overlay-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.4s ease-out;
}

@keyframes backdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.denah-overlay-content {
    position: relative;
    max-width: 85vw;
    max-height: 78vh;
    min-width: 700px;
    min-height: 520px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(219, 165, 47, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(219, 165, 47, 0.1);
    backdrop-filter: blur(20px);
}

.denah-overlay.show .denah-overlay-content {
    transform: scale(1) translateY(0);
}

.denah-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #dba52f 0%, #f4d03f 50%, #dba52f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.denah-overlay-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.denah-overlay-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.denah-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.denah-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.denah-close-btn:active {
    transform: scale(0.95);
}

/* Overlay controls container */
.overlay-controls {
    display: flex;
    align-items: center;
}

.denah-overlay-body {
    display: flex;
    height: 60vh;
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    padding: 0;
}

/* Single Panel Layout */
.image-panel {
    flex: 1;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
}

/* Image Container */
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.denah-floating-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: block;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-prev {
    left: 20px;
}

.nav-next {
    right: 20px;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

/* Zoom Controls - Overlay Style */
.zoom-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 15;
    align-items: center;
}

.zoom-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.zoom-btn:hover {
    background: rgba(219, 165, 47, 0.9);
    border-color: rgba(219, 165, 47, 0.5);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(219, 165, 47, 0.3);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.zoom-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Ripple effect for zoom buttons */
.zoom-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.zoom-btn:active::before {
    width: 100%;
    height: 100%;
}

/* Individual button styling */
.zoom-btn#zoomInBtn i {
    font-size: 20px;
}

.zoom-btn#zoomOutBtn i {
    font-size: 20px;
}

.zoom-btn#zoomResetBtn i {
    font-size: 18px;
}

.zoom-btn#fullscreenBtn i {
    font-size: 18px;
}

/* Zoom Indicator dalam Image Panel */
.image-panel .zoom-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: 5;
}

.denah-overlay-body.zoomed {
    overflow: auto;
    cursor: grab;
    scroll-behavior: smooth;
}

.denah-overlay-body.zoomed:active {
    cursor: grabbing;
}

/* Loading placeholder */
.denah-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #dba52f;
}

.denah-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dba52f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fullscreen button styling */
.fullscreen-btn {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #dba52f !important;
}

.fullscreen-btn:hover {
    background: rgba(219, 165, 47, 0.9) !important;
    color: #000 !important;
    transform: scale(1.15) !important;
    box-shadow: 0 0 15px rgba(219, 165, 47, 0.6) !important;
}

/* Fullscreen image mode */
.fullscreen-image {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #000 !important;
    cursor: grab !important;
    position: relative !important;
    z-index: 9999 !important;
}

.fullscreen-image:active {
    cursor: grabbing !important;
}

/* Show zoom controls in fullscreen but with different positioning */
.fullscreen-controls {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 15px !important;
    padding: 10px !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.fullscreen-indicator {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    backdrop-filter: blur(10px) !important;
}

/* Legacy selectors for fullscreen (backup) */
.fullscreen-image ~ .zoom-controls {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 15px !important;
    padding: 10px !important;
    backdrop-filter: blur(10px) !important;
}

.fullscreen-image ~ .zoom-indicator {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    backdrop-filter: blur(10px) !important;
}

/* Fullscreen specific styling */
:fullscreen {
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

:-webkit-full-screen {
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

:-moz-full-screen {
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

:-ms-fullscreen {
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Enhanced zoom controls for fullscreen button */
.zoom-controls .fullscreen-btn {
    margin-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 8px;
}

@media (max-width: 768px) {
    .zoom-controls .fullscreen-btn {
        margin-left: 4px;
        padding-left: 4px;
    }
}

/* Zoom indicator - UPDATED POSITION */
.zoom-indicator {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    right: auto !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transform: none !important;
}

.denah-overlay-body:hover .zoom-indicator {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .denah-overlay {
        padding: 10px;
    }
    
    .denah-overlay-content {
        max-width: 92vw;
        max-height: 85vh;
        min-width: auto;
        min-height: auto;
        border-radius: 15px;
    }
    
    .denah-overlay-header {
        padding: 15px 20px;
    }
    
    .denah-overlay-title {
        font-size: 1.1rem;
    }
    
    .denah-close-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-width: 1px;
    }
    
    .denah-floating-image {
        max-height: 65vh;
        border-radius: 0 0 15px 15px;
    }
    
    /* Single Panel Mobile Layout */
    .denah-overlay-body {
        height: 55vh;
        min-height: 350px;
    }
    
    .image-panel {
        height: 100%;
        min-height: 350px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .nav-prev {
        left: 15px;
    }
    
    .nav-next {
        right: 15px;
    }
    
    .zoom-controls {
        top: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .zoom-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
        border-width: 1px;
    }
    
    .denah-close-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .zoom-indicator {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* Landscape mobile */
@media (orientation: landscape) and (max-width: 768px) {
    .image-panel {
        height: 40vh;
    }
    
    .denah-overlay-body {
        max-height: 45vh;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .denah-overlay-content {
        max-width: 88vw;
        max-height: 78vh;
    }
}

/* Large screens */
@media (min-width: 1025px) {
    .denah-overlay-content {
        max-width: 85vw;
        max-height: 78vh;
    }
}

/* Denah Modal */
.modal-content {
    border: none;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: none;
}

.modal-header {
    border: none;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.modal-body {
    padding: 0;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-body .img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    position: relative;
    background-color: transparent;
}

.modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.modal-body img.zoomed {
    transform: scale(2);
    cursor: zoom-out;
    max-width: none;
    max-height: none;
}

/* Button */
#project-detail .btn-warning {
  background: #b8860b;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
}

#project-detail .btn-warning:hover {
  background: #a67c00;
}

/* Universal Animated Button Styles */
.animated-btn, .btn-warning, .btn-success, .btn-gradient {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  transform: translateY(0);
  color: white;
}

/* Ensure all child elements inherit color transitions */
.animated-btn *, .btn-warning *, .btn-success *, .btn-gradient * {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Dynamic text color based on background brightness */
.animated-btn, .btn-gradient {
  color: white;
  text-shadow: 0 1px 3px rgba(18, 140, 126, 0.5);
}

.animated-btn:hover, .btn-gradient:hover {
  color: #000;
  text-shadow: 0 1px 3px rgba(25, 211, 102, 0.3);
}

.btn-warning:not(.animated-denah-btn) {
  color: white;
  text-shadow: 0 1px 3px rgba(139, 105, 20, 0.5);
}

.btn-warning:not(.animated-denah-btn):hover {
  color: #000;
  text-shadow: 0 1px 3px rgba(218, 165, 32, 0.3);
}

.btn-success {
  color: white;
  text-shadow: 0 1px 3px rgba(30, 126, 52, 0.5);
}

.btn-success:hover {
  color: #000 !important;
  text-shadow: 0 1px 3px rgba(52, 206, 87, 0.3);
}

.animated-denah-btn {
  color: white;
  text-shadow: 0 1px 3px rgba(139, 105, 20, 0.5);
}

.animated-denah-btn:hover {
  color: #000;
  text-shadow: 0 1px 3px rgba(218, 165, 32, 0.3);
}

/* Animated WhatsApp/Contact Button */
.animated-btn, .btn-gradient {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  background-size: 200% 200%;
  box-shadow: 
    0 4px 15px rgba(37, 211, 102, 0.4),
    0 0 20px rgba(18, 140, 126, 0.3),
    0 0 40px rgba(37, 211, 102, 0.2);
  animation: gradientShiftGreen 3s ease-in-out infinite;
}

@keyframes gradientShiftGreen {
  0% {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 50%, #25d366 100%);
    background-position: 0% 50%;
  }
  50% {
    background: linear-gradient(135deg, #2fe76f 0%, #25d366 50%, #128c7e 100%);
    background-position: 50% 100%;
  }
  100% {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 50%, #25d366 100%);
    background-position: 100% 50%;
  }
}

.animated-btn:hover, .btn-gradient:hover {
  background: linear-gradient(135deg, #2fe76f 0%, #25d366 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

@keyframes neonPulseGreen {
  0% {
    box-shadow: 
      0 8px 25px rgba(37, 211, 102, 0.6),
      0 0 30px rgba(47, 231, 111, 0.5),
      0 0 60px rgba(25, 211, 102, 0.4),
      0 0 100px rgba(37, 211, 102, 0.3);
  }
  100% {
    box-shadow: 
      0 8px 35px rgba(37, 211, 102, 0.8),
      0 0 40px rgba(47, 231, 111, 0.7),
      0 0 80px rgba(25, 211, 102, 0.6),
      0 0 120px rgba(37, 211, 102, 0.4);
  }
}

/* Warning/Detail Button Styles */
.btn-warning:not(.animated-denah-btn) {
  background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
  background-size: 200% 200%;
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.3);
  animation: gradientShiftGold 3s ease-in-out infinite;
}

@keyframes gradientShiftGold {
  0% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 50%, #b8860b 100%);
    background-position: 0% 50%;
  }
  50% {
    background: linear-gradient(135deg, #cd853f 0%, #b8860b 50%, #8b6914 100%);
    background-position: 50% 100%;
  }
  100% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 50%, #b8860b 100%);
    background-position: 100% 50%;
  }
}

.btn-warning:not(.animated-denah-btn):hover {
  background: linear-gradient(135deg, #cd853f 0%, #b8860b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(184, 134, 11, 0.4);
}

@keyframes neonPulseGold {
  0% {
    box-shadow: 
      0 8px 25px rgba(184, 134, 11, 0.6),
      0 0 30px rgba(218, 165, 32, 0.5),
      0 0 60px rgba(205, 133, 63, 0.4),
      0 0 100px rgba(184, 134, 11, 0.3);
  }
  100% {
    box-shadow: 
      0 8px 35px rgba(184, 134, 11, 0.8),
      0 0 40px rgba(218, 165, 32, 0.7),
      0 0 80px rgba(205, 133, 63, 0.6),
      0 0 120px rgba(184, 134, 11, 0.4);
  }
}

/* Success/Submit Button Styles */
.btn.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
  background-size: 200% 200%;
  box-shadow: 
    0 4px 15px rgba(40, 167, 69, 0.5),
    0 0 20px rgba(30, 126, 52, 0.4),
    0 0 40px rgba(40, 167, 69, 0.3);
  animation: gradientShiftSuccess 3s ease-in-out infinite;
}

@keyframes gradientShiftSuccess {
  0% {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 50%, #28a745 100%);
    background-position: 0% 50%;
  }
  50% {
    background: linear-gradient(135deg, #34ce57 0%, #28a745 50%, #1e7e34 100%);
    background-position: 50% 100%;
  }
  100% {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 50%, #28a745 100%);
    background-position: 100% 50%;
  }
}

.btn.btn-success:hover {
  background: linear-gradient(135deg, #34ce57 0%, #28a745 100%) !important;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(40, 167, 69, 0.6),
    0 0 30px rgba(52, 206, 87, 0.5),
    0 0 60px rgba(30, 126, 52, 0.4),
    0 0 100px rgba(40, 167, 69, 0.3);
  animation: neonPulseSuccess 2s infinite alternate;
}

@keyframes neonPulseSuccess {
  0% {
    box-shadow: 
      0 8px 25px rgba(40, 167, 69, 0.6),
      0 0 30px rgba(52, 206, 87, 0.5),
      0 0 60px rgba(30, 126, 52, 0.4),
      0 0 100px rgba(40, 167, 69, 0.3);
  }
  100% {
    box-shadow: 
      0 8px 35px rgba(40, 167, 69, 0.8),
      0 0 40px rgba(52, 206, 87, 0.7),
      0 0 80px rgba(30, 126, 52, 0.6),
      0 0 120px rgba(40, 167, 69, 0.4);
  }
}

/* Universal shimmer effect for all buttons */
.animated-btn::before, .btn-warning::before, .btn-success::before, .btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.2), 
    transparent);
  animation: shimmerMove 2s infinite;
  z-index: 1;
}

/* Icon animations for all buttons */
.btn-icon, .denah-icon {
  transition: all 0.3s ease;
  animation: iconPulse 2s infinite;
}

.animated-btn:hover .btn-icon,
.btn-warning:hover .btn-icon,
.btn-success:hover .btn-icon,
.btn-gradient:hover .btn-icon {
  transform: scale(1.1);
  animation: none;
}

.btn-arrow, .denah-arrow {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.animated-btn:hover .btn-arrow,
.btn-warning:hover .btn-arrow,
.btn-success:hover .btn-arrow,
.btn-gradient:hover .btn-arrow {
  transform: translateX(5px);
  opacity: 1;
}

.btn-text, .denah-text {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: color 0.3s ease;
}

/* Icon color transitions */
.btn-icon, .denah-icon, .btn-arrow, .denah-arrow {
  transition: all 0.3s ease;
}

/* Text and icon color changes on hover */
.animated-btn:hover .btn-text,
.animated-btn:hover .btn-icon,
.animated-btn:hover .btn-arrow,
.btn-gradient:hover .btn-text,
.btn-gradient:hover .btn-icon,
.btn-gradient:hover .btn-arrow {
  color: #000;
}

.btn-warning:not(.animated-denah-btn):hover .btn-text,
.btn-warning:not(.animated-denah-btn):hover .btn-icon,
.btn-warning:not(.animated-denah-btn):hover .btn-arrow {
  color: #000;
}

.btn-success:hover .btn-text,
.btn-success:hover .btn-icon,
.btn-success:hover .btn-arrow {
  color: #000;
}

.animated-denah-btn:hover .denah-text,
.animated-denah-btn:hover .denah-icon,
.animated-denah-btn:hover .denah-arrow {
  color: #000;
}

/* Loading state text color */
.animated-denah-btn.loading .denah-text,
.animated-denah-btn.loading .denah-icon {
  color: white;
}

/* Active state for all buttons */
.animated-btn:active, .btn-warning:active, .btn-success:active, .btn-gradient:active {
  transform: translateY(-1px);
}

/* Animated Denah Button */
.animated-denah-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
  background-size: 200% 200%;
  border: none;
  box-shadow: 
    0 4px 15px rgba(184, 134, 11, 0.5),
    0 0 20px rgba(218, 165, 32, 0.4),
    0 0 40px rgba(255, 215, 0, 0.3);
  transform: translateY(0);
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 50%, #b8860b 100%);
    background-position: 0% 50%;
  }
  25% {
    background: linear-gradient(135deg, #cd853f 0%, #b8860b 50%, #8b6914 100%);
    background-position: 25% 75%;
  }
  50% {
    background: linear-gradient(135deg, #daa520 0%, #cd853f 50%, #b8860b 100%);
    background-position: 50% 100%;
  }
  75% {
    background: linear-gradient(135deg, #cd853f 0%, #b8860b 50%, #8b6914 100%);
    background-position: 75% 25%;
  }
  100% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 50%, #b8860b 100%);
    background-position: 100% 50%;
  }
}

.animated-denah-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    rgba(255, 255, 0, 0.3),
    rgba(255, 255, 255, 0.2), 
    transparent);
  animation: shimmerMove 2s infinite;
  z-index: 1;
}

@keyframes shimmerMove {
  0% {
    left: -100%;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(205, 133, 63, 0.3), 
      rgba(218, 165, 32, 0.4),
      rgba(205, 133, 63, 0.3), 
      transparent);
  }
  50% {
    left: 0%;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(218, 165, 32, 0.4), 
      rgba(184, 134, 11, 0.5),
      rgba(218, 165, 32, 0.4), 
      transparent);
  }
  100% {
    left: 100%;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(205, 133, 63, 0.3), 
      rgba(218, 165, 32, 0.4),
      rgba(205, 133, 63, 0.3), 
      transparent);
  }
}

.animated-denah-btn:hover {
  background: linear-gradient(135deg, #cd853f 0%, #b8860b 100%);
  background-size: 300% 300%;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(184, 134, 11, 0.6),
    0 0 30px rgba(218, 165, 32, 0.5),
    0 0 60px rgba(255, 215, 0, 0.4),
    0 0 100px rgba(218, 165, 32, 0.3);
  animation: gradientShiftHover 1.5s ease-in-out infinite, neonPulse 2s infinite alternate;
}

@keyframes gradientShiftHover {
  0% {
    background: linear-gradient(135deg, #daa520 0%, #cd853f 50%, #b8860b 100%);
    background-position: 0% 0%;
  }
  33% {
    background: linear-gradient(135deg, #e6b800 0%, #daa520 50%, #cd853f 100%);
    background-position: 50% 50%;
  }
  66% {
    background: linear-gradient(135deg, #f0c814 0%, #e6b800 50%, #daa520 100%);
    background-position: 100% 100%;
  }
  100% {
    background: linear-gradient(135deg, #daa520 0%, #cd853f 50%, #b8860b 100%);
    background-position: 0% 0%;
  }
}

.animated-denah-btn:hover::before {
  animation: shimmerMove 1s infinite;
}

.animated-denah-btn:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 15px rgba(219, 165, 47, 0.6),
    0 0 25px rgba(255, 215, 0, 0.7),
    0 0 50px rgba(255, 255, 0, 0.4);
}

@keyframes neonPulse {
  0% {
    box-shadow: 
      0 8px 25px rgba(184, 134, 11, 0.6),
      0 0 30px rgba(218, 165, 32, 0.5),
      0 0 60px rgba(255, 215, 0, 0.4),
      0 0 100px rgba(218, 165, 32, 0.3);
  }
  25% {
    box-shadow: 
      0 8px 30px rgba(218, 165, 32, 0.7),
      0 0 35px rgba(255, 215, 0, 0.6),
      0 0 70px rgba(255, 223, 0, 0.5),
      0 0 110px rgba(218, 165, 32, 0.4);
  }
  50% {
    box-shadow: 
      0 8px 35px rgba(255, 215, 0, 0.8),
      0 0 40px rgba(255, 223, 0, 0.7),
      0 0 80px rgba(255, 235, 59, 0.6),
      0 0 120px rgba(255, 215, 0, 0.5);
  }
  75% {
    box-shadow: 
      0 8px 30px rgba(218, 165, 32, 0.7),
      0 0 35px rgba(255, 215, 0, 0.6),
      0 0 70px rgba(255, 223, 0, 0.5),
      0 0 110px rgba(218, 165, 32, 0.4);
  }
  100% {
    box-shadow: 
      0 8px 35px rgba(184, 134, 11, 0.8),
      0 0 40px rgba(218, 165, 32, 0.7),
      0 0 80px rgba(255, 215, 0, 0.6),
      0 0 120px rgba(218, 165, 32, 0.4);
  }
}

.denah-icon {
  transition: all 0.3s ease;
  animation: iconPulse 2s infinite;
}

.animated-denah-btn:hover .denah-icon {
  transform: scale(1.1);
  animation: none;
}

.denah-text {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.denah-arrow {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.animated-denah-btn:hover .denah-arrow {
  transform: translateX(5px);
  opacity: 1;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Loading state for denah button */
.animated-denah-btn.loading {
  pointer-events: none;
  opacity: 0.9;
  box-shadow: 
    0 4px 20px rgba(219, 165, 47, 0.6),
    0 0 25px rgba(255, 215, 0, 0.7),
    0 0 50px rgba(255, 255, 0, 0.4);
  animation: loadingNeon 1.5s infinite alternate;
}

.animated-denah-btn.loading .denah-icon {
  animation: iconSpin 1s linear infinite;
}

@keyframes loadingNeon {
  0% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
    box-shadow: 
      0 4px 20px rgba(184, 134, 11, 0.6),
      0 0 25px rgba(218, 165, 32, 0.5),
      0 0 50px rgba(205, 133, 63, 0.4);
  }
  25% {
    background: linear-gradient(135deg, #cd853f 0%, #b8860b 100%);
    box-shadow: 
      0 4px 22px rgba(205, 133, 63, 0.7),
      0 0 30px rgba(218, 165, 32, 0.6),
      0 0 60px rgba(184, 134, 11, 0.5);
  }
  50% {
    background: linear-gradient(135deg, #daa520 0%, #cd853f 100%);
    box-shadow: 
      0 4px 25px rgba(218, 165, 32, 0.8),
      0 0 35px rgba(184, 134, 11, 0.7),
      0 0 70px rgba(205, 133, 63, 0.6);
  }
  75% {
    background: linear-gradient(135deg, #cd853f 0%, #b8860b 100%);
    box-shadow: 
      0 4px 22px rgba(205, 133, 63, 0.7),
      0 0 30px rgba(218, 165, 32, 0.6),
      0 0 60px rgba(184, 134, 11, 0.5);
  }
  100% {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
    box-shadow: 
      0 4px 25px rgba(184, 134, 11, 0.8),
      0 0 35px rgba(218, 165, 32, 0.7),
      0 0 70px rgba(205, 133, 63, 0.6),
      0 0 100px rgba(184, 134, 11, 0.3);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Extra neon effects for special occasions */
.animated-denah-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(255, 215, 0, 0.1) 50%, 
    transparent 70%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.animated-denah-btn:hover::after {
  opacity: 1;
  animation: borderGlow 2s infinite alternate;
}

@keyframes borderGlow {
  0% {
    background: linear-gradient(45deg, 
      transparent 30%, 
      rgba(255, 215, 0, 0.1) 50%, 
      transparent 70%);
  }
  100% {
    background: linear-gradient(45deg, 
      transparent 20%, 
      rgba(255, 215, 0, 0.3) 50%, 
      transparent 80%);
  }
}

.btn-gradient {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  background-size: 200% 200%;
  color: white !important;
  border: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 
    0 4px 15px rgba(37, 211, 102, 0.4),
    0 0 20px rgba(18, 140, 126, 0.3),
    0 0 40px rgba(37, 211, 102, 0.2);
  animation: gradientShiftGreen 3s ease-in-out infinite;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #2fe76f 0%, #25d366 100%) !important;
  color: #000 !important;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(37, 211, 102, 0.6),
    0 0 30px rgba(47, 231, 111, 0.5),
    0 0 60px rgba(25, 211, 102, 0.4),
    0 0 100px rgba(37, 211, 102, 0.3);
  animation: neonPulseGreen 2s infinite alternate;
}

.btn-gradient i.fa-whatsapp {
  color: white !important;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.btn-gradient:hover i.fa-whatsapp {
  color: #000 !important;
}

/* Gallery */
.gallerySwiper {
  width: 100%;
  height: 350px;
}

.gallerySwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* bisa diganti cover kalau mau penuh */
}

/* Style tombol swiper di gallery & type unit */
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev,
.typeSwiper .swiper-button-next,
.typeSwiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #b8860b;
  /* emas */
  color: #fff;
  border: 3px solid #fff;
  /* border putih */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gallerySwiper .swiper-button-next::after,
.gallerySwiper .swiper-button-prev::after,
.typeSwiper .swiper-button-next::after,
.typeSwiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Hover effect */
.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover,
.typeSwiper .swiper-button-next:hover,
.typeSwiper .swiper-button-prev:hover {
  background: #d4a017;
  /* emas lebih terang saat hover */
}


/* Lokasi iframe */
#project-detail iframe {
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Project Header */
.project-header {
  background: linear-gradient(to right, #b8860b, #d4a017);
  color: #fff;
  padding: 2.5rem 0;
  margin-top: 70px;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.25);
  /* inner shadow */
}

.project-header h2 {
  color: #ffffff;
}

.project-header p {
  color: #000;
}

.project-header i {
  color: #000;
}

/* Modal Styles */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
}

.modal-content {
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  backdrop-filter: blur(5px); /* Adds a blur effect to the background */
}

@media (max-width: 576px) {
  .modal-dialog {
    max-width: 95%;
    margin: center;
  }
}

/* Default modal gambar */
.modal-body img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  /* biar nggak kepotong layar */
  object-fit: contain;
}

/* Portrait (HP tegak) */
@media (orientation: portrait) {
  .modal-dialog {
    max-width: 95%;
    /* modal hampir penuh lebar */
    margin: auto;
  }

  .modal-body img {
    width: 100vh;
    height: auto;
    max-height: 80vh;
  }
}

/* Landscape (HP rebah / laptop) */
@media (orientation: landscape) {
  .modal-dialog {
    max-width: 80%;
    /* biar tidak terlalu melebar */
    margin: auto;

  }

  .modal-body img {
    height: 100vh;
    /* isi tinggi layar */
    width: auto;
    /* biar proporsional */
    max-width: 100%;
  }
}

/* Siteplan Section Styling */
.siteplan-container {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.siteplan-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.siteplan-image {
    border: 3px solid #dba52f;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    background: white;
    padding: 5px;
}

.siteplan-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(219, 165, 47, 0.3);
    border-color: #f4d03f;
}

/* Siteplan Modal - same styling as denah */
#siteplanModal .modal-content {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

#siteplanModal .modal-body img {
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    cursor: grab;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

#siteplanModal .modal-body img:active {
    cursor: grabbing;
}

/* Siteplan loading */
.siteplan-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
}

.siteplan-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

/* Fix modal scroll issues on mobile */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Ensure proper scroll restoration */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    body:not(.modal-open) {
        overflow-y: auto !important;
        position: static !important;
    }
    
    /* Fix modal backdrop issues on mobile */
    .modal-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    
    /* Prevent body scroll when modal is open */
    body.modal-open {
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }
}

/* Force hide modal when needed */
.modal[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Ensure modal backdrop is removed */
.modal-backdrop.fade {
    transition: opacity 0.15s linear;
}

.modal-backdrop.fade:not(.show) {
    opacity: 0;
    display: none !important;
}

/* Denah Modal - minimal styling same as siteplan */
#denahOverlay .modal-content {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

#denahOverlay .modal-body img {
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    cursor: grab;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

#denahOverlay .modal-body img:active {
    cursor: grabbing;
}

/* Denah loading */
.denah-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
}

.denah-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Zoom controls - floating overlay */
.zoom-controls {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.zoom-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}