/* ------------------------------
   PALETA KOLORÓW
--------------------------------*/
:root {
  --dark-green: #1F3B2C;
  --medium-green: #2E563C;
  --gold: #C6A76E;
  --offwhite: #F4F1EA;
  --text: #1B1B1B;
  --white: #FFFFFF;
}

/* ------------------------------
   OGÓLNE
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--offwhite);
  color: var(--text);
  line-height: 1.6;
}

/* ------------------------------
   NAGŁÓWEK
--------------------------------*/
header {
  background: var(--dark-green);
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;    /* większy tekst */
  font-weight: 700;     /* pogrubienie */
  color: var(--gold);   /* złoty jak reszta nagłówka */
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--white);
}

/* ------------------------------
   HERO
--------------------------------*/
.hero {
  height: 90vh;
  background:
    linear-gradient(rgba(31, 59, 44, 0.75), rgba(31, 59, 44, 0.75)),
    url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: var(--offwhite);
  position: relative;
  overflow: hidden;
}

.hero-text {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  padding: 40px 50px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 1s ease-in-out;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  color: var(--offwhite);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.7;
}

/* ------------------------------
   STOPKA
--------------------------------*/
footer {
  background: var(--dark-green);
  color: var(--gold);
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ------------------------------
   ANIMACJE
--------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
   RESPONSYWNOŚĆ
--------------------------------*/
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-text {
    padding: 25px 20px;
  }
}
.content {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 20px;
}

.content p {
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Formularz kontaktowy */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: var(--dark-green);
  color: var(--gold);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: var(--medium-green);
  color: var(--white);
}
/* ------------------------------
   GALERIA
--------------------------------*/
.gallery {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-item {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Lightbox (powiększone zdjęcie) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 59, 44, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s ease;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--white);
}

/* Animacja pojawiania */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* ------------------------------
   LIGHTBOX Z NAWIGACJĄ
--------------------------------*/
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 59, 44, 0.95);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s ease;
}

.close,
.prev,
.next {
  position: absolute;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.close {
  top: 25px;
  right: 35px;
}

.prev,
.next {
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

.prev:hover,
.next:hover,
.close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Efekt fade przy zmianie zdjęć */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fb-link a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.fb-link a:hover {
  color: var(--white);
  letter-spacing: 1px;
}
