/* Shared look for the inner pages (O nas, Galerija). Same tokens and pieces as the homepage, which still carries its own copy inline. */
:root {
  --latte: #F4ECE0; --latte-deep: #E6D7C1; --paper: #FBF7F1;
  --espresso: #3A2418; --wood: #24160F; --sepia: #65472C; --macchiato: #7A5534;
  --crema: #C49A6C; --brass: #C9A464; --on-dark: #EADFCD; --on-dark-soft: #BFAE94; --open: #6F9A55;
  --f-name: 'Fraunces', Georgia, serif;
  --f-body: 'Jost', 'Helvetica Neue', sans-serif;
  --f-label: 'Michroma', 'Helvetica Neue', sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--latte); color: var(--espresso); font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-name); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.label { font: 10px/1.6 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--macchiato); }
.dark { background: var(--wood); color: var(--on-dark); position: relative; isolation: isolate; }
.dark::before { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .14; pointer-events: none; z-index: -1; }
.dark .label { color: var(--brass); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Header: dark wood bar */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--wood); color: var(--on-dark-soft); border-bottom: 1px solid rgba(201, 164, 100, .25); }
.bar { display: flex; align-items: center; gap: 28px; padding-block: 14px; flex-wrap: wrap; }
.bar .logo img { height: 34px; width: auto; }
.bar nav { display: flex; gap: 28px; margin-left: auto; flex-wrap: wrap; }
.bar nav a { font: 10px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-soft); padding-block: 10px; }
.bar nav a:hover { color: var(--paper); }
.bar .ig { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; display: block; }
.bar .ig-link { color: var(--on-dark-soft); padding: 8px 0; }
.bar .ig-link:hover { color: var(--paper); }
.lang { display: flex; gap: 2px; }
.lang button { font: 10px/1 var(--f-label); letter-spacing: .12em; border: 0; border-bottom: 1px solid transparent; padding: 8px 6px 5px; min-height: 32px; background: transparent; color: var(--on-dark-soft); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--paper); border-bottom-color: var(--brass); }
.bar .btn { min-height: 40px; padding: 10px 20px; }
.burger { display: none; }
.drawer-extra { display: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crema); flex: none; }
.dot.open { background: var(--open); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 26px; font: 11px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; }
.btn.solid { background: var(--brass); border-color: var(--brass); color: var(--wood); }
.btn.solid:hover { background: var(--on-dark); border-color: var(--on-dark); }
.btn.line { color: var(--on-dark); }
.btn.line:hover { background: rgba(234, 223, 205, .1); }
.btn.ink { color: var(--macchiato); }
.btn.ink:hover { background: var(--latte-deep); }

/* Photos: film-print look. .mood = stand-in from the moodboard, replaced by the cafe's own photos */
.photo { position: relative; overflow: hidden; background: var(--latte-deep); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.92) contrast(1.02); }
.photo::after { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .16; mix-blend-mode: multiply; pointer-events: none; }
.photo .tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; font: 8px/1 var(--f-label); letter-spacing: .14em; background: rgba(36, 22, 15, .72); color: var(--on-dark); padding: 6px 8px; border-radius: 2px; }
.print { background: var(--paper); padding: 10px 10px 34px; box-shadow: 0 1px 0 rgba(58, 36, 24, .08), 0 14px 30px -18px rgba(36, 22, 15, .45); position: relative; }
.print figcaption { position: absolute; left: 12px; right: 12px; bottom: 9px; font: italic 500 14px/1.2 var(--f-name); color: var(--sepia); }
.ph { display: grid; place-items: center; text-align: center; padding: 18px; color: var(--sepia); font-size: 13px; background: var(--latte-deep) url("img/cup-light.png") center 38% / 46% auto no-repeat; }
.ph span { margin-top: 44%; }

