/* =========================================================
   Ferienwohnung Oberwil – zentrales Stylesheet
   ---------------------------------------------------------
   */

/* --- Grundlayout --- */
body {
  margin: 0;
  padding: 0;
  background-color: #ECE7DF;
  color: #3C3C3C;
  font-family: "Poppins", "Lato", sans-serif;
  line-height: 1.6;
}

/* --- Überschriften --- */
h1, h2, h3, h4, h5 {
  color: #73553C !important;
  font-weight: 600;
}

/* --- Links --- */
a {
  color: #2E5C3A;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #E8C17D;
}

/* --- Navigation --- */
.navbar {
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.navbar-brand {
  color: #2E5C3A !important;
  font-weight: 600;
}
.nav-link {
  color: #2E5C3A !important;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #E8C17D !important;
}

/* --- Hero-Bereich mit sanftem Parallax --- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--bs-navbar-height, 56px));
  height: 75vh;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  color: #fff
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* --- Hero-Text kontrastreich und lesbar auf dunklem Bild --- */
.hero-overlay h1 {
  font-size: 3rem;
  font-weight: 400;
  color: #FFFFFF !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* sanfter Schatten für Tiefe */
}

.hero-overlay p {
  font-size: 1.3rem;
  color: #F7F3ED; /* leicht gebrochenes Weiss, weicher für das Auge */
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* --- Karten (Startseite & Info) --- */
.card {
  background-color: #FFFFFF;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.card-title {
  color: #73553C
}
.card p {
  color: #3C3C3C;
}

/* --- Buttons --- */
.btn-success {
  background-color: #2E5C3A;
  border-color: #2E5C3A;
}
.btn-success:hover {
  background-color: #E8C17D;
  border-color: #E8C17D;
  color: #2E5C3A;
  font-weight: 500;
}
.btn-outline-success {
  color: #2E5C3A;
  border-color: #2E5C3A;
}
.btn-outline-success:hover {
  background-color: #2E5C3A;
  color: #fff;
}
footer {
  background-color: #f8f9fa;
  border-top: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
  padding: 2rem 0;
  text-align: center;
}
footer a {
  color: #73553C;
}
footer a:hover {
  color: #000;
}



/* --- Mobile Anpassungen --- */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  .hero-overlay h1 {
    font-size: 2rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

/* --- Belegungsplan-Container --- */
.iframe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.iframe-frame {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 10px;
  max-width: 960px;
  width: 100%;
}

/* --- Iframe selbst --- */
.iframe-frame iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
  border-radius: 8px;
  background-color: #fff;
}

/* --- Responsive Anpassung --- */
@media (max-width: 768px) {
  .iframe-frame {
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  }

  .iframe-frame iframe {
    height: 420px;
  }
}

