﻿.hero-section {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100vh;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 1rem;
  gap: 1rem;
  transform: translateY(-5rem);
}

.hero-flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-title {
  font-weight: 800;
  font-size: 4rem;
  line-height: 1.5;
  max-width: 1200px;
  letter-spacing: -0.025em;
  color: var(--primary-color);
  text-shadow: -2px -2px 0 white,
               2px -2px 0 white,
              -2px 2px 0 white,
               2px 2px 0 white;
}

.hero-subtitle {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.5;
  color: var(--text-color);
  max-width: 42rem;
  text-shadow: -2px -2px 0 white,
               2px -2px 0 white,
              -2px 2px 0 white,
               2px 2px 0 white;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.hero-button {
  background: transparent;
  position: relative;
  border: none;
  padding: 3px;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  color: var(--text-color);
}

.hero-button-border {
  position: absolute;
  inset: 0;
}
.hero-button-border svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-moving-border-gradient {
  background: radial-gradient(var(--secondary-color) 40%, transparent 60%);
  width: 8rem;
  height: 8rem;
  opacity: 0.8;
}

.hero-button-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: background-color 0.3s;
  text-decoration: none !important;
}

.hero-button:hover .hero-button-inner {
  background-color: var(--secondary-color);
  color: #fff;
}

.hero-fade-in-up {
  opacity: 0;
  transform: translateY(100px);
  transition: transform 0.8s ease-in-out 0.3s, opacity 0.8s ease-in-out 0.3s;
}
.hero-fade-in-up.hero-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-expand-width {
  width: 8rem;
  transition: width 0.8s ease-in-out 0.3s;
}
.hero-expand-width.hero-visible {
  width: 16rem;
}

.hero-line-expand {
  width: 15rem;
  transition: width 0.8s ease-in-out 0.3s;
}
.hero-line-expand.hero-visible {
  width: 30rem;
}

.hero-cone-expand {
  opacity: 0.5;
  width: 15rem;
  transition: opacity 0.8s ease-in-out 0.3s, width 0.8s ease-in-out 0.3s;
}
.hero-cone-expand.hero-visible {
  opacity: 1;
  width: 30rem;
}