/* Global base */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #222;
}
#add-to-calendar {
  color: #8b7355; /* dark beige, matching your links */
  text-decoration: underline;
  cursor: pointer;
}
/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: "Dancing Script", cursive;
  color: #222;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  user-select: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
  min-width: 10rem;
  display: none;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* Main content */
main {
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
}

/* Header image placeholder (only on home) */
.header-image {
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/h1.jpg');
}

/* Header with two side-by-side portrait images */
.header-image-faq {
  width: 100%;
  height: 60vh;              /* adjust height as needed */
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering of the pair */
  gap: 0;                    /* no gap; images touch; increase if desired */
  background: #faf8f5;       /* optional background color */
}

.header-img-faq {
  height: 100%;
  width: 90%;                /* each image takes half the header width */
  object-fit: cover;         /* fills its half, crops if needed */
  object-position: center center; /* centers portrait images */
  display: block;
}

/* Mobile: stack images vertically instead of side by side */
@media (max-width: 576px) {
  .header-image-faq {
    flex-direction: column;
    height: auto;
    aspect-ratio: 3 / 4;     /* optional: keeps a nice overall shape */
  }

  .header-img-faq {
    width: 100%;
    height: 70%;             /* each image takes half the height */
  }
}



/* Header with two side-by-side portrait images */
.header-image-faq2 {
  width: 100%;
  height: 15vh;              /* adjust height as needed */
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* horizontal centering of the pair */
  gap: 0;                    /* no gap; images touch; increase if desired */
  background: #faf8f5;       /* optional background color */
}

.header-img-faq2 {
  height: 100%;
  width: 90%;                /* each image takes half the header width */
  object-fit: cover;         /* fills its half, crops if needed */
  object-position: center center; /* centers portrait images */
  display: block;
}

/* Mobile: stack images vertically instead of side by side */
@media (max-width: 576px) {
  .header-image-faq2 {
    flex-direction: column;
    height: auto;
    aspect-ratio: 3 / 4;     /* optional: keeps a nice overall shape */
  }

  .header-img-faq2 {
    width: 100%;
    height: 70%;             /* each image takes half the height */
  }
}

.header-image-rsvp {
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/sekt.jpg');
}


.header-image-location {
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/Wetz1.jpeg');
}

.header-image-contact {
  width: 100%;
  height:50vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/daydrinking.jpeg');
}


.header-image-admin {
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/NoAdmittance.jpeg');
}


.header-image-schedule {
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 0 1.5rem;
  border-radius: 0.5rem;
  background-image: url('images/blume.jpg');
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

.h1SophieJoscha {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  margin-top: 0.5rem;
}

.subtitle {
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.intro {
  text-align: center;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  margin-top: 1rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-links a {
  color: #333;
  text-decoration: none;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .header-image {
    height: 30vh;
    border-radius: 0;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Global link color (dark beige) */
a {
  color: #8b7355;        /* dark beige */
  text-decoration: none; /* optional: remove underline */
}

/* Optional: slightly different color on hover */
a:hover {
  color: #6d5a43;        /* darker beige on hover */
  text-decoration: underline; /* optional: underline on hover */
}

/* If you want navbar links specifically to match as well */
.navbar a,
.nav-links a,
.dropdown-menu a,
.footer-links a {
  color: #8b7355;
}

.navbar a:hover,
.nav-links a:hover,
.dropdown-menu a:hover,
.footer-links a:hover {
  color: #6d5a43;
}


.bg-pattern {
  background-image: url("images/backyopaque.jpg");
  background-repeat: repeat;
  background-size: 50%;
  background-position: top left;
}

/* Apply to the whole page body (optional) */
body.bg-pattern {
  margin: 0;
  min-height: 100vh;
}


.page-separator {
  display: block;
  max-width: 200px;      /* adjust to your image width */
  width: 60%;            /* responsive: 60% of content width */
  height: auto;
  margin: 0.75rem auto 1.25rem;
  opacity: 0.9;          /* adjust as desired */
}


/* body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;        /* adjust to your image width */
  /* height: 100vh;
  background-image: url('images/flowerpower.png');
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center top;
  opacity: 0.6;       /* adjust as desired */
  /* pointer-events: none;
  z-index: 0;
} */

/* Left side */
/* body::before {
  left: 0;
} */

/* Right side
body::after {
  right: 0;
} */

/* Make sure content sits above the lines */
/* body > * {
  position: relative;
  z-index: 1;
} */ */

#lang-toggle {
  background: transparent;
  border: 1px solid #8b7355;
  color: #8b7355;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
}


.location-image {
  margin: 2rem auto;
  max-width: 70%;
  text-align: center;
}

.location-image img {
  max-width: 50%;
  height: auto;
  border-radius: 0rem;
  box-shadow: 0 0px 0px rgba(0,0,0,0.00);
}

.location-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}


.todo-container {
  max-width: 600px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  background: #fff;
}

#todo-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
}

#todo-list li:last-child {
  border-bottom: none;
}

#todo-list input[type="checkbox"] {
  transform: scale(1.1);
  cursor: pointer;
}

#todo-list .todo-text {
  flex: 1;
  font-size: 0.95rem;
}

#todo-list .todo-text.done {
  text-decoration: line-through;
  color: #888;
}

#todo-list .delete-btn {
  background: transparent;
  border: 1px solid #ddd;
  color: #b71c1c;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

#todo-list .delete-btn:hover {
  background: #fff5f5;
}
