/* Shared Header Styles */

@font-face {
  font-family: 'MyCustomFont';
  src: url('/source/Helvetica-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Color toggle */
.color-toggle {
  position: fixed;
  top: 40px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 100;
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #888;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-circle:hover {
  transform: scale(1.1);
}

.color-circle.white {
  background-color: #fff;
}

.color-circle.black {
  background-color: #000;
}

/* Navigation */
.navigation {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 0;
  z-index: 100;
}

.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.navigation a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: 'MyCustomFont', system-ui, Arial, sans-serif;
  transition: color 0.2s;
}

.navigation a:hover {
  text-decoration: underline;
}

/* Light mode overrides */
body.light-mode {
  background-color: #fff !important;
  color: #000 !important;
}

body.light-mode .navigation a {
  color: #000;
}

body.light-mode .card {
  background: #f5f5f5;
  border-color: #ddd;
}

body.light-mode .card .date {
  color: #666;
}

body.light-mode .credits-body {
  color: #666;
}

body.light-mode .img img {
  border-color: #ddd;
}

body.light-mode .credits {
  border-color: #ddd;
}

/* Contact page email text */
body.light-mode .email-text {
  color: #000;
}

body.light-mode .email-text a {
  color: #d4607a;
}

/* Newsletter form - light mode */
body.light-mode #newsletter-form input {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
  color: #000;
}

body.light-mode #newsletter-form label {
  color: #000;
}

body.light-mode #newsletter-form button {
  background: transparent;
  color: #d4607a;
}

body.light-mode #confirmation {
  color: #d4607a;
}

body.light-mode .newsletter-title {
  color: #d4607a;
}

body.light-mode h2 {
  color: #000;
}

/* Image frame - light mode */
body.light-mode .image-frame {
  background: #000;
  border-color: #000;
}

/* Archive page - add space for header */
.wrap {
  padding-top: 60px;
}
