/* ============================================
   The Luxe Première — Premium Stylesheet
   ============================================ */

:root {
  --burgundy: #3b1320;
  --burgundy-deep: #2a0d18;
  --copper: #ac7862;
  --copper-2: #c99985;
  --bg: #faf7f2;
  --text: #2b1b1f;
  --muted: #7a6a6e;
  --line: rgba(172, 120, 98, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(59, 19, 32, 0.35);
  --shadow-md: 0 14px 40px -18px rgba(59, 19, 32, 0.28);
  --shadow-nav: 0 8px 30px -10px rgba(0, 0, 0, 0.35);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 90px;
  background: var(--burgundy);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid rgba(172, 120, 98, 0.2);
}
.nav-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(0.4) saturate(3) hue-rotate(-10deg) brightness(1.1);
  transition: opacity 0.3s ease;
}
.nav-logo:hover img { opacity: 0.85; }

/* ---------- HERO ---------- */
.hero {
  position: relative;          /* NEW — anchor for blurred bg text */
  overflow: hidden;            /* NEW — clip the oversized bg text */
  min-height: calc(100vh - 90px);
  padding: 64px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(172, 120, 98, 0.08), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(59, 19, 32, 0.06), transparent 50%),
    var(--bg);
}

/* NEW — blurred luxury background word */
.hero::before {
  content: "Première";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(120px, 22vw, 360px);
  color: rgba(59, 19, 32, 0.04);
  filter: blur(4px);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.02em;
  z-index: 0;
}

.hero-grid {
  position: relative;          /* NEW — sit above bg text */
  z-index: 1;                  /* NEW */
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 72px;
  align-items: stretch;        /* CHANGED from center — equal column height */
}

/* Left — Hero image */
.hero-left {
  display: flex;
  justify-content: center;
  align-items: stretch;        /* NEW */
}
.hero-image-frame {
  position: relative;
  display: flex;               /* NEW — let img fill height */
  width: 100%;
  max-width: 560px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--burgundy-deep);
  animation: fadeUp 1s ease-out both;
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 153, 133, 0.35);
  pointer-events: none;
  z-index: 2;
  border-radius: 2px;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;                /* CHANGED — fill the frame */
  object-fit: cover;           /* CHANGED — crop, don't stretch */
  display: block;
}

/* Right — Form card */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: stretch;        /* NEW */
}
.form-card {
  display: flex;               /* NEW */
  flex-direction: column;      /* NEW */
  justify-content: center;     /* NEW — center content when card grows tall */
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  animation: fadeUp 1s ease-out 0.15s both;
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(172, 120, 98, 0.18);
  pointer-events: none;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.form-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  color: var(--burgundy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.form-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  font-style: italic;
}

.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.autocomplete { position: relative; }

.field input[type="text"],
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  outline: none;
  transition: all 0.25s ease;
}
.field input[type="text"]:focus,
.field select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(172, 120, 98, 0.15);
  background: #fff;
}
.field input[type="text"]::placeholder { color: #b6a8ab; font-style: italic; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

/* Suggestions dropdown */
.suggest-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 20px 50px -20px rgba(59, 19, 32, 0.3);
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  z-index: 20;
  display: none;
}
.suggest-list.open { display: block; animation: fadeIn 0.18s ease-out; }
.suggest-list li {
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(172, 120, 98, 0.08);
  transition: background 0.15s ease;
}
.suggest-list li:last-child { border-bottom: none; }
.suggest-list li:hover,
.suggest-list li.active {
  background: rgba(172, 120, 98, 0.1);
  color: var(--burgundy);
}
.suggest-list li mark {
  background: transparent;
  color: var(--copper);
  font-weight: 600;
}
.suggest-list li.empty {
  color: var(--muted);
  font-style: italic;
  cursor: default;
}
.suggest-list li.empty:hover { background: transparent; }

.error-msg {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  color: #a8312f;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Confirm button */
.btn-confirm {
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  background: var(--burgundy);
  color: #faf7f2;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--burgundy);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}
.btn-confirm:hover {
  background: var(--copper);
  border-color: var(--copper);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(172, 120, 98, 0.6);
}
.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  margin-top: 24px;
}
.btn-ghost:hover { background: var(--burgundy); color: #faf7f2; border-color: var(--burgundy); }

.form-foot {
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 28px 48px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* ---------- THANK YOU PAGE ---------- */
.thanks-body { background: var(--bg); }
.thanks-wrap {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(172, 120, 98, 0.12), transparent 60%),
    var(--bg);
}
.thanks-card {
  position: relative;
  max-width: 640px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  padding: 72px 56px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.9s ease-out both;
}
.thanks-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(172, 120, 98, 0.25);
  pointer-events: none;
}
.check-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.check { width: 90px; height: 90px; }
.check-circle {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2;
  stroke-dasharray: 252;
  stroke-dashoffset: 252;
  animation: drawCircle 0.9s ease-out forwards;
}
.check-mark {
  fill: none;
  stroke: var(--burgundy);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawMark 0.5s 0.7s ease-out forwards;
}
.thanks-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  color: var(--burgundy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.thanks-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--copper);
  margin-bottom: 18px;
}
.thanks-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  font-style: italic;
}
.thanks-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 36px 0 12px;
  color: var(--copper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.thanks-divider span {
  flex: 0 0 60px;
  height: 1px;
  background: var(--copper);
  opacity: 0.6;
}

/* ---------- MESSAGE PAGE ---------- */
.msg-body { background: var(--bg); }
.msg-wrap {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}
.msg-card {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.msg-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(172, 120, 98, 0.2);
  pointer-events: none;
}
.msg-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.msg-body-text { color: var(--muted); margin-bottom: 28px; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawMark {
  to { stroke-dashoffset: 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;       /* CHANGED — stacked layout pe stretch ki zarurat nahi */
  }
  .hero-left,
  .hero-right { align-items: center; }   /* NEW */
  .hero-image-frame { max-width: 520px; }
  .form-card { max-width: 560px; margin: 0 auto; }
  .nav-inner { padding: 0 32px; }
}

@media (max-width: 640px) {
  .navbar { height: 76px; }
  .nav-inner { padding: 0 20px; gap: 12px; }
  .nav-logo img { height: 42px; }
  .hero { padding: 40px 20px; }
  .hero::before { font-size: clamp(80px, 30vw, 160px); }   /* NEW — chhota bg text mobile pe */
  .hero-grid { gap: 40px; }
  .form-card { padding: 36px 24px; }
  .form-title { font-size: 30px; }
  .thanks-card { padding: 52px 28px; }
  .thanks-title { font-size: 34px; }
  .thanks-divider span { flex-basis: 36px; }
}