:root{
  --bg:#050607;
  --panel:#0b0e10;
  --panel2:#0f1418;
  --text:#e9f2f2;
  --muted:#9fb3b3;
  --teal:#0fd0c9;
  --teal2:#08a9a3;
  --border:rgba(15,208,201,.22);
  --shadow:0 10px 30px rgba(0,0,0,.45);
  --radius:18px;
  --wrap:1100px;

  /* Helps native controls render for dark UI */
  color-scheme: dark;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:radial-gradient(1200px 500px at 60% 0%, rgba(15,208,201,.10), transparent 60%), var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height:1.45;
}
a{color:var(--teal); text-decoration:none}
a:hover{color:var(--teal2)}
img{max-width:100%; display:block}

.wrap,.container{max-width:1200px; margin:0 auto; padding:0 20px}

/* ===== Topbar / Header ===== */
.topbar{
  position:sticky; top:0; z-index:50;
  height: 120px;
  background:rgba(5,6,7,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .wrap{
  height:100%;
  display:grid;
  grid-template-columns: 560px 1fr;
  align-items:center;
  gap:24px;
}
.topbar .brand{
  height:100%;
  display:flex;
  align-items:center;
}
.topbar .logo{
  height:100%;
  width:100%;
  max-height: 96px;
  object-fit: contain;
}
.nav{
  justify-self:end;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.nav a{
  color:rgba(233,242,242,.82);
  padding:8px 10px;
  border-radius:999px;
}
.nav a:hover{
  color:var(--text);
  background:rgba(15,208,201,.10);
  outline:1px solid rgba(15,208,201,.18);
}
@media (max-width: 900px){
  .topbar{ height: 96px; }
  .topbar .wrap{ grid-template-columns: 260px 1fr; gap:14px; }
  .topbar .logo{ max-height: 78px; }
  .nav{ gap:12px; }
}

/* ===== Page wrapper ===== */
.page{padding:34px 0 60px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  font-weight:650;
}
.btn:hover{background:rgba(255,255,255,.10)}
.btn.primary, a.btn.primary{
  color:#071014;
  background:#17e3d5;
  border:1px solid rgba(23,227,213,.35);
}
.btn.primary:hover, a.btn.primary:hover{filter:brightness(1.05)}

/* ===== Typography ===== */
.h1{font-size:46px; line-height:1.05; margin:10px 0 10px; font-weight:900}
.h2{font-size:22px; margin:0 0 10px; font-weight:800}
.kicker{color:rgba(15,208,201,.9); font-weight:800; letter-spacing:.12em; font-size:12px}
.sub{color:rgba(233,242,242,.84); max-width:620px}
.small{color:rgba(233,242,242,.78); font-size:14px}
.hr{height:1px; background:rgba(255,255,255,.08); margin:16px 0}

/* ===== Hero ===== */
.hero{padding:10px 0 26px}
.heroCard{
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(15,208,201,.06), rgba(255,255,255,.03));
  border:1px solid rgba(15,208,201,.18);
  box-shadow:var(--shadow);
}
.heroInner{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap:18px;
  padding:22px;
}
@media (max-width: 900px){
  .heroInner{grid-template-columns:1fr}
  .h1{font-size:38px}
}

/* ===== Badges ===== */
.badges{display:flex; gap:10px; flex-wrap:wrap}
.badge{
  padding:8px 10px;
  border-radius:999px;
  background:rgba(15,208,201,.08);
  border:1px solid rgba(15,208,201,.18);
  color:rgba(233,242,242,.86);
  font-size:13px;
}
.badge b{color:var(--text)}

/* ===== Cards / Sections ===== */
.card{
  border-radius:16px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.10);
}
.cardPad{padding:16px}
.ctaRow{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

.section{margin-top:24px}
.items{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 900px){ .items{grid-template-columns:repeat(2, minmax(0,1fr))} }
@media (max-width: 520px){ .items{grid-template-columns:1fr} }

.item{
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.30);
}
.item:hover{
  border-color:rgba(15,208,201,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.42);
}
.thumb{
  aspect-ratio: 4 / 3;
  background:linear-gradient(135deg, rgba(15,208,201,.12), rgba(255,255,255,.04));
  display:flex; align-items:center; justify-content:center;
}
.thumb img{width:100%; height:100%; object-fit:cover}
.meta{padding:12px}
.title{font-weight:850; margin-bottom:8px}
.tags{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.tag{
  font-size:12px;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(233,242,242,.80);
}
.priceRow{display:flex; gap:8px; align-items:baseline; color:rgba(233,242,242,.80)}
.priceRow b{color:var(--text)}

/* ===== Forms (single clean set) ===== */
form{margin:0}
.formRow{display:grid; gap:14px}
.formRow.two{grid-template-columns:1fr 1fr}
@media (max-width: 720px){ .formRow.two{grid-template-columns:1fr} }

label{display:block; margin:0 0 6px; font-weight:700; color:rgba(233,242,242,.85)}

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="tel"], select, textarea{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.35);
  color:var(--text);
  outline:none;
  font-size:15px;
  line-height:1.2;
}
textarea{min-height:120px; resize:vertical}

