.content {
  /* background-color: #d3dde6; */
  background-color: #282c39;
  width: 100%;
  max-width: 670px;
  margin: auto;
  color: #f3f4f6;
}

.title {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.3rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  padding-top: 2rem;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.name {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
  font-weight: 600;
}

.body {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ascii-art {
  font-family: 'SF Mono', 'Menlo', 'Consolas', 'Monaco', monospace;
  white-space: pre;
  font-size: 0.7rem;
  line-height: 1.2;
  margin-top: 32px;
  margin-bottom: 1.5rem;
  background-color: #1c1b22;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: fit-content;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  overflow-y: hidden;
  letter-spacing: 0.05em;
  color: #f3f4f6;
  box-sizing: border-box;
}

.content {
  position: relative; /* Add this to allow absolute positioning of child elements */
}

.hero-section {
  margin-top: 3rem;
  padding-left: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
  }

  .content {
    max-width: 100%;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .title {
    font-size: 2rem;
    padding-left: 0;
  }

  .hero-section {
    padding-left: 0;
    margin-top: 2.5rem;
  }

  .name {
    font-size: 1.5rem;
  }

  .body {
    font-size: 1rem;
    padding-bottom: 20px;
  }

  .ascii-art {
    font-size: 0.6rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    width: auto;
    max-width: none;
  }

  .dog-photo-section {
    margin-left: 0;
    margin-right: 0;
  }

  .dog-photo {
    max-width: 100%;
  }

  .kiwi-gallery-section {
    margin: 2rem 0 3rem;
  }

  .kiwi-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0;
  }

  .content {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .title {
    font-size: 1.8rem;
    padding-left: 0;
  }

  .hero-section {
    padding-left: 0;
    margin-top: 2rem;
  }

  .name {
    font-size: 1.4rem;
  }

  .body {
    font-size: 0.9rem;
    padding-bottom: 15px;
  }

  .ascii-art {
    font-size: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: auto;
    max-width: none;
  }

  .kiwi-gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.intro-text {
  font-family: "Georgia", serif;
  margin: 0;
  line-height: 1.8;
  font-size: 1rem;
  color: #d1d5db;
  max-width: 600px;
}

.intro-text a {
  font-family: "Georgia", serif;
}

.coming-soon {
  margin: 0;
  font-size: 1rem;
  color: #6b7280;
  font-style: italic;
}

.dog-photo-section {
  margin-top: 2.5rem;
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 4rem;
}

.dog-photo {
  display: block;
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dog-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Gallery Grid */
.kiwi-gallery-section {
  margin: 3rem 2rem 4rem;
}

.kiwi-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
}

.gallery-item {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  display: block;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Gallery Modal/Lightbox */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.gallery-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-image {
  max-width: 100%;
  max-height: 90vh;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #f3f4f6;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  z-index: 1001;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.modal-close:focus {
  outline: 2px solid #f3f4f6;
  outline-offset: 2px;
}

p {
  margin: 0;
}

a {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f3f4f6;
  transition: color 0.2s ease;
}

a:hover {
  color: #4f6276;
}

/* Header row - title and nav on same line */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 3rem;
}

/* Navigation */
.nav {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  gap: 1.25rem;
  font-size: 1rem;
}

.nav-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #f3f4f6;
}

.nav-link.active {
  color: #f3f4f6;
  font-weight: 500;
}

/* Posts page styles */
.posts-list {
  margin-top: 3rem;
}

.post-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #3d4150;
}

.post-item:last-child {
  border-bottom: none;
}

.post-link {
  text-decoration: none;
  display: block;
}

.post-link:hover .post-title {
  color: #9ca3af;
}

.post-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: #f3f4f6;
  transition: color 0.2s ease;
}

.post-date {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 768px) {
  .header-row {
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
}