/* =========================================
   GLOBAL THEME (Bathroom / Bathtubs)
   Palette: Deep Black + Graphite + Charcoal + Porcelain
   Fonts: Playfair Display (heads) + Poppins (body) + Montserrat (UI)
========================================= */

:root{
  /* Core */
  --bg: #111214;          /* Deep Black */
  --bg-2: #0E0F11;        /* deeper shadow base */
  --panel: #2F3536;       /* Soft Charcoal */
  --panel-2: #2F3023;     /* Graphite */

  /* Neutrals */
  --porcelain: #F1F1EE;   /* light text */
  --light-grey: #C9CBD1;  /* subtle UI light grey */
  --muted-grey: #6F7078;  /* muted grey */

  /* Text */
  --text: var(--porcelain);
  --text-muted: rgba(241,241,238,.76);
  --text-faint: rgba(241,241,238,.58);

  /* Borders & shadows */
  --line: rgba(241,241,238,.10);
  --line-strong: rgba(241,241,238,.16);
  --shadow: 0 18px 45px rgba(0,0,0,.50);
  --shadow-soft: 0 12px 30px rgba(0,0,0,.36);

  /* Accent (kept minimal, monochrome) */
  --accent: var(--light-grey);       /* subtle highlight */
  --accent-deep: var(--muted-grey);  /* hover / secondary */

  /* Radii */
  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 14px;

  /* Typography */
  --font-head: "Playfair Display", serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-ui: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Sizing */
  --h1: clamp(34px, 3.4vw, 56px);
  --h2: clamp(24px, 2.3vw, 36px);
  --h3: 18px;
  --p: 14px;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ===== Page base ===== */
*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);

  /* Dark moody depth, no gold */
  background:
    radial-gradient(1100px 540px at 15% 0%, rgba(201,203,209,.06), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(111,112,120,.05), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

/* Links */
a{ color: var(--light-grey); text-decoration: none; }
a:hover{ color: var(--porcelain); }

/* ===== Typography ===== */
h1,h2,h3{
  margin: 0 0 12px;
  font-family: var(--font-head);
  color: var(--text);
  letter-spacing: .2px;
}
h1{ font-size: var(--h1); line-height: 1.05; }
h2{ font-size: var(--h2); line-height: 1.12; }
h3{
  font-size: var(--h3);
  line-height: 1.2;
  font-family: var(--font-ui);
  font-weight: 800;
}

p{
  margin: 0 0 12px;
  font-size: var(--p);
  line-height: 1.8;
  color: var(--text-muted);
}

/* Small labels */
.label, .kicker{
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ===== Surfaces ===== */
.surface{
  background: rgba(47,53,54,.65); /* charcoal glass */
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(47,53,54,.70), rgba(17,18,20,.62));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

/* Subtle light sheen on hover (glass feel) */
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(520px 220px at 20% 10%, rgba(201,203,209,.10), transparent 60%);
  opacity: .65;
  pointer-events:none;
  transition: opacity .25s var(--ease);
}
.card:hover::before{ opacity: 1; }

.card:hover{
  transform: translateY(-3px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 22px 60px rgba(0,0,0,.55);
}

/* ===== Buttons (base utility) ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;

  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 13px;

  cursor: pointer;
  user-select: none;

  transition: transform .2s var(--ease),
            box-shadow .2s var(--ease),
            background-color .2s var(--ease),
            border-color .2s var(--ease),
            color .2s var(--ease);
}

/* Primary: glass outline (matches your navbar button style) */
.btn-primary{
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,0.05);
  color: var(--porcelain);
  border: 1px solid rgba(255,255,255,0.35);

  box-shadow: 0 12px 26px rgba(0,0,0,.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Glass reflection sweep */
.btn-primary::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition: all .55s var(--ease);
  pointer-events:none;
}

.btn-primary:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 18px 40px rgba(0,0,0,.40);
}
.btn-primary:hover::after{
  opacity: 1;
  transform: translateX(120%);
}
.btn-primary:active{
  transform: translateY(0) scale(.99);
}

/* Secondary: solid charcoal */
.btn-secondary{
  color: var(--porcelain);
  background: rgba(47,53,54,.80);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.34);
}
.btn-secondary:hover{
  background: rgba(111,112,120,.35);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* Outline: minimal */
.btn-outline{
  background: transparent;
  color: var(--light-grey);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover{
  background: rgba(255,255,255,0.06);
  color: var(--porcelain);
  transform: translateY(-1px);
}

/* ===== Inputs ===== */
.input, input, textarea, select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(47,53,54,.45);
  border: 1px solid var(--line);
  color: var(--porcelain);
  outline: none;
  font-family: var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.input::placeholder, input::placeholder, textarea::placeholder{
  color: rgba(241,241,238,.45);
}
.input:focus, input:focus, textarea:focus, select:focus{
  border-color: rgba(201,203,209,.55);
  box-shadow: 0 0 0 4px rgba(201,203,209,.14);
}

/* ===== Dividers ===== */
.hr{
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 18px 0;
}

/* ===== Chips / Badges ===== */
.badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(47,53,54,.55);
  color: var(--porcelain);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(241,241,238,.85);
  box-shadow: 0 0 0 5px rgba(241,241,238,.10);
}

/* ===== Utility text colors ===== */
.text-accent{ color: var(--light-grey); }
.text-muted{ color: var(--text-muted); }

/* ===== Optional: section background panel ===== */
.section-panel{
  border-radius: var(--r-xl);
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(201,203,209,.06), transparent 60%),
    linear-gradient(180deg, rgba(47,53,54,.68), rgba(17,18,20,.62));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}
