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

body {
  background: rgb(96, 111, 142);
  font-family: sans-serif;
}

/* Header */

header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  color: #fff;
}

header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact {
  margin-top: 1.2rem;
}

.contact-bottom {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}

.show-phone {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.show-phone:hover {
  border-color: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.7);
}

.phone {
  display: none;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.phone:hover {
  text-decoration: underline;
}

header p {
  font-size: 1.1rem;
  color: #aaa;
  letter-spacing: 0.03em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px;
  padding: 4px;
}

.photo-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #222;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.photo-item:hover img {
  transform: scale(1.04);
}

/* Footer */

footer {
  text-align: center;
  padding: 2rem;
}

footer a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
}

footer a:hover {
  color: #aaa;
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.active {
  display: flex;
}

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

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.nav {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 1rem;
  user-select: none;
  opacity: 0.8;
}

.prev { left: 0.5rem; }
.next { right: 0.5rem; }

.close:hover,
.nav:hover {
  opacity: 1;
}
