/* ═══════════════════════════════════════════
   Thomas Gbur — Reisefotografie
   Shared Stylesheet
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --sand:    #f5f0e8;
  --warm:    #ede8dc;
  --ink:     #1a1714;
  --ink2:    #3d3830;
  --muted:   #9a9080;
  --accent:  #c8622a;
  --accent2: #4a7c6f;
  --white:   #fdfcf9;
  --border:  rgba(26,23,20,0.12);
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,252,249,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary  { background: var(--accent);  color: #fff; }
.btn-primary:hover  { background: #a8501f; }
.btn-ghost    { background: transparent; color: var(--ink2); border: 1px solid var(--border); }
.btn-ghost:hover    { background: var(--warm); }
.btn-back     { background: transparent; color: var(--muted); border: none; font-size: 13px; padding: 0; letter-spacing: 0.05em; text-transform: none; }
.btn-back:hover     { color: var(--accent); }

/* ─── SECTION LABELS ─── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content:''; width: 22px; height: 1px; background: var(--accent); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink2);
  color: var(--sand);
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 80px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sand); }
.footer-copy { font-size: 12px; color: rgba(245,240,232,0.25); }

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  background: var(--ink); color: var(--sand);
  padding: 12px 22px; font-size: 13px;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all 0.3s;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─── MODALS ─── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(15,12,10,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  width: 500px; max-width: 95vw;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 400;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--sand);
  font-family: 'Outfit', sans-serif;
  font-size: 14px; color: var(--ink);
  outline: none; transition: border-color 0.2s;
  resize: vertical;
}
.form-input:focus { border-color: var(--accent); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }

/* Cover drop */
.cover-drop {
  border: 2px dashed var(--border);
  padding: 20px; text-align: center;
  cursor: pointer; position: relative;
  transition: all 0.2s; background: var(--sand);
}
.cover-drop:hover, .cover-drop.dragover { border-color: var(--accent); background: rgba(200,98,42,0.05); }
.cover-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.cover-drop-preview { max-height: 90px; max-width: 100%; margin: 0 auto; display: none; }
.cover-drop-label { font-size: 13px; color: var(--muted); }

/* Confirm modal */
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.22s; }
.fade-up-3 { animation-delay: 0.36s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; }
  .site-footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
}