input:focus, select:focus, textarea:focus{
  border-color:rgba(15,208,201,.45);
  box-shadow:0 0 0 3px rgba(15,208,201,.14);
}

/* Date picker icon visibility (Chrome/Edge) */
/*input[type="date"]::-webkit-calendar-picker-indicator{
//  filter: invert(1) brightness(1.2);
//  opacity: .9;
//  cursor:pointer;
//}
input[type="date"]::-webkit-calendar-picker-indicator:hover{opacity:1}

/* Make number steppers visible on dark UI */
input[type="number"]{
  color-scheme: dark;
}

/* Notices */
.notice{
  border-radius:14px;
  padding:12px 12px;
  border:1px solid rgba(15,208,201,.20);
  background:rgba(15,208,201,.08);
  margin:10px 0;
}
.notice.warn{border-color:rgba(255,180,0,.25); background:rgba(255,180,0,.08)}
.notice.ok{border-color:rgba(15,208,201,.25); background:rgba(15,208,201,.08)}
kbd{background:rgba(255,255,255,.08); padding:2px 6px; border-radius:8px; border:1px solid rgba(255,255,255,.10)}

/* ===== Footer ===== */
.footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:18px 0;
  color:rgba(233,242,242,.62);
  font-size:13px;
}
.footer .wrap{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

/* =========================
   BOOKING FORM – CLEAN BASE
   ========================= */

.formRow,
.bookingForm {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.formRow label,
.bookingForm label {
  font-size: 13px;
  font-weight: 600;
  color: #b7dede;
}

/* Inputs */
.bookingForm input,
.bookingForm select,
.formRow input,
.formRow select {
  height: 44px;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #e9f2f2;
  outline: none;
}

/* Focus */
.bookingForm input:focus,
.bookingForm select:focus {
  border-color: #0fd0c9;
  box-shadow: 0 0 0 2px rgba(15,208,201,.25);
}

/* =========================
   DATE PICKER FIX (EDGE)
   ========================= */

/* Restore native calendar icon */
input[type="date"] {
  color-scheme: dark;
}

/* Ensure icon is visible */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.85;
  cursor: pointer;
}

/* =========================
   QUANTITY INPUT FIX
   ========================= */

/* Re-enable native spinners */
input[type="number"] {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

/* =========================
   ESTIMATE PANEL
   ========================= */

.estimateBox {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15,208,201,0.08);
  border: 1px solid rgba(15,208,201,0.25);
}

.estimateBox strong {
  color: #0fd0c9;
  font-size: 16px;
}

/* Submit button spacing */
.bookingForm .btn {
  margin-top: 12px;
}

input[type="date"]{
  color-scheme: dark;
  background:#0b0e10;
  color:#fff;
  padding:10px;
  border-radius:10px;
}
.itemLayout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:32px;
  margin-top:24px;
}
.itemImage img{
  width:100%;
  border-radius:16px;
  display:block;
}
.itemBooking{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:24px;
}
.formGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.formGrid label{
  display:block;
  font-size:13px;
  margin-bottom:6px;
}
.formGrid input{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:#0b0e10;
  color:#fff;
}
.estimate{
  margin:16px 0;
  font-size:16px;
}
@media (max-width: 900px){
  .itemLayout{ grid-template-columns:1fr; }
}
/* Admin utility */
.adminBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.adminSearch{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.adminSearch input{
  min-width: 260px;
}

/* Tables */
.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:10px 8px; border-bottom:1px solid rgba(255,255,255,.08); text-align:left}
.rowItem{display:flex; gap:10px; align-items:center}
.rowThumb{width:52px; height:52px; border-radius:10px; overflow:hidden; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10)}
.rowThumb img{width:100%; height:100%; object-fit:cover}

/* Professional form sizing */
.formGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 820px){
  .formGrid{grid-template-columns:1fr}
}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  color: rgba(233,242,242,.92);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(15,208,201,.35);
  box-shadow: 0 0 0 3px rgba(15,208,201,.12);
}
.muted{opacity:.72}

/* Image manager */
.imgGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}
@media (max-width: 900px){ .imgGrid{grid-template-columns:repeat(2, minmax(0,1fr))} }
.imgTile{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  display:block;
}
.imgTile img{width:100%; height:160px; object-fit:cover; display:block}
.imgTileBar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-top:1px solid rgba(255,255,255,.08);
}
