/* Hero Slider Mobile Fixes */

/* Mobile: Increase hero button z-index and ensure pointer-events */
@media (max-width: 768px) {
  .hero {
    position: relative;
    isolation: isolate;
    padding: 0 !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-inner {
    min-height: 100vh !important;
    min-height: 100svh !important;
    justify-items: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 0 80px !important;
    flex: 1 !important;
  }

  .hero-text {
    padding: 20px 18px !important;
    max-width: calc(100% - 120px) !important;
    width: calc(100% - 120px) !important;
    text-align: center !important;
  }

  .hero-brand-text,
  .hero-brand-cursor {
    font-size: clamp(12px, 3.5vw, 17px) !important;
  }

  .hero-brand-name {
    margin-bottom: 10px !important;
    min-height: 1.6em !important;
  }

  .hero-animated-title {
    font-size: clamp(20px, 5.5vw, 30px) !important;
    min-height: 3.2em !important;
  }

  .hero-text h1 {
    font-size: clamp(20px, 5.5vw, 30px) !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }

  .lead {
    font-size: 14px !important;
    margin-bottom: 14px !important;
    line-height: 1.5 !important;
  }

  .hero-actions {
    gap: 4px !important;
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .hero-actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .hero-slider {
    z-index: 0 !important;
    position: absolute;
    pointer-events: none !important;
  }

  .hero-slide {
    z-index: 0 !important;
  }

  .hero-slide img {
    z-index: 0 !important;
  }

  .hero-inner {
    z-index: 25 !important;
    position: relative;
    pointer-events: none !important;
  }

  .hero-text {
    z-index: 25 !important;
    position: relative;
    pointer-events: auto !important;
  }

  .hero-text a,
  .hero-text button {
    pointer-events: auto !important;
  }

  .hero-controls {
    z-index: 50 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-btn {
    width: 32px !important;
    height: 32px !important;
    pointer-events: auto !important;
    z-index: 51 !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255,255,255,0.92) !important;
    border: 2px solid rgba(212, 175, 55, 0.8) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--color-primary) !important;
    transition: all 250ms ease !important;
  }

  .hero-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
    background: rgba(212, 175, 55, 0.9) !important;
    color: #ffffff !important;
  }

  .hero-btn:hover {
    background: rgba(212, 175, 55, 0.85) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
  }

  .hero-btn.prev {
    left: 2px !important;
  }

  .hero-btn.next {
    right: 2px !important;
  }

  .hero-dots {
    z-index: 39 !important;
    pointer-events: auto !important;
    gap: 3px !important;
    bottom: 8px !important;
  }

  .hero-dot {
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    width: 6px !important;
    height: 6px !important;
  }

  .hero-dot.active {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Desktop: Keep original layout */
@media (min-width: 769px) {
  .hero-btn {
    z-index: 5;
    pointer-events: auto;
  }

  .hero-controls {
    z-index: 4;
  }
}
/* Hero Dots - Base Styles */
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 24;
  pointer-events: auto;
  padding: 8px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(4px);
}

/* Hero Dot Button */
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hero-dot.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
  width: 12px;
  height: 12px;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Mobile Dots - Optimize for small screens */
@media (max-width: 480px) {
  .hero {
    padding: 0 !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  .hero-inner {
    min-height: 100vh !important;
    min-height: 100svh !important;
    justify-items: center !important;
    padding: 50px 0 70px !important;
  }

  .hero-text {
    padding: 16px 14px !important;
    max-width: calc(100% - 100px) !important;
    width: calc(100% - 100px) !important;
    text-align: center !important;
  }

  .hero-brand-text,
  .hero-brand-cursor {
    font-size: clamp(11px, 3vw, 15px) !important;
  }

  .hero-animated-title {
    font-size: clamp(18px, 5vw, 26px) !important;
    min-height: 3.5em !important;
  }

  .hero-text h1 {
    font-size: clamp(18px, 5vw, 26px) !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }

  .lead {
    font-size: 13px !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
  }

  .hero-actions {
    gap: 6px !important;
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .hero-actions .btn {
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
  }

  .hero-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  .hero-dots {
    gap: 3px;
    bottom: 8px !important;
  }

  .hero-dot {
    width: 6px;
    height: 6px;
  }

  .hero-dot.active {
    width: 8px;
    height: 8px;
  }
}