/* ==============================
   Zmienne kolorów i typografia
============================== */
:root {
  --bg: #fff;
  --text: #111;
  --muted: #777;
  --accent: #c4c4c4;
  --border: #e0e0e0;
  --overlay-bg: rgba(0, 0, 0, 0.8);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Roboto", Arial, sans-serif;
  line-height: 1.6;
}

/* ==============================
   Layout główny
============================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ==============================
   Nagłówek i nawigacja
============================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 10px 14px;
  border-radius: 6px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--muted);
}

/* ==============================
   Sekcja hero
============================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
  gap: 30px;
}

.portrait img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.about {
  flex: 1;
}

.title {
  font-size: 32px;
  margin-bottom: 12px;
}

.lead {
  font-size: 16px;
  color: #FFFFFF;
}

/* ==============================
   Galeria
============================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .caption {
  opacity: 1;
}

/* ==============================
   Sekcja Zaufali mi
============================== */
.trusted-by {
  text-align: center;
  margin: 60px 0;
}

.trusted-by h2 {
  margin-bottom: 8px;
}

.trusted-sub {
  color: var(--muted);
  margin-bottom: 24px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.logo-item img {
  max-height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-item img:hover {
  opacity: 1;
}

/* ==============================
   Muzyka
============================== */
.music-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-secondary);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  max-width: 360px;
  transition: transform 0.2s ease;
}

.music-widget:hover {
  transform: scale(1.02);
}

/* ==============================
   Lightbox — powiększenie zdjęcia
============================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(20px); /* domyślny blur */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.visible {
  display: flex;
  opacity: 1;
  backdrop-filter: blur(60px); /* rozmycie 60% */
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

/* ==============================
   Stopka
============================== */
.footer {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 50px;
  font-size: 14px;
}

/* ==============================
   Responsywność
============================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .portrait img {
    width: 100%;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }
}
/* ==============================
   Animacja fade-in dla zdjęć
============================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pojawianie się każdego zdjęcia z lekkim opóźnieniem */
.gallery .card {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

/* Delikatne przesunięcie czasowe — kaskadowe wejście */
.gallery .card:nth-child(1) { animation-delay: 0.1s; }
.gallery .card:nth-child(2) { animation-delay: 0.2s; }
.gallery .card:nth-child(3) { animation-delay: 0.3s; }
.gallery .card:nth-child(4) { animation-delay: 0.4s; }
.gallery .card:nth-child(5) { animation-delay: 0.5s; }
.gallery .card:nth-child(6) { animation-delay: 0.6s; }
.gallery .card:nth-child(7) { animation-delay: 0.7s; }
.gallery .card:nth-child(8) { animation-delay: 0.8s; }

/* ===========================
   Hero sekcja z wideo w tle
=========================== */
.hero-video {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px;
  text-align: left;
}

.hero-content .about {
  max-width: 480px;
  color: #f5f5f5;
}

.hero-content .portrait img {
  border-radius: 16px;
  max-height: 420px;
  width: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.calendar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.month-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.month-btn:hover {
  background: var(--accent);
  color: #fff;
}

