/* =========================================================
   NK Digital — Demo template (minimalist, themeable)
   Theme is set per page via :root overrides + Google Fonts.
   ========================================================= */

:root {
  --bg: #ffffff;
  --fg: #141414;
  --muted: #6b6b6b;
  --line: rgba(0,0,0,.10);
  --card: #f5f3ef;
  --accent: #b48a3c;
  --accent-ink: #ffffff;
  --fd: Georgia, serif;
  --fb: system-ui, sans-serif;
  --r: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--fb); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3 { font-family: var(--fd); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.ey { display: inline-block; font-family: var(--fb); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .24em; color: var(--accent); margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; }
.center { text-align: center; }
.mx { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .92rem;
  transition: transform .5s var(--ease), filter .3s var(--ease); border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: color-mix(in srgb, var(--fg) 6%, transparent); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { font-family: var(--fd); font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; display: inline-flex; align-items: center; gap: .55rem; }
.brand b { color: var(--accent); }
.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); font-size: .9rem; }
.nav__links a { color: var(--muted); transition: color .3s var(--ease); }
.nav__links a:hover { color: var(--fg); }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.78) 100%); }
.hero__in { padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero .ey { color: #fff; opacity: .85; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); max-width: 16ch; color: #fff; }
.hero p { margin-top: 1.2rem; max-width: 50ch; color: rgba(255,255,255,.85); font-size: clamp(1rem,1.4vw,1.2rem); }
.hero__cta { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Section heading */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }

/* Services / cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 2.4vw, 2rem); transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-5px); }
.card h3 { font-size: 1.3rem; }
.card .price { font-family: var(--fd); font-size: 1.5rem; color: var(--accent); margin: .5rem 0 .6rem; }
.card p { color: var(--muted); font-size: .94rem; }
.list { display: grid; gap: .7rem; }
.list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-size: .98rem; }
.list li span { color: var(--accent); font-family: var(--fd); white-space: nowrap; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split .media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.gal a, .gal div { border-radius: var(--r); overflow: hidden; aspect-ratio: 1/1; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal a:hover img, .gal div:hover img { transform: scale(1.06); }
.gal .tall { aspect-ratio: 1/1; }

/* Info / hours / contact */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); }
.kv { display: grid; gap: .6rem; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font-size: .96rem; }
.kv li b { font-weight: 600; }

/* Footer */
.foot { background: color-mix(in srgb, var(--fg) 94%, #000); color: color-mix(in srgb, var(--bg) 88%, #fff); }
.foot a { color: inherit; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: clamp(3rem,6vw,4.5rem); }
.foot h4 { font-family: var(--fb); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; opacity: .6; margin-bottom: 1rem; }
.foot__grid a { display: block; padding: .2rem 0; opacity: .85; }
.foot__grid a:hover { opacity: 1; color: var(--accent); }
.foot__bottom { border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; opacity: .75; }

/* NK credit ribbon (shows it's a demo built by NK Digital) */
.nkcredit { position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #0b0b0c; color: #fff; padding: .5rem .9rem; border-radius: 999px;
  font-family: system-ui, sans-serif; font-size: .76rem; font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
  transition: transform .4s var(--ease); }
.nkcredit:hover { transform: translateY(-2px); }
.nkcredit .dot { width: 7px; height: 7px; border-radius: 50%; background: #d9b871; }
.nkcredit b { color: #d9b871; font-weight: 700; }

/* Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .grid3 { grid-template-columns: 1fr; }
  .split, .info { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .gal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity:1; transform:none; } * { scroll-behavior:auto; } }
