/* ============================================
   GUITARS.LK — HERO SLIDESHOW
   Auto-play, fade + slide transitions
============================================ */

.glk-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #26215C;
  user-select: none;
}

/* ---- SLIDES WRAPPER ---- */
.glk-slides {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

/* ---- SINGLE SLIDE ---- */
.glk-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  overflow: hidden;
}

/* Slide background color layer */
.glk-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Slide 1 — deep purple */
.glk-slide:nth-child(1) { background: linear-gradient(135deg, #26215C 0%, #3C3489 55%, #534AB7 100%); }
/* Slide 2 — purple to teal */
.glk-slide:nth-child(2) { background: linear-gradient(135deg, #3C3489 0%, #085041 100%); }
/* Slide 3 — mid purple */
.glk-slide:nth-child(3) { background: linear-gradient(135deg, #534AB7 0%, #26215C 100%); }
/* Slide 4 — purple to gold */
.glk-slide:nth-child(4) { background: linear-gradient(135deg, #3C3489 0%, #633806 100%); }

/* Decorative circle shapes */
.glk-slide .deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 1;
}
.glk-slide .deco-1 { width: 420px; height: 420px; background: white; top: -120px; right: -80px; }
.glk-slide .deco-2 { width: 220px; height: 220px; background: white; bottom: -60px; left: 5%; }
.glk-slide .deco-3 { width: 100px; height: 100px; background: white; top: 30px; left: 40%; }

/* ---- SLIDE CONTENT ---- */
.glk-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  padding: 48px 48px;
  gap: 32px;
}

.glk-slide-text {
  flex: 1;
  color: white;
}

.glk-slide-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;

  /* Animate in */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.glk-slide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin: 0 0 14px;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}

.glk-slide-title span {
  color: #CECBF6;
}

.glk-slide-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px;
  line-height: 1.6;
  max-width: 480px;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.48s, transform 0.5s ease 0.48s;
}

.glk-slide-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

/* Animate active slide content in */
.glk-slide.is-active .glk-slide-eyebrow,
.glk-slide.is-active .glk-slide-title,
.glk-slide.is-active .glk-slide-sub,
.glk-slide.is-active .glk-slide-btns {
  opacity: 1;
  transform: translateY(0);
}

/* Slide buttons */
.glk-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
}

.glk-btn-primary {
  background: white;
  color: #3C3489;
}
.glk-btn-primary:hover {
  background: #EEEDFE;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.glk-btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.55);
}
.glk-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* Slide image / emoji area */
.glk-slide-visual {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 100px;
  border: 2px solid rgba(255,255,255,0.12);

  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.glk-slide.is-active .glk-slide-visual {
  opacity: 1;
  transform: scale(1);
}

/* ---- PRICE BADGE (on slide) ---- */
.glk-price-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 10px 18px;
  color: white;
  margin-top: 12px;
}
.glk-price-badge .from { font-size: 0.68rem; opacity: .75; text-transform: uppercase; letter-spacing: 1px; }
.glk-price-badge .price { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; }

/* ---- NAVIGATION ARROWS ---- */
.glk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 20px;
}
.glk-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: white;
}
.glk-arrow.prev { left: 18px; }
.glk-arrow.next { right: 18px; }

/* ---- DOTS ---- */
.glk-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.glk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.glk-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* ---- PROGRESS BAR ---- */
.glk-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.35);
  z-index: 10;
  width: 100%;
}
.glk-progress-bar {
  height: 100%;
  background: white;
  width: 0%;
  transition: width linear;
}

/* ---- PLAY / PAUSE ---- */
.glk-playpause {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.glk-playpause:hover { background: rgba(255,255,255,0.25); }

/* ---- SLIDE COUNTER ---- */
.glk-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  color: rgba(255,255,255,0.65);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .glk-slide { min-height: 380px; }
  .glk-slide-inner { flex-direction: column; padding: 36px 24px 48px; text-align: center; }
  .glk-slide-title { font-size: 1.7rem; }
  .glk-slide-sub { font-size: 0.88rem; }
  .glk-slide-visual { width: 140px; height: 140px; font-size: 60px; order: -1; }
  .glk-slide-btns { justify-content: center; }
  .glk-arrow { display: none; }
  .glk-slide .deco-1 { width: 250px; height: 250px; }
}

@media (max-width: 480px) {
  .glk-slide { min-height: 340px; }
  .glk-slide-inner { padding: 28px 18px 44px; }
  .glk-slide-title { font-size: 1.4rem; }
  .glk-slide-visual { width: 110px; height: 110px; font-size: 48px; }
  .glk-btn { padding: 11px 20px; font-size: 0.78rem; }
}
