/* Sachu's Resort — Guest Check-In
   Brand: coastal Alibaug resort. Deep teal-navy (from the logo's dark display
   context) + warm sand + a muted gold accent — no stock cream/terracotta combo.
   Headings use a confident geometric sans (echoes the clean caps in the resort
   badge logo); body stays in a quiet, readable grotesque. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy-950: #33130d;
  --navy-800: #5c2818;
  --teal-700: #813822;
  --sand-50:  #f7f6ee;
  --sand-100: #eee8d6;
  --gold-500: #c69a4e;
  --gold-600: #a97f39;
  --ink:   #241a16;
  --muted: #6b5c54;
  --line:  #e5dcc8;
  --error: #b5433f;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, .brand-word {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--navy-950);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background:
    radial-gradient(120% 160% at 15% -10%, rgba(198,154,78,0.22), transparent 55%),
    linear-gradient(155deg, var(--navy-800) 0%, var(--teal-700) 100%);
  padding: 36px 0 46px;
  text-align: center;
}
.site-header .logo {
  height: 56px;
  width: auto;
}
.site-header .tagline {
  margin: 14px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.wave-divider {
  display: block;
  width: 100%;
  height: 28px;
  margin-top: -1px;
}

.site-footer {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 12px 0 56px;
  line-height: 1.7;
}
.site-footer a { color: var(--teal-700); }

main.wrap { padding-top: 36px; padding-bottom: 48px; }

.page-title {
  font-size: 1.85rem;
  margin: 0 0 6px;
}
.page-subtitle {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 0.98rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(10, 33, 29, 0.03);
}

.section-title {
  font-size: 1.1rem;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-title .hindi {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--gold-600);
  font-size: 0.85rem;
}
.section-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: -8px 0 18px;
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--navy-950);
}
.field .hint {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}
.required::after {
  content: " *";
  color: var(--error);
}

input[type=text],
input[type=tel],
input[type=date],
input[type=number],
input[type=password],
textarea,
select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 154, 78, 0.28);
  border-color: var(--gold-500);
}
textarea { resize: vertical; min-height: 70px; }

input[type=file] {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--sand-100);
  font-size: 0.92rem;
}

.field-error {
  display: block;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 4px;
}
.validation-summary {
  background: #fbecea;
  border: 1px solid var(--error);
  color: var(--error);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--sand-100);
  border-radius: 8px;
  padding: 14px 16px;
}
.check-row input[type=checkbox] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy-800);
  flex-shrink: 0;
}
.check-row label {
  font-weight: 500;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.policy-block {
  border-left: 3px solid var(--gold-500);
  padding: 2px 0 4px 16px;
  margin-bottom: 14px;
}
.policy-block h3 { color: var(--navy-950); }
.policy-block p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--ink);
}
.policy-block ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 0.92rem;
}

.companion-block {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
  background: var(--sand-50);
}
.companion-block h4, .companion-heading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--teal-700);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-primary {
  background: var(--navy-950);
  color: var(--sand-50);
  width: 100%;
}
.btn-primary:hover { background: var(--teal-700); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary {
  background: transparent;
  color: var(--navy-800);
  border: 1px solid var(--line);
  font-weight: 600;
}
.btn-secondary:hover { border-color: var(--gold-500); color: var(--gold-600); }
.btn-danger-text {
  background: none;
  border: none;
  color: var(--error);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  position: absolute;
  top: 18px;
  right: 18px;
}

.success-box {
  text-align: center;
  padding: 52px 24px;
}
.success-box .check {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.7rem;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data-table th, table.data-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
table.data-table th {
  background: var(--sand-100);
  color: var(--navy-950);
}

.topbar-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Feature strip ---------- */
.feature-strip {
  background: var(--navy-800);
  border-bottom: 1px solid rgba(198,154,78,0.25);
}
.feature-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 14px 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sand-100);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--gold-500);
  flex-shrink: 0;
}

/* ---------- Section icon badges ---------- */
.section-title {
  align-items: center;
}
.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand-100);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-icon svg {
  width: 18px;
  height: 18px;
  color: var(--navy-800);
}

/* ---------- Premium card + button polish ---------- */
.card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(10, 33, 29, 0.07);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(169, 127, 57, 0.35);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  box-shadow: 0 8px 22px rgba(169, 127, 57, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(169,127,57,0.35); }

.success-box .check {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 22px rgba(169, 127, 57, 0.35);
  animation: pop-in 0.4s ease;
}
@keyframes pop-in {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .card { padding: 20px; }
  .page-title { font-size: 1.5rem; }
  .site-header { padding: 28px 0 36px; }
  .site-header .logo { height: 46px; }
  .feature-strip-inner { gap: 16px 22px; padding: 12px 16px; }
  .feature-item { font-size: 0.76rem; }
  .section-icon { width: 32px; height: 32px; }
  .section-icon svg { width: 16px; height: 16px; }
}
