* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, serif;
  color: #222;
  line-height: 1.6;
  padding-top: 72px;
  background: #ffffff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #ccc;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
}

.logo {
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 8px 6px;
  display: inline-block;
}

.menu-toggle {
  position: absolute;
  left: -9999px;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  background: #000;
  color: #fff;
  font-size: 17px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
}

.about-text .btn {
  margin-top: 30px;
}

.btn:hover {
  background: #555;
}

/* ABOUT SECTION */
.about {
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 40px;
}

.about-image img {
  width: 300px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text h3 {
  margin: 30px 0 15px;
  font-size: 24px;
}

.about-text ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 20px;
  font-size: 32px;
}

/* SKILLS SECTION */
.skills {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.skills h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.skills-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.skill-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.skill-category img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.skill-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

.skill-desc {
  font-size: 14px;
  color: #555;
  max-width: 220px;
}
/* TOOLS SECTION */
.tools-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.tools-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.tool-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.tool-item:hover img {
  transform: scale(1.1);
}

.tool-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* WORK / PROJECT CARDS */
.work {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.project-info p {
  color: #555;
}

/* PDF / PHOTOS */
.pdf-sample, .portfolio-photos {
  padding: 60px 20px;
  text-align: center;
}

.pdf-sample h2, .portfolio-photos h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.portfolio-photos img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* CONTACT PAGE */
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.contact-page h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.contact-page p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  text-align: center;
}

.contact-grid {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 280px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info .contact-item img {
  width: 40px;
  height: 40px;
}

.contact-info .contact-item a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-family: Georgia, serif;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  align-items: center; 
}

.social-media a {
  display: flex;
  align-items: center; 
  gap: 8px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-family: Georgia, serif;
}

.social-media a img {
  width: 24px; 
  height: 24px;
  flex-shrink: 0;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  display: block;
  text-align: left; 
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: Georgia, serif;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  margin-top: 10px;
  padding: 12px 30px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-family: Georgia, serif;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #555;
}

/* FOOTER */
.site-footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}


@media (max-width: 640px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
  }

  .about-text {
    text-align: center;
  }

  .about-text .btn {
    display: inline-block;
    margin-top: 20px;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 20px;
    width: calc(100% - 40px);
    max-width: 320px;
    background: #fff;
    flex-direction: column;
    padding: 14px;
    gap: 12px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 1200;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .about-image img {
    width: 240px;
  }

  .skills-grid {
    flex-direction: column;
    gap: 40px;
  }

  .skills-container {
    gap: 25px;
  }

  .skill-desc {
    max-width: 100%;
  }

  .contact-grid {
    flex-direction: column; 
    align-items: center;
  }

  .contact-info {
    text-align: left;
  }

  .contact-form label {
    text-align: left; 
  }

  .contact-item a {
    flex-direction: column;
    gap: 5px;
  }

.social-media {
    flex-direction: row; /* keep icons in a row */
    justify-content: flex-start;
    gap: 12px;
  }

  .social-media a {
    align-items: center;
    gap: 6px;
  }

  .social-media a img {
    width: 20px; /* smaller for mobile */
    height: 20px;
  }
}
}
.contact-info .contact-item img {
  width: 32px;
  height: 32px;
}
  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 15px;
    padding: 0 10px;
  }

  .tool-item img {
    width: 45px;
    height: 45px;
  }

  .tool-item p {
    font-size: 0.75rem;
  }
}
