/* ---------- FONTY ---------- */
@font-face {
  font-family: 'Tall Films Oblique';
  src: url('fonts/tall-films.oblique.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display.regular.ttf') format('truetype');
}

/* ---------- GLOBALNE ---------- */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #f4f1ec;
  color: #2c2c2c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- HEADER ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-left, .header-center, .header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1;
}

.header-center {
  flex: 2;
  justify-content: center;
  gap: 100px;
  transition: all 0.3s ease;
}

.header-right {
  flex: 1;
  justify-content: flex-end;
}

.logo a {
  font-size: 4rem;
  font-weight: 600;
  color: #2c2c2c;
  text-decoration: none;
  transition: 0.25s;
}

.logo a:hover {
  color: #8a7350;
  transform: scale(1.05);
}

.header-center a {
  text-decoration: none;
  color: #777;
  font-size: 3rem;
  font-family: 'Tall Films Oblique', sans-serif;
  transition: 0.25s;
}

.header-center a:hover {
  color: #8a7350;
  transform: scale(1.05);
}

.header-right img {
  width: 40px;
  height: 40px;
  transition: 0.25s;
}

.header-right img:hover {
  transform: scale(1.15);
  filter: brightness(0.8);
}

/* ---------- MOBILE INSTAGRAM LINK ---------- */
.mobile-instagram {
  display: none;
  margin-top: 10px;
}

.mobile-instagram img {
  width: 40px;
  height: 40px;
  transition: 0.25s;
}

.mobile-instagram img:hover {
  transform: scale(1.15);
  filter: brightness(0.8);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  z-index: 0;
}

.hero .background {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('images/L1280727.jpg') center/cover no-repeat;
  transform: translateX(5%) scale(1.05);
  animation: cinematicPulse 20s ease-in-out infinite alternate;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 1;
}

.hero.visible .background {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: url('images/L1280727.jpg') center/cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 65% 55% at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  transform: translateX(5%) scale(1.05);
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 2;
}

.hero.visible::after {
  opacity: 1;
}

@keyframes cinematicPulse {
  0% {
    filter: blur(0px);
    transform: translateX(5%) scale(1.05);
  }
  50% {
    filter: blur(16px);
    transform: translateX(5%) scale(1.1);
  }
  100% {
    filter: blur(0px);
    transform: translateX(5%) scale(1.05);
  }
}

/* ---------- TREŚĆ ---------- */
main {
  padding-top: 140px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 100px;
}

h1 {
  font-size: 3rem;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 30px;
}

.description {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.15rem;
  color: #4a4a4a;
  line-height: 1.75;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 24px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
  transition: transform .35s, box-shadow .35s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}

.back-button {
  display: inline-block;
  margin: 48px auto 0;
  background: #8a7350;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all .2s;
}

/* ---------- WYŁĄCZ HERO POZA INDEX ---------- */
body:not(.home) .hero,
body:not(.home) .hero::after,
body:not(.home) .hero .background {
  display: none !important;
}

main.reportaz {
  background-color: #f4f1ec !important;
  color: #2c2c2c !important;
  position: relative;
  z-index: 0;
}

/* ---------- HAMBURGER MENU ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #2c2c2c;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- MOBILE MENU ---------- */
@media (max-width: 900px) {
  header {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-center {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    gap: 20px;
    padding: 25px 0;
    z-index: 2000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .header-center.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .header-right {
    display: none;
  }

  .header-center a {
    font-size: 2.6rem;
    color: #444;
  }

  .mobile-instagram {
    display: block;
    margin-top: 10px;
  }

  .mobile-instagram img {
    width: 40px;
    height: 40px;
    transition: 0.25s;
  }

  .mobile-instagram img:hover {
    transform: scale(1.15);
    filter: brightness(0.8);
  }

  /* Rozmyte tło po otwarciu menu */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1500;
  }
}

/* ---------- DROBNE RESPONSYWNE POPRAWKI ---------- */
@media (max-width: 480px) {
  .logo a {
    font-size: 2rem;
  }
  .header-center a {
    font-size: 2rem;
  }
  header {
    padding: 14px 14px;
  }
  main {
    padding-top: 120px;
  }
}

/* ---------- MOBILE HERO IMAGE ---------- */
@media (max-width: 768px) {
  .hero {
    position: relative;
    overflow: hidden;
  }
  .hero .background {
    background-image: url('images/L1280727mobile.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    transform: none;
    animation: none;
    filter: none;
    opacity: 1;
  }
  .hero::after {
    display: none !important;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at 50% 50%,
      rgba(255,255,255,0.07) 0%,
      rgba(255,255,255,0.03) 35%,
      rgba(0,0,0,0.07) 100%
    );
    mix-blend-mode: soft-light;
    animation: lightWave 14s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
  }
  @keyframes lightWave {
    0% {
      transform: translate(0,0) scale(1);
      opacity: 0.35;
    }
    25% {
      transform: translate(-2%,2%) scale(1.02);
      opacity: 0.5;
    }
    50% {
      transform: translate(2%,-2%) scale(1.03);
      opacity: 0.45;
    }
    75% {
      transform: translate(-1%,1%) scale(1.01);
      opacity: 0.4;
    }
    100% {
      transform: translate(0,0) scale(1);
      opacity: 0.35;
    }
  }
}

/* ---------- OFERTA ---------- */
main.oferta {
  text-align: center;
  background-color: #f4f1ec;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  padding: 0 24px;
  margin-top: 40px;
}

.offer-item {
  background: #fff;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .25s, box-shadow .25s;
}

.offer-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.offer-item h2 {
  font-family: 'Tall Films Oblique', sans-serif;
  font-size: 2.4rem;
  color: #8a7350;
  margin-bottom: 12px;
}

.offer-item p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

/* ---------- SPECYFICZNY STYL DLA STRONY O MNIE ---------- */
.about-section {
  max-width: 900px;
  margin: 120px auto 60px auto; /* uwzględnia header */
  padding: 0 20px;
}

.full-width-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-width: 900px;
  margin: 0 auto;
}

.full-width-image-container img {
  width: 100vw;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.text-on-image {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  color: white;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1.4;
  background: rgba(0,0,0,0.3);
  padding: 20px;
  border-radius: 10px;
  max-width: 65%;
}

@media (max-width: 768px) {
  .about-section {
    margin: 100px 20px 40px 20px;
  }
  .text-on-image {
    max-width: 90%;
    font-size: 1.3rem;
    padding: 15px;
  }
}

.description-text {
  max-width: 900px;
  margin: 40px auto 80px auto;
  font-size: 1.3rem;
  color: #2c2c2c;
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 900px) {
  .description-text {
    padding: 0 20px;
  }
}

/* ---------- STRONA O MNIE ---------- */
.hero-o-mnie {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/male2.jpg') top center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-o-mnie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.hero-o-mnie .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Playfair Display', serif;
  padding: 0 20px;
  max-width: 800px;
}

.hero-o-mnie .hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-o-mnie .hero-text p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

/* Treść pod hero */
.o-mnie main {
  padding: 120px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.o-mnie .content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  text-align: center;
}
