
/*
Theme Name: JEW9K Bangkok Gems Coming Soon
Theme URI: https://example.com/
Author: JEW9K
Description: Elegant, editable WordPress coming-soon landing page for JEW9K and the 74th Bangkok Gems & Jewelry Fair.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: jew9k-bangkok-gems
*/

:root {
  --blush: #f8dfe5;
  --blush-deep: #edc1cc;
  --rose: #9b5367;
  --gold: #b88a3b;
  --gold-light: #d8b56b;
  --ink: #30252a;
  --white: #fffafc;
  --shadow: 0 20px 60px rgba(91, 47, 61, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--blush);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.site-wrap { overflow: hidden; min-height: 100vh; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 10% 12%, rgba(255,255,255,.8), transparent 27%),
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.65), transparent 24%),
    linear-gradient(135deg, #f9e5e9 0%, #f6d7df 52%, #edc4cf 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: auto -10% -20% -10%; height: 45%;
  background: rgba(255,255,255,.2);
  border-radius: 50% 50% 0 0;
  filter: blur(2px);
}
.container { width: min(1180px, 92%); margin: 0 auto; position: relative; z-index: 2; }

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  padding: 24px 0;
}
.brand img { width: min(250px, 45vw); height: auto; display: block; }

.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center;
  padding: 120px 0 80px;
}
.eyebrow {
  color: var(--rose); text-transform: uppercase; letter-spacing: .26em;
  font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 82px); line-height: .98; font-weight: 400;
  margin: 0 0 22px; color: #4a333a;
}
h1 span { color: var(--gold); font-style: italic; }
.lead { max-width: 620px; font-size: 19px; color: #624b53; margin: 0 0 28px; }

.fair-card {
  background: rgba(255,250,252,.72);
  border: 1px solid rgba(184,138,59,.42);
  border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.fair-card h2 {
  font-family: Georgia, serif; font-weight: 400; margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 36px);
}
.date { font-weight: 700; color: var(--rose); font-size: 18px; margin: 0 0 12px; }
.meta { display: grid; gap: 8px; color: #5d474f; }
.meta strong { color: var(--ink); }

.countdown-wrap { text-align: center; }
.countdown-label {
  text-transform: uppercase; letter-spacing: .22em; color: var(--rose);
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
}
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.time-box {
  background: rgba(255,255,255,.74); border: 1px solid rgba(184,138,59,.5);
  border-radius: 18px; padding: 22px 10px; box-shadow: 0 12px 35px rgba(91,47,61,.1);
}
.time-box .number {
  display: block; font-family: Georgia, serif; font-size: clamp(32px, 5vw, 55px);
  line-height: 1; color: #5a3943;
}
.time-box .unit {
  display: block; margin-top: 8px; font-size: 10px; text-transform: uppercase;
  letter-spacing: .18em; color: var(--rose);
}
.cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
  border: 1px solid var(--gold); transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91,47,61,.13); }
.button.primary { background: var(--gold); color: white; }
.button.secondary { background: rgba(255,255,255,.5); color: var(--ink); }

.event-section { padding: 90px 0; background: var(--white); }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.event-image {
  width: 100%; border-radius: 26px; display: block; box-shadow: var(--shadow);
  aspect-ratio: 16/10; object-fit: cover;
}
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
h2.section-title {
  font: 400 clamp(34px, 4vw, 54px)/1.05 Georgia, serif; margin: 10px 0 18px;
}
.booth {
  display: inline-block; margin-top: 14px; padding: 14px 20px;
  border-radius: 14px; background: #f7e2e7; border: 1px solid #e3b6c2;
  font-weight: 800; color: #633e4a;
}

.footer {
  background: #3d2c32; color: #fbecef; padding: 30px 0;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer small { opacity: .8; }
.footer a { color: #f1c982; }

@media (max-width: 820px) {
  .hero-grid, .event-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-grid { padding-top: 145px; }
  .countdown { max-width: 650px; margin: auto; }
}
@media (max-width: 520px) {
  .countdown { gap: 7px; }
  .time-box { padding: 17px 6px; border-radius: 13px; }
  .time-box .number { font-size: 30px; }
  .time-box .unit { font-size: 8px; letter-spacing: .1em; }
  .footer-inner { flex-direction: column; text-align: center; }
}
