/* Fotostudio Breza - design system. Chalkboard style: temna skrilasta ozadja,
   krede-line SVG risbe, poudarki bor/sneg/jagoda. */
:root {
  --ink: #14211b;
  --pine: #1c2b26;
  --pine-light: #2c4538;
  --pine-line: #3f6350;
  --snow: #f4efe3;
  --paper: #e9e2d2;
  --berry: #c4463a;
  --berry-light: #e07469;
  --muted: #a9b7ac;
  --radius: 14px;
  --measure: 68ch;
  --shadow: 0 18px 40px -20px rgba(0,0,0,.6);
  font-size: 16px;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--snow);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: Georgia, "Palatino Linotype", serif; font-weight: 600; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
a { color: var(--snow); text-decoration: none; }
img { max-width: 100%; display: block; }
svg { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
button { font-family: inherit; }

/* grain overlay */
.grain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; opacity: .5; mix-blend-mode: overlay; }
.grain svg { width: 100%; height: 100%; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(20,33,27,.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--pine-line);
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { width: 40px; height: 40px; aspect-ratio: 1/1; }
.logo-word { width: 110px; height: 15.4px; aspect-ratio: 210/30; }
.nav-toggle { display: none; background: none; border: none; color: var(--snow); padding: .4rem; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.site-nav a { position: relative; font-size: .98rem; padding: .3rem 0; }
.site-nav a:not(.nav-cart)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--berry);
  transition: right .25s ease;
}
.site-nav a:not(.nav-cart):hover::after, .site-nav a.is-active::after { right: 0; }
.nav-cart { display: flex; align-items: center; gap: .4rem; background: var(--pine-light); padding: .5rem .8rem; border-radius: 999px; min-height: 44px; }
.nav-cart.bump { animation: bump .4s ease; }
@keyframes bump { 0%,100%{transform:scale(1);} 35%{transform:scale(1.25);} }
.cart-count { background: var(--berry); color: var(--snow); border-radius: 999px; min-width: 1.4em; text-align: center; padding: .05em .35em; font-size: .78rem; }
.nav-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
    background: var(--pine); flex-direction: column; align-items: flex-start; gap: 1.6rem;
    padding: 5rem 2rem 2rem; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s ease; z-index: 60;
  }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-close { display: block; position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--snow); min-height: 44px; min-width: 44px; }
  .site-nav a { font-size: 1.1rem; }
}

main { position: relative; z-index: 2; }

/* buttons */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-size: .98rem; cursor: pointer; transition: transform .2s ease, color .2s ease; z-index: 1;
}
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--snow); transition: left .3s ease; z-index: -1; }
.btn-berry { background: var(--berry); color: var(--snow); border-color: var(--berry); }
.btn-berry:hover { color: var(--ink); }
.btn-berry:hover::before { left: 0; }
.btn-berry::before { background: var(--snow); }
.btn-ghost { background: transparent; color: var(--snow); border-color: var(--snow); }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::before { background: var(--snow); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-1.in-view { transition-delay: .05s; }
.reveal-2.in-view { transition-delay: .15s; }
.reveal-3.in-view { transition-delay: .25s; }
.reveal-4.in-view { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in-view { transition: none; opacity: 1; transform: none; }
}

/* dividers / ornaments */
.divider { display: block; color: var(--pine-line); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); background: var(--snow); color: var(--ink); padding: .8rem 1.4rem; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* layout helpers */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.section { padding: clamp(3rem, 8vw, 6rem) 0; position: relative; }
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 > * { min-width: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* page hero (inner pages) */
.page-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--pine) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--pine-line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--snow); }
.page-hero p { color: var(--muted); max-width: 60ch; }

/* breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--muted); display: flex; gap: .5em; flex-wrap: wrap; }
.breadcrumbs a { text-decoration: underline; text-decoration-color: var(--pine-line); }
.breadcrumbs .sep { opacity: .6; }

/* prose (legal pages) */
.prose { max-width: var(--measure); margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; color: var(--snow); }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose p { color: var(--muted); }

