/* ==========================================================================
   ArtDesign — 3D Scrollable Mobile & Tablet Responsive Stylesheet
   ========================================================================== */

/* Bottom Quick Action Bar for Mobile Devices */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 7, 12, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-glass-bright);
  z-index: 10000;
  padding: 10px 16px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-bottom-btn.active, .mobile-bottom-btn:hover {
  color: var(--accent-primary);
}

.mobile-bottom-btn .icon {
  font-size: 1.2rem;
}

/* Media Queries */

/* Tablet & Mobile Screens (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .scroll-3d-tracker {
    right: 12px;
    gap: 12px;
  }

  .scroll-3d-dot::after {
    display: none; /* Hide labels on mobile tracker */
  }

  .mobile-bottom-bar {
    display: flex;
  }

  /* Navigation Drawer Mobile */
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px auto;
    border-radius: 2px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #080B14;
    border-left: 1px solid var(--border-glass-bright);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
    z-index: 10000;
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .btn-glass {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
