/* ===========================
   Warrior Angel Studio — Global CSS
   Kolorystyka: złoto + błękit
   =========================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Aptos Display", system-ui, Arial, sans-serif;
  color: white;
}

/* ===========================
   ZMIENNE
   =========================== */

:root {
  --gold: gold;
  --blue: dodgerblue;
  --text: white;

  --gold-ghost: rgba(255, 215, 0, 0.22);
  --blue-ghost: rgba(30, 144, 255, 0.22);

  --gold-glow: rgba(255, 215, 0, 0.45);
  --blue-glow: rgba(30, 144, 255, 0.45);

  --gold-border-soft: rgba(255, 215, 0, 0.25);
  --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-tile: 0 10px 28px rgba(0, 0, 0, 0.5);
  --shadow-tile-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* ===========================
   TŁO
   =========================== */

body {
  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
   =========================== */

.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;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.brand .logo {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255,215,0,0.25),
    0 0 18px rgba(30,144,255,0.18);
}

.brand .tag {
  margin-left: 10px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.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);
}

/* ===========================
   GŁÓWNA STRUKTURA
   =========================== */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.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: 0 10px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(var(--blur-weak));
}

.hero-card {
  text-align: center;
  padding: 28px 22px;
}

.hero h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

.hero p {
  margin-top: 8px;
  opacity: 0.92;
}

/* ===========================
   GRID KAFELKÓW
   =========================== */

.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;
  backdrop-filter: blur(var(--blur-med));
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-tile-hover);
}

.t-content {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.t-content h2 {
  font-size: 1.15rem;
}

.t-content p {
  margin-top: 4px;
  opacity: 0.95;
}

/* ===========================
   GALERIA – MINIATURY
   =========================== */

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  aspect-ratio: 16 / 9;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gold-border-soft);
  box-shadow: var(--shadow-tile);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-tile-hover);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
  color: white;
}

/* ===========================
   STOPKA
   =========================== */

.site-footer {
  text-align: center;
  padding: 32px 16px 40px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
}

/* ===========================
   RESPONSYWNOŚĆ
   =========================== */

@media (max-width: 1024px) {
  .grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }
}
