/* =========================
   ModernCuts – FLUID UI.CSS
   Theme: Green • Gold • Black
   Goal: Fluid layout + transparent UI to show background image
   Background: assets/img/bar.jpg
   ========================= */

:root{
  --green:#24d18f;
  --gold:#d6b85a;

  --text:#f3f7f5;
  --muted: rgba(243,247,245,.72);

  /* Transparent surfaces (no “frames”) */
  --surface: rgba(0,0,0,.30);
  --surface2: rgba(0,0,0,.22);

  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius: 18px;
}

/* ===== Reset ===== */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ overflow-x:hidden; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  min-height:100vh;
  color: var(--text);
}
a{ color:inherit; text-decoration:none; }

/* ===== TRUE background image (no blue overlay) ===== */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../img/bar.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
  transform: scale(1.06);
  transform-origin: center;
  will-change: transform;
  animation: bgPan 28s ease-in-out infinite alternate;
}
html::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,0.00); /* 0 = raw image */
}
@keyframes bgPan{
  from { transform: scale(1.06) translate(0,0); }
  to   { transform: scale(1.14) translate(-34px,-20px); }
}

/* ===== FLUID container ===== */
.container{
  width: min(1700px, 100%) !important;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px);
}

/* ================================
   HEADER (Transparent + Modern)
================================ */
.topbar{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(12px);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .4px;
}
.logo{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.brandTitle{ font-size: 1.05rem; font-weight: 950; }
.brandSub{
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  margin-top: 2px;
  font-weight: 750;
}

/* Links */
.navlinks{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
}
.navlinks a{
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.80);
  font-weight: 850;
  background: rgba(0,0,0,.18);
  transition: .15s ease;
}
.navlinks a:hover{
  background: rgba(0,0,0,.28);
  color: #fff;
}
.navlinks a.active{
  background: rgba(29,185,84,.25) !important;
  color: #ffffff !important;
  border: 1px solid rgba(29,185,84,.55);
}

/* Actions */
.navActions{
  display:flex;
  gap: 10px;
  align-items:center;
}

@media (max-width: 560px){
  .navlinks{ display:none; }
}

/* ================================
   Buttons (Gold/Green accents)
================================ */
.btn{
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  color: #ffffff !important;
  background: rgba(0,0,0,.6) !important;
  backdrop-filter: blur(10px);
  transition: .2s ease;
}
.btn:hover{ background: rgba(0,0,0,.35); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn.primary{
  background: linear-gradient(135deg, #1db954, #128a3f) !important;
  color: #04130d !important;
  font-weight: 900;
}

.btn.gold, .btn.good{
  background: linear-gradient(135deg, #f7c948, #e0ad1f) !important;
  color: #1a1204 !important;
  font-weight: 900;
}

.btn.outlineGold{
  background: rgba(0,0,0,.18);
  border: 2px solid rgba(214,184,90,.95);
}

/* ================================
   HERO (Fluid + Centered)
================================ */
.hero{
  padding: 22px 0 10px;
}

.heroCard{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 34px);
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(12px);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.heroInner{
  text-align: center;
}

.kicker{
  display:inline-block;
  color: #1db954 !important;
  font-weight: 950;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

h1{
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 12px;
  color: #ffffff !important;
}

.sub{
  color: rgba(255,255,255,.85) !important;
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 auto;
  font-weight: 700;
}

.heroActions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:center;
  margin-top: 20px;
}

/* Bigger hero buttons */
.heroActions .btn{
  padding: 16px 26px;
  font-size: 1.05rem;
  font-weight: 950;
}

/* ================================
   Panels (transparent)
================================ */
.panel{
  margin-top: 14px;
  padding: clamp(14px, 1.6vw, 20px);
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.panelHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin-bottom: 22px;
}

.panelHead h2{
  font-size: 1.25rem;
  color: #1db954 !important;
  font-weight: 950;
}

.panelHead p{
  color: rgba(255,255,255,.85) !important;
  font-weight: 850;
}

/* ================================
   Inputs (green)
================================ */
.searchRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 6px;
}

.input, select, textarea{
  flex: 1;
  min-width: 240px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid #1db954 !important;
  background: rgba(0,0,0,.65) !important;
  color: #ffffff !important;
  font-weight: 700;
  outline:none;
}

.input::placeholder{
  color: rgba(255,255,255,.65) !important;
}

.input:focus, select:focus, textarea:focus{
  box-shadow: 0 0 0 3px rgba(29,185,84,.35);
}

option{ background:#0a0a0a; color:#fff; }

/* ================================
   Cards Grid (fluid)
================================ */
.cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: clamp(12px, 1.4vw, 18px) !important;
  margin-top: 16px;
}

.card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius: 20px;

  background: rgba(0,0,0,0.15) !important; /* very light */
  backdrop-filter: blur(6px);

  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
  transition: .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
}

/* Perfect image fit */
.thumb{
  height: clamp(150px, 14vw, 210px) !important;
  background-color: rgba(0,0,0,.18);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.thumb img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display:block;
}

.cardBody{
  padding: 12px 12px 10px !important;
  display:flex;
  flex-direction:column;
  gap: 8px !important;
}

.row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}

