@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Nunito+Sans:wght@400;600;700;800&display=swap");

:root {
  --pine-950: #07142d;
  --pine-900: #0a1e43;
  --pine-800: #102c61;
  --pine-700: #1d4a8f;
  --tea-300: #b7c8ec;
  --sand-100: #f8f2df;
  --gold-400: #d39d2f;
  --gold-300: #f0c75e;
  --mist: rgba(11, 31, 68, 0.9);
  --line: rgba(240, 199, 94, 0.35);
  --ok-bg: rgba(22, 62, 120, 0.5);
  --warn-bg: rgba(112, 72, 18, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--sand-100);
  font-family: "Nunito Sans", sans-serif;
  background:
    radial-gradient(circle at 8% -10%, rgba(240, 199, 94, 0.34), transparent 34%),
    radial-gradient(circle at 96% 10%, rgba(29, 74, 143, 0.42), transparent 28%),
    linear-gradient(155deg, var(--pine-950), var(--pine-900) 52%, var(--pine-800));
  position: relative;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
}

.orb-a {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  background: radial-gradient(circle, rgba(240, 199, 94, 0.34), rgba(240, 199, 94, 0));
  top: -10%;
  left: -8%;
}

.orb-b {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  background: radial-gradient(circle, rgba(53, 113, 207, 0.62), rgba(53, 113, 207, 0));
  right: -8%;
  bottom: -12%;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
  background-image: linear-gradient(transparent 96%, rgba(240, 199, 94, 0.12) 97%);
  background-size: 100% 4px;
}

.page-shell {
  width: min(1120px, 93vw);
  margin: 1.4rem auto 2.8rem;
  position: relative;
  z-index: 1;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-nav {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.brand-mark {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-400);
}

.brand-copy {
  margin: 0.2rem 0 0;
  color: var(--tea-300);
  font-size: 0.86rem;
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--sand-100);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 31, 68, 0.72);
  transition: transform 150ms ease, background 150ms ease;
}

.ghost-link:hover {
  transform: translateY(-1px);
  background: rgba(17, 45, 95, 0.86);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.3rem 1.25rem;
  background:
    linear-gradient(150deg, rgba(10, 30, 67, 0.94), rgba(7, 20, 45, 0.94)),
    rgba(8, 24, 54, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 45px rgba(3, 10, 24, 0.42);
  animation: reveal 580ms cubic-bezier(0.2, 0.65, 0.25, 1) both;
}

.hero-story {
  position: relative;
  overflow: hidden;
}

.hero-story::after {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(213, 163, 66, 0.24), transparent 64%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffdc84;
  border: 1px solid rgba(240, 199, 94, 0.46);
  border-radius: 999px;
  padding: 0.36rem 0.74rem;
  background: rgba(7, 20, 45, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
}

h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.03;
  max-width: 15ch;
}

.lead {
  color: var(--tea-300);
  margin: 0.8rem 0 0;
  max-width: 62ch;
  line-height: 1.6;
}

.tag-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-row span {
  display: inline-block;
  padding: 0.33rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--sand-100);
  font-size: 0.8rem;
  background: rgba(16, 44, 97, 0.5);
}

.stat-row {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat-row div {
  border: 1px solid rgba(240, 199, 94, 0.24);
  border-radius: 14px;
  padding: 0.64rem 0.72rem;
  background: rgba(8, 25, 55, 0.72);
}

.stat-value {
  margin: 0;
  font-weight: 800;
  font-size: 1.04rem;
  color: #ffcf66;
}

.stat-label {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--tea-300);
}

.booking h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.helper {
  margin: 0.44rem 0 1rem;
  color: var(--tea-300);
  font-size: 0.92rem;
}

.validation-msg {
  margin: 0;
  color: #ffd378;
  font-size: 0.86rem;
  min-height: 1.1rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: #cfdbf6;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 20, 45, 0.82);
  color: var(--sand-100);
  border-radius: 12px;
  padding: 0.62rem 0.68rem;
  font-size: 0.95rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--gold-300);
  box-shadow: 0 0 0 3px rgba(210, 172, 104, 0.14);
}

