@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff7f9;
  color: #444;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  border-bottom: 10px solid #f8a5c2;
  box-shadow: 0 2px 15px rgba(255, 182, 193, 0.2);
  z-index: 900;
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d96c8f;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #d96c8f;
}

/* HERO */
.hero {
  height: 60vh;
  background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
              url('main-img/tlo.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  background: white;
  opacity: 0.8;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255,182,193,0.3);
}

.hero h1 {
  color: #c75c85;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #f8a5c2;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: all .3s ease;
}
.btn:hover {
  background: #f06292;
}
/* SEKCJE */
.section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}
#about p {
  line-height: 2;
}

.section h2 {
  color: #c75c85;
  margin-bottom: 20px;
}

/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #f8a5c2;
  box-shadow: 0 0px 5px #f8a5c2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1) !important;
  border: 5px solid #f56295;
  box-shadow: 0 0px 10px #f56295;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #f8d7e0;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

#logoFB {
  width: 30%;
  margin-top: 10px;
  transition: all 0.3s ease;
}
#contact a {
  display: inline-block;
  transition: all 0.3s ease;
}
#contact a:hover {
  color: #f06292;
  transform: scale(1.1);
}
#logoFB:hover {
  transform: scale(1.1);
}
#mailPar {
  text-decoration: none;
  color: #92485f;
  font-size: 1.4em;
}
#mailPar::before {
  content: "📧 ";
  font-size: 1.4em;
}

/* ANIMACJE LIGHTBOX */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 15px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* efekt wyjścia */
.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

/* wejście z prawej */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideRight 0.3s forwards;
}

/* wejście z lewej */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideLeft 0.3s forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#contact {
  border: 2px solid #f8a5c2;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 15px;
  width: 50%;
box-shadow: 0 0px 5px #f8a5c2;
}