/* ============================================
   Agape Team Building — shared styles
   Rusty industrial "warehouse" theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Rye&display=swap');

:root {
  --metal-dark: #2b2926;
  --metal-mid: #4a453e;
  --metal-light: #6b6459;
  --rust-1: #7a4a2e;
  --rust-2: #9c5f34;
  --plaque: #d8cba9;
  --plaque-dark: #b9ab84;
  --door-red: #7d2a22;
  --door-red-light: #9c3a2c;
  --door-red-dark: #5c1e18;
  --brass-light: #e6c877;
  --brass-mid: #b8923f;
  --brass-dark: #6e5423;
  --ink: #221f1c;
  --paper-shadow: rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--metal-dark);
  color: var(--plaque);
  font-family: 'Oswald', sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Textured metal backdrop (real rusted-metal photo, tiled) ---------- */
.scene {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-image: url('../assets/textures/wall-detailed-light.jpg');
  background-repeat: repeat;
  background-size: 760px 543px;
}

.scene::before {
  /* light darkening + vignette overlay so tiled photo reads as one wall, not a repeated tile */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.08), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.32), transparent 60%),
    linear-gradient(rgba(10,8,6,.14), rgba(10,8,6,.14));
  mix-blend-mode: multiply;
  z-index: 0;
}

.scene > * { position: relative; z-index: 1; }

/* ---------- Top nav ---------- */
.topnav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 34px;
  letter-spacing: .12em;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #cfc6b0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(0,0,0,.25), transparent);
}

.topnav .label { text-transform: uppercase; }

.topnav .menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.topnav .menu-icon span {
  width: 22px;
  height: 2px;
  background: #cfc6b0;
  display: block;
}

.topnav nav.menu-links {
  display: flex;
  gap: 22px;
}
.topnav nav.menu-links a {
  opacity: .8;
  transition: opacity .2s;
}
.topnav nav.menu-links a:hover { opacity: 1; }

/* ---------- Sign plaque (real aged-paper photo texture) ---------- */
.plaque {
  background-image: url('../assets/textures/plaque.jpg');
  background-size: cover;
  background-position: center;
  border: 3px solid #59492f;
  border-radius: 2px;
  box-shadow:
    0 10px 30px var(--paper-shadow),
    inset 0 0 0 1px rgba(255,255,255,.15),
    inset 0 0 18px rgba(0,0,0,.25);
  color: var(--ink);
  text-align: center;
  padding: 26px 40px;
}

.plaque .brand {
  font-family: 'Rye', 'Bebas Neue', serif;
  font-size: 34px;
  letter-spacing: .08em;
  line-height: 1.15;
  margin: 0;
}

.plaque .est {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: .25em;
  font-size: 12px;
  margin: 8px 0;
  opacity: .75;
}

.plaque .tagline {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin: 6px 0 0;
}

/* ---------- Round brass press button (real photo, "PRESS TO ENTER" baked in) ---------- */
.press-btn {
  --size: 150px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: block;
  cursor: pointer;
  border: none;
  position: relative;
  background-image: url('../assets/textures/button.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.press-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 14px 30px rgba(0,0,0,.65),
    0 0 0 8px rgba(255,210,120,.2),
    0 0 26px 10px rgba(255,190,100,.32);
  filter: brightness(1.14);
}

.press-btn:active {
  transform: scale(.94);
  filter: brightness(1.25);
  box-shadow:
    0 6px 14px rgba(0,0,0,.6),
    0 0 0 4px rgba(255,230,160,.5),
    0 0 34px 14px rgba(255,200,110,.55);
}

.press-btn .inner { display: none; }

/* ---------- Door (real weathered red-wood photo, tiled) ---------- */
.door {
  position: relative;
  background-image: url('../assets/textures/door-mirror.jpg');
  background-repeat: repeat;
  background-size: 240px 180px;
  border: 6px solid #2a2724;
  box-shadow:
    inset 0 0 50px rgba(0,0,0,.6),
    inset 0 0 0 2px rgba(0,0,0,.3),
    0 18px 40px rgba(0,0,0,.55);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
  gap: 22px;
  transition: filter .15s ease;
}

.door:hover { filter: brightness(1.06); }

.door::before,
.door::after {
  /* hinges */
  content: "";
  position: absolute;
  left: 8px;
  width: 26px;
  height: 46px;
  background: linear-gradient(90deg, #2a2724, #6b6459, #2a2724);
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.4), inset 0 0 4px rgba(0,0,0,.5);
}
.door::before { top: 12%; }
.door::after { bottom: 12%; }

/* ---------- Hanging bulb (real photo fixture) ---------- */
.bulb-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 90px;
  justify-content: flex-end;
}
.bulb-wire {
  width: 2px;
  flex: 1;
  background: #1c1a17;
}
.bulb-fixture {
  width: 84px;
  height: 64px;
  background-image: url('../assets/textures/bulb.png');
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}
.bulb-glow {
  width: 14px;
  height: 14px;
  margin-top: -18px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 18px 10px rgba(255,220,140,.45), 0 0 40px 24px rgba(255,200,110,.15);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 18px;
  font-size: 11px;
  letter-spacing: .15em;
  color: #000;
  position: relative;
  z-index: 5;
}
.site-footer a {
  color: #000;
  border-bottom: 1px solid rgba(0,0,0,.35);
  padding-bottom: 1px;
}
.site-footer a:hover {
  color: #000;
}