.title{
  font-weight: 950;
  letter-spacing:.2px;
  color: rgba(255,255,255,.98) !important;
}
.price{
  color: #f7c948 !important;
  font-weight: 900;
}

.meta{
  color: rgba(255,255,255,.82) !important;
  line-height: 1.5;
  font-weight: 650;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tag{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247,201,72,.15) !important;
  color: #f7c948 !important;
  border: 1px solid rgba(247,201,72,.55);
  font-size: .85rem;
  width: fit-content;
}

.cardActions{
  padding: 14px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* ================================
   Helpers
================================ */
.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fullSpan{
  grid-column: 1 / -1;
}
.label{
  display:block;
  margin-bottom:8px;
  font-weight:800;
  color:#111;
}
.helper{
  font-size:.88rem;
  color:#666;
  margin-top:6px;
}
.smallHint,
.small{
  color: rgba(255,255,255,.78);
}
.footer{
  margin: 18px 0 28px;
}
.footRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* ================================
   Modal / Toast
================================ */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.70);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index:9999;
  pointer-events: none;
}
.overlay.show{
  display:flex;
  pointer-events: auto;
}

.modal{
  width: min(680px, 100%);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
  pointer-events: auto;
}
.modalHead, .modalFoot{ padding: 14px 16px; }
.modalBody{ padding: 16px; }

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 14px 16px;
  display:none;
  z-index:500;
}
.toast.show{ display:block; }

/* ================================
   Booking modal: WHITE + BLACK
================================ */
#bookOverlay .modal{
  background: #ffffff;
  color: #070b08;
}
#bookOverlay .modalHead{
  border-bottom: 1px solid #e6e6e6;
  display:flex;
  justify-content: space-between;
  align-items:center;
}
#bookOverlay .modalBody{
  text-align:left;
}

#bookOverlay .twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#bookOverlay .input,
#bookOverlay select,
#bookOverlay textarea{
  background:#fff;
  color:#070b08;
  border:1px solid #ccc;
  width:100%;
  text-align:left;
}
#bookOverlay .modalFoot{
  border-top: 1px solid #e6e6e6;
  display:flex;
  justify-content:center;
  gap: 10px;
  flex-wrap:wrap;
}

/* ================================
   Responsive
================================ */
@media (max-width: 1024px){
  #bookOverlay .twoCol,
  .twoCol{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px){
  #styleCategory{
    min-height: 56px;
    padding: 16px 16px;
    font-size: 1.05rem;
    border-radius: 18px;
  }

  .searchRow{
    flex-direction: column;
  }

  .searchRow .input,
  .searchRow select{
    width: 100%;
    min-width: 100%;
  }
}

/* Remove any remaining gray tint */
*{
  --surface: transparent !important;
}
