body {
    font-family: 'Playfair Display', serif;
    background-color: #fffaf7;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: #b8860b;
    text-align: center;
    font-size: 2em;
}

.hero {
    text-align: center;
    padding: 0px 10px 10px 10px;
    background: #fffaf7;
    height: 100vh;
    display: flex;                 /* 3 Streifen nebeneinander */
    position: relative;
    overflow: hidden;  
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/*HERO IMAGE*/

/* Streifen: alle benutzen dasselbe Bild */
.hero-stripe {
    height: 100%;
    background-image: url('assets/wedding.jpg'); /* Pfad zu deinem Bild */
    background-size: cover;        /* füllt die Div, skaliert das Bild */
    background-repeat: no-repeat;
    background-position: center center; /* Standard: mittlerer Ausschnitt */
    gap: 20px;
}

/* Linker Streifen */
.hero-stripe.left {
    flex: 1;                       /* kleiner Streifen */
    opacity: 0.7;                  /* weniger prominent */
    background-position: left center; /* zeigt linken Ausschnitt */
    height: 80vh;
    flex: 0 0 15%;
}

/* Mittlerer Streifen */
.hero-stripe.center {
    flex: 2;                       /* mittlerer Streifen breit */
    opacity: 1;                     /* volle Sichtbarkeit */
    background-position: center center;
    flex: 0 0 60%;
}

/* Rechter Streifen */
.hero-stripe.right {
    flex: 1;                       /* kleiner Streifen */
    opacity: 0.7;                  /* weniger prominent */
    background-position: right center; /* rechter Ausschnitt */
    height: 80vh;
    flex: 0 0 15%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #b8860b;                /* Gold */
    z-index: 1;                     /* Text über den Streifen */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* x-offset, y-offset, blur, Farbe */
}

.hero-content p{
    background-color: rgba(0, 0, 0, 0.5);
    width: fit-content;
    margin: 0 auto;
}
.wedding-date {
    font-size: 2em;
    color: #b8860b;
    margin-top: 1%;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    width: fit-content;
}

.decorative-line {
    width: 50%;
    margin-top: 10px;
}


.headline-image{
    width: 99%;
    }


.timeline {
    position: relative;
    padding: 50px 0;
    width: 90%;
    margin: auto;
}
.timeline.h2{
    text-align: center;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #b8860b;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    display: inline-block;
}


.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%; /* vertically middle of the item */
    width: 10%; /* line length */
    height: 4px; /* line thickness */
    background: #b8860b;
}

.timeline-item.right::before {
    right: 100%; /* line extends from left side to center */
}

.timeline-item.left::before {
    left: 100%;  /* line extends from right side to center */
}



.timeline-item.left {
    left: -5%;
    text-align: right;
}

.timeline-item.right {
    left: 55%;
}

.timeline-item .content {
    background-color: #fffaf7;
    /*border: 2px solid #b8860b;*/
    border-radius: 10px;
    padding: 15px;
    display: inline-block;
    max-width: 250px;
}

.timeline-item img {
    display: block;         /* makes the image a block element */
    margin: 0 auto 10px;
    width: 100px;
    height:100px;
    filter: brightness(0) saturate(100%) invert(71%) sepia(47%) saturate(396%) hue-rotate(17deg) brightness(96%) contrast(92%);
}

.location, .rsvp {
    text-align: center;
    padding: 50px 20px;
}

form {
    display: inline-block;
    text-align: left;
    margin-top: 20px;
}

input, button {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 250px;
    border: 1px solid #b8860b;
    border-radius: 5px;
    font-size: 1em;
}

button {
    background: #b8860b;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #d4af37;
}


#gallery-link p {
    text-align: center; /* Zentriert den Button innerhalb des <p> */
}

#gallery-link .btn {
    display: inline-block; /* sicherstellen, dass der Button als Block behandelt wird */
    margin: 0 auto;
}

.Trauzeugen p{
    text-align: center;
}

button.btn {
    background-color: #d4af7f;
    color: white;
    border: none;
    padding: 0.75em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
}

button.btn:hover {
    background-color: #b8896d;
}

a.btn {
    background-color: #d4af7f;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 8px;
}

a.btn:hover {
    background-color: #b8896d;
}

