/* ==========================================================================
   Culinary Prime: strona intro
   Ekran startowy 100% szerokości i wysokości, w trakcie budowy
   ========================================================================== */

/* --- Font marki: nagłówek --- */
@font-face {
  font-family: "DIN 1451 Engschrift";
  src: url("../fonts/din1451-engschrift.woff2") format("woff2"),
       url("../fonts/din1451-engschrift.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Font tekstu: Inter (self hosted) --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Zmienne --- */
:root {
  --bg: #0d0d0d;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --font-head: "DIN 1451 Engschrift", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Tło pełnoekranowe (wideo) --- */
.hero-bg,
.hero-bg img {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: var(--bg);
}

/* Przyciemnienie dla czytelności tekstu */
.hero-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* --- Blok centralny intro --- */
.intro {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 8vh, 6rem);
  padding: calc(var(--pad) + 3.5rem) var(--pad);
  text-align: center;
}

.intro__logo {
  width: clamp(150px, 18vw, 250px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.45));
}

.intro__headline {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  font-size: clamp(2.1rem, 6.2vw, 4.4rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.intro__tagline {
  margin: clamp(0.9rem, 2.2vh, 1.4rem) 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.01em;
  color: var(--muted);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* --- Stopka --- */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--pad);
  padding-bottom: max(var(--pad), env(safe-area-inset-bottom));
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  color: var(--muted);
}
.footer p { margin: 0; }
.footer strong { color: var(--text); font-weight: 600; }
.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer a:hover,
.footer a:focus-visible { color: var(--text); border-color: var(--text); }
.footer__status { white-space: nowrap; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85em; }

/* --- Telefony --- */
@media (max-width: 640px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
  }
  .intro { gap: clamp(2rem, 6vh, 3.5rem); }
}

/* --- Dostępność: mniej ruchu --- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
