/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Homepage */
body {
font-family: 'Helvetica', sans-serif;
  background-color: #ffffff;
  color: #111111;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  height: 100vh;
}

.logo {
  font-size: 40px;
  letter-spacing: 16px;
  padding-left: 16px;
  padding-top: 80px;
  text-transform: uppercase;
}

.welcome-message {
  margin-top: 24px;
  margin-bottom: 80px;
  font-size: 18px;
  letter-spacing: 2px;
}

.home-nav {
  display: flex;
  gap: 40px;
}

.home-nav a {
  text-decoration: none;
  color: #111111;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 140px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  transition: transform 0.2s;
}

.home-nav a span {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, transform 0.2s;
}

.home-nav a:hover span {
  border-color: #111111;
}

.home-nav a:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 600px) {
  .home-nav {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .home-container {
    gap: 32px;
  }
}

/* Inner pages - header */
.inner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
}

.header-logo a {
  text-decoration: none;
  color: #111111;
  font-size: 32px;
  letter-spacing: 8px;
}

/* Hamburger button */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: #111111;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-label {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111111;
}

/* Side nav */
.side-nav {
  position: fixed;
  top: 72px;
  right: -200px;
  width: 200px;
  height: auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 48px;
  transition: right 0.3s ease;
  z-index: 100;
  box-shadow: none;
}

.side-nav.open {
  right: 0;
}

.side-nav a {
  text-decoration: none;
  color: #111111;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s;
}

.side-nav a::before {
  content: '→';
  opacity: 0;
  transition: opacity 0.15s;
  font-size: 11px;
}

.side-nav a:hover {
  transform: scale(1.05);
}

.side-nav a:hover::before {
  opacity: 1;
}

.side-nav a.active {
  font-weight: bold;
}

/* Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 99;
}

.nav-overlay.open {
  display: block;
}

/* Main content */
.inner-content {
  padding: 48px;
}

/* Pictures page */
.pictures-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.gallery-controls {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: 1px;
}

.gallery-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-controls select {
  font-family: inherit;
  font-size: 12px;
  border: none;
  border-bottom: 1px solid #111111;
  padding: 2px 4px;
  background: transparent;
  cursor: pointer;
}

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

.gallery-item {
  cursor: pointer;
}

.gallery-item-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.gallery-item:hover img {
  opacity: 0.85;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 12px;
  gap: 4px;
}

.lightbox-date {
  font-size: 11px;
  letter-spacing: 1px;
  color: #aaaaaa;
}

.lightbox-title {
  font-size: 13px;
  letter-spacing: 1px;
  color: #dddddd;
}

/* Mobile gallery */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* About Page */
.about-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  height: 100vh;
}

.about-bio {
  font-size: 24px;
  padding-top: 100px;
  color: #333333;
}

/* Words page */
.words-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
}

.words-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  font-size: 12px;
  letter-spacing: 1px;
  gap: 16px;
  flex-wrap: wrap;
}

.words-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.words-controls select,
.words-controls input[type="date"] {
  font-family: inherit;
  font-size: 12px;
  border: none;
  border-bottom: 1px solid #111111;
  padding: 2px 4px;
  background: transparent;
  cursor: pointer;
}

.words-controls-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post {
  padding: 32px 0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

.post:first-child {
  border-top: 1px solid #e0e0e0;
}

.post-title {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.post-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
}

.read-more {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  color: #888888;
  padding: 8px 0 0 0;
  display: block;
}

.read-more:hover {
  color: #111111;
}

.post-date {
  font-size: 11px;
  letter-spacing: 1px;
  color: #aaaaaa;
  text-align: right;
  margin-top: 16px;
}
