:root {
  --ink: #10100f;
  --black: #050505;
  --panel: #181715;
  --cream: #f5f1e8;
  --muted: #c9c0aa;
  --gold: #d6b15c;
  --gold-dark: #7a642d;
  --line: rgba(214, 177, 92, 0.28);
  --danger: #b84a3f;
  --success: #6ea56b;
  color-scheme: dark;
  font-family: Poppins, Inter, Segoe UI, Arial, sans-serif;
}

@font-face {
  font-family: "Silk Serif";
  src: url("/assets/fonts/SilkSerif-RegularItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Silk Serif";
  src: url("/assets/fonts/SilkSerif-SemiBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: Poppins;
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--gold);
  text-decoration: none;
}

.brand span {
  display: block;
  font-family: "Silk Serif", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0 18px rgba(214, 177, 92, 0.28);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
.text-button {
  text-decoration: none;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: clamp(80px, 10vw, 130px) clamp(18px, 5vw, 78px) 56px;
  background:
    radial-gradient(circle at 76% 26%, rgba(214, 177, 92, 0.2), transparent 27%),
    radial-gradient(circle at 18% 72%, rgba(122, 100, 45, 0.24), transparent 30%),
    linear-gradient(135deg, #050505 0%, #0c0b09 50%, #050505 100%);
  perspective: 1200px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  transform: rotateX(0deg) rotateY(-2deg);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% 7% auto auto;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(214, 177, 92, 0.36);
  border-radius: 50%;
  box-shadow:
    0 0 34px rgba(214, 177, 92, 0.26),
    inset 0 0 42px rgba(214, 177, 92, 0.12);
  transform: rotateX(68deg) rotateZ(-18deg);
  animation: ringSpin 12s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: min(55vw, 640px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(214, 177, 92, 0.28), rgba(214, 177, 92, 0.08) 34%, transparent 68%);
  filter: blur(4px);
  transform: translateZ(-60px);
}

.glow-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(214, 177, 92, 0.94);
  animation: glowDrift 7s ease-in-out infinite;
}

.glow-orbit span:nth-child(1) {
  right: 22%;
  top: 24%;
}

.glow-orbit span:nth-child(2) {
  right: 13%;
  top: 48%;
  animation-delay: -2s;
}

.glow-orbit span:nth-child(3) {
  left: 18%;
  bottom: 24%;
  animation-delay: -4s;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: "Silk Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(214, 177, 92, 0.26);
}

h2 {
  margin-bottom: 16px;
  font-family: "Silk Serif", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  text-shadow: 0 0 18px rgba(214, 177, 92, 0.16);
}

h3 {
  color: var(--gold);
  font-size: 18px;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.button-row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.button.ghost {
  background: transparent;
  color: var(--cream);
}

.button.danger {
  background: transparent;
  color: #ffd7d3;
  border-color: rgba(184, 74, 63, 0.7);
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: #111;
}

.info-band div {
  padding: 22px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.info-band div:last-child {
  border-right: 0;
}

.info-band span,
.stats span,
.block-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.info-band strong {
  display: block;
  margin-top: 6px;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 78px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.package-card,
.booking-form,
.login-panel,
.booking-card,
.side-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-card {
  padding: 20px;
}

.package-card ul,
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card li,
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  color: var(--muted);
}

.package-card strong,
.hours-list strong {
  color: var(--cream);
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: #0d0d0c;
}

.hours-note {
  padding: clamp(22px, 4vw, 40px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 20% 20%, rgba(214, 177, 92, 0.18), transparent 42%), var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28), 0 0 26px rgba(214, 177, 92, 0.1);
}

.hours-note strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Silk Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
}

.hours-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.booking-section {
  background: linear-gradient(180deg, #050505, #11100f);
}

.booking-form {
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 18px;
}

.booking-form.compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.form-grid,
.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label,
.field-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(214, 177, 92, 0.38);
  border-radius: 6px;
  background: #0c0c0b;
  color: var(--cream);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

.slot-grid {
  min-height: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}

.slot-grid.empty {
  display: flex;
  align-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 16px;
}

.slot-button {
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: #111;
  cursor: pointer;
}

.slot-button.selected {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 500;
  line-height: 1.5;
}

.check-row input {
  width: 18px;
  margin-top: 2px;
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  margin: 0;
}

.form-message.success {
  color: #b9ecb5;
}

.form-message.error {
  color: #ffd0ca;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 78px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.admin-shell {
  padding: clamp(28px, 5vw, 54px);
}

.login-panel {
  max-width: 520px;
  padding: 28px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.dashboard-top h1,
.login-panel h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats div {
  min-width: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stats strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.bookings-list,
.blocks-list {
  display: grid;
  gap: 14px;
}

.toolbar {
  margin-bottom: 14px;
}

.toolbar select {
  max-width: 220px;
}

.booking-card {
  padding: 18px;
}

.booking-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.booking-head h2 {
  margin: 8px 0 6px;
  font-family: inherit;
  font-size: 24px;
}

.booking-head p,
.booking-notes {
  color: var(--muted);
}

.status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(214, 177, 92, 0.18);
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status.confirmed,
.status.completed {
  background: rgba(110, 165, 107, 0.18);
  color: #b9ecb5;
}

.status.declined,
.status.cancelled {
  background: rgba(184, 74, 63, 0.18);
  color: #ffd0ca;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.contact-row a {
  color: var(--gold);
}

.side-panel {
  padding: 18px;
  position: sticky;
  top: 90px;
}

.side-panel h2 {
  font-family: inherit;
  font-size: 22px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.block-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .package-grid,
  .info-band,
  .split-section,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .info-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header,
  .dashboard-top {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 72vh;
    background:
      radial-gradient(circle at 80% 18%, rgba(214, 177, 92, 0.2), transparent 34%),
      linear-gradient(145deg, #050505, #100f0d 64%, #050505);
  }

  .form-grid,
  .admin-fields,
  .stats {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: rotateX(0deg) rotateY(-2deg) translateY(0);
  }
  50% {
    transform: rotateX(1deg) rotateY(2deg) translateY(-8px);
  }
}

@keyframes ringSpin {
  from {
    transform: rotateX(68deg) rotateZ(-18deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(342deg);
  }
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.78;
  }
  50% {
    transform: translate3d(18px, -18px, 40px) scale(1.35);
    opacity: 1;
  }
}

.admin-title-row,
.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.admin-title-row h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 76px);
}

.admin-tabs {
  display: flex;
  width: 100%;
  gap: 7px;
  padding: 18px 0 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.admin-tabs button {
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
  color: var(--muted);
  background: #0c0c0b;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.admin-tabs button.active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.metric-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric,
.admin-panel,
.admin-section,
.employee-card {
  padding: 18px;
  background: linear-gradient(145deg, #191815, #11110f);
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
}

.metric strong,
.admin-panel > strong {
  display: block;
  color: var(--gold);
  font-size: 25px;
}

.metric span,
.admin-panel small,
.list-row small,
.table-row small,
.employee-card p,
.staff-analysis small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.admin-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.admin-section {
  margin-bottom: 12px;
}

.admin-section h2,
.view-heading h2 {
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-size: 22px;
}

.list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
}

.list-row:first-child {
  border-top: 0;
}

.filters,
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters input {
  min-width: 260px;
}

.inline-form input,
.inline-form select {
  width: auto;
  min-width: 145px;
  flex: 1;
}

.calendar-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 8px;
  overflow-x: auto;
}

.calendar-day {
  min-height: 105px;
  padding: 12px;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 7px;
}

.calendar-day span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.data-table {
  overflow-x: auto;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  padding: 13px;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employee-card h3 {
  color: var(--cream);
  font-size: 20px;
}

.employee-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.employee-stats span {
  padding: 10px;
  background: #0d0d0c;
  border-radius: 6px;
  color: var(--gold);
  font-weight: 700;
}

.employee-stats small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.staff-analysis {
  padding: 12px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
}

.progress {
  height: 8px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #070706;
}

.progress span {
  display: block;
  height: 100%;
  max-width: 100%;
  background: var(--gold);
}

.staff-analysis em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.bar-chart {
  height: 230px;
  display: grid;
  grid-template-columns: repeat(12, minmax(42px, 1fr));
  gap: 8px;
  align-items: end;
}

.bar-chart > div {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  text-align: center;
}

.bar-chart span {
  min-height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(214, 177, 92, 0.28);
}

.bar-chart small,
.bar-chart strong {
  margin-top: 5px;
  font-size: 10px;
}

.admin-dialog {
  width: min(520px, calc(100% - 28px));
  color: var(--cream);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.dialog-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dialog-title h2 {
  font-size: 30px;
}

.danger-text {
  color: #ff9186;
}

@media (max-width: 980px) {
  .metric-grid,
  .insight-grid,
  .employee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-title-row,
  .view-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .insight-grid,
  .admin-two-column,
  .employee-grid {
    grid-template-columns: 1fr;
  }
}
