.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1a1a1a;
  margin-top: 0;
  padding-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url('../img/materiais.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.hero-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  margin: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.top-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.top-info-item i {
  font-size: 1.25rem;
  color: #ffd700;
}

.top-info-item span {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #ffffff;
  flex: 1;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
}

.hero-logo {
  position: absolute;
  top: 40%;
  right: 5%;
  transform: translateY(-50%);
  width: 400px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: fadeInRight 1s ease-out forwards;
  background: #ffffff;
  border-radius: 20px;
  padding: 0.25rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-logo:hover {
  transform: translateY(-52%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}

.hero-text-content {
  max-width: 600px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

.hero-title-line {
  display: block;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0.1em 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.feature-item i {
  font-size: 1.25rem;
  color: #ffd700;
}

.feature-item span {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-logo {
    width: 300px;
    right: 2%;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero-top-info {
    display: none;
  }

  .hero-content {
    gap: 1.5rem;
    padding: 1rem 0;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    min-height: 100vh;
    position: relative;
  }

  .hero-logo {
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    width: 250px;
    margin: 0 auto 2rem;
    background: #ffffff;
    padding: 0.25rem;
    order: -1;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out forwards;
  }

  .hero-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
  }

  .hero-logo img {
    width: 100%;
    height: auto;
    filter: none;
  }

  .hero-text-content {
    order: 1;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    order: 2;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    order: 3;
    margin-top: auto;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .feature-item {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1rem;
  }

  .feature-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 200px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-features {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .feature-item {
    max-width: 250px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate(100px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
} 