/* HERO OVERLAYS CSS */

.custom-hero-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  display: none;
}

.mobile-only {
  display: none !important;
}

.custom-hero-ui * {
  pointer-events: auto;
}

/* Hide default UI */
.hero__actions,
.hero__bottom-overlay {
  display: none !important;
}

/* Visibility toggles based on active slide */
.hero--slide-0 .custom-ui-seaguard { display: block; }
.hero--slide-1 .custom-ui-sunglasses { display: block; }
.hero--slide-3 .custom-ui-mflex { display: block; }


/* =========================================
   SLIDE 0: SEAGUARD
   ========================================= */
.custom-ui-seaguard {
  color: #fff;
  padding: 2vw 4vw;
}
.seaguard-header {
  max-width: 40vw;
}
.sg-logos {
  display: flex;
  align-items: center;
  gap: 1vw;
  margin-bottom: 1.5vw;
}
.sg-logo-icon {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-logo-text {
  display: flex;
  flex-direction: column;
}
.sg-logo-text strong {
  font-size: 1.5vw;
  font-weight: 900;
  letter-spacing: 1px;
}
.sg-logo-text span {
  font-size: 0.7vw;
  letter-spacing: 2px;
}
.sg-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  font-size: 1.2vw;
  font-weight: 700;
  margin-bottom: 0.5vw;
}
.custom-hero-ui .sg-title {
  font-size: 3.5vw;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1vw;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.custom-hero-ui .sg-title span {
  color: #fff;
}
.sg-subtitle {
  font-size: 0.9vw;
  letter-spacing: 2px;
  line-height: 1.5;
  border-left: 3px solid #00bcd4;
  padding-left: 1vw;
}
.seaguard-top-right {
  position: absolute;
  top: 4%;
  right: 4%;
  text-align: center;
  font-size: 1.2vw;
  font-weight: 800;
}
.seaguard-top-right svg {
  width: 3vw;
  height: 3vw;
}

/* Fenders */
.seaguard-fenders-grid {
  position: absolute;
  bottom: 10%;
  left: 20%;
  width: 53%;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1vw;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.seaguard-explore {
  position: absolute;
  right: 4%;
  bottom: 10%;
}
.btn-explore {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  border: 1px solid #00bcd4;
  padding: 0.8vw 1.5vw;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9vw;
  background: rgba(0, 30, 60, 0.5);
  transition: 0.3s;
}
.btn-explore:hover {
  background: #00bcd4;
  color: #000;
}

.seaguard-trust-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 20, 45, 0.85);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1vw 4vw;
}
.sg-trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sg-trust-row.sg-row-1 {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.8vw;
  margin-bottom: 0.8vw;
}
.sg-item {
  display: flex;
  align-items: center;
  gap: 0.8vw;
  font-size: 0.75vw;
  font-weight: 600;
  line-height: 1.3;
}
.sg-item svg {
  color: #00bcd4;
  width: 1.2vw;
  height: 1.2vw;
}
.sg-row-1 .sg-item svg {
  border: 1px solid #00bcd4;
  border-radius: 50%;
  padding: 0.4vw;
  width: 2.2vw;
  height: 2.2vw;
}


/* =========================================
   SLIDE 1: SUNGLASSES
   ========================================= */
