/* style.css */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f1117;
  color: #ffffff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
}

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

.nav-links a {
  text-decoration: none;
  color: #d6d6d6;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: white;
}

/* HERO */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-tag {
  color: #8b8d98;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #b5b5b5;
  margin-bottom: 2rem;
}

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

.btn {
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.primary-btn {
  background: white;
  color: black;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.05);
}

/* SECTIONS */

.section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* CARD */

.card {
  background: #171923;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* PROJECTS */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #171923;
  padding: 2rem;
  border-radius: 16px;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
}

.project-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.project-card p {
  color: #b5b5b5;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/* TIMELINE */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  padding-left: 1rem;
  border-left: 2px solid rgba(255,255,255,0.15);
}

.timeline-item span {
  color: #8b8d98;
  font-size: 0.9rem;
}

.timeline-item h4 {
  margin: 0.5rem 0;
}

/* CONTACT */

.contact-card p {
  margin-bottom: 0.8rem;
}

/* FOOTER */

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: #8b8d98;
}

/* RESPONSIVE */

@media (max-width: 768px) {

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

  .nav-links {
    gap: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

}
