/* EventEasy — single mobile-first stylesheet, no framework */
:root {
  --ink: #241b2f;
  --muted: #6f6579;
  --primary: #8b2c5f;
  --primary-dark: #6d2049;
  --gold: #d9962b;
  --gold-dark: #b87d1e;
  --bg: #faf7f2;
  --card: #ffffff;
  --line: #e8e0d8;
  --ok-bg: #e8f5ec;
  --ok-ink: #1d6b3a;
  --err-bg: #fdeaea;
  --err-ink: #a12626;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(36, 27, 47, .07);
  --shadow-lg: 0 10px 30px rgba(36, 27, 47, .14);
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .9rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 760px; }
.page { padding: 1.2rem 1rem 3rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-block; padding: .65rem 1.15rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-gold { background: var(--gold); color: #2c1c04; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(36,27,47,.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(36,27,47,.12); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb857; }
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-row-lg { gap: .6rem; }
.chip {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .84rem; color: var(--ink);
}
a.chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.chip-static { background: #f4eef4; border-color: transparent; color: #5b3d55; }

.badge-featured {
  position: absolute; top: .7rem; left: .7rem; background: var(--gold); color: #2c1c04;
  font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.rating { color: var(--gold-dark); font-weight: 700; white-space: nowrap; }
.rating small { color: var(--muted); font-weight: 400; }
.rating-lg { font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink);
  letter-spacing: .01em;
}
.site-nav { display: none; align-items: center; gap: 1.3rem; }
.site-nav > a, .nav-drop > a { color: var(--ink); font-weight: 600; font-size: .93rem; }
.nav-cta { margin-left: .4rem; }
.nav-drop { position: relative; }
.drop-panel {
  display: none; position: absolute; top: 100%; left: -0.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: .5rem 0; min-width: 200px;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { display: block; }
.drop-panel a { display: block; padding: .45rem 1rem; color: var(--ink); font-size: .9rem; }
.drop-panel a:hover { background: var(--bg); text-decoration: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0;
  padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
body.nav-open .site-nav {
  display: flex; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column;
  align-items: flex-start; background: #fff; border-bottom: 1px solid var(--line);
  padding: 1rem; gap: .9rem; box-shadow: var(--shadow-lg);
}
body.nav-open .drop-panel { display: block; position: static; border: 0; box-shadow: none; padding: .2rem 0 0 .8rem; }

@media (min-width: 860px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(140deg, #3b1230 0%, var(--primary-dark) 55%, #a2436f 100%);
  color: #fff; padding: 3rem 0 2.6rem;
}
.hero-inner { text-align: center; }
.hero h1 { color: #fff; margin-bottom: .8rem; }
.hero-sub { color: #f2dfe9; max-width: 720px; margin: 0 auto 1.6rem; font-size: 1.02rem; }
.hero-host { background: linear-gradient(140deg, #1e2a1b 0%, #2f5230 55%, #4c7a44 100%); }
.hero-host .hero-sub { color: #ddebd8; }

.hero-search {
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; background: #fff;
  border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-lg);
  max-width: 900px; margin: 0 auto; text-align: left;
}
.hero-search label { font-size: .78rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: .25rem; }
.hero-search select, .hero-search input {
  border: 1px solid var(--line); border-radius: 8px; padding: .55rem .6rem; font-size: .95rem;
  font-family: var(--font-body); color: var(--ink); background: #fff; width: 100%;
}
.hero-search .btn { grid-column: 1 / -1; margin-top: .2rem; }
@media (min-width: 860px) {
  .hero-search { grid-template-columns: 1.3fr 1.2fr 1fr .8fr auto; align-items: end; }
  .hero-search .btn { grid-column: auto; }
}

.trust-chips {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem;
  padding: 0; margin: 1.4rem 0 0; font-size: .88rem; color: #f2dfe9;
}

/* ---------- Sections ---------- */
.section { padding: 2.6rem 0; }
.section-alt { background: #f3ece4; }
.section-title { text-align: center; margin-bottom: .4rem; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 1.6rem; }
.section-title + .venue-grid, .section-title + .category-grid, .section-title + .steps-grid { margin-top: 1.5rem; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; color: var(--ink);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.category-card img { width: 100%; height: 110px; object-fit: cover; }
@media (min-width: 860px) { .category-card img { height: 140px; } }
.category-card-body { padding: .7rem .9rem .9rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.category-card-body span { color: var(--muted); font-size: .82rem; white-space: nowrap; }

.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 680px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.05rem;
  margin-bottom: .6rem; font-family: var(--font-display);
}
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.host-band { background: linear-gradient(120deg, #3b1230, var(--primary-dark)); color: #fff; padding: 2.4rem 0; }
.host-band h2 { color: #fff; }
.host-band p { color: #f2dfe9; margin: 0; }
.host-band-inner { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
@media (min-width: 860px) { .host-band-inner { flex-direction: row; align-items: center; justify-content: space-between; } .host-band-inner > div { max-width: 640px; } }

/* ---------- Venue cards ---------- */
.venue-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 680px) { .venue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .venue-grid { grid-template-columns: repeat(3, 1fr); } }

.venue-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.venue-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.venue-card-media { position: relative; display: block; }
.venue-card-media img { width: 100%; height: 175px; object-fit: cover; }
.venue-card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.venue-card-top { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.venue-card-name { margin: 0; font-size: 1.06rem; }
.venue-card-name a { color: var(--ink); }
.venue-card-loc { color: var(--muted); font-size: .85rem; margin: 0; }
.venue-card-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; }
.venue-card-facts .price strong { color: var(--primary); }
.venue-card-actions { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .5rem; flex-wrap: wrap; }
.compare-check { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--muted); cursor: pointer; margin-left: auto; }
.compare-check input { accent-color: var(--primary); }

/* ---------- Listing pages ---------- */
.breadcrumbs { font-size: .82rem; margin: .4rem 0 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--muted); }

.listing-header { max-width: 860px; margin-bottom: 1.4rem; }
.updated-badge {
  display: inline-block; background: var(--ok-bg); color: var(--ok-ink); font-size: .78rem;
  font-weight: 600; padding: .18rem .7rem; border-radius: 999px; margin: .2rem 0 .8rem;
}
.listing-intro { color: #4a4152; font-size: 1.0rem; }

.filter-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; background: var(--card);
  padding: .9rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.4rem;
}
@media (min-width: 1000px) { .filter-bar { grid-template-columns: repeat(5, 1fr) auto; align-items: center; } }
.filter-bar select, .filter-bar input {
  border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; font-size: .9rem;
  font-family: var(--font-body); background: #fff; color: var(--ink); width: 100%;
}
.result-count { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }

.interlink-block { margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.interlink-block h2 { font-size: 1.15rem; margin-bottom: .8rem; }

.empty-state { text-align: center; padding: 3rem 1rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-section { margin: 2.6rem auto 0; max-width: 860px; }
.faq-item {
  background: var(--card); border-radius: 10px; box-shadow: var(--shadow);
  margin-bottom: .6rem; padding: 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: .85rem 1rem; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1rem; color: var(--primary); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1rem .9rem; margin: 0; color: #4a4152; }

/* ---------- Venue detail ---------- */
.venue-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.1rem; }
@media (min-width: 860px) { .venue-header { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.venue-header-loc { color: var(--muted); margin: 0 0 .5rem; }
.venue-header-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.meta-chip { font-size: .88rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; }
.meta-updated { background: var(--ok-bg); color: var(--ok-ink); border-color: transparent; }
.venue-header-price { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
@media (min-width: 860px) { .venue-header-price { align-items: flex-end; text-align: right; } }
.price-big { font-size: 1.35rem; font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.price-sub { color: var(--muted); font-size: .88rem; }

.venue-hero-media { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.venue-hero-media img { width: 100%; height: clamp(200px, 38vw, 420px); object-fit: cover; }

.venue-layout { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
@media (min-width: 1000px) { .venue-layout { grid-template-columns: 1.7fr 1fr; align-items: start; } .venue-aside { position: sticky; top: 80px; } }

.venue-section { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.3rem 1.1rem; margin-bottom: 1.1rem; }
.venue-section h2 { font-size: 1.25rem; }

.plan-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; margin-top: .8rem; }
@media (min-width: 680px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
.plan-card { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.plan-card-custom { background: #faf4fa; border-style: dashed; }
.plan-price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--primary); margin: .1rem 0 .3rem; }
.plan-price span { font-size: .85rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.plan-note { color: var(--muted); font-size: .88rem; margin: 0 0 .5rem; }
.fine-print { color: var(--muted); font-size: .8rem; margin: .9rem 0 0; }

.amenity-grid { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem .8rem; font-size: .92rem; }
@media (min-width: 680px) { .amenity-grid { grid-template-columns: repeat(3, 1fr); } }

.policy-list { margin: .6rem 0 0; }
.policy-row { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.policy-row:last-child { border-bottom: 0; }
@media (min-width: 680px) { .policy-row { grid-template-columns: 160px 1fr; gap: 1rem; } }
.policy-row dt { font-weight: 700; font-size: .9rem; }
.policy-row dd { margin: 0; color: #4a4152; font-size: .92rem; }

/* ---------- Enquiry form ---------- */
.enquiry-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.3rem; }
.enquiry-title { font-size: 1.2rem; }
.enquiry-sub { color: var(--muted); font-size: .88rem; }
.enquiry-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: .7rem; }
.enquiry-form .optional { font-weight: 400; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: .55rem .6rem; font-size: .95rem;
  font-family: var(--font-body); color: var(--ink); background: #fff; width: 100%;
}
.enquiry-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.form-msg { border-radius: 8px; padding: .6rem .8rem; font-size: .9rem; margin: .6rem 0 0; }
.form-msg-ok, .form-msg[data-state="ok"] { background: var(--ok-bg); color: var(--ok-ink); }
.form-msg-err, .form-msg[data-state="err"] { background: var(--err-bg); color: var(--err-ink); }
.form-note { color: var(--muted); font-size: .78rem; margin: .6rem 0 0; }
.contact-ctas { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.contact-ctas .btn { flex: 1; min-width: 150px; }

/* ---------- Earnings (host page) ---------- */
.earnings-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 860px) { .earnings-grid { grid-template-columns: repeat(3, 1fr); } }
.earning-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; text-align: center; }

/* ---------- Prose (static pages) ---------- */
.prose { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.prose h1 { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; color: #4a4152; }
.prose li { margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #241b2f; color: #cfc4d6; padding: 2.6rem 0 1.4rem; margin-top: 3rem; }
.site-footer a { color: #e6dcec; display: block; font-size: .88rem; padding: .18rem 0; }
.site-footer .brand-name { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: .88rem; margin-top: .7rem; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: .5rem; }
.footer-popular { border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.8rem; padding-top: 1.4rem; }
.footer-popular h3 { color: #fff; font-size: .95rem; }
.footer-popular .chip { background: rgba(255,255,255,.08); border-color: transparent; color: #e6dcec; display: inline-block; padding: .3rem .8rem; }
.footer-popular .chip:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 1.8rem; padding-top: 1.2rem; font-size: .82rem;
}
.footer-bottom a { display: inline; }

/* ---------- Compare tray & modal ---------- */
.compare-tray {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); color: #fff;
  padding: .6rem 0; box-shadow: 0 -4px 18px rgba(0,0,0,.25);
}
.compare-tray-inner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.compare-chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.compare-chips .chip { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.compare-chips .chip button { background: none; border: 0; color: #f0c987; cursor: pointer; margin-left: .3rem; font-weight: 700; }
.compare-actions { display: flex; gap: .5rem; }

.compare-overlay {
  position: fixed; inset: 0; z-index: 70; background: rgba(20, 12, 26, .6);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
/* Author display rules beat the UA's [hidden] { display: none } — restore it explicitly */
.compare-overlay[hidden], .compare-tray[hidden] { display: none; }
.compare-modal {
  background: #fff; border-radius: var(--radius); max-width: 900px; width: 100%;
  max-height: 85vh; overflow: auto; padding: 1.2rem;
}
.compare-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.compare-table-wrap { overflow-x: auto; }
.compare-table-wrap table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.compare-table-wrap th, .compare-table-wrap td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.compare-table-wrap th { background: var(--bg); font-family: var(--font-body); }
.compare-table-wrap td strong a { color: var(--primary); }

body.has-compare { padding-bottom: 64px; }
