/*
Theme Name: The Knot Collective
Theme URI: https://theknotcollective.ca
Author: Virtually Boss
Author URI: https://virtuallyboss.com
Description: Custom theme for The Knot Collective, a private one-chair hair studio in Calgary. The Members Club design: espresso, suede and gold. Activate it and every page is created and linked for you.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: tkc
*/

html { scroll-behavior: smooth; }
body { margin: 0; background: #1C1410; color: #F1E7D8; font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #CFA968; }
a:hover { color: #F1E7D8; }
.tkc-wrap { font-family: 'Montserrat', sans-serif; color: #F1E7D8; background: #1C1410; overflow: hidden; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: '+'; float: right; color: #CFA968; font-family: 'Montserrat', sans-serif; font-weight: 300; }
details[open] > summary::after { content: '\2013'; }

/* Scrolling tickers */
.tkc-track { display: flex; width: max-content; animation: tkc-scroll 40s linear infinite; }
@keyframes tkc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tkc-track { animation: none; } html { scroll-behavior: auto; } }

/* Quiz */
.tkc-q-ans { transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tkc-q-ans:hover { border-color: #1C1410 !important; }
.tkc-in::placeholder { color: #9C8873; }
.tkc-q-step[hidden] { display: none !important; }

/* Mobile nav */
.tkc-burger { display: none; }
@media (max-width: 860px) {
  .tkc-nav-links { display: none !important; }
  .tkc-nav-links.is-open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #1C1410; padding: 24px 40px 32px; z-index: 50; border-bottom: 1px solid #4A392D; }
  .tkc-burger { display: inline-flex; }
  .tkc-header { position: relative; }
}

/* Gallery lightbox */
.tkc-lightbox { position: fixed; inset: 0; background: rgba(15,11,9,.94); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 40px; }
.tkc-lightbox.is-open { display: flex; }
.tkc-lightbox img { max-height: 86vh; max-width: 90vw; object-fit: contain; border: 1px solid #CFA968; }
.tkc-lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #F1E7D8; font-size: 36px; cursor: pointer; }

/* Forms */
.tkc-form-msg { margin-top: 14px; font-size: 14px; }
