/* ===================================
   STANGE STUDIO - MICROSITE
   Brutalist Dark Theme
   =================================== */

/* Base Styles */
body {
  background-color: #131313;
  color: #e2e2e2;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

/* Work Card Slant Effect */
.work-slant {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
}

/* Logo — footer */
.logo-img-footer {
  height: 32px;
  width: auto;
}

/* Nav Icon (mobile) */
.nav-icon {
  height: 32px;
  width: auto;
}

/* Nav Logo (desktop horizontal) */
.nav-logo {
  height: 28px;
  width: auto;
}

.menu-open {
  overflow: hidden;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.mobile-menu-toggle[aria-expanded="true"] {
  transform: rotate(90deg);
}

.mobile-nav {
  transform-origin: top;
}

.mobile-nav-panel {
  backdrop-filter: blur(24px);
}

.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 1rem 0;
  color: rgba(226, 226, 226, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.25s ease,
    padding-left 0.25s ease,
    border-color 0.25s ease;
}

.mobile-nav-link:last-child {
  border-bottom: 0;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: #ffffff;
  padding-left: 0.5rem;
  border-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glassmorphism Dialog */
.glass-dialog {
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.6),
    0 0 0 0.5px rgba(255, 255, 255, 0.04) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Image Lightbox Dialog */
#imageLightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.92);
}

#imageLightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

#imageLightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

input.glass-input,
textarea.glass-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

input.glass-input:focus,
textarea.glass-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Hero Logo */
.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .hero-logo {
    max-width: 500px;
  }
}

/* Active nav link */
.nav-link-active {
  color: #ffffff !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding-bottom: 0.25rem !important;
}

/* Services items — compact spacing on mobile */
@media (max-width: 767px) {
  #services-list > div:not(.h-px) {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Hero scroll indicator */
@keyframes scroll-fade {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(6px);
  }
}
.scroll-indicator {
  animation: scroll-fade 2.4s ease-in-out infinite;
}

/* Service accordion panel */
.service-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}
.service-panel.is-open {
  max-height: 600px;
  opacity: 1;
}
.service-item.is-active .service-icon {
  transform: rotate(45deg);
  color: white;
}
