/* Yılmaz Plastik — VLab / Appever inspired layout */

:root {
  --violet: #8b5cf6;
  --container: 1140px;
}

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: var(--container);
}

/* Navbar */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 999;
  padding: 1rem 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar.nav-sticky {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 0.65rem 0;
}

.dark .navbar.nav-sticky {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  gap: 0.15rem;
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
  }
}

.nav-link {
  display: block;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  transition: color 0.3s ease;
}

.dark .nav-link {
  color: #fff;
}

.nav-link:hover,
.nav-link.active {
  color: var(--violet);
}

@media (max-width: 991px) {
  .navigation {
    width: 100%;
    background: #fff;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }

  .dark .navigation {
    background: #0f172a;
  }

  .navigation.open {
    display: block !important;
  }
}

/* Logo mark (legacy utility kept minimal) */
.navbar-brand img,
.logo-footer img {
  flex-shrink: 0;
}

/* Typewriter caret */
.typewrite .wrap {
  border-right: 2px solid var(--violet);
  padding-right: 2px;
}

/* Hero float */
@keyframes mover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.mover {
  animation: mover 4.5s ease-in-out infinite;
}

/* Soft fade-in on load */
.hero-visual {
  filter: drop-shadow(0 30px 50px rgba(99, 102, 241, 0.18));
}

/* FAQ */
.faq-btn[aria-expanded='true'] .mdi-chevron-down {
  transform: rotate(180deg);
  color: var(--violet);
}

.faq-item {
  border: 1px solid transparent;
}

.faq-item:focus-within {
  border-color: rgba(139, 92, 246, 0.25);
}

/* Utility layers for blur orb */
.after\:-z-1::after {
  z-index: -1;
}

.z-2 {
  z-index: 2;
}

.z-3 {
  z-index: 3;
}

/* Catalog lightbox */
#product-grid img,
#product-grid .aspect-square,
img[data-lightbox] {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  outline: none;
}

.lightbox__img {
  display: block;
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.dark .lightbox__img {
  background: #0f172a;
}

.lightbox__caption {
  margin-top: 0.85rem;
  max-width: 90vw;
  text-align: center;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox__counter {
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.8rem;
}

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox__btn:hover {
  background: rgba(139, 92, 246, 0.85);
}

.lightbox__btn:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox__prev {
  left: 0.75rem;
}

.lightbox__next {
  right: 0.75rem;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  transform: translateY(-50%);
}

.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next,
.lightbox.is-single .lightbox__counter {
  display: none;
}

@media (max-width: 640px) {
  .lightbox__prev,
  .lightbox__next {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.4rem;
  }

  .lightbox__prev {
    left: 0.35rem;
  }

  .lightbox__next {
    right: 0.35rem;
  }

  .lightbox__img {
    max-height: 72vh;
  }
}

body.lightbox-open {
  overflow: hidden;
}
