/* Hero Section Styles */
.hero {
  min-height: 100vh;
  background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(37, 99, 235, 0.8)), url('skill.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 0 0 50%;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: var(--accent-color);
}

.title-line.highlight span {
  color: var(--white);
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
}

.hero-image {
  flex: 0 0 45%;
  position: relative;
}

.hero-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.floating-objects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-object {
  position: absolute;
  font-size: 2.5rem;
  background-color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.floating-object.html {
  top: -30px;
  left: 20%;
  color: #e34c26;
  animation-delay: 0s;
}

.floating-object.css {
  top: 40%;
  left: -30px;
  color: #264de4;
  animation-delay: 1s;
}

.floating-object.js {
  bottom: -20px;
  left: 30%;
  color: #f0db4f;
  animation-delay: 2s;
}

.floating-object.computer {
  top: 20%;
  right: -30px;
  color: var(--primary-color);
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.wave-container {
  position: absolute;
  width: 100%;
  bottom: -10px;
  left: 0;
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content,
  .hero-image {
    flex: 0 0 100%;
  }
  
  .hero-content {
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-text {
    margin: 0 auto var(--spacing-lg);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .floating-object {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
  }
}