/* faf2e0 cream
010b64  deep twilight
5673b0 lighter blue
f2ca46 gold
db5461  pink 
df757f light pink */

body {
  margin: 0;
  font-family: 'Georgia';
  background-color: #faf2e0; /* cream */
  color: #010b64; /* deep twilight navy */
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #db5461; /* pink accent */
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 150px;              /* reduced from 150px for balance */
  margin: 0;
  padding: 0;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  color: #db5461;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #df757f; /* lighter pink hover */
}

/* Landing Section */
.landing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;       /* keeps layout tight on large screens */
  margin: 0 auto;          /* centers the whole section */
  padding: 80px 40px;      /* consistent breathing room */
}

/* Text block */
.landing-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;     /* spacing between text and image */
}

.landing-text h1 {
  font-size: 2.5em;
  margin: 0 0 10px 0;
}

.landing-text h2 {
  font-size: 3.5em;
  margin: 0 0 20px 0;
}

.landing-text p {
  font-size: 1em;
  margin: 0;
}

/* Image block */
.landing-image {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-left: 40px;      /* spacing between image and text */
}

.landing-image img {
  max-width: 300px;
  border-radius: 8px;
}


/* About Page */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.about-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.about-pic {
  max-width: 350px;
  max-height: fit-content;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #010b64; /* navy */
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}


/* Resume Page */
.resume {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.resume h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #010b64; /* navy */
}

.resume p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.resume-download {
  color: #db5461; /* pink accent */
  font-weight: bold;
  text-decoration: none;
}

.resume-download:hover {
  color: #df757f; /* lighter pink hover */
  text-decoration: underline;
}

.resume-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
}

/* ============================
   PROJECTS PAGE
   ============================ */

/* Page container */
.projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.projects h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #010b64;
}

.projects-intro {
  font-size: 1.2em;
  margin-bottom: 50px;
  color: #010b64;
}


/*   PROJECT ROW LAYOUT */

.project-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

/* Image grid for all projects */
.project-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 15px;
  width: 60%;          /* adjust to make images bigger */
  /* max-width: 500px;    /* optional */
}

/* All images keep natural aspect ratio */
.project-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Third image spans both columns but is NOT wider */
.project-images img.wide {
  grid-column: 1 / -1;
  justify-self: center;    /* centers it */
  width: 90%;             /* same width as grid */
  height: auto;            /* no cropping */
}

.project-images img.center {
  grid-column: 1 / -1;
  justify-self: center;    /* centers it */
  width: 60%;             /* same width as grid */
  height: auto;            /* no cropping */
}

/* Project 2: stack all 3 images vertically */
.project-images.stacked {
  grid-template-columns: 1fr;   /* one column */
  transform: translateX(60px);  /* adjust as needed */

}

.project-images.stacked img {
  width: 70%;
  height: auto;
}

/* Text takes less space */
.project-text {
  flex: 0.6;           /* reduced from 1 */
}


/* Mobile */
@media (max-width: 768px) {
  .project-images {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .project-images img {
    width: 100%;
    height: auto;
  }
}