:root {
  --bg-primary: #fafaf9;
  --bg-secondary: #ffffff;
  --bg-accent: #f5f5f4;
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #a8a29e;
  --accent-primary: #0f766e;
  --accent-secondary: #115e59;
  --border-color: #e7e5e4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  margin-top: 80px;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-greeting {
  font-size: 1rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero h1 {
  font-family: 'Playfair Display' serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  padding: 0.9rem 2rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Section Styles */
section {
  padding: 8rem 8%;
}

.section-header {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  font-size: 0.85rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Experience Section */
.experience-container {
  max-width: 900px;
}

.experience-item {
  background: var(--bg-secondary);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--accent-primary);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.experience-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.experience-company {
  color: var(--accent-primary);
  font-weight: 500;
  font-size: 1.05rem;
}

.experience-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.experience-highlights {
  list-style: none;
  padding: 0;
}

.experience-highlights li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.experience-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 600;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
}

.project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-primary);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #f5f5f4 0%, #e7e5e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.project-content {
  padding: 2rem;
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.tag {
  padding: 0.4rem 0.9rem;
  background: var(--bg-accent);
  color: var(--text-secondary);
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  font-weight: 400;
}

/* Skills Section */
.sklls-content {
  max-width: 1000px;
}

.skills-category {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.skills-category.visible {
  opacity: 1;
  transform: translateY(0);
}

.skills-category h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.skill-item {
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-weight: 400;
}

.skill-item:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Education & Certifications */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
}

.education-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-left: 3px solid var(--accent-primary);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.education-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.education-degree {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.education-school {
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.education-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}
.contact-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 2rem 0 3rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-item span {
  font-weight: 500;
}

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

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--text-primary);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 8%;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1.2rem 5%;
  }

  section {
    padding: 5rem 5%;
  }

  .hero {
    padding: 0 5%;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateX(0);
  }

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

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

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

  .projects-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
