:root {
     --bg-color: #1e5542;
    --text-gold: #d4c4a8;
    --text-highlight: #ffffff;
    --border-delicate: rgba(212, 196, 168, 0.4);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
}

*{
    margin: 0;
    padding: 0;
    color: #ffffff;
}

body {
  margin: 0;
  font-family: 'Cormorant Garamond', serif; 
  font-size: 16px;
  font-weight: 300;
  background: var(--bg-color);
  line-height: 1.72;
  overflow-x: hidden; 
}

 h1,h2, h3 {
  font-family: 'Cinzel', serif; 
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px; 
  color: var(--text-gold);
  margin-bottom: 24px; 
}

h2 {
  font-size: 28px;
  border-bottom: 1px solid transparent;
  display: inline-block;
  padding-bottom: 10px;
  color: var(--text-gold);
}

h3 {
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--text-gold);
  border-bottom: 1px solid var(--border-delicate);
  padding-bottom: 5px;
  display: inline-block;
}

/* LINKI */
a {
  color: var(--text-highlight);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-gold);
  transition: 0.4s ease;
  font-style: italic;
}
a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
  letter-spacing: 1px;
}

/* SEPARATOR */
.section-line {
    height: 1px;
    width: 180px; /* Krótsza, bardziej elegancka linia */
    margin: 80px auto;
    background: linear-gradient(90deg, transparent, var(--text-gold), transparent);
    opacity: 0.6;
    position: relative;
}

/* Dodatkowy romb na środku linii */
.section-line::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Ozdobna linia pod nagłówkami H2 */
h2::after {
    content: "•";
    display: block;
    font-size: 18px;
    color: var(--text-gold);
    margin-top: 5px;
    opacity: 0.8;
    line-height: 10px;
}

/* --------- BANNER --------- */
#banner {
  height: 100vh;
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 150px rgba(0,0,0,0.8); 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: var(--text-highlight);
}

#banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); 
    z-index: 1;
}

#banner .banner-content {
    position: relative;
    z-index: 2;
    padding: 32px; 

    backdrop-filter: blur(2px); 
}

#banner .banner-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 56px;
  letter-spacing: 8px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  color: #ffffff !important;
}

/* Responsywność dla imion */
@media (max-width: 768px) {
    #banner .banner-content h1 {
        font-size: 35px;
        letter-spacing: 3px;
    }
}

#banner .banner-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 16px; 
  margin: 24px 0; 
  color: #fff;
}

#banner q {
  font-family: "Fleur De Leah", cursive;
  font-weight: 400;
  font-size: 28px; 
  display: block;
  margin-top: 32px; 
  opacity: 0.9;
}

/* --------- SEKCJE OGÓLNE --------- */
section {
  text-align: center;
  margin: 0 auto;
}

p {
    max-width: 700px;
    margin: 16px auto; 
    font-size: 18px; 
}

/* --------- INTRO --------- */
#intro h3 {
    border: none;
    font-size: 16px;
    letter-spacing: 6px;
    opacity: 0.8;
}
#intro p {
    font-size: 20px; 
    font-style: normal;
}

/* --------- ZAPROSZENIE --------- */
#invitation {
  padding: 80px 16px; 
  max-width: 1200px;
}

.invitation-box {
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(10px); 
  padding: 52px 24px;
  border: 1px solid var(--border-delicate);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.official {
    line-height: 2;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.official strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin: 24px 0;
    color: var(--text-gold);
    font-weight: 400;
    border-top: 1px solid var(--border-delicate);
    border-bottom: 1px solid var(--border-delicate);
}

.places {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.places div {
  flex: 1;
  min-width: 220px;
  background: transparent;
  padding: 0;
  transition: transform 0.5s ease;
}

.places div:hover {
  transform: translateY(-5px);
}

.add-to-calendar-btn {
    background: transparent;
    color: var(--text-gold);
    border: 1px solid var(--text-gold);
    padding: 12px 30px;
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1.5px;
    font-size: 12px;
    transition: 0.4s;
    text-transform: uppercase;
}

.add-to-calendar-btn:hover {
    background: var(--text-gold);
    color: var(--bg-color);
}

/* --- GALERIA --- */
#gallery {
    padding: 60px 5%;
    text-align: center;
    max-width: 900px; 
    margin: 0 auto;   
}

#gallery h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 32px;
}

#gallery h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-delicate), transparent);
    margin: 12px auto 0;
    opacity: 0.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 18px; 
    justify-items: center;
}

.gallery-item img {
    width: 90%; 
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
    border: 1px solid var(--border-delicate);
    padding: 5px; 
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsywność */
@media (max-width: 768px) {
    #gallery {
        padding: 60px 2%;
    }
}
/* --------- ELEGANCKI TIMELINE --------- */

#timeline {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
}

#timeline h2 {
    font-size: 34px;
    margin-bottom: 10px;
    text-align: center;
}

#timeline p {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 50px;
}

.timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    margin: 0 auto;
    padding-left: 30px;
    max-width: 500px;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffffff;
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    text-align: left;
}

.timeline-item .time {
    font-family: 'Cinzel', serif;
    color: var(--text-gold);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 18px;
    line-height: 1.4;
}

#timeline ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-list li {
    margin-bottom: 15px; /* odstęp między elementami */
}


.timeline-list {
    list-style: none; /* usuwa kropki */
    padding-left: 0;  /* usuwa domyślne wcięcie */
    margin: 0;        /* usuwa marginesy */
}
/* --------- MENU PREMIUM --------- */
.menu {
    max-width: 900px;
    padding: 60px 20px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-delicate);
}

.menu h2 {
    margin-bottom: 40px;
    font-size: 34px;
}

.menu-section {
    margin-bottom: 50px;
    border-radius: 12px;
    padding: 20px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.menu-section:hover {
    transform: translateY(-5px);
}

.menu-section h3 {
    border-bottom: 1px solid var(--border-delicate);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-section li {
    position: relative;
    padding-left: 0px;
    font-size: 18px;
    margin-bottom: 12px;
}


/* Responsywność */
@media (max-width: 768px) {
    .timeline-wrapper {
        padding-left: 20px;
    }
    .timeline-wrapper::before {
        left: 5px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-item::before {
        left: -24px;
    }
}

/* --------- RSVP --------- */
.rsvp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
}

.rsvp button {
  background: transparent;
  border: 1px solid var(--text-gold);
  padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  cursor: pointer;
  transition: 0.4s;
  margin-top: 48px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.rsvp button:hover {
  box-shadow: 0 0 20px rgba(212, 196, 168, 0.3);
}

.rsvp p {
    margin: 8px 0;
}

.rsvp p a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    text-decoration: none;
    border: none;
    display: inline-block;
    transition: 0.3s;
    color: var(--text-gold);
}

.rsvp p a:hover {
    transform: scale(1.05);
}

i{
    font-size: 16px;
}

/* --------- COUNTDOWN --------- */
.countdown-box {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.countdown-box div {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 16px 14px;
    min-width: 96px;
    border: 1px solid var(--border-delicate);
}

.countdown-box span {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 34px;
    color: var(--text-gold);
}

.countdown-box label {
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-top: 5px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #aaa;
}

/* --------- LAST SECTION --------- */
.last-section {
    padding-bottom: 96px;
}

.last-section h2{
    font-size: 23px;
    letter-spacing: 1px;
    color: #fff;
}

.signature {
  font-family: "Fleur De Leah", cursive;
  font-weight: 400;
  font-size: 64px; 
  margin-top: 32px; 
  opacity: 0.8;
  color: var(--text-gold);
}

/* Animacje wejścia */
section {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------- STYLIZACJA PANELU WYBORU KALENDARZA (MODAL) --------- */
#calendar-options-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000; 
    display: none; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#calendar-options-overlay.active {
    display: flex;
    opacity: 1;
}

#calendar-options-box {
    padding: 40px;
    border: 1px solid var(--text-gold);
    background: var(--bg-color);
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 50px rgba(212, 196, 168, 0.1);
}

#calendar-options-box p {
    font-family: 'Cinzel', serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-gold);
}

/* Przyciski/linki w panelu */
#calendar-options-box a, #calendar-options-box button {
    display: block;
    margin: 15px auto;
    text-decoration: none;
    border: 1px solid var(--border-delicate);
    padding: 10px 20px;
    color: var(--text-highlight);
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
}
#calendar-options-box a:hover, #calendar-options-box button:hover {
    background: var(--text-gold);
    color: var(--bg-color);
    border-color: var(--text-gold);
}




@media (max-width: 375px) {
    h2{
        font-size: 20px !important;
    }

    p{
        font-size: 14px !important;
    }

    #intro{
        padding: 22px;
    }

    #intro h3{
        margin-top: 40px;
    }

    .menu{
        max-width: 70%;
    }

    .last-section{
        padding: 22px;
    }

    #countdown{
        padding: 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        width: 70%;
        height: auto;
    }

    .signature{
        font-size: 22px;
    }
}


@media (max-width: 480px) {
     h2{
        font-size: 19px !important;
    }

    p{
        font-size: 14px !important;
    }

    #intro{
        padding: 22px;
    }

    #intro h3{
        margin-top: 40px;
    }

    .menu{
        max-width: 70%;
    }

    .last-section{
        padding: 22px;
    }

     #countdown{
        padding: 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-item img {
        width: 70%; 
        height: auto;
    }

    .signature{
        font-size: 22px;
    }
}



@media (max-width: 768px) {

    
    #intro{
        padding: 22px;
    } 

    .menu{
        max-width: 70%;
    }

     #countdown{
        padding: 22px;
    }

    .last-section{
        padding: 22px;
    }
}



@media (max-width: 1024px) {
     .menu{
        max-width: 70%;
    }
  }




