/* Dawance — slim, page-specific stylesheet */

:root {
  --c-text: #555;
  --c-heading: #222;
  --c-muted: #999;
  --c-bg: #fff;
  --c-bg-dark: #111;
  --c-bg-soft: #f7f7f7;
  --c-border: #eaeaea;
  --c-accent: #c0986a;
  --ff-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-display: "Montserrat", var(--ff-sans);
  --maxw: 1140px;
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-accent); }

h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--c-heading);
  margin: 0 0 .4em;
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-family: var(--ff-sans); margin: 0; line-height: 1.25; }
h2 { font-size: 2.1rem; letter-spacing: 2px; text-transform: uppercase; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  height: var(--nav-h);
  background: transparent;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.navbar-small {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  height: 60px;
}
.navbar-brand img {
  height: 22px; width: auto;
  filter: invert(1);
  transition: filter .35s ease;
}
@media (min-width: 860px) {
  .navbar-small .navbar-brand img { filter: none; }
}
.navbar-nav {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.navbar-nav > li + li { margin-left: 26px; }
.navbar-nav a {
  font-family: var(--ff-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #ececec;
}
.navbar-small .navbar-nav a { color: #222; }
.navbar-nav a:hover { color: var(--c-accent); }
.socials {
  display: inline-flex; align-items: center; gap: 4px;
}
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
}
.socials svg { width: 16px; height: 16px; }

.navbar-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  cursor: pointer;
}
.navbar-toggle .icon-bar {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 4px 0;
  transition: background .25s;
}
.navbar-small .navbar-toggle .icon-bar { background: #222; }

@media (max-width: 859px) {
  .navbar { background: rgba(255,255,255,.97); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
  .navbar-nav a { color: #222; }
  .navbar-toggle { display: block; }
  #navbar {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  #navbar.in { max-height: 80vh; }
  .navbar-nav { flex-direction: column; align-items: stretch; padding: 10px 0; }
  .navbar-nav > li + li { margin-left: 0; }
  .navbar-nav > li:not(.socials) a {
    display: block; padding: 12px 30px;
  }
  .socials { justify-content: center; gap: 8px; padding: 12px 30px; }
}

/* ===== Hero ===== */
.animated-hero {
  position: relative;
  min-height: 100vh;
  background-image: image-set(
    url("../images/bg-1920.webp") type("image/webp"),
    url("../images/bg.jpg") type("image/jpeg"));
  background: url("../images/bg.jpg") center/cover no-repeat;
  background-image: -webkit-image-set(
    url("../images/bg-1920.webp") 1x,
    url("../images/bg.jpg") 1x);
}
.animated-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(17,17,17,.4);
}
@media (max-width: 960px) {
  .animated-hero { background-image: url("../images/bg-960.webp"), url("../images/bg.jpg"); background-size: cover; background-position: center; }
}

.hero-content-wrapper {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 20px;
}
.hero-lead {
  font-family: var(--ff-sans);
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: 8px;
  color: #ececec;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}
@media (min-width: 768px) { .hero-lead { letter-spacing: 15px; } }

.cd-words-wrapper {
  display: inline-grid;
  text-align: center;
  /* compensate trailing letter-spacing for visual centering */
  padding-left: 8px;
}
@media (min-width: 768px) {
  .cd-words-wrapper { padding-left: 15px; }
}
.cd-words-wrapper b {
  grid-area: 1 / 1;
  font-weight: inherit;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.cd-words-wrapper b.is-visible {
  opacity: 1; transform: none;
}

.scroller {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(235,235,235,.7);
  font-family: var(--ff-display); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
}
.scroller:hover { color: #fff; }
.scroller svg { width: 28px; height: 28px; }

/* ===== About ===== */
.sec-heading {
  text-align: center; margin-bottom: 60px;
}
.sec-heading h2 { margin-bottom: 12px; }
.sec-heading .subheading {
  display: block;
  font-family: var(--ff-display);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-muted);
}
#about .container { max-width: 780px; }
#about p { text-align: justify; margin-bottom: 1.4em; }

/* ===== Marble band (decorative parallax substitute) ===== */
.number-counters {
  min-height: 220px;
  background: #111 url("../images/marble-1600.webp") center/cover no-repeat;
}

/* ===== Contact ===== */
.contact-2 { padding: 110px 0 0; }
#map {
  height: 420px;
  background: #ddd url("../images/map-1600.webp") center/cover no-repeat;
}
@media (max-width: 800px) {
  #map { height: 280px; background-image: url("../images/map-800.webp"); }
}

.footer-litle { background: var(--c-bg-soft); }
.footer-litle .gray-bg {
  max-width: var(--maxw); margin: 0 auto; padding: 50px 20px;
}
.footer-litle address {
  font-style: normal;
}
.footer-litle ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.footer-litle li a {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
}
.adr-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: var(--c-accent);
}
.adr-icon svg { width: 28px; height: 28px; }
.adr-group { display: flex; flex-direction: column; }
.adr-heading {
  font-family: var(--ff-display);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-muted);
}
.adr-info { color: var(--c-heading); font-size: 14px; }

/* ===== Hours table ===== */
.hours-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.hours-table th,
.hours-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-weight: 400;
  color: var(--c-text);
}
.hours-table th {
  font-family: var(--ff-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-heading);
}
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .closed { color: var(--c-muted); font-style: italic; }
.hours-table tr.is-today {
  background: rgba(192, 152, 106, .08);
}
.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--c-heading);
  font-weight: 700;
  position: relative;
}
.hours-table tr.is-today th::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--c-accent);
}
.hours-source {
  text-align: center;
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* ===== Instagram ===== */
.cta-dark {
  background: var(--c-bg-dark);
  color: #ccc;
  padding: 90px 0;
  text-align: center;
}
.cta-dark .sec-heading h2 { color: #fff; }
.cta-dark .sec-heading .subheading a { color: var(--c-accent); }
#insta { max-width: var(--maxw); margin: 20px auto 0; padding: 0 20px; }

/* ===== Copyright ===== */
.copyright {
  background: #0c0c0c;
  color: #888;
  padding: 22px 0;
  font-size: 12px;
}
.copyright .container {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.copyright a { color: #aaa; }
.to-the-top {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid #333; border-radius: 50%;
}
.to-the-top:hover { border-color: var(--c-accent); }
.to-the-top svg { width: 14px; height: 14px; }

/* ===== Fade-in (replaces wow.js) ===== */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in, .cd-words-wrapper b { transition: none; transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
