/* ===========================
   Warrior Angel Studio — Global CSS
   Motyw: złoto + błękit (filmowy / science-art)
   Ścieżki zakładają: css/style.css oraz obraz ../studio.jpg
   =========================== */

/* Reset & baza */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

:root {
  /* Kolory przewodnie — nazwy, nie hexy */
  --gold: gold;
  --blue: dodgerblue;
  --text: white;

  /* Przydatne półprzezroczyste akcenty (złoto i błękit) */
  --gold-ghost: rgba(255, 215, 0, 0.22);
  --gold-border: rgba(255, 215, 0, 0.45);
  --gold-border-soft: rgba(255, 215, 0, 0.25);
  --gold-glow: rgba(255, 215, 0, 0.45);

  --blue-ghost: rgba(30, 144, 255, 0.22);
  --blue-border: rgba(30, 144, 255, 0.45);
  --blue-glow: rgba(30, 144, 255, 0.45);

  --panel-bg: rgba(0, 0, 0, 0.45);
  --panel-bg-strong: rgba(0, 0, 0, 0.55);

  --blur-weak: 2px;
  --blur-med: 3px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-deep: 0 10px 40px rgba(0, 0, 0, 0.45);
  --shadow-tile: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-tile-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
}

body {
  font-family: "Aptos Display", system-ui, Arial, sans-serif;
  color: var(--text);

  /* Filmowy, jaśniejszy gradient + zdjęcie tła
     (lekko cieplej u góry, chłodniej u dołu) */
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.35) 35%,
      rgba(0, 0, 0, 0.50) 100%
    ),
    radial-gradient(
      1200px 600px at 20% 10%,
      rgba(255, 215, 0, 0.18),
      transparent 60%
    ),
    radial-gradient(
      1200px 600px at 80% 90%,
      rgba(30, 144, 255, 0.18),
      transparent 60%
    ),
    url("../studio.jpg") no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* ===========================
   Header (wspólny dla wszystkich podstron)
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--gold-border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand .logo {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* Delikatny miks złoto + błękit */
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.25),
    0 0 18px rgba(30, 144, 255, 0.18);
}

.brand .tag {
  display: inline-block;
  margin-left: 10px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.25s ease;
  border: 1px solid transparent;
}
.top-nav a:hover {
  background: linear-gradient(90deg, var(--gold-ghost), var(--blue-ghost));
  box-shadow:
    0 0 14px var(--gold-glow),
    0 0 18px var(--blue-glow);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ===========================
   Intro (index.html) — overlay, content, przycisk
   =========================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.45);
  backdrop-filter: blur(1.5px);
  z-index: 0;
}
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text);
  animation: fadeIn 1.2s ease-in-out;
  padding: 16px;
}
h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(255, 215, 0, 0.3),
    0 0 24px rgba(30, 144, 255, 0.25);
}
.subtitle {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}
.enter-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2.6rem;
  font-size: 1.1rem;
  color: var(--text);
  background: linear-gradient(90deg, var(--gold-ghost), var(--blue-ghost));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-xl);
  text-decoration: none;
  letter-spacing: 1px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  backdrop-filter: blur(var(--blur-weak));
}
.enter-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 20px var(--gold-glow),
    0 0 24px var(--blue-glow);
  filter: saturate(1.05);
}

/* ===========================
   Layout kontenera (podstrony)
   =========================== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* ===========================
   Hero (karta powitalna na podstronach)
   =========================== */
.hero {
  display: grid;
  place-items: center;
  min-height: 38vh;
  margin-top: 12px;
  background: var(--panel-bg);
  border: 1px solid var(--gold-border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep), inset 0 0 60px rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(var(--blur-weak));
}
.hero-card {
  text-align: center;
  padding: 28px 22px;
  animation: fadeIn 1.2s ease-out;
}
.hero h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}
.hero p {
  margin-top: 8px;
  opacity: 0.92;
}

/* CTA / przyciski ogólne */
.cta { margin-top: 18px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: 0.25s ease;
  border: 1px solid var(--gold-border);
  color: var(--text);
  background: transparent;
}
.btn.primary {
  background: linear-gradient(90deg, var(--gold-ghost), var(--blue-ghost));
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.ghost { background: transparent; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 16px var(--gold-glow),
    0 0 18px var(--blue-glow);
}

/* ===========================
   Grid kafelków (podstrony)
   =========================== */
.grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  min-height: 180px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: var(--panel-bg-strong);
  border: 1px solid var(--gold-border-soft);
  box-shadow: var(--shadow-tile);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
  backdrop-filter: blur(var(--blur-med));
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-tile-hover);
  border-color: rgba(255, 255, 255, 0.32);
  /* Delikatne rozświetlenie błękitno-złote */
  filter: saturate(1.06);
}
.t-content {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  backdrop-filter: blur(1px);
}
.t-content h2 {
  font-size: 1.15rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.t-content p {
  opacity: 0.95;
  margin-top: 4px;
}

/* ===========================
   Stopka
   =========================== */
.site-footer {
  text-align: center;
  padding: 32px 16px 40px;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
}

/* ===========================
   Animacje
   =========================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Responsywność
   =========================== */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top-nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero { min-height: 34vh; }
  h1 { font-size: 2.2rem; } /* intro tytuł */
  .enter-btn { font-size: 1rem; padding: 0.75rem 2rem; }
}

.intro {
  color: lightblue; /* lub dodaj odcień np. #8ecaff dla chłodniejszego tonu */
  text-shadow: 0 0 5px rgba(100, 180, 255, 0.3); /* lekka poświata */
}
