* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  background: #eef3ed;
  color: #222;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
}

/* HEADER */

.site-header {
  background: #2d533f;
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.site-header h1 {
  margin: 0;
  font-size: 3.5rem;
  letter-spacing: 1px;
  font-family: 'Cormorant Garamond', serif;
}

.site-header p {
  margin-top: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* NAVIGATION */

.nav {
  background: white;
  text-align: center;
  padding: 14px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav a {
  color: #2f6fa5;
  text-decoration: none;
  font-weight: bold;
  margin: 0 14px;
}

.nav a:hover {
  color: #184E8E;
  text-decoration: underline;
}

/* PAGE LAYOUT */

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 35px 20px;
}

/* HERO SECTION */

.hero {
  background: #eef5fb;
  text-align: center;
  padding: 55px 30px;
  border-radius: 14px;
  margin-bottom: 35px;
}

.hero h2 {
  color: #2d533f;
  font-size: 2rem;
}

/* BUTTONS */

.button-row {
  margin-top: 25px;
}

.button {
  display: inline-block;
  background: #2d533f;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin: 5px;
}

.button.secondary {
  background: #2f6fa5;
}

.button:hover {
  opacity: 0.9;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card,
.content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card {
  text-decoration: none;
  color: #222;
}

.card h3,
.content h2,
.content h1 {
  color: #2d533f;
}

.card:hover {
  transform: translateY(-3px);
  transition: 0.2s;
}

/* RESUME */

.resume-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 35px 0 40px;
}

.content-box {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.content-box h2 {
  margin-top: 0;
}

.skills-list {
  columns: 2;
  column-gap: 24px;
  padding-left: 20px;
}

.skills-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.resume-item,
.journal-entry {
  border-left: 4px solid #2f6fa5;
  padding-left: 15px;
  margin: 25px 0;
}

/* PHOTO GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.photo-placeholder {
  background: #eef5fb;
  color: #2f6fa5;
  height: 180px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* FOOTER */

footer {
  text-align: center;
  color: #5f6f7a;
  padding: 25px;
}

/* MOBILE */

@media (max-width: 700px) {
  .cards,
  .gallery,
  .resume-top-grid {
    grid-template-columns: 1fr;
  }

  .skills-list {
    columns: 1;
  }

  .nav a {
    display: block;
    margin: 8px 0;
  }

  .site-header h1 {
    font-size: 2rem;
  }
}
