/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #f0fdfa 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #047857;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #047857;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #047857;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 4xl;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #d1fae5;
  color: #047857;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.goblin-badge {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, #059669, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges .badge {
  background: white;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 0.75rem 1.5rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #059669;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #047857;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #047857;
  border: 1px solid #059669;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: #ecfdf5;
}

/* Icon Styles */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 4xl;
  margin: 0 auto;
}

/* Card Styles */
.card {
  background: white;
  border: 1px solid #a7f3d0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #047857;
  margin-bottom: 0.5rem;
}

.card-description {
  color: #6b7280;
  font-size: 0.875rem;
}

.card-content p {
  color: #6b7280;
  line-height: 1.6;
}

/* Languages Section */
.languages {
  background: rgba(255, 255, 255, 0.5);
  padding: 4rem 0;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 4xl;
  margin: 0 auto;
}

.language-card {
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background: #d1fae5;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: #059669;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.progress-label {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Portfolio Section */
.portfolio {
  padding: 4rem 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 4xl;
  margin: 0 auto;
}

.portfolio-preview {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.portfolio-icon {
  width: 3rem;
  height: 3rem;
  color: #059669;
}

/* Contact Section */
.contact {
  background: #ecfdf5;
  padding: 4rem 0;
}

.contact-content {
  max-width: 2xl;
  margin: 0 auto;
  text-align: center;
}

.contact-description {
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
  color: #6b7280;
}

.footer-text {
  margin-bottom: 0.5rem;
}

.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.separator {
  color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .about,
  .languages,
  .portfolio,
  .contact {
    padding: 2rem 0;
  }

  .card {
    padding: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}