/* legal table of contents */
.legal-toc { background: var(--pine-light); border-radius: var(--radius); padding: 1.4rem 1.6rem; max-width: var(--measure); margin: 0 auto 2.4rem; }
.legal-toc p { margin: 0 0 .6em; font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc a { text-decoration: underline; }

/* notices */
.notice { border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; gap: .6em; align-items: flex-start; background: var(--pine-light); }
.notice-ok { background: #244a36; border: 1px solid #3a7a56; }
.notice-warn { background: #4a2f28; border: 1px solid var(--berry); }

/* cards */
.card { background: var(--pine-light); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .25s ease; }
.card:hover { transform: translateY(-4px); }

/* product / service cards */
.product-card { background: var(--pine-light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s ease; }
.product-card:hover { transform: translateY(-6px); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 1.1rem 1.2rem 1.4rem; }
.product-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.product-card .price { color: var(--berry-light); font-weight: 600; }
.product-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
.product-strip .product-card { min-width: 240px; scroll-snap-align: start; }

/* product detail */
.product-detail { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.product-detail > * { min-width: 0; }
.product-detail .gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.product-detail .price-tag { font-size: 1.6rem; color: var(--berry-light); font-weight: 700; }
.product-detail .features { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5em; }
.product-detail .features li { display: flex; gap: .6em; align-items: flex-start; color: var(--muted); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* forms */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.field { display: flex; flex-direction: column; gap: .4em; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--snow); color: var(--ink); border: 1.5px solid transparent; border-radius: 8px;
  padding: .7rem .9rem; font-size: 1rem; min-height: 44px; font-family: inherit; accent-color: var(--berry);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--berry-light); outline-offset: 1px; }
.field-error { color: var(--berry-light); font-size: .85rem; min-height: 1.1em; }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* newsletter */
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input[type=email] { background: var(--snow); color: var(--ink); border: none; border-radius: 999px; padding: .6rem 1rem; min-height: 44px; flex: 1; min-width: 160px; }

/* contact layout */
.contact-layout { display: grid; grid-template-columns: minmax(260px,1fr) minmax(300px,1.3fr); gap: clamp(1.6rem,4vw,3rem); }
.contact-layout > * { min-width: 0; }
.contact-info { display: grid; gap: 1rem; min-width: 0; }
.contact-info .row { display: flex; gap: .7em; align-items: flex-start; color: var(--muted); }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .8rem .6rem; border-bottom: 1px solid var(--pine-line); text-align: left; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-table .qty-input { width: 3.4rem; min-height: 40px; text-align: center; border-radius: 8px; border: none; }
.cart-summary { background: var(--pine-light); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .6rem; }
.cart-summary .total { font-size: 1.3rem; font-weight: 700; color: var(--berry-light); }
.cart-empty { color: var(--muted); padding: 2rem 0; }

/* faq */
.faq { display: grid; gap: .8rem; max-width: var(--measure); margin: 0 auto; }
.faq-item { background: var(--pine-light); border-radius: var(--radius); padding: .2rem 1.2rem; }
.faq-item summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--berry-light); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* doc checker (signature feature) */
.doc-checker { background: var(--pine-light); border-radius: var(--radius); padding: clamp(1.4rem,3vw,2.2rem); display: grid; gap: 1.1rem; }
.doc-checker .upload-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.doc-checker input[type=file] { color: var(--snow); max-width: 100%; }
.doc-checker img.preview { width: 100px; height: 128px; object-fit: cover; border-radius: 8px; border: 2px solid var(--pine-line); }
.doc-checker img.preview[hidden] { display: none; }

/* footer */
.site-footer { background: var(--pine); border-top: 1px solid var(--pine-line); padding: clamp(2.5rem,6vw,4rem) clamp(1rem,4vw,3rem) 1.5rem; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; gap: .7em; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: .5em; }
.footer-links a:hover { text-decoration: underline; }
.footer-news p { margin-bottom: .5em; }
.footer-mail { display: flex; gap: .4em; align-items: center; color: var(--muted); margin-top: .8em; }
.footer-copy { text-align: center; color: var(--muted); font-size: .85rem; margin: 2rem 0 0; }

/* cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; background: var(--pine); border: 1px solid var(--pine-line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); z-index: 150; display: grid; gap: .8rem; }
.cookie-actions { display: flex; gap: .7rem; justify-content: flex-end; }

/* home page */
.hero { position: relative; padding: clamp(3rem,8vw,5rem) 0 clamp(2.5rem,6vw,4rem); overflow: hidden; }
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-shapes svg { position: absolute; transition: transform .2s ease-out; }
.hero-shapes .s1 { top: 8%; left: 4%; width: 90px; }
.hero-shapes .s2 { top: 55%; left: 85%; width: 70px; }
.hero-shapes .s3 { top: 75%; left: 12%; width: 60px; }
.hero-content { position: relative; z-index: 2; max-width: 46rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; }
.hero h1 .accent { color: var(--berry-light); }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 42ch; }

.home-layout { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.home-layout .sticky-col { position: sticky; top: 6rem; align-self: start; display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.home-layout .scroll-col { display: flex; flex-direction: column; gap: clamp(3rem,6vw,4.5rem); min-width: 0; }
@media (max-width: 860px) { .home-layout { grid-template-columns: 1fr; } .home-layout .sticky-col { position: static; } }

.ambient-flame { position: fixed; bottom: 1.2rem; right: 1.2rem; width: 46px; height: 46px; z-index: 5; opacity: .85; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ambient-flame circle, .ambient-flame path { animation: none !important; } }

@media (max-width: 420px) { body { font-size: 15px; } }

/* additions for product detail layout */
.product-detail .image { }
.product-detail .body { display: flex; flex-direction: column; gap: 1rem; }

/* COMPONENTS: .class - what it is
.container - centered max-width content wrapper
.section - vertical page section padding
.grid / .grid-2 / .grid-3 - responsive grid helpers
.stack - vertical flex gap helper
.cluster - horizontal wrap flex helper
.page-hero - dark hero band used on every inner page
.breadcrumbs - small breadcrumb trail nav
.prose - readable long-form legal/text content column
.legal-toc - table of contents box for legal pages
.notice / .notice-ok / .notice-warn - inline status/info banners
.card - generic elevated content card
.product-card - catalog grid item (image, name, price)
.product-strip - horizontal scroll-snap row of product-card on mobile
.product-detail - two-column product/service detail layout
.form-grid - responsive form field grid
.field / .field-error - labeled input wrapper and its error text
.hp - visually hidden honeypot field
.newsletter-form - footer email signup form
.contact-layout / .contact-info - two-column contact page layout
.cart-table - booking/cart line items table
.cart-summary - cart totals box
.cart-empty - empty cart message
.faq / .faq-item - details/summary accordion list
.doc-checker - signature feature upload + result panel
.btn / .btn-berry / .btn-ghost / .btn-outline - button variants with fill-sweep hover
.reveal / .reveal-1..4 / .in-view - scroll-reveal animation hooks with stagger
.divider - decorative SVG section divider
.site-header / .site-nav / .nav-toggle / .nav-cart / .cart-count - header & nav
.site-footer / .footer-grid / .footer-links / .footer-mail / .footer-copy - footer
.cookie-banner / .cookie-actions - cookie consent banner
.toast - transient confirmation message
.logo / .logo-mark / .logo-word - brand logo elements
.grain - fixed full-screen SVG noise overlay
.hero / .hero-shapes / .hero-content - home hero with parallax SVG shapes
.home-layout / .sticky-col / .scroll-col - sticky-left / scrolling-right home composition
.ambient-flame - small continuous subtle animated SVG accent
*/
