/* Background layers using downloaded assets */
html, body {
  min-height: 100%;
}

.bg-layer {
  position: fixed;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-top {
  top: 0;
  height: 380px;
  background-image: url('/assets/nocloud_bg.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.bg-cloud {
  top: 140px; /* overlays lower portion of top background */
  height: 240px;
  background-image: url('/assets/cloud_foreground.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.bg-bottom {
  bottom: 0;
  height: 200px;
  background-image: url('/assets/city_tileable.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.content {
  position: relative;
  z-index: 1;
}

/* Display font utility */
.font-display {
  font-family: 'Dancing Script', 'Playfair Display', Georgia, serif;
}

.font-script {
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-weight: 400;
  letter-spacing: 0.4px;
}

/* Elegant typography + card styling to match invite vibe */
:root {
  --ink: #5e3c29;
  --ink-muted: #705541;
  --panel-bg-top: #fffdf8;
  --panel-bg-bottom: #fff7e9;
  --panel-border: #efe3d2;
}

.content h1,
.content h2,
.content h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.content h1 { font-weight: 700; }
.content h2 { font-weight: 600; }
.content h3 { font-weight: 600; }

.content p,
.content li {
  color: var(--ink-muted);
  line-height: 1.75;
}

/* Card look (overrides Tailwind gray panels lightly) */
.content .rounded-2xl {
  background: linear-gradient(180deg, var(--panel-bg-top), var(--panel-bg-bottom)) !important;
  border: 1px solid var(--panel-border) !important;
  box-shadow: 0 12px 24px rgba(91, 60, 41, 0.06), 0 4px 8px rgba(91, 60, 41, 0.04) !important;
}

/* Details accordion styling */
.content details {
  background: #fffaf0 !important;
  border: 1px solid var(--panel-border) !important;
}

.content details > summary {
  list-style: none;
  position: relative;
  padding-left: 28px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  color: var(--ink);
}

.content details > summary::-webkit-details-marker { display: none; }

.content details > summary::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.2s ease;
}

.content details[open] > summary::before {
  transform: translateY(-50%) rotate(45deg);
}

.content a {
  color: #1a73e8;
  text-decoration: none;
  border-bottom: 1px dashed rgba(26, 115, 232, 0.35);
}

.content a:hover {
  border-bottom-style: solid;
}

