/* Service pages: base, gallery, info sections and call-to-action buttons.
   Per-page variants are scoped by <body data-service="…"> at the end. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --accent: #1c22c2;
  --hot-pink: #e91e8c;
  --white: #ffffff;
}

html {
  overflow-y: scroll;
  height: 100%;
}

body {
  font-family:
    'Futura',
    'Futura-Medium',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #000;
  overflow-x: hidden;
  min-height: 100%;
  position: relative;
  color: white;
}

.main-content {
  margin-top: 90px;
  padding: 20px 10px;
  position: relative;
  z-index: 1;
}

.service-title-container {
  background: black;
  border: 3px solid transparent;
  border-image: linear-gradient(180deg, #aaaaaa 0%, #ffffff 25%, #cccccc 50%, #888888 75%, #bbbbbb 100%) 1;
  box-shadow:
    0 0 15px rgba(200, 200, 200, 0.4),
    0 0 25px rgba(180, 180, 180, 0.25);
  padding: 15px;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.service-title {
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.bubble-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.bubble {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 35px;
}

.bubble.active {
  background: white;
  width: 70px;
  height: 8px;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Slots with no photo stay hidden until one is published from the dashboard.
   service.js also hides their dots and sizes the remaining thumbnails. */
.thumbnail:not(:has(img)) {
  display: none;
}

.thumbnail {
  height: 100px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumbnail.active {
  border: 2px solid transparent;
  border-image: linear-gradient(180deg, #aaaaaa 0%, #ffffff 25%, #cccccc 50%, #888888 75%, #bbbbbb 100%) 1;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
}

.main-image-container {
  width: 100%;
  height: 500px;
  margin-top: 5px;
  margin-bottom: 30px;
  padding-top: 0;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid transparent;
  border-image: linear-gradient(180deg, #aaaaaa 0%, #ffffff 25%, #cccccc 50%, #888888 75%, #bbbbbb 100%) 1;
}

.main-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-orientation: from-image;
}

.info-section {
  margin-bottom: 30px;
  margin-top: -10px;
}

.info-section:first-of-type {
  margin-top: -20px;
}

.info-header {
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #888888 20%, #cccccc 50%, #888888 80%, transparent 100%) 1;
}

.info-content {
  font-family: 'Futura', 'Futura-Medium', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: linear-gradient(180deg, #cccccc 0%, #aaaaaa 50%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.book-service-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 15px;
  background: transparent;
  border: 3px solid transparent;
  border-image: linear-gradient(180deg, #aaaaaa 0%, #ffffff 25%, #cccccc 50%, #888888 75%, #bbbbbb 100%) 1;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.book-service-btn:active {
  background: white;
  -webkit-text-fill-color: black;
}

.call-shop-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 15px;
  background: transparent;
  border: 3px solid transparent;
  border-image: linear-gradient(180deg, #aaaaaa 0%, #ffffff 25%, #cccccc 50%, #888888 75%, #bbbbbb 100%) 1;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Futura', 'Futura-Medium', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
}

.call-shop-btn:active {
  background: white;
  -webkit-text-fill-color: black;
}

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
  margin: 20px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerAnim 25s linear infinite;
}

.ticker-item {
  font-family:
    'Futura',
    'Futura-Bold',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ticker-item::after {
  content: '';
  width: 5px;
  height: 5px;
  background: rgba(28, 34, 194, 0.4);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@keyframes tickerAnim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.benefits-section {
  margin: 40px auto;
  padding: 0 10px;
}

.benefits-title {
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-size: 22px;
  font-weight: bold;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #888888 20%, #cccccc 50%, #888888 80%, transparent 100%) 1;
}

.benefits-content {
  background: transparent;
  border: none;
  padding: 20px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  font-family: 'Futura', 'Futura-Medium', sans-serif;
  font-size: 14px;
  background: linear-gradient(180deg, #cccccc 0%, #aaaaaa 50%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 15px 0;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #888888 20%, #cccccc 50%, #888888 80%, transparent 100%) 1;
}

.benefits-list li:last-child {
  border-bottom: none;
  border-image: none;
}

.benefit-title {
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-weight: bold;
  background: linear-gradient(180deg, #ffffff 0%, #d0d0d0 30%, #888888 60%, #cccccc 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 15px;
  margin-bottom: 5px;
}

.benefit-description {
  font-size: 14px;
  line-height: 1.5;
}

/* ── Page variants ─────────────────────────────────────────────────────── */

[data-service='starlight-header'] .thumbnail.inactive::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
}

[data-service='starlight-header'] .main-image-container {
  border: none;
  border-image: none;
  border-radius: 10px;
}

[data-service='windshield-protection-film'] .service-title {
  font-size: 20px;
}

@media (max-width: 400px) {
  [data-service='windshield-protection-film'] .service-title {
    font-size: 16px;
  }
}

/* ── Vinyl wrap: colored PPF call-out ─────────────────────────────────── */

.check-ppf-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 auto 15px auto;
  padding: 15px 10px;
  background: linear-gradient(180deg, #3a3fdf 0%, #1c22c2 20%, #12156e 50%, #1a1db0 75%, #2428d4 100%);
  color: white;
  border: 1px solid rgba(100, 105, 255, 0.25);
  box-shadow: 0 4px 20px rgba(28, 34, 194, 0.4);
  font-family: 'Futura', 'Futura-Bold', sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  line-height: 1.3;
  animation: jiggleIntermittent 3.5s ease-in-out infinite;
}

.check-ppf-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

@keyframes jiggleIntermittent {
  0%,
  20%,
  100% {
    transform: rotate(0deg);
  }
  2% {
    transform: rotate(-2deg);
  }
  4% {
    transform: rotate(2deg);
  }
  6% {
    transform: rotate(-2deg);
  }
  8% {
    transform: rotate(2deg);
  }
  10% {
    transform: rotate(-2deg);
  }
  12% {
    transform: rotate(2deg);
  }
  14% {
    transform: rotate(0deg);
  }
}
