:root {
  --paper: #faf7f1;
  --ink: #22303c;
  --muted: #68727c;
  --accent: #b3792c;
  --accent-dark: #8f5f1f;
  --card: #ffffff;
  --line: #e4ddd0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .brand, .event-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--accent-dark); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 56px 28px 40px;
}
.hero h1 { font-size: 2.7rem; line-height: 1.18; margin-bottom: 18px; }
.hero-sub { font-size: 1.13rem; color: var(--muted); margin-bottom: 26px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image img {
  width: 100%; border-radius: 10px; display: block;
  box-shadow: 0 14px 34px rgba(34, 48, 60, 0.18);
}
.hero-image figcaption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  text-decoration: none; font-size: 0.98rem; font-weight: 600;
  border: 1px solid var(--accent); cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: var(--accent-dark); background: transparent; }
.btn-ghost:hover { background: rgba(179, 121, 44, 0.08); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; }

/* Sections */
section { max-width: 1120px; margin: 0 auto; padding: 42px 28px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
.section-intro { color: var(--muted); max-width: 68ch; margin-bottom: 28px; }

/* Gallery grid */
.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 3px 10px rgba(34, 48, 60, 0.05);
}
.card-img { border: none; background: none; padding: 0; cursor: zoom-in; display: block; }
.card-img img { width: 100%; height: 250px; object-fit: cover; display: block; }
.card-img:hover img { opacity: 0.92; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.12rem; line-height: 1.3; }
.meta { color: var(--muted); font-size: 0.88rem; }
.price { font-size: 1.15rem; font-weight: 700; color: var(--accent-dark); margin-top: 2px; }
.price-inquire { font-size: 1rem; }
.card-body .btn { margin-top: auto; align-self: flex-start; }

/* About / visit / contact */
.about-section p, .visit-section p, .contact-section p { max-width: 70ch; margin-bottom: 14px; }
.event-card {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 18px 22px; max-width: 640px;
}
.event-name { font-size: 1.2rem; margin-bottom: 4px; }
.event-meta { color: var(--muted); margin-bottom: 6px; }
.event-note { margin-bottom: 0; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.contact-note { color: var(--muted); font-size: 0.95rem; margin-top: 16px; }

/* Footer */
footer {
  text-align: center; padding: 34px 20px 44px; color: var(--muted);
  border-top: 1px solid var(--line); margin-top: 10px;
}
.footer-sub { font-size: 0.9rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(18, 24, 30, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(92vw, 880px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox figcaption { color: #e8e2d6; margin-top: 14px; font-size: 0.98rem; }
.lightbox-close {
  position: absolute; top: 14px; right: 22px;
  background: none; border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* Mobile */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 28px; }
  .hero h1 { font-size: 2.1rem; }
  .site-header { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .site-header nav { gap: 16px; flex-wrap: wrap; justify-content: center; }
  section { padding: 32px 18px; }
  .card-img img { height: 220px; }
}

/* Sold badges + About photos */
.section-sub { color: var(--muted); margin-top: -8px; }
.card { scroll-margin-top: 90px; }
.sold-badge {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 3px 14px;
  border: 1.5px solid #b3261e;
  border-radius: 999px;
  color: #b3261e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
  text-align: left;
}
.about-photos figure { margin: 0; }
.about-photos img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.about-photos figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .about-photos { grid-template-columns: 1fr; }
  .about-photos img { height: 210px; }
}
