/* ================================================================
   ALPHA SZENE — Shared Stylesheet
   Martin Stöllner Fotografie | Salzburg
   ================================================================ */

/* Google Fonts loaded in each HTML file */

/* ----------------------------------------------------------------
   RESET
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ----------------------------------------------------------------
   DESIGN TOKENS
---------------------------------------------------------------- */
:root {
  --bg:         #070707;
  --bg-raised:  #0f0f0f;
  --bg-card:    #131313;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --text:       #ede8e1;
  --text-dim:   #7a7470;
  --text-faint: #3a3632;
  --gold:       #c8a46a;
  --gold-dim:   rgba(200,164,106,0.12);
  --gold-mid:   rgba(200,164,106,0.35);

  --font-serif:  'Playfair Display', 'Georgia', serif;
  --font-sans:   'Jost', 'Helvetica Neue', sans-serif;

  --nav-h: 68px;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:   0.45s;
  --dur-s: 0.25s;
}

/* ----------------------------------------------------------------
   BASE
---------------------------------------------------------------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img {
  display: block;
  max-width: 100%;
  /* IMAGE PROTECTION */
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   IMAGE PROTECTION OVERLAY
   Invisible shield over every image wrapper
---------------------------------------------------------------- */
.img-wrap {
  position: relative;
  overflow: hidden;
}
.img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  background: transparent;
  cursor: default;
}

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  z-index: 900;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7,7,7,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

/* Logo */
.nav-logo {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
}
.nav-logo sup {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li a {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 18px;
  transition: color var(--dur-s);
  display: block;
}
.nav-links li a:hover,
.nav-links li a.active { color: var(--text); }
.nav-links li a.active { color: var(--gold); }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 24px;
  border: 1px solid var(--border-mid);
}
.lang-btn {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  padding: 7px 13px;
  cursor: pointer;
  transition: all var(--dur-s);
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.lang-btn.active {
  background: var(--gold);
  color: var(--bg);
}
.lang-btn:not(.active):hover { color: var(--text); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all var(--dur) var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color var(--dur-s);
  padding: 8px 0;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-lang {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}
.mobile-nav .mobile-lang button {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border-mid);
  padding: 8px 20px;
  cursor: pointer;
  text-transform: uppercase;
}
.mobile-nav .mobile-lang button.active {
  color: var(--gold);
  border-color: var(--gold);
}

/* ----------------------------------------------------------------
   PAGE WRAPPER
---------------------------------------------------------------- */
.page-body { padding-top: var(--nav-h); }

/* ----------------------------------------------------------------
   SECTION SYSTEM
---------------------------------------------------------------- */
.section {
  padding: 110px 52px;
}
.section--flush {
  padding-left: 0;
  padding-right: 0;
}
.section--dark {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}
.section-row-left { flex: 1; }

/* ----------------------------------------------------------------
   BUTTONS & LINKS
---------------------------------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--dur-s);
  white-space: nowrap;
}
.link-arrow::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover::after { width: 72px; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--gold);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all var(--dur) var(--ease);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-gold:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid var(--border-mid);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ----------------------------------------------------------------
   DIVIDER
---------------------------------------------------------------- */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid) 20%, var(--border-mid) 80%, transparent);
  margin: 0 52px;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer {
  padding: 48px 52px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-dim);
}
.footer-brand span { color: var(--gold); }
.footer-copy {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}
.footer-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--dur-s);
}
.footer-links a:hover { color: var(--gold); }

/* ----------------------------------------------------------------
   REVEAL ANIMATIONS
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------------
   LIGHTBOX
---------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-dim);
  font-size: 18px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-s);
  line-height: 1;
  font-family: var(--font-sans);
}
.lightbox-close:hover { color: var(--text); border-color: var(--text); }
.lightbox-caption {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--text-dim);
}
.lightbox-watermark {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ----------------------------------------------------------------
   PLACEHOLDER (for demo without real images)
---------------------------------------------------------------- */
.ph {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ph-1 { background: linear-gradient(135deg, #100e0c 0%, #1c1812 100%); }
.ph-2 { background: linear-gradient(135deg, #0c0e12 0%, #121620 100%); }
.ph-3 { background: linear-gradient(135deg, #100c0c 0%, #1c1212 100%); }
.ph-4 { background: linear-gradient(135deg, #0c100c 0%, #121c12 100%); }
.ph-5 { background: linear-gradient(135deg, #0e0c10 0%, #18121c 100%); }
.ph-6 { background: linear-gradient(135deg, #100e0a 0%, #1c1a10 100%); }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav { padding: 0 28px; }
  .nav-links, .lang-toggle { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 72px 28px; }
  .divider { margin: 0 28px; }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 28px;
    gap: 20px;
  }
  .footer-links { justify-content: center; }
}
