html, body {
    margin: auto;
    padding: auto;
    min-height: 100vh;
    position: relative;
    z-index: -1 !important;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: white url('/public/images/piwonie.png') no-repeat center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -1;
}

header.hero {
  margin-top: 120px;
  text-align: center;
  padding: 0px;
  color: #131212;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
 font-family: 'Italianno', cursive;
   margin-bottom: 120px;
}

header.hero h1 {
    font-size: 13em;
    font-family: 'Italianno', cursive;
    font-weight: 300; /* Cienka wersja czcionki */
    letter-spacing: 2px; /* Subtelne rozsunięcie liter */
    text-transform: none;
    color: #465340;
    text-align: center;
    position: relative;
}


header.hero p {
  font-size: 2em;
  padding: 70px;
}
header.hero 
.wedding-date {
  position: relative;
  display: inline-block;
  font-family: 'Italianno', cursive;
  font-size: clamp(2.8em, 6vw, 5.2em);
  color: #465340;
  font-weight: 600;
  text-align: center;
  margin: 40px auto 60px;
  padding: 20px 40px;
  z-index: 1;
}

.wedding-date::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.85), rgba(255,255,255,0.5));
  border-radius: 50% 50% 60% 60%;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  z-index: -1;
  backdrop-filter: blur(3px);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

header.hero h1.para-naslubu {
  font-family: 'Great Vibes', cursive;
  font-size: 10em;
  color: #465340;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 1px 1px 4px rgba(255,255,255,0.5);
}
.ozdobnik-pod-imionami {
  width: 768px;
  height: 100px;
  background: url('/public/images/ornament.png') no-repeat center center;
  background-size: contain;
  margin: 0 auto 30px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}


main {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 50px;
  background: rgba(255,255,255,0.85);
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section {
   text-align: center;
    padding: 50px 20px;
    max-width: 800px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h1, h2 {
    
    text-transform: none;
    color: #333;
    margin-bottom: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
  font-weight: bold;
  padding: 10px;
  background: #f5fffa;
  border-radius: 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.map-double {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.map {
  flex: 1 1 48%;
  min-width: 300px;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
}
.map h3 {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 10px;
}
/* odtwarzacz muzyki*/
.floating-music {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  background: transparent;
  padding: 0;
  border-radius: 10px;
  box-shadow: none;
  width: 200px;
}

.floating-music {
  cursor: move;
}
/* Stylizacja kontenera licznika */
.countdown-container {
  text-align: center;
  margin: 30px auto;
  max-width: 800px;
}

/* Tytuł licznika */
.countdown-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  text-transform: uppercase;
  margin-bottom: 60px;
  color: #333;
}

/* Kontener na kwadraty */
.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Pojedynczy kwadrat licznika */
.countdown-box {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #FFD700;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  width: 120px;
  padding: 20px;
}

/* Cyfry w kwadracie */
.countdown-box span {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: #679684;
  text-shadow: 0 0 10px rgba(102, 104, 103, 0.8);
}

/* Etykiety pod cyframi */
.countdown-box .label {
  font-family: "Indie Flower", cursive;
  margin-top: 10px;
  font-size: 1.2rem;
  color: #333;
  text-transform: uppercase;
}
#countdown {
    margin-bottom: 80px; /* ✅ Większy odstęp od sekcji poniżej */
}
@media (max-width: 768px) {
  
  /* 📌 Główne nagłówki `h1` i `h2` bez nadpisywania powyższego */
  h1, h2 {
    font-size: 3.5em;
    margin-bottom: 16px;
    line-height: 1.3;
  }

p, .section-text, li, .kwadrat-sekcji p, .sekcja-wesela p {
  font-size: 2em;
  line-height: 1.6;
  padding: 0 6px;
  box-sizing: border-box;
  word-break: break-word;
}

 header.hero h1.para-naslubu {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5em;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-align: center;
  }

  .ozdobnik-pod-imionami {
    width: 100px;
    height: 22px;
    margin-bottom: 20px;
    background-size: contain;
  }

  .ozdobnik-pod-imionami::after {
    font-size: 1.6em;
    top: -10px;
  }

  
  .prezent-box {
    flex: 1 1 45%;
  }
  .gallery img {
    width: 100%;
    height: auto;
  }

  .map-double {
    flex-direction: column;
  }

  .map {
    width: 100%;
  }
    /* 📌 Nagłówek mobilny – zmniejszenie rozmiaru tekstu */
    header.hero h1 {
        font-size: 5em; /* Zamiast 13em, dostosowanie do małych ekranów */
    }

    /* 📌 Mniejsze paddingi w sekcjach */
    main {
        padding: 40px 10px;
    }
    section {
        padding: 30px 15px;
        margin: 20px auto;
    }
    /* Responsywnie na mobilkach */
    .kontakt-grid {
    flex-direction: column;
    align-items: center;
  }

    /* 📌 Dostosowanie licznika na mobile */
 .countdown-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  box-sizing: border-box;
}

.countdown-box {
  flex: 0 1 80px; /* pudełko elastyczne */
  max-width: 90px;
  padding: 10px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  box-sizing: border-box;
}


.countdown-box span {
  font-size: 1.7rem;
  font-weight: bold;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.countdown-box .label {
  font-size: 0.85rem;
  margin-top: 4px;
  line-height: 1.2;
  color: #6a5944;
}


    /* 📌 Galeria mobilna – pojedyncza kolumna */
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    .gallery img {
        width: 90%;
        height: auto;
    }

    /* 📌 Formularz RSVP – dostosowanie szerokości */
    #rsvp form {
        max-width: 90%;
    }
    #rsvp input, #rsvp select, #rsvp button {
        font-size: 14px;
    }

    /* 📌 Mapy mobilne – pełna szerokość */
    .map-double {
        flex-direction: column;
    }
    .map {
        width: 100%;
    }
    .plan-dnia-wesela,
  .sekcja-wesela {
    padding: 30px 20px;
    margin: 40px 10px;
  }

  .plan-dnia-wesela h2,
  .sekcja-wesela h2 {
    font-size: 2.2em;
    line-height: 1.2;
  }

  .plan-dnia-wesela ul li,
  .sekcja-wesela li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1em;
    padding: 12px 16px;
    gap: 6px;
  }

  .plan-dnia-wesela ul li::before {
    margin-right: 4px;
    font-size: 1em;
  }
  .sekcja-wesela h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.8em, 6vw, 2.6em);
    color: #5a4a3c;
    margin-bottom: 24px;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.05);
    line-height: 1.3;
  }
  body::before {
    background-image: url('/public/images/piwonie55.png');
    background-size: cover;
    background-position: center top;
  }
    
    
}

