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

:root {
  /* Navy Blue and Yellow Theme - Dark Mode */
  --color-background: hsl(0, 0%, 0%); /* Pure black */
  --color-foreground: hsl(0, 0%, 95%); /* Light gray text */
  --color-card: hsl(220, 40%, 10%); /* Dark navy blue for cards */
  --color-card-foreground: hsl(0, 0%, 95%);
  --color-primary: hsl(220, 80%, 35%); /* Navy blue */
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-secondary: hsl(48, 100%, 50%); /* Bright yellow */
  --color-secondary-foreground: hsl(0, 0%, 0%);
  --color-muted: hsl(220, 40%, 15%);
  --color-muted-foreground: hsl(0, 0%, 70%);
  --color-border: hsl(220, 40%, 20%);
  --radius: 8px;

  /* Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
.nav {
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

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

.nav-link {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-foreground);
}

/* Hero Section */
.hero {
  padding: 5rem 0 8rem;
}

.hero-content {
  max-width: 56rem;
}

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-wrap: balance;
}

.highlight {
  color: var(--color-secondary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
}

.btn-primary:hover {
  background-color: hsl(48, 100%, 45%);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: var(--color-muted);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-content p {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-category-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

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

.skill-tag {
  padding: 0.375rem 0.75rem;
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Experience Section */
.experience {
  background-color: rgba(220, 220, 220, 0.02);
  padding: 5rem 0;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 56rem;
}

.experience-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-card);
}

.experience-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-card-foreground);
}

.experience-company {
  color: var(--color-secondary);
  font-weight: 500;
}

.experience-date {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: 0.5rem;
}

.experience-description {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

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

.contact-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-button {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--color-foreground);
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
}

.footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.5rem;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .experience-date {
    margin-top: 0;
  }

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

@media (max-width: 767px) {
  .hero {
    padding: 3rem 0 5rem;
  }

  .about,
  .experience,
  .contact {
    padding: 3rem 0;
  }

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