/* assets/style/sections/hero.css */

.hero {
  height: calc(100vh - 150px);
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(27, 38, 59, 0.95) 100%);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.3s forwards;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-right: 1rem;
  transition: all 0.3s;
}
.button-margin { margin-top: 2rem; }
.button:hover {
  background-color: var(--subtle-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(77, 150, 255, 0.2);
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-image {
  flex-shrink: 0;
  margin-left: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.4s forwards;
  z-index: 0;
}

.hex-shape {
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--light-blue);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.hex-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  object-position: center;
}
.hex-shape:hover img { transform: scale(1.05); }

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.8s forwards;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  transition: color 0.3s;
  text-decoration: none;
}

.contact-item span {
 line-height: 1;
}

.contact-icon {
  font-size: 1.2rem;
  color: var(--accent-color);
  line-height: 1;
  margin: 0;
  flex-shrink: 0;
}

.contact-item:hover {
  color: var(--accent-color);
}


.scroll-down-wrapper {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 50; transition: transform 0.2s ease 0.1s;
}
.scroll-down-wrapper:hover,
.scroll-down-wrapper:focus-within { transform: translateX(-50%) scale(1.05); }
.scroll-down-button {
  display: inline-flex; align-items: center; overflow: hidden; white-space: nowrap; text-decoration: none; cursor: pointer; background-color: var(--medium-blue); color: var(--accent-color); border: 2px solid var(--accent-color); border-radius: 50px; padding: 0.7rem 1rem; font-weight: 500; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); animation: lightBounce 2.5s infinite ease-in-out; transition: background-color 0.3s ease 0.1s, color 0.3s ease 0.1s, box-shadow 0.3s ease 0.1s;
}
.scroll-down-button i { font-size: 1.1rem; line-height: 1; }
.scroll-down-button .button-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.scroll-down-wrapper:hover .scroll-down-button,
.scroll-down-wrapper:focus-within .scroll-down-button { background-color: var(--accent-color); color: var(--dark-blue); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); outline: none; }
@keyframes lightBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 { animation: fadeInUp 1s 0.2s forwards; }
.hero p { animation: fadeInUp 1s 0.4s forwards; }
.hero-image { animation: fadeInUp 1s 0.6s forwards; }
.hero-contact { animation: fadeInUp 1s 0.8s forwards; }


@media screen and (max-width: 992px) {
  .hero { min-height: auto; padding: 4rem 1.5rem; }
  .hero-container { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-content { max-width: 100%; order: 2; }
  .hero-image { margin-left: 0; margin-top: 0; order: 1; }
  .hero-contact { justify-content: center; gap: 1.5rem; }
  .hex-shape { width: 320px; height: 320px; }
}

@media screen and (max-width: 768px) {
  .hero { padding: 3rem 1rem; margin-top: var(--header-height); }
  .hex-shape { width: 280px; height: 280px; }
  .hero-contact {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
  }
   .contact-item {
       gap: 0.5rem;
   }
  .scroll-down-wrapper { bottom: 20px; }
}

@media (max-width: 480px) {
   .hero { padding: 2rem 1rem; }
   .hero h1 { font-size: 2.2rem; }
   .hero p { font-size: 1rem; }
   .hex-shape { width: 240px; height: 240px; }
   .contact-item { font-size: 0.9rem; }
   .contact-icon { font-size: 1.1rem; }
   .scroll-down-wrapper { bottom: 15px; }
}