/* Hero Banner Styles */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 350px;
  overflow: hidden;
  background: #111;
}
.hero-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-layer.visible {
  opacity: 1;
  z-index: 2;
}
.hero-img, .hero-video {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  min-width: 100%;
  min-height: 100%;
  background: #111;
}
.hero-content {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #fff;
  text-shadow: 0 2px 8px #000a;
  padding: 0 24px;
  opacity: 1;
  transition: opacity 0.6s;
  text-align: center;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.01em;
  pointer-events: auto;
  text-shadow: 0 4px 24px #000e, 0 1px 4px #000c, 0 0 2px #000a;
  text-align: center;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1.2em 0;
  pointer-events: auto;
  text-shadow: 0 4px 24px #000e, 0 1px 4px #000c, 0 0 2px #000a;
  text-align: center;
  line-height: 1.4;
  max-width: 600px;
}
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 0.5em;
  pointer-events: auto;
  text-shadow: none;
  flex-wrap: wrap;
}
.hero-buttons a {
  pointer-events: auto;
  text-align: center;
  white-space: nowrap;
}
.hero-controls {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  z-index: 4;
  pointer-events: auto;
}
.hero-dot {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.hero-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}
.hero-dot.active {
  background: transparent;
}
.hero-dot.active::before {
  width: 16px;
  height: 5px;
  background: rgba(255, 255, 255, 0.72);
}
.hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
@media (hover: hover) and (pointer: fine) {
  .hero-dot:hover {
    transform: scale(1.1);
  }

  .hero-dot:hover::before {
    background: rgba(255, 255, 255, 0.9);
  }
}
.hero-dot:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  transform: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff2;
  border: none;
  border-radius: 50%;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #222;
  opacity: 0.4;
  transition: background 0.2s, opacity 0.2s;
  pointer-events: auto;
}
.hero-arrow-left { left: 18px; }
.hero-arrow-right { right: 18px; }
.hero-arrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid #222;
  border-right: 3px solid #222;
}
.hero-arrow-left::before {
  transform: rotate(-135deg);
  margin-left: 8px;
}
.hero-arrow-right::before {
  transform: rotate(45deg);
  margin-right: 8px;
}
@media (hover: hover) and (pointer: fine) {
  .hero-container:hover .hero-arrow,
  .hero-arrow:focus {
    background: #fff9;
    opacity: 0.85;
  }
}

/* Medium desktop screens (smaller desktop windows) */
@media (max-width: 1200px) and (min-width: 769px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-content {
    padding: 0 20px;
  }
}

/* Small desktop screens */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-buttons .cta-button {
    font-size: 16px;
    padding: 8px 16px;
  }
}

/* Tablet screens */
@media (max-width: 900px) and (min-width: 769px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-content {
    padding: 0 16px;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .hero-arrow {
    display: none !important;
  }
  .hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 0 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
  }
  .hero-container {
    min-height: 380px;
  }
  .hero-img, .hero-video {
    height: 380px;
  }
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.3em;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1em;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
  }
  .hero-buttons .cta-button {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  .hero-dot {
    flex-shrink: 0;
  }
  .hero-content {
    padding-bottom: 40px;
  }
}

/* Fade animation for hero-content */
.hero-content.fade-in {
  opacity: 1;
  transition: opacity 0.6s;
}
.hero-content.fade-out {
  opacity: 0;
  transition: opacity 0.3s;
} 