/* ── TABLER OVERRIDES ── */
:root {
  --tblr-primary:            #c0392b;
  --tblr-primary-rgb:        192, 57, 43;
  --tblr-body-bg:            #f5f3ef;
  --tblr-body-color:         #1a1a1a;
  --tblr-muted:              #6b6b6b;
  --tblr-border-color:       #e0ddd8;
  --tblr-border-radius:      0;
  --tblr-border-radius-sm:   0;
  --tblr-border-radius-lg:   0;
  --tblr-box-shadow:         none;
  --tblr-font-sans-serif:    'Helvetica Neue', Arial, sans-serif;

  /* local palette */
  --bg:        #f5f3ef;
  --surface:   #fff;
  --text:      #1a1a1a;
  --muted:     #6b6b6b;
  --accent:    #c0392b;
  --border:    #e0ddd8;
  --logo-size: 80px;
}

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

html, body {
  background: var(--surface);
  font-family: 'Georgia', 'Garamond', serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--surface);
  padding: 0;
}

.navbar .container-xl {
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo-block img {
  height: var(--logo-size);
  width: auto;
}

.logo-name {
  font-family: 'Georgia', serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.logo-name span { display: block; }

.navbar-nav .nav-link {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  padding-left: 14px;
  padding-right: 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text); }

/* ── MAIN ── */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 48px 24px 64px;
  background: var(--surface);
}

/* ── BREADCRUMB ─
#cmp-breadcrumb {
  background: var(--surface);
  /*border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}

#cmp-breadcrumb > nav {
  max-width: 1100px;
  margin: 0 auto;
}
*/

/* ── HEADINGS ── */
h1, h2, h3 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 { font-size: 2.4rem; margin-bottom: 40px; }
h2 { font-size: 1.8rem; margin-bottom: 28px; }

/* ── COLLECTION GRID ── */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

/* ── CARDS — override Tabler ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.10); }

.card-img-top {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.card-body { padding: 18px 20px 22px; }

.card-title {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--text);
}

.card-text {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS — override Tabler ── */
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.btn-primary:hover {
  background: #a93226;
  border-color: #a93226;
}

.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
  border-radius: 0;
}
.btn-outline-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── ABOUT ── */
.about-section { padding: 48px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2em;
  color: var(--text);
}

.about-text a { color: var(--accent); }

.about-image img {
  width: 100%;
  border: 1px solid var(--border);
}

/* ── PROJECT PAGE ── */
.project-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.gallery img {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.project-info { position: sticky; top: 24px; }
.project-info h1 { font-size: 1.9rem; margin-bottom: 20px; }

.meta-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.meta-table td {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.meta-table td:first-child {
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: 42%;
}

.project-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 32px;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.project-nav a { color: var(--muted); text-decoration: none; }
.project-nav a:hover { color: var(--text); }

/* ── FOOTER ── */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.social-links { display: flex; gap: 20px; }

.social-links a {
  color: var(--muted);
  font-size: 1.2rem;
  transition: color 0.2s;
  text-decoration: none;
}
.social-links a:hover { color: var(--text); }

.footer-copy {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* breadcrumb */
.breadcrumb {
  padding-left: 0 !important;
  margin-bottom: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .project-layout  { grid-template-columns: 1fr; }
  .about-inner     { grid-template-columns: 1fr; }
  .about-image     { order: -1; }
}

@media (max-width: 600px) {
  h1               { font-size: 1.8rem; }
  .ts-grid         { grid-template-columns: 1fr; }
  nav              { gap: 16px; }
}

@media (min-width: 768px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }

  .nav-item.dropdown > .dropdown-menu {
    top: 100%;
    margin-top: 0;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
  }
}
