/* GarageSite + free open-source plugins (Bootstrap 5, Swiper, GLightbox, AOS) */

/* Bootstrap variable bridge */
:root {
  --bs-primary: var(--gs-primary);
  --bs-body-font-family: var(--gs-font-b);
  --bs-border-radius: var(--gs-radius);
  --bs-link-color: var(--gs-primary);
  --bs-link-hover-color: var(--gs-accent);
}

/* Navbar polish over Bootstrap */
.gs-navbar {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.gs-navbar.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.gs-navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(60vw, 280px);
}
.gs-navbar .navbar-brand img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}
.gs-navbar .nav-link {
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
}
.gs-navbar .nav-link:hover,
.gs-navbar .nav-link:focus {
  background: rgba(255, 255, 255, 0.08);
}
.gs-navbar.navbar-light .nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
}
.gs-navbar .btn {
  border-radius: 999px;
  font-weight: 750;
}

/* Section reveal */
[data-aos] {
  pointer-events: auto;
}

/* Swiper */
.gs-swiper {
  padding-bottom: 2.75rem !important;
}
.gs-swiper .swiper-pagination-bullet-active {
  background: var(--gs-primary);
}
.gs-swiper .swiper-button-next,
.gs-swiper .swiper-button-prev {
  color: var(--gs-primary);
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.gs-swiper .swiper-button-next:after,
.gs-swiper .swiper-button-prev:after {
  font-size: 0.9rem;
  font-weight: 800;
}
.review-slide {
  height: auto;
}
.review-slide .card {
  min-height: 100%;
}

/* GLightbox */
.glightbox-clean .gslide-description {
  background: #0f172a;
}

/* Scroll progress */
.gs-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1080;
  background: linear-gradient(90deg, var(--gs-primary), var(--gs-accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--gs-primary) 50%, transparent);
}

/* Back to top */
.gs-top {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gs-secondary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.gs-top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (min-width: 960px) {
  .gs-top { bottom: 1.5rem; }
}

/* Icon chips */
.gs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.125em;
}

/* Trust strip icons */
.trust-strip span i {
  color: var(--gs-primary);
  margin-right: 0.25rem;
}

/* Gallery hover zoom already exists — glightbox cursor */
.gallery-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.gallery-item a:focus-visible {
  outline: 3px solid var(--gs-primary);
  outline-offset: 2px;
}

/* Bootstrap utility coexistence */
.btn-primary {
  --bs-btn-bg: var(--gs-primary);
  --bs-btn-border-color: var(--gs-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--gs-primary) 85%, #000);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--gs-primary) 85%, #000);
}

/* Cookie toast style */
.gs-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 5rem;
  z-index: 80;
  max-width: 440px;
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (min-width: 960px) {
  .gs-cookie { bottom: 1.5rem; left: 1.5rem; right: auto; }
}

/* Loading skeleton for images */
.gs-img-skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: gs-shimmer 1.2s infinite;
}
@keyframes gs-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .gs-progress, .gs-top, [data-aos] { transition: none !important; animation: none !important; }
}