/* Slanted sign frame: runs in from the left edge of the page, angled end, drawn in chalk like the cup drawing */
.sign { --w: 150px; --chalk: #F3EBDF; position: absolute; top: 0; bottom: 0; left: -100vw; right: -72px; pointer-events: none; }
.sign i { filter: url(#chalk-h); }
.sign svg { filter: url(#chalk-v); }
.sign i { position: absolute; left: 0; height: 6px; background: var(--chalk); }
.sign .t { top: -3px; right: 0; }
.sign .b { bottom: -3px; right: var(--w); }
.sign svg { position: absolute; top: 0; right: 0; width: var(--w); height: 100%; overflow: visible; }
.sign line { stroke: var(--chalk); stroke-width: 6px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sign.inner { top: 7px; bottom: 7px; right: -62px; --w: 144px; opacity: .55; }
.sign.inner i { height: 2.5px; }
.sign.inner .t { top: -1.25px; } .sign.inner .b { bottom: -1.25px; }
.sign.inner line { stroke-width: 2.5px; }
/* Visit */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-block: 96px; }
.visit .col { display: flex; flex-direction: column; gap: 22px; }
.visit h2 { font-size: clamp(34px, 4.4vw, 54px); color: var(--paper); }
.visit address { font-style: normal; font-size: 19px; line-height: 1.6; color: var(--on-dark); }
.visit .contact { color: var(--on-dark-soft); display: flex; flex-direction: column; gap: 4px; }
table.hours { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hours td { padding: 12px 0; border-bottom: 1px solid rgba(201, 164, 100, .25); color: var(--on-dark-soft); }
.hours td:last-child { text-align: right; }
.hours tr.now td { color: var(--paper); font-weight: 500; }
.hours tr.now td:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 10px; vertical-align: middle; }

footer { background: var(--wood); color: var(--on-dark-soft); border-top: 1px solid rgba(201, 164, 100, .25); }
footer .wrap { padding-block: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: 13px; }
footer .tag { font: 500 20px/1.2 var(--f-name); color: var(--on-dark); }


/* Shared section pieces */
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.intro h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; }
.intro p { color: var(--sepia); font-size: 17px; }
.dark .intro p { color: var(--on-dark-soft); }
.bar nav a[aria-current="page"] { color: var(--paper); border-bottom: 1px solid var(--brass); }
.outline { font-family: 'Limelight', 'Fraunces', serif; font-size: .92em; letter-spacing: .01em; font-style: normal; color: transparent; -webkit-text-stroke: 1.4px var(--brass); paint-order: stroke fill; }
.todo { color: var(--crema); font-style: italic; }
.dark .todo { color: var(--brass); }

/* Page head: smaller split screen than the homepage hero */
.pagehead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(62vh, 520px); }
.pagehead .copy { padding: 72px 56px 64px max(24px, calc((100vw - 1160px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.pagehead h1 { font-size: clamp(38px, 4vw, 58px); line-height: 1.04; color: var(--paper); font-weight: 400; }
.pagehead p { font-size: 17px; max-width: 40ch; color: var(--on-dark-soft); }
.pagehead > .photo { min-height: 100%; }
.pagehead > .photo img { position: absolute; inset: 0; }

/* Chalk frame inside any dark text block */
/* padding-right keeps text and logo left of the slanted line at its lowest point (inner line: 82px in from the right edge, + room for the chalk wobble), at any width or height */
.framed { position: relative; padding-block: 56px; padding-right: 104px; display: flex; flex-direction: column; gap: 20px; }

/* Closing band */
.cta { padding-block: 88px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta p { color: var(--sepia); font-size: 17px; max-width: 46ch; }
.cta .btns { justify-content: center; }

footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { text-decoration: none; font: 10px/1.6 var(--f-label); letter-spacing: .16em; text-transform: uppercase; }
footer nav a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .wrap { padding-inline: 18px; }
  /* Phone header: one row (logo, menu button, burger); links open in a drawer */
  header.top { top: 0; padding-top: env(safe-area-inset-top, 0px); }
  .bar { flex-wrap: nowrap; gap: 12px; }
  .bar .logo { margin-right: auto; }
  .bar .tools .lang, .bar .ig-link { display: none; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; border: 1px solid rgba(201, 164, 100, .4); border-radius: 50%; background: transparent; cursor: pointer; }
  .burger span { display: block; height: 1.5px; background: var(--on-dark); transition: transform .2s, opacity .2s; }
  header.top.open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  header.top.open .burger span:nth-child(2) { opacity: 0; }
  header.top.open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .bar nav { display: none; }
  header.top.open .bar nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 4px 18px 20px; background: var(--wood); border-bottom: 1px solid rgba(201, 164, 100, .25); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); }
  header.top.open .bar nav > a { padding: 16px 0; font-size: 11px; border-bottom: 1px solid rgba(201, 164, 100, .15); }
  header.top.open .bar nav > a[aria-current="page"] { border-bottom-color: rgba(201, 164, 100, .15); color: var(--brass); }
  .drawer-extra { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }
  .drawer-extra .social { display: flex; gap: 18px; font-size: 14px; }
  .drawer-extra .social a { color: var(--on-dark-soft); }
  .bar .logo img { height: 22px; }
  .bar .tools { gap: 10px !important; }
  .bar .btn { padding: 8px 14px; min-height: 38px; }
  .pagehead { grid-template-columns: 1fr; min-height: 0; }
  .pagehead > .photo { order: -1; height: 240px; min-height: 0; }
  .pagehead .copy { padding: 40px 18px 48px; }
  .framed { padding: 40px 80px 40px 0; } /* inner line's lowest point is 62px in from the right edge here */
  .framed > img { height: 40px !important; }
  .sign { --w: 60px; right: -4px; }
  .sign.inner { right: 4px; --w: 58px; top: 7px; bottom: 7px; }
  .visit .wrap { grid-template-columns: 1fr; gap: 44px; padding-block: 72px; }
  .cta { padding-block: 64px; }
}

footer .addr { text-decoration: none; }
footer .addr:hover { color: var(--paper); text-decoration: underline; }

/* Easter egg: NK Maribor crest beside the tagline (the menu badge reversed: cream on the dark background) */
.sign-off { display: inline-flex; align-items: center; gap: 12px; }
.crest { width: 30px; height: 36px; flex: none; color: var(--on-dark); --crest-paper: transparent; opacity: .9; transition: opacity .3s ease; }
.crest:hover { opacity: 1; }

/* Developer credit, last line of the footer: right-aligned on desktop, under the address on phones */
.credit { margin: 0 0 0 auto; font-size: 11px; letter-spacing: .04em; color: var(--on-dark-soft); opacity: .75; }
.credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201, 164, 100, .4); }
.credit a:hover { color: var(--paper); border-bottom-color: var(--brass); }
@media (max-width: 860px) { .credit { margin-left: 0; flex-basis: 100%; } }
