@charset "utf-8";
/* CSS Document */
@import url('reset.css');
@font-face {
  font-family: 'ArgentumSans-Bold';
  src: url('../../resources/fuentes/ArgentumSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'ArgentumSans-Regular';
  src: url('../../resources/fuentes/ArgentumSans-Regular.ttf') format('truetype');
  font-style: normal;
}
:root {
  --fondo-claro: #f6f7fa;
  --azul--osc: #0057b8;
  --azul-claro: #0072ce;
  --color-morado: #582c83;
  --color-gris: #3b5266;
  --color-negro: #000;
  --fuente-principal: 'Saira', sans-serif;
  --fuente-secundaria: 'ArgentumSans-Regular', sans-serif;
  --fuente-secundariaBold: 'ArgentumSans-Bold';
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
.slider {
  position: relative;
  width: 100%;
  background: #2c3e50;
  height: auto;
}

.slider .banner {
  max-height: 5rem;
}

/* Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 20vh;
  max-height: 500px;
  min-height: 300px;
  overflow: hidden;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;

  pointer-events: none;
}

.hero-slide.active {
  pointer-events: auto;
  z-index: 10;
}

.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: clamp(2rem, 6vw, 10rem);
  padding-top: clamp(2rem, 6vw, 6rem);
  gap: 10px;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

/* Capa overlay para mejorar contraste */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.025);
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-title-container {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
}

.hero-title-container,
.hero-button {
  position: relative;
  z-index: 1; /* Asegura que el texto esté sobre el overlay */
}

.hero-line {
  flex-grow: 1;
  height: clamp(1.8px, 0.3vw, 4px);
  background-color: #fff;
  min-width: clamp(15px, 8vw, 50px);
}

.hero-title {
  font-family: var(--fuente-secundariaBold);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  letter-spacing: clamp(6px, 1vw, 10px);
}

.hero-button {
  display: inline-block;
  padding-block: 1rem;
  padding-inline: clamp(2rem, 5vw, 5rem);
  color: #fff;
  border-radius: 8px;
  border: 1px solid #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;

  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-button:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.hero-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.2);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Efecto de overlay para mejor legibilidad */
.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

@media (min-width: 768px) {
  .hero-slider {
    height: 40vh;
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-slider {
    height: 70vh;
    min-height: 620px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-line {
    display: none;
  }
}