@supports (-webkit-touch-callout: none) {
  .countdown-box span {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 375px) {
  .countdown-box {
    flex: 0 1 75px;
  }

}

/* sekcja organizacji */
.kwadrat-sekcji {
  background: rgba(255, 255, 255, 0.94);
  border: 2px dashed #ccc;
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  box-sizing: border-box; /* zapobiega wychodzeniu poza padding */
  width: 100%;
}

.kwadrat-sekcji:hover {
  transform: scale(1.015);
}

.kwadrat-sekcji h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #4a3e2c;
}

.kwadrat-sekcji p,
.kwadrat-sekcji ul {
  font-size: 1em;
  color: #333;
}

.kwadrat-sekcji ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kwadrat-sekcji ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 1em;
  justify-content: center;
}

.kwadrat-sekcji ul li img {
  width: 28px;
  height: auto;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 0 auto;
  padding: 0 12px;
}

.prezenty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.prezent-box {
  background: rgba(255,255,255,0.94);
  border: 2px dashed #ccc;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.prezent-box img {
  width: 96px;
  height: auto;
  margin-bottom: 10px;
}

.prezent-box p {
  font-size: 1em;
  color: #333;
}

.zamiast-kwiatow-notka {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #555;
}
.sekcja-naglowek {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.sekcja-naglowek h2 {
  font-size: 1.8em;
  color: #4a3e2c;
  margin: 0;
}

.sekcja-wesela img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  margin-left: 6px;
}
.logo-sekcji {
  width: 96px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.organizacja-ikona {
  width: 96px;
  height: auto;
  margin-bottom: 12px;
}
@media screen and (max-width: 480px) {
  .prezent-box {
    flex: 1 1 100%;
  }
}

/* PRZYCISK DO ALBUMU ZE ZDJĘCIAMI */

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

.galeria-przycisk {
  text-align: center;
  margin-top: 20px;
}

.przycisk-albumu {
  display: inline-block;
  background-color: #6a4d8a;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.przycisk-albumu:hover {
  background-color: #563d72;
}

.separator {
  text-align: center;
  margin: 2px 0;
}

.separator img {
  max-width: 200px;
  opacity: 0.8;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  
}

.plan-dnia-wesela {
  background: rgba(255, 250, 245, 0.96);
  border: 3px double #dbcbb2;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 60px auto;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.plan-dnia-wesela h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2em;
  color: #5a4a3c;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.05);
}

.plan-dnia-wesela ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-dnia-wesela ul li {
  font-size: 1.2em;
  color: #3f3f3f;
  background: #fefbf7;
  border-left: 5px solid #cbbba5;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  font-weight: 500;
}

.plan-dnia-wesela ul li::before {
  content: "🌸";
  font-size: 1.2em;
  margin-right: 8px;
}
.sekcja-wesela {
  background: rgba(255, 250, 245, 0.95);
  border: 3px double #dbcbb2;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 60px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sekcja-wesela h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 4em;
  color: #5a4a3c;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.05);
}

.sekcja-wesela p,
.sekcja-wesela ul,
.sekcja-wesela li {
  font-size: 1.1em;
  color: #3f3f3f;
  line-height: 1.6;
  font-family: 'Crimson Text', serif;
}

.sekcja-wesela ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sekcja-wesela li {
  background: #fefbf7;
  border-left: 5px solid #cbbba5;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
