/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  top: -100px;
  right: -100px;
  animation: float 20s infinite ease-in-out;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  bottom: -50px;
  left: -50px;
  animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 10s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.15;
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-greeting {
  display: inline-block;
  font-size: var(--font-md);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeIn 0.6s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: slideInLeft 0.8s ease;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInLeft 1s ease;
}

.typing-text {
  color: var(--color-accent);
}

.cursor {
  color: var(--color-accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-description {
  font-size: var(--font-md);
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 550px;
  line-height: 1.8;
  animation: fadeIn 1.2s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeIn 1.4s ease;
  flex-wrap: wrap;
}

.hero-buttons .btn i {
  margin-left: 0.5rem;
}

.hero-social {
  display: flex;
  gap: 1rem;
  animation: fadeIn 1.6s ease;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-dark);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-secondary) 100%
  );
  border-radius: 50%;
  width: 100%;
  max-width: 450px;
  animation: slideInRight 1s ease;
}

.image-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-secondary) 100%
  );
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.profile-img {
  width: 100%;
  height: auto;
  border-radius: 0 0 70% 70%;
  position: relative;
  z-index: 1;
  display: block;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: var(--font-xs);
  color: var(--color-text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */

.about-preview {
  background-color: #fff;
}

.about-image-wrapper {
  position: relative;
}

.about-image-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-accent);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
  font-size: var(--font-2xl);
  margin-bottom: 0.25rem;
  color: #fff;
}

.experience-badge p {
  font-size: var(--font-xs);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.about-content {
  padding-left: 2rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--font-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: var(--font-2xl);
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: var(--font-md);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: var(--font-2xl);
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: var(--font-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills {
  background-color: var(--color-bg);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-accent), #c98967);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
}

.skill-card h3 {
  font-size: var(--font-lg);
  margin-bottom: 1rem;
}

.skill-card p {
  font-size: var(--font-sm);
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.skill-progress {
  width: 100%;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), #c98967);
  border-radius: 10px;
  transition: width 1s ease;
  width: 0;
}

.skill-card:hover .progress-bar {
  animation: fillProgress 1.5s ease forwards;
}

@keyframes fillProgress {
  to {
    width: var(--progress-width);
  }
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
  background-color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--color-border);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(177, 116, 87, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 60px;
  height: 60px;
  background: #fff;
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transform: scale(0);
  transition: transform var(--transition-normal);
}

.project-card:hover .project-link {
  transform: scale(1);
}

.project-content {
  padding: 1.5rem;
}

.project-category {
  display: inline-block;
  color: var(--color-accent);
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: var(--font-lg);
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.project-description {
  font-size: var(--font-sm);
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-secondary);
  color: var(--color-dark);
  font-size: var(--font-xs);
  border-radius: 20px;
  font-weight: 500;
}

.projects-cta {
  text-align: center;
  margin-top: 3rem;
}
