body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #f5f5f5;
}

header {
  height: 100vh;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url('../image/london.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
}

/* Нижний блок с именем в хедере */
.author-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(101, 67, 33, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  text-align: center;
}

.author-name {
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.6s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.gallery img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Нижний блок страницы - точно такой же */
.footer-block {
  background: rgba(101, 67, 33, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-name {
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  user-select: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  pointer-events: none;
}

/* Навигационные стрелки */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  font-weight: bold;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  line-height: 1;
  padding: 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: monospace;
}

.nav-arrow:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

#arrow-left {
  left: 20px;
}

#arrow-right {
  right: 20px;
}

/* Крестик для закрытия */
#close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  background: rgba(0,0,0,0.4);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#close-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}
