
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f0f0f0;
}
header {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #1e1e1e;
  border-bottom: 1px solid #333;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
header p {
  font-size: 1rem;
  color: #bbb;
}
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}
.photo-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}
.photo-info {
  padding: 1rem;
}
.photo-info h3 {
  margin: 0 0 0.5rem;
  color: #e0e0e0;
}
.photo-info p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: #ccc;
}
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #1e1e1e;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 0.9rem;
}
footer a {
  color: #ffb347;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.link {
  color: #bac977;
}

.img-placeholder {
    width: 100%;
    height: 200px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #555;
  }
  .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.image-container {
  position: relative; /* watermark anchors to the image area */
  display: block;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.image-container .watermark {
  position: absolute;
  bottom: 20px;
  right: 10px;
  opacity: 0.6;
  font-size: 15px;
  font-family: Arial, sans-serif;
  color: white;
  background: rgba(0,0,0,0.3);
  padding: 3px 6px;
  border-radius: 4px;
  pointer-events: none;
}





















.site-header {
  padding: 20px 40px;
  color: #f8f8f8;
  border-bottom: 1px solid #444;
}

.header-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.site-logo-block {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  margin-top: 10px;     /* space below top edge */
  margin-left: 10px;    /* space from left edge */
}

.header-text {
  flex-grow: 1;
}

.site-title {
  font-size: 2.6rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: #f8f8f8;
}

.header-text p {
  margin: 5px 0;
  font-size: 1rem;
  color: #ccc;
}

.header-flex {
  align-items: center; /* instead of flex-start */
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-logo-block {
    margin: 0 auto 15px auto;
    max-height: 140px;
  }

  .header-text {
    align-items: center;
  }

  .site-title {
    font-size: 2rem;
  }

  .header-text p {
    font-size: 0.95rem;
  }
}


