/* CSS Variables */
:root {
  /* Colors */
  --background: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 96%);
  --border: hsl(0, 0%, 80%);
  --text-primary: hsl(0, 0%, 10%);
  --text-secondary: hsl(0, 0%, 20%);
  --text-muted: hsl(0, 0%, 40%);
  --portfolio-accent: hsl(120, 100%, 50%);
  --portfolio-accent-hover: hsl(120, 100%, 45%);
  --link-color : purple;
  
  /* Typography */
  --font-mono: "Geist Mono", monospace;;
  
  /* Transitions */
  --transition: all 0.2s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  text-transform: lowercase;
}

/* Utility Classes */
.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.accent-text {
  color: var(--portfolio-accent);
  font-weight: 600;
}

.accent-text-purple {
  color: var(--link-color);
  font-weight: 600;
}

a {
  color: var(--link-color);
}
 
.wavy-underline-purple {
  text-decoration-color: var(--link-color);
  text-decoration-line: underline;
  text-decoration-style: wavy;
}

.wavy-underline-accent {
  text-decoration-color: var(--portfolio-accent);
  text-decoration-line: underline;
  text-decoration-style: wavy;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* background-color: rgba(20, 20, 20, 0.8); */
  backdrop-filter: blur(8px);
  /* border-bottom: 1px solid var(--border); */
}

.nav-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

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

.nav-logo {
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
}

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

.nav-link {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

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

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background-color: var(--background);
}

.section-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Home Section */
.home-greeting {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 0.7rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

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

/* Buttons */
.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
}

.btn-outline:hover {
  border-color: var(--portfolio-accent);
  color: var(--portfolio-accent);
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background-color: var(--portfolio-accent);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
}

.btn-primary:hover {
  background-color: var(--portfolio-accent-hover);
}

/* Work Section */
.work-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work-item {
  display: block;
}

.work-link {
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.work-link:hover {
  color: var(--portfolio-accent);
}

.work-content {
  border-left: 2px solid var(--text-muted);
  padding: 1rem 0 1rem 1.5rem;
  transition: var(--transition);
}

.work-content.active {
  border-left-color: var(--portfolio-accent);
}

.work-content:hover {
  border-left-color: var(--portfolio-accent);
}

.work-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.work-details {
  color: var(--text-secondary);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Skills Section */
.skills-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category {
  display: flex;
  flex-direction: column;
}

.skill-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--portfolio-accent);
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-secondary);
}

/* About Section */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-list {
  list-style: none;
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-note {
  color: var(--text-muted);
}

/* Contact Section */
.contact-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-email {
  color: var(--portfolio-accent);
  text-decoration: none;
  transition: var(--transition);
}

.contact-email:hover {
  color: var(--portfolio-accent-hover);
}

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

.social-link {
  color: var(--text-primary);
  /* text-decoration: none; */
  transition: var(--transition);
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--portfolio-accent);
}

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

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

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

.footer-note {
  margin-top: 0.5rem;
}

/* Animations */
.portfolio-section {
  opacity: 0;
  transform: translateY(50px);
}

/* Mobile Responsive */
@media (max-width: 767px) {

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

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .home-greeting {
    margin-top: 3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    font-size: 0.8rem;
  }
  
  .btn-outline,
  .btn-primary {
    width: 200px;
  }
  
  .social-links {
    flex-direction: column;
    gap: 1rem;
  }
}