/* ==========================================================================
   GLITTEK THREE-BUSINESS HERO SLIDESHOW & OVERLAID FEATURES STRIP
   Features display over the bottom of the image for instant zero-scroll viewing
   ========================================================================== */

:root {
  --glt-navy-deep: #06192B;
  --glt-navy-primary: #09243D;
  --glt-navy-light: #123759;
  --glt-green-accent: #6FCE45;
  --glt-green-corporate: #159447;
  --glt-red-accent: #fe0101;
  --glt-red-hover: #d90000;
  --glt-text-dark: #0f172a;
  --glt-text-muted: #64748b;
  --glt-border-light: #e2e8f0;
  --glt-bg-light: #f8fafc;
}

/* Base Wrapper */
.glt-hero-section {
  position: relative;
  width: 100%;
  background: var(--glt-navy-deep);
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Hero Slideshow Container --- */
.glt-slideshow-container {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 991px) {
  .glt-slideshow-container {
    height: 600px;
  }
}

@media (max-width: 767px) {
  .glt-slideshow-container {
    height: 640px;
  }
}

/* Individual Slide */
.glt-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  z-index: 1;
}

.glt-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide Background Image */
.glt-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.0);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.glt-slide.active .glt-slide-bg {
  transform: scale(1.045);
}

/* Left-Heavy Dark Navy Gradient Overlay */
.glt-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(6, 25, 43, 0.96) 0%,
    rgba(6, 25, 43, 0.88) 38%,
    rgba(6, 25, 43, 0.52) 62%,
    rgba(6, 25, 43, 0.12) 100%
  );
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 767px) {
  .glt-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 25, 43, 0.95) 0%,
      rgba(6, 25, 43, 0.88) 55%,
      rgba(6, 25, 43, 0.65) 100%
    );
  }
}

/* Slide Text Content Container - Positioned at upper-left */
.glt-slide-content-wrap {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 48px 32px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.glt-slide-text-box {
  max-width: 580px;
  color: #ffffff;
}

/* Small Tag/Label */
.glt-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--glt-green-accent);
  background: rgba(111, 206, 69, 0.12);
  border: 1px solid rgba(111, 206, 69, 0.35);
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 12px;
  transform: translateY(14px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.glt-slide-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--glt-green-accent);
  box-shadow: 0 0 8px var(--glt-green-accent);
}