.custom-ui-sunglasses {
  color: #fff;
}
.sunglasses-header {
  position: absolute;
  top: 8%;
  right: 4%;
  text-align: right;
}
.sg-title-1 {
  font-size: 5vw;
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(180deg, #00f0ff, #005080);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.sg-title-2 {
  font-size: 5vw;
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: -1vw;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.sunglasses-header .sg-subtitle {
  font-size: 1.8vw;
  color: #ff9800;
  font-weight: 700;
  margin-top: 1vw;
}
.sunglasses-uv-box {
  position: absolute;
  top: 15%;
  left: 4%;
  border: 2px solid #00bcd4;
  padding: 1.5vw;
  background: rgba(0, 20, 45, 0.6);
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.sunglasses-uv-box h3 {
  font-size: 2vw;
  color: #00bcd4;
  margin: 0;
}
.sunglasses-uv-box h4 {
  font-size: 1.2vw;
  margin: 0 0 1vw;
  letter-spacing: 2px;
}
.sunglasses-uv-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sunglasses-uv-box li {
  display: flex;
  align-items: center;
  gap: 0.8vw;
  margin-bottom: 0.8vw;
  font-size: 0.8vw;
  font-weight: 600;
}
.sunglasses-action {
  position: absolute;
  bottom: 10%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 1.5vw;
}
.colors-text {
  font-size: 1.3vw;
  font-weight: 600;
}
.colors-text span {
  color: #00bcd4;
}
.btn-shop {
  background: transparent;
  border: 2px solid #00bcd4;
  color: #fff;
  padding: 0.8vw 2vw;
  font-size: 1.2vw;
  font-weight: 700;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.8vw;
  text-decoration: none;
  box-shadow: inset 0 0 10px rgba(0,188,212,0.3);
  transition: 0.3s;
}
.btn-shop:hover {
  background: #00bcd4;
  color: #000;
}
.sunglasses-trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 1.2vw 4vw;
  background: rgba(0, 15, 30, 0.9);
  border-top: 1px solid rgba(0,188,212,0.3);
}
.sun-item {
  display: flex;
  align-items: center;
  gap: 0.8vw;
}
.sun-item svg {
  color: #00bcd4;
  width: 1.5vw;
  height: 1.5vw;
}
.sun-item div {
  display: flex;
  flex-direction: column;
}
.sun-item strong {
  font-size: 0.75vw;
}
.sun-item span {
  font-size: 0.65vw;
  color: #ccc;
}


/* =========================================
   SLIDE 3: M-FLEX
   ========================================= */
.custom-ui-mflex {
  color: #fff;
}
.mflex-header {
  position: absolute;
  top: 8%;
  left: 4%;
}
.mflex-title {
  font-size: 4vw;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(180deg, #b2fbfc, #008796);
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}
.mflex-subtitle {
  font-size: 1.2vw;
  letter-spacing: 1px;
  margin: 0 0 1vw;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.mflex-trusted {
  font-size: 1vw;
  font-weight: 800;
  margin-bottom: 0.8vw;
  line-height: 1.4;
}
.trusted-text-orange {
  color: #ff6600;
  font-size: 1.2vw;
}
.mflex-madein {
  font-size: 1.5vw;
  letter-spacing: 2px;
}

.mflex-hp-badges {
  position: absolute;
  top: 8%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3vw;
}
.hp-badge {
  background: #d46328;
  color: #fff;
  font-weight: 900;
  font-size: 1.8vw;
  padding: 0.3vw 1vw;
  box-shadow: -0.3vw 0.3vw 0 #fff;
  transform: skewX(-10deg);
  border: 1px solid #fff;
}
.hp-100 { margin-right: 4vw; }
.hp-150 { margin-right: 2.5vw; }
.hp-600 { margin-right: 1.2vw; }

.mflex-product-labels {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 2%;
}
.product-label {
  text-align: center;
  font-weight: 800;
}
.label-text {
  font-size: 0.7vw;
  color: #00bcd4;
  margin-bottom: 0.3vw;
}
.label-hp {
  font-size: 1.5vw;
  color: #fff;
}
.label-hp .arrows {
  color: #00bcd4;
  margin-left: 0.5vw;
}

.mflex-trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 1vw 4vw;
  background: #021a28;
  border-top-right-radius: 20px;
}
.mflex-trust-item {
  display: flex;
  align-items: center;
  gap: 0.8vw;
}
.icon-wrap svg {
  color: #00bcd4;
  width: 1.5vw;
  height: 1.5vw;
}
.trust-text {
  font-size: 0.75vw;
  font-weight: 600;
  line-height: 1.3;
}


/* Media Queries for responsiveness */
@media (max-width: 1080px) {
  /* Utility for hiding/showing elements on mobile vs desktop */
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }

  /* SeaGuard Mobile Mockup Match */
  .sg-mobile-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 4vw; width: 100%; box-sizing: border-box; }
  .sg-badge-mobile { display: inline-flex; align-items: center; gap: 1.5vw; background: rgba(0, 45, 90, 0.6); border: 1px solid #00bcd4; color: #00bcd4; padding: 1.5vw 3vw; border-radius: 20px; font-size: 2.8vw; font-weight: 700; letter-spacing: 1px; }
  .sg-logo-mobile { display: inline-flex; flex-direction: column; align-items: center; color: #fff; font-size: 3.5vw; font-weight: 700; gap: 1vw; }
  
  .seaguard-header { max-width: 100vw; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; }
  .custom-hero-ui .sg-title { font-size: 13vw; margin-bottom: 3vw; line-height: 1.05; padding-left: 5vw; margin-top: 5vw; }
  .custom-hero-ui .sg-title span { color: #00bcd4; }
  .sg-subtitle { font-size: 2.8vw; padding-left: 2vw; margin-left: 5vw; border-left: 2px solid rgba(255,255,255,0.5); letter-spacing: 1.5px; color: #e0e0e0; }
  
  .sg-mobile-trust-bar { 
    position: absolute; 
    bottom: 5%; 
    left: 4%; 
    width: 92%; 
    background: rgba(0, 15, 35, 0.85); 
    border: 1px solid #005080; 
    border-radius: 12px; 
    display: none; 
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 3vw 1vw; 
    box-sizing: border-box;
    z-index: 10;
  }
  .sg-mt-item { display: flex; flex-direction: column; align-items: center; text-align: center; color: #00bcd4; width: 25%; gap: 1vw; border-right: 1px solid rgba(255,255,255,0.2); }
  .sg-mt-item:last-child { border-right: none; }
  .sg-mt-item svg { width: 6.5vw; height: 6.5vw; margin-bottom: 0.5vw; }
  .sg-mt-item span { color: #fff; font-size: 2.2vw; font-weight: 600; line-height: 1.2; }

  /* Sunglasses */
  .sunglasses-header { right: 4%; width: 92%; text-align: right; }
  .sg-title-1 { font-size: 9vw; letter-spacing: 2px; }
  .sg-title-2 { font-size: 9vw; letter-spacing: 1px; margin-top: -1vw; }
  .sunglasses-header .sg-subtitle { font-size: 3vw; margin-top: 3vw; }
  .sunglasses-uv-box { display: none; }
  
  .sunglasses-action { flex-direction: column; align-items: flex-end; gap: 2vw; bottom: 25%; }
  .colors-text { font-size: 3.5vw; text-align: right; }
  .btn-shop { font-size: 3.5vw; padding: 2vw 5vw; }
  
  .sunglasses-trust-bar { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 3vw; 
    padding: 3vw;
    background: rgba(0, 15, 30, 0.95);
  }
  .sun-item { width: 45%; gap: 2vw; justify-content: flex-start; }
  .sun-item svg { width: 5vw; height: 5vw; }
  .sun-item strong { font-size: 2.5vw; }
  .sun-item span { font-size: 2.2vw; }

  /* M-FLEX */
  .mflex-header { width: 90%; margin-top: -3vw; }
  .mflex-title { font-size: 8vw; margin-bottom: 0.5vw; }
  .mflex-subtitle { font-size: 2.5vw; margin-bottom: 1.5vw; }
  .mflex-trusted { font-size: 2vw; margin-bottom: 1vw; }
  .trusted-text-orange { font-size: 2.5vw; }
  .mflex-madein { font-size: 2.5vw; }
  
  .mflex-hp-badges { top: 15%; gap: 1vw; right: 2vw; }
  .hp-badge { font-size: 3.5vw; padding: 1vw 2vw; }
  .hp-100 { margin-right: 12vw; }
  .hp-150 { margin-right: 8vw; }
  .hp-600 { margin-right: 4vw; }
  
  .mflex-product-labels { flex-wrap: wrap; bottom: 25%; gap: 1vw; padding: 0 2vw; justify-content: space-between; }
  .product-label { width: 48%; }
  .label-text { font-size: 1.8vw; }
  .label-hp { font-size: 3vw; }
  
  .mflex-trust-bar { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 1vw; 
    padding: 1vw 2vw;
    background: rgba(0, 15, 30, 0.95);
  }
  .mflex-trust-item { width: 45%; gap: 1vw; margin-bottom: 1vw; }
  .icon-wrap svg { width: 4vw; height: 4vw; }
  .trust-text { font-size: 2vw; }
}

/* Boat Seats (Slide 2) */
.hero--slide-2 .custom-ui-boatseats { display: block; }
.bs-header { position: absolute; top: 15%; left: 6%; width: 50vw; }
.custom-hero-ui .bs-title { font-size: 4.5vw; font-weight: 900; line-height: 1.1; margin-bottom: 1vw; text-shadow: 0 4px 12px rgba(0,0,0,0.4); color: #fff; }
.bs-subtitle { font-size: 1.5vw; font-weight: 700; color: #fff; letter-spacing: 2px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.bs-features { position: absolute; bottom: 25%; left: 6%; display: flex; gap: 2vw; }
.bs-feature { background: rgba(0,25,50,0.8); border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); padding: 0.8vw 1.5vw; font-size: 1vw; font-weight: 700; color: #fff; }
.bs-action { position: absolute; bottom: 10%; right: 6%; }

/* Spotlights (Slide 4) */
.hero--slide-4 .custom-ui-spotlights { display: block; }
.sl-header { position: absolute; top: 15%; right: 6%; width: 50vw; text-align: right; }
.custom-hero-ui .sl-title { font-size: 4.5vw; font-weight: 900; line-height: 1.1; margin-bottom: 1vw; text-shadow: 0 4px 12px rgba(0,0,0,0.4); color: #FFD700; }
.sl-subtitle { font-size: 1.5vw; font-weight: 700; color: #fff; letter-spacing: 2px; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.sl-features { position: absolute; bottom: 25%; right: 6%; display: flex; gap: 2vw; justify-content: flex-end; }
.sl-feature { background: rgba(0,0,0,0.6); border-radius: 4px; border: 1px solid rgba(255,215,0,0.4); padding: 0.8vw 1.5vw; font-size: 1vw; font-weight: 700; color: #FFD700; }
.sl-action { position: absolute; bottom: 10%; left: 6%; }

/* Mobile fixes for Slide 2 and 4 */
@media (max-width: 1080px) {
  .bs-header { top: 10%; width: 80vw; }
  .custom-hero-ui .bs-title { font-size: 9vw; }
  .bs-subtitle { font-size: 3vw; }
  .bs-features { flex-direction: column; bottom: 25%; gap: 2vw; }
  .bs-feature { font-size: 3vw; padding: 2vw 4vw; }
  .bs-action { bottom: 8%; right: 6%; }
  
  .sl-header { top: 10%; width: 80vw; }
  .custom-hero-ui .sl-title { font-size: 9vw; }
  .sl-subtitle { font-size: 3vw; }
  .sl-features { flex-direction: column; bottom: 25%; gap: 2vw; }
  .sl-feature { font-size: 3vw; padding: 2vw 4vw; }
  .sl-action { bottom: 8%; left: 6%; }
}


/* Aqua Wave hero polish */
.hero__shade {
  background:
    linear-gradient(90deg, rgba(3, 20, 45, 0.86), rgba(7, 65, 112, 0.48) 45%, rgba(24, 183, 222, 0.10) 72%),
    linear-gradient(0deg, rgba(2, 12, 28, 0.72), rgba(6, 38, 83, 0.10) 54%);
}

.custom-hero-ui .sg-title,
.sg-title-1,
.sg-title-2,
.mflex-title,
.custom-hero-ui .bs-title,
.custom-hero-ui .sl-title {
  background: linear-gradient(135deg, #ffffff 0%, #dff5ff 24%, #98dcff 48%, #18b7de 72%, #0c4f7e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.35);
  filter: drop-shadow(0 3px 0 rgba(5, 31, 61, 0.65)) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
  letter-spacing: 0;
}

.custom-hero-ui .sg-title span {
  color: transparent !important;
}

.sg-subtitle,
.bs-subtitle,
.sl-subtitle,
.mflex-subtitle,
.colors-text {
  color: #e8f8ff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.btn-explore,
.btn-shop {
  border-color: #18b7de;
  background: linear-gradient(135deg, rgba(6, 38, 83, 0.78), rgba(24, 183, 222, 0.26));
  box-shadow: 0 14px 30px rgba(6, 38, 83, 0.28), inset 0 0 18px rgba(152, 220, 255, 0.18);
}