.inline-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guest-breakdown {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

button {
  border: 0;
  border-radius: 12px;
  padding: 0.76rem 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #102750;
  background: linear-gradient(120deg, #ffcf66, #cf9523);
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  filter: none;
}

.feedback {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.84rem;
}

.feedback h3 {
  margin-bottom: 0.3rem;
  font-size: 1.26rem;
}

.feedback p {
  margin: 0.25rem 0;
  color: var(--sand-100);
}

.feedback ul {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--sand-100);
}

.feedback.error {
  background: var(--warn-bg);
}

.feedback.success {
  background: var(--ok-bg);
}

.estimate {
  margin-top: 0.45rem;
  color: #ffd378;
  font-weight: 800;
  font-size: 1.12rem;
}

.feature-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.feature p {
  margin: 0;
  color: var(--tea-300);
  line-height: 1.5;
}

.shop-layout {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: start;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card h3 {
  font-size: 1.55rem;
  margin-top: 0.2rem;
}

.product-media {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(240, 199, 94, 0.22);
  background: rgba(10, 30, 67, 0.62);
  margin-bottom: 0.7rem;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-fallback {
  color: #ffcf66;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-fallback.small {
  font-size: 0.76rem;
}

.product-category {
  margin: 0;
  color: #ffd378;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy {
  margin: 0.45rem 0;
  color: var(--tea-300);
}

.product-price {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  color: #ffcf66;
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tea-300);
}

.product-form {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.65rem;
  align-items: end;
}

.product-form label {
  margin: 0;
}

.cart-panel h2 {
  margin-bottom: 0.7rem;
}

.cart-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(8, 25, 55, 0.6);
  color: var(--sand-100);
  font-weight: 700;
  font-size: 0.86rem;
}

.cart-lines {
  display: grid;
  gap: 0.58rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(240, 199, 94, 0.2);
  border-radius: 10px;
  padding: 0.55rem 0.62rem;
  background: rgba(7, 20, 45, 0.55);
}

.cart-line-name {
  margin: 0;
  color: var(--sand-100);
  font-weight: 700;
}

.cart-line-meta {
  margin: 0.2rem 0 0;
  color: var(--tea-300);
  font-size: 0.8rem;
}

.cart-line-total {
  margin: 0;
  color: #ffcf66;
  font-weight: 800;
  white-space: nowrap;
}

.clear-form {
  margin-top: 0.65rem;
}

.secondary-btn {
  background: transparent;
  color: var(--sand-100);
  border: 1px solid var(--line);
}

.checkout-block {
  margin-top: 0.9rem;
  border-top: 1px dashed rgba(240, 199, 94, 0.3);
  padding-top: 0.85rem;
}

.checkout-summary {
  margin-top: 0.2rem;
  border: 1px solid rgba(240, 199, 94, 0.24);
  border-radius: 12px;
  padding: 0.7rem 0.72rem;
  background: rgba(7, 20, 45, 0.55);
}

.checkout-summary p {
  margin: 0.22rem 0;
}

.room-gallery {
  margin-top: 1rem;
}

.gallery-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  border: 1px solid rgba(240, 199, 94, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 20, 45, 0.62);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card p {
  margin: 0;
  padding: 0.62rem 0.7rem;
  color: var(--tea-300);
  font-size: 0.88rem;
}

.gallery-card.placeholder {
  display: grid;
  align-content: start;
}

.gallery-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #ffcf66;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(10, 30, 67, 0.7), rgba(29, 74, 143, 0.35));
}

.admin-login-card {
  max-width: 540px;
  margin: 1rem auto;
}

.admin-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.admin-card h2 {
  margin-bottom: 0.6rem;
}

.admin-thumb-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-thumb {
  margin: 0;
  border: 1px solid rgba(240, 199, 94, 0.2);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(7, 20, 45, 0.55);
}

.admin-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.admin-thumb figcaption {
  padding: 0.42rem 0.56rem;
  font-size: 0.8rem;
  color: var(--tea-300);
}

.admin-product-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.85rem;
}

.admin-product-row {
  border: 1px solid rgba(240, 199, 94, 0.22);
  border-radius: 12px;
  background: rgba(7, 20, 45, 0.56);
  padding: 0.75rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1.2fr 160px 1fr;
  align-items: center;
}

.admin-product-meta {
  min-width: 0;
}

.admin-product-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(240, 199, 94, 0.2);
  background: rgba(10, 30, 67, 0.72);
  min-height: 90px;
  display: grid;
  place-items: center;
}

.admin-product-photo img {
  width: 100%;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
  display: block;
}

.admin-photo-form {
  display: grid;
  gap: 0.5rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 31, 68, 0.72);
  color: var(--tea-300);
  font-weight: 700;
  text-decoration: none;
}

.admin-tab:hover {
  color: var(--sand-100);
}

.admin-tab.is-active {
  background: var(--gold-400);
  border-color: var(--gold-300);
  color: var(--pine-950);
}

.tab-count {
  min-width: 1.5rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(7, 20, 45, 0.6);
  color: var(--sand-100);
  font-size: 0.75rem;
  text-align: center;
}

.admin-tab-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-table-wrap {
  margin-top: 0.8rem;
  overflow-x: auto;
  border: 1px solid rgba(240, 199, 94, 0.22);
  border-radius: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(240, 199, 94, 0.14);
}

.admin-table th {
  background: rgba(7, 20, 45, 0.8);
  color: var(--gold-300);
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: rgba(17, 45, 95, 0.5);
}

.status-pill {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--warn-bg);
}

.status-sent {
  background: var(--ok-bg);
}

.docs-grid {
  align-items: start;
}

.option-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.option {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 30, 67, 0.75);
  font-size: 0.84rem;
}

.option input {
  width: auto;
  margin: 0;
}

.notice {
  margin-top: 1rem;
  border: 1px dashed rgba(240, 199, 94, 0.44);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: var(--tea-300);
  background: rgba(9, 25, 56, 0.72);
  line-height: 1.5;
}

.hidden {
  display: none;
}

.confirmation {
  max-width: 780px;
  margin: 1rem auto;
}

.confirmation .ghost-link {
  display: inline-block;
  margin-top: 1rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(1120px, 95vw);
    margin-top: 1rem;
  }

  .top-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .inline-grid,
  .guest-breakdown,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .admin-thumb-grid {
    grid-template-columns: 1fr;
  }
}
