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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: #f8f5ef;
  color: #1f1f1f;
  line-height: 1.6;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.95);
  border-bottom: 1px solid #ddd2c2;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

.logo,
.navbar h2 {
  font-size: 21px;
  letter-spacing: 0.5px;
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 800;
}

.navbar nav a {
  margin-left: 22px;
  text-decoration: none;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 15px;
}

.navbar nav a:hover {
  color: #9a6632;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 90px 8%;
  background: linear-gradient(135deg, #f8f5ef, #eadfce);
}

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

.tag,
.section-label,
.mini-label {
  color: #9a6632;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 13px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 20px;
  max-width: 760px;
  color: #444;
}

.buttons,
.project-actions {
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  background: #1f1f1f;
  color: white;
  text-decoration: none;
  border-radius: 9px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  transition: 0.2s ease;
}

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

.btn.secondary {
  background: transparent;
  color: #1f1f1f;
  border: 1px solid #1f1f1f;
}

.btn.small {
  padding: 10px 16px;
  font-size: 14px;
}

section {
  padding: 75px 8%;
}

.about {
  max-width: 1100px;
}

.about h2,
.projects h2,
.skills h2,
.contact h2,
.case-section h2,
.case-cta h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.about p,
.case-section p,
.case-cta p {
  font-size: 18px;
  max-width: 900px;
  color: #444;
}

.projects {
  background: #fffaf2;
}

.project-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.project-card,
.skill-card {
  background: white;
  border: 1px solid #e4d8c8;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.055);
  transition: 0.2s ease;
}

.featured-card {
  border: 1px solid #d2b083;
  background: linear-gradient(135deg, #ffffff, #fff6ea);
}

.project-card:hover,
.skill-card:hover {
  transform: translateY(-4px);
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.project-card h4 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #1f1f1f;
}

.project-card p {
  color: #444;
}

.tech {
  color: #9a6632 !important;
  font-weight: bold;
}

.skills {
  background: #f8f5ef;
}

.skill-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.skill-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.skill-card p {
  color: #444;
}

.contact {
  text-align: center;
  background: #1f1f1f;
  color: white;
}

.contact .section-label {
  color: #e4b26f;
}

.contact p {
  max-width: 750px;
  margin: 0 auto 28px auto;
  color: #f1e8dc;
  font-size: 17px;
}

.contact-links a {
  display: inline-block;
  margin: 8px;
  padding: 12px 18px;
  color: #1f1f1f;
  background: #e4b26f;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  background: #f1c98c;
}

footer {
  padding: 20px 8%;
  text-align: center;
  background: #111;
  color: white;
  font-size: 14px;
}

.case-hero {
  padding: 95px 8%;
  background: linear-gradient(135deg, #f8f5ef, #efe3d3);
}

.case-hero h1 {
  max-width: 980px;
  font-size: 52px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.case-intro {
  max-width: 900px;
  font-size: 20px;
  color: #444;
}

.case-section {
  background: #fffaf2;
}

.case-panel {
  background: #f8f5ef;
}

.workflow-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.workflow-step {
  background: white;
  border: 1px solid #e4d8c8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.045);
}

.workflow-step span {
  display: inline-block;
  color: #9a6632;
  font-weight: 800;
  margin-bottom: 12px;
}

.workflow-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.workflow-step p {
  font-size: 16px;
  color: #444;
}

.case-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.case-list p {
  background: white;
  border: 1px solid #e4d8c8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
}

.stack-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-tags span {
  background: white;
  border: 1px solid #e4d8c8;
  color: #9a6632;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
}

.case-cta {
  text-align: center;
  background: #1f1f1f;
  color: white;
}

.case-cta .section-label {
  color: #e4b26f;
}

.case-cta p {
  color: #f1e8dc;
  margin: 0 auto 28px auto;
}

.case-cta .btn {
  background: #e4b26f;
  color: #1f1f1f;
}

@media (max-width: 950px) {
  .project-grid,
  .skill-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .case-hero h1 {
    font-size: 42px;
  }

  .hero-description,
  .case-intro {
    font-size: 18px;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .navbar nav a {
    margin: 0 8px;
  }
}

@media (max-width: 600px) {
  .hero,
  .case-hero {
    padding: 70px 6%;
  }

  section {
    padding: 60px 6%;
  }

  .hero h1,
  .case-hero h1 {
    font-size: 36px;
  }

  .navbar nav {
    text-align: center;
  }

  .navbar nav a {
    display: inline-block;
    margin: 6px;
  }
}