@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #0f1117;
  color: #e5e7eb;
}

/* NAVIGATION */

nav {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f2933;
  z-index: 1000;
}

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

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

/* HERO */

.hero {
  padding: 7rem 4rem 4rem;
  animation: fadeUp 1s ease forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.3rem;
  color: #9ca3af;
}

/* CONTENT */

.intro {
  padding: 0 4rem 5rem;
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
  animation: fadeUp 1.2s ease forwards;
}

/* HEADERS */

h2 {
  margin-top: 3rem;
  color: #e5e7eb;
}

/* ANIMATION */

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

/* PHOTO */
/* PHOTO SECTION */
.about-section {
  display: grid;
  grid-template-columns: 2fr 0.8fr; /* Text wider, image narrower */
  gap: 2rem; /* Space between text and image */
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image {
  display: flex;
  justify-content: flex-start; /* Align image to left of its column */
  /* Optional: pull it slightly over the text column */
  margin-left: -20px; 
}

.image-placeholder {
  width: 100%;
  height: 320px;
  max-width: 280px; /* Keep image from stretching too much */
  border-radius: 18px;
  background: linear-gradient(135deg, #1f2933, #111827);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.9rem;
}

/* PROJECT PHOTO */

.project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.project-image .image-placeholder {
  height: 260px;
}

/*HMMM*/
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr; /* image left, text right */
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.about-image {
  display: flex;
  justify-content: flex-start; /* image on left */
}

.image-placeholder {
  width: 100%;
  max-width: 400px;  /* adjust size as needed */
  height: auto;
  border-radius: 18px;
  display: block;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr; /* stack image on top */
    text-align: center;
  }

  .about-image {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
}