/* Main Heading */
.glt-slide-title {
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

/* Subheading (e.g. for Solar TOPCon) */
.glt-slide-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #a7f3d0;
  letter-spacing: 0.5px;
  margin: -2px 0 10px 0;
  text-transform: uppercase;
  transform: translateY(18px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

/* Description Paragraph */
.glt-slide-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.55;
  color: #e2e8f0;
  margin: 0 0 20px 0;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transform: translateY(22px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* CTA Button */
.glt-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glt-red-accent);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(254, 1, 1, 0.45);
  transform: translateY(24px);
  opacity: 0;
  transition: all 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.glt-slide-cta:hover,
.glt-slide-cta:focus {
  background: var(--glt-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(254, 1, 1, 0.65);
  text-decoration: none;
}

.glt-slide-cta svg {
  transition: transform 0.25s ease;
}

.glt-slide-cta:hover svg {
  transform: translateX(4px);
}

/* Active Slide Text Reveal Animations */
.glt-slide.active .glt-slide-tag,
.glt-slide.active .glt-slide-title,
.glt-slide.active .glt-slide-subtitle,
.glt-slide.active .glt-slide-desc {
  transform: translateY(0);
  opacity: 1;
}

.glt-slide.active .glt-slide-cta {
  transform: translateY(0);
  opacity: 1;
}

/* --- Nav Arrows --- */
.glt-nav-arrow {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 25, 43, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  outline: none;
}

.glt-nav-arrow:hover {
  background: rgba(254, 1, 1, 0.88);
  border-color: rgba(254, 1, 1, 1);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 16px rgba(254, 1, 1, 0.5);
}

.glt-arrow-prev {
  left: 20px;
}

.glt-arrow-next {
  right: 20px;
}

@media (max-width: 767px) {
  .glt-nav-arrow {
    width: 36px;
    height: 36px;
    top: 45%;
  }
  .glt-arrow-prev {
    left: 10px;
  }
  .glt-arrow-next {
    right: 10px;
  }
}

/* ==========================================================================
   BOTTOM DECK: TABS & SYNCHRONIZED FEATURES OVERLAID OVER BOTTOM OF IMAGE
   ========================================================================== */

.glt-hero-bottom-deck {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

/* Controls Row: Business Selector Tabs & Progress */
.glt-deck-controls-row {
  width: 100%;
  background: linear-gradient(180deg, rgba(6, 25, 43, 0) 0%, rgba(6, 25, 43, 0.82) 100%);
  padding: 6px 32px 8px 32px;
}

.glt-controls-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Clickable Business Labels/Tabs */
.glt-business-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glt-tab-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #cbd5e1;
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.glt-tab-btn span.tab-num {
  font-size: 11px;
  color: var(--glt-green-accent);
  font-weight: 700;
}

.glt-tab-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.glt-tab-btn.active {
  background: var(--glt-navy-primary);
  border-color: var(--glt-green-accent);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(111, 206, 69, 0.35);
}

.glt-tab-btn.active span.tab-num {
  color: #ffffff;
  background: var(--glt-green-corporate);
  padding: 1px 5px;
  border-radius: 3px;
}

/* Dots & Progress Indicator */
.glt-indicators-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.glt-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glt-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.glt-dot:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: scale(1.2);
}

.glt-dot.active {
  background: var(--glt-green-accent);
  width: 22px;
  border-radius: 5px;
  box-shadow: 0 0 8px var(--glt-green-accent);
}

/* 6-Second Auto-Rotation Progress Bar */
.glt-progress-track {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.glt-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--glt-green-corporate), var(--glt-green-accent));
  border-radius: 2px;
  transition: width 0.1s linear;
}

@media (max-width: 991px) {
  .glt-business-tabs {
    display: none;
  }
}

/* ==========================================================================
   SYNCHRONIZED FEATURES STRIP (OVERLAID OVER BOTTOM OF HERO IMAGE)
   ========================================================================== */

.glt-highlights-strip {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 3px solid #fe0101;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 5;
}

.glt-highlights-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* Strip Deck (Synchronized slide items) */
.glt-highlights-group {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.glt-highlights-group.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Desktop: 5 equally spaced items with vertical dividers */
.glt-highlight-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 14px;
  border-right: 1px solid var(--glt-border-light);
  min-width: 0;
  transition: transform 0.2s ease;
}

.glt-highlight-item:last-child {
  border-right: none;
}

.glt-highlight-item:hover {
  transform: translateY(-2px);
}

/* Highlight Icon */
.glt-highlight-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #f1f5f9;
  color: var(--glt-navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.glt-highlight-item:hover .glt-highlight-icon {
  background: var(--glt-navy-deep);
  color: var(--glt-green-accent);
}

.glt-highlight-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

/* Highlight Text Content */
.glt-highlight-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.glt-highlight-val {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--glt-navy-deep);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.glt-highlight-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--glt-text-muted);
  line-height: 1.3;
  margin-top: 1px;
}

/* Mobile Responsive Grid for Highlights Strip */
@media (max-width: 991px) {
  .glt-highlights-group.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px;
  }
  
  .glt-highlight-item {
    border-right: none;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
  }
  
  .glt-highlight-item:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .glt-slide-content-wrap {
    padding: 28px 18px 0 18px;
  }
  .glt-slide-title {
    font-size: 28px;
  }
  .glt-slide-desc {
    font-size: 13.5px;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .glt-slide-cta {
    font-size: 13px;
    padding: 9px 20px;
  }
  .glt-highlight-val {
    font-size: 14px;
  }
  .glt-highlight-lbl {
    font-size: 11px;
  }
}
