:root {
  --brown-900: #3e2723;
  --brown-700: #5d4037;
  --brown-100: #efebe9;
  /* --yellow-500: #f6c945;
  --yellow-300: #fbe58a; */
  --surface: #fdfefb;
  --text: #1e1311;
  --muted: #6d4c41;
  --shadow: 0 16px 40px rgba(31, 77, 46, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

a {
  font-weight: bold;
  color: var(--muted);
  text-decoration: none;
}
a>svg {
  height: 1em;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: url("img/background.jpg") left/cover no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
}

.password-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: radial-gradient(circle at center, rgba(246, 231, 69, 0.45), rgba(77, 51, 31, 0.72));
  z-index: 999;
}

.password-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.password-card h1 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.password-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.password-form {
  display: grid;
  gap: 0.7rem;
  text-align: left;
}

.password-form label {
  font-weight: 600;
}

.password-form input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #c8d8cc;
  border-radius: 12px;
  font-size: 1rem;
}

.password-form button {
  border: 0;
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.password-form button:hover {
  filter: brightness(1.05);
}

.error-message {
  min-height: 1.1rem;
  margin: 0;
  color: #b3261e;
  font-size: 0.92rem;
}

/* Design elements */
.flower {
  position: fixed;
  width: auto;
  z-index: -1;
  pointer-events: none;
}
#flower-left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60vh;
  max-height: 600px;
}

#flower-right {
  right: 0;
  top: 30%;
  transform: translateY(-50%);
  height: 50vh;
  max-height: 500px;
}

#flower-bottom-right {
  right: 0;
  bottom: 0;
  height: 40vh;
  max-height: 400px;
}

.site-content {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.banner {
  position: relative;
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(280px, 55vh, 430px);
  background-image: url("img/banner.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--brown-700), rgba(0, 0, 0, 0) 50%);
}

.banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: clamp(1.4rem, 4vw, 3rem);
  color: #ffffff;
}

.banner-date {
  display: inline-block;
  width: fit-content;
  margin: 0 0 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.banner h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1.06;
}

.banner-subtitle {
  margin-top: 0.8rem;
  max-width: 560px;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.section {
  margin-top: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.8vw, 1.7rem);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--brown-900);
  font-size: clamp(1.3rem, 3.6vw, 1.8rem);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  padding: 0.9rem;
  border-radius: 14px;
  background: linear-gradient(120deg, #fef8de 0%, #f3f8e9 100%);
  border: 1px solid #eae3c8;
}

.timeline-item .time {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--brown-700);
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.06rem;
}

.timeline-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.address {
  margin-top: 0;
  margin-bottom: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.map-wrapper {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #e2e1c6;
}

.map-wrapper iframe {
  width: 100%;
  min-height: 290px;
  border: 0;
}

.stay-grid,
.contact-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stay-grid {
  align-items: stretch;
}

.stay-grid > * {
  height: 100%;
}

.stay-grid > a {
  display: block;
  color: inherit;
  text-decoration: none;
}


.stay-grid > a:hover .stay-card {
  box-shadow: var(--shadow), 0 0 0 1px var(--brown-700);
  background: linear-gradient(170deg, #fff5c7 0%, #fffef7 100%);
}


.stay-card,
.contact-card {
  background: linear-gradient(170deg, #fef8de 0%, #fffdf4 100%);
  border: 1px solid #e8e4c6;
  border-radius: 14px;
  padding: 0.9rem;
}

.stay-card {
  height: 100%;
  align-items: stretch;
}

.stay-card h3,
.contact-card h3 {
  margin: 0;
}

.stay-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-card a {
  color: var(--brown-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

.emoji {
  justify-content: center;
  width: 1.1em;
  line-height: 1;
}



@media (max-width: 640px) {
  .site-content {
    padding: 0 0.7rem 1.2rem;
  }

  .banner {
    min-height: 250px;
  }
  .flower {
    display: none;
  }
}

@media (max-width: 1100px) {

  .banner {
    min-height: 250px;
  }
  .flower {
    display: none;
  }
}
