:root {
  --glass: rgba(8, 22, 18, .58);
  --glass-strong: rgba(5, 18, 14, .78);
  --line: rgba(255,255,255,.25);
  --text: #fff;
  --muted: rgba(255,255,255,.82);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(115deg, rgba(0,0,0,.42), rgba(0,0,0,.18) 48%, rgba(0,0,0,.48)),
    url("assets/tlo.jpg") center center / cover fixed no-repeat;
  display: flex;
  flex-direction: column;
}
.site-header {
  width: 100%;
  padding: 22px clamp(16px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
nav a, .tile {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 650;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
nav a:hover, nav a[aria-current="page"], .tile:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}
main {
  width: min(900px, calc(100% - 32px));
  margin: auto;
  padding: 36px 0 48px;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content {
  width: 100%;
  padding: clamp(24px, 5vw, 48px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  box-shadow: 0 18px 55px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.7; margin: 0 auto; max-width: 660px; }
.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.tile { min-width: 150px; display: inline-block; }
.site-footer {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  padding: 18px 16px 22px;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
@media (max-width: 560px) {
  .site-header { padding: 16px 12px; }
  nav { width: 100%; gap: 8px; }
  nav a { flex: 1 1 calc(50% - 8px); text-align: center; padding: 12px 10px; }
  main { padding: 24px 0 32px; }
  .content { padding: 26px 18px; }
  .tile { flex: 1 1 100%; }
}

input, select { max-width: 100%; padding: 10px; margin-top: 6px; border-radius: 8px; border: 1px solid rgba(255,255,255,.5); }
button { cursor: pointer; color: white; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 20px 0 34px; }
.photo-grid figure { margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass-strong); }
.photo-grid img { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: 8px; }
.photo-grid form { margin-top: 8px; }
.photo-grid button { background: rgba(130,20,20,.8); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
