/* Lokalne pisave (GDPR): datoteke so v app/static/fonts/, prenesi jih z scripts/fetch_fonts.py.
   latin-ext je potreben za č, š, ž. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-300.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/fraunces-latin-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/fraunces-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/figtree-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/figtree-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/figtree-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/figtree-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/figtree-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/figtree-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --mist: #E8EEEC;
  --paper: #F5F8F7;
  --ink: #1D2F2D;
  --pine: #2E5650;
  --sage: #8FA8A1;
  --pebble: #B9C7C2;
  --lavender: #8F88B5;
  --line: #C9D5D1;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --wrap: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
a { color: var(--pine); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lead { font-size: 1.2rem; max-width: 36rem; color: #3b5350; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.narrow { max-width: 38rem; }
.two { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: start; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: var(--wrap); margin-inline: auto; padding: 1.4rem 1.5rem; position: relative; }
.brand { font: 400 1.6rem var(--serif); text-decoration: none; color: var(--ink); }
.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--lavender); }
.nav .nav-cta { background: var(--pine); color: var(--paper); padding: .5rem 1.1rem; border-radius: 999px; border: 0; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--ink); border: 0; }
.nav-toggle { display: none; font: inherit; background: none; border: 1px solid var(--pine); color: var(--pine); border-radius: 999px; padding: .35rem 1rem; }

/* Buttons */
.btn { display: inline-block; font: 500 1rem var(--sans); background: var(--pine); color: var(--paper); border: 1px solid var(--pine); padding: .75rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--pine); }
.btn-quiet:hover { background: var(--pine); color: var(--paper); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* Hero */
.hero { max-width: var(--wrap); margin: 2rem auto 4rem; padding-inline: 1.5rem; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.stones { width: 100%; max-width: 380px; justify-self: center; }
.stone { transform-box: fill-box; transform-origin: center bottom; }
.s3 { fill: var(--pebble); } .s2 { fill: var(--sage); } .s1 { fill: var(--pine); } .s0 { fill: var(--lavender); }
@media (prefers-reduced-motion: no-preference) {
  .stone { animation: settle 1.1s cubic-bezier(.2,.8,.2,1) both; }
  .s2 { animation-delay: .25s; } .s1 { animation-delay: .5s; } .s0 { animation-delay: .75s; }
  @keyframes settle { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Sections */
.band { background: var(--paper); padding: 4rem 0; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled li { border-bottom: 1px solid var(--line); }
.ruled li > a, .ruled li > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.2rem 0; text-decoration: none; color: var(--ink); }
.ruled span { font: 400 1.5rem var(--serif); }
.ruled small { color: #5b7470; }
.ruled a:hover span { color: var(--pine); text-decoration: underline; text-decoration-color: var(--lavender); }
.page-head { padding-block: 2rem 2rem; }

.services { list-style: none; padding: 0; margin: 0 0 2.5rem; border-top: 1px solid var(--line); }
.services li { display: flex; justify-content: space-between; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.services h2 { margin-bottom: .3em; }
.services p { margin: 0; max-width: 34rem; }
.services .meta { white-space: nowrap; color: var(--pine); font-weight: 500; }

.about { margin-bottom: 4rem; }
.portrait { aspect-ratio: 4/5; border-radius: 48% 48% 12px 12px; background: var(--pebble); display: grid; place-items: center; color: var(--pine); }
.prose p { max-width: 34rem; }

/* Booking */
.day { margin-bottom: 2.5rem; }
.day h2 { text-transform: capitalize; }
.slot-list { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; padding: 0; margin: 0; }
.slot-list a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1.2rem; text-decoration: none; color: var(--ink); }
.slot-list a:hover { border-color: var(--pine); background: #fff; }
.slot-list strong { display: block; font: 400 1.4rem var(--serif); }
.slot-list span { font-size: .9rem; color: #5b7470; }
.empty { color: #5b7470; }

/* Forms */
.form { display: grid; gap: 1.2rem; margin-bottom: 3rem; }
.form.inline { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); align-items: end; }
.form label { display: grid; gap: .35rem; font-weight: 500; }
input, textarea, select { font: inherit; padding: .7rem .9rem; border: 1px solid var(--sage); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.err { color: #9b2c2c; font-weight: 400; font-size: .95rem; }
.notice { background: var(--paper); border-left: 4px solid var(--lavender); padding: .7rem 1rem; }

/* Admin */
.admin-list { list-style: none; padding: 0; margin: 0 0 4rem; border-top: 1px solid var(--line); }
.admin-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.admin-list small { display: block; color: #5b7470; }
.admin-list li.booked { background: linear-gradient(90deg, rgba(143,136,181,.18), transparent 60%); }

/* Footer */
.site-footer { background: var(--ink); color: var(--pebble); padding: 3rem 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.site-footer > * { max-width: var(--wrap); }
.site-footer a { color: var(--paper); }
.site-footer p { margin: .2rem 0; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 1.5rem; right: 1.5rem; z-index: 5; flex-direction: column; align-items: flex-start; gap: 1rem; background: var(--paper); padding: 1.5rem; border-radius: 16px; border: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero, .two, .site-footer, .admin-list li { grid-template-columns: 1fr; }
  .services li { flex-direction: column; gap: .6rem; }
  .stones { max-width: 240px; }
}

/* Pravno */
.consent { font-size: .95rem; color: #3b5350; margin: 0; }
.legal h2 { margin-top: 2rem; font-size: 1.4rem; }
.legal { margin-bottom: 4rem; }
.legal ul { max-width: 34rem; }
.updated { color: #5b7470; font-size: .95rem; }
