/**
 * Hero Styles
 * @package Karden_Avenir
 */

/*  HERO  */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 55px;
  background: url("../images/bg2.jpg") no-repeat center bottom;
  background-size: 100% auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: auto;
  padding: 70px var(--container-padding);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  max-width: 520px;
  flex-shrink: 0;
}

.hero-text h1 {
  font-family: "Good Times", sans-serif;
  font-size: clamp(38px, 7.5vw, 82px);
  color: var(--cyan);
  line-height: 0.95;
  margin-bottom: 22px;
  text-shadow: 0 0 60px rgba(41, 199, 218, 0.3);
}

.hero-text p {
  font-size: clamp(14px, 2.3vw, 16px);
  line-height: 1.7;
  margin-bottom: 22px;
  color: var(--text);
}

.baseline {
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 32px;
  font-size: clamp(13px, 2.2vw, 15px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.baseline span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.baseline span::before,
.baseline span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.baseline span::before { display: none; }

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.8vw, 14px);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(41, 199, 218, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 0 25px rgba(41, 199, 218, 0.35);
  transform: translateY(-2px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: all var(--transition-bounce);
  position: relative;
}

.socials a::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.socials a:hover {
  background: var(--cyan);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-cyan);
}

.socials a:hover::after {
  border-color: rgba(41, 199, 218, 0.3);
}

/* HERO TRUCK */
.hero-truck {
  position: relative;
  width: 55%;
  display: flex;
  justify-content: flex-end;
  top: -100px;
}

.truck {
  width: 820px;
  max-width: 100%;
  filter: contrast(1.06) saturate(1.04) brightness(1.02) drop-shadow(0 26px 38px rgba(0, 0, 0, 0.26));
}

.truck-reflection {
  width: 820px;
  max-width: 100%;
  position: absolute;
  top: 55%;
  right: 0;
  transform: scaleY(-0.45);
  opacity: 0;
  filter: blur(1px);
  mask-image: linear-gradient(to bottom, black, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
  transition: opacity 0.8s ease;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  right: 48px;
  bottom: 32px;
  z-index: 3;
  opacity: 0.75;
  pointer-events: none;
}

.scroll-indicator svg path {
  stroke: var(--gray);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}