/* ============================================================
   Žigi in Graviranje — glavna stilska datoteka
   ============================================================ */

:root {
  --color-bg: #faf8f4;
  --color-bg-alt: #f0eae0;
  --color-dark: #1f2430;
  --color-dark-2: #2a3142;
  --color-accent: #c9952c;
  --color-accent-dark: #a9791f;
  --color-ink: #9b2c2c;
  --color-text: #2a2a2a;
  --color-muted: #686868;
  --color-border: #e4ddd0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 14px 34px rgba(31, 36, 48, 0.14);
  --shadow-sm: 0 4px 14px rgba(31, 36, 48, 0.1);
  --maxw: 1180px;
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; color: var(--color-dark); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-dark); color: #e9e6df; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--color-accent); color: #22190a; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-dark { background: var(--color-dark); color: #fff; }
.btn-dark:hover { background: var(--color-dark-2); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-dark); color: var(--color-dark); }
.btn-outline-dark:hover { background: var(--color-dark); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--color-dark); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; letter-spacing: .02em; flex: none;
}
.brand small { display: block; font-weight: 500; font-size: .68rem; color: var(--color-muted); letter-spacing: .03em; }

.nav-main { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--color-dark); font-weight: 600; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--color-accent); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-dark); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 70px 0 0 0; background: var(--color-bg); flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-sm-hide { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 440px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,22,30,.88) 10%, rgba(20,22,30,.55) 60%, rgba(20,22,30,.35) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 90px 0; }
.hero-small { min-height: 260px; }
.hero-small .hero-inner { padding: 56px 0; }
.hero p.lead { font-size: 1.15rem; max-width: 620px; color: #efece6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.breadcrumb { font-size: .85rem; color: #d8d3c7; margin-bottom: 10px; }
.breadcrumb a { color: #d8d3c7; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--color-dark); color: #fff; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-size: 1.8rem; color: var(--color-accent); }
.stats-grid span { font-size: .85rem; color: #cfcbc2; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body .muted { color: var(--color-muted); font-size: .92rem; flex: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--color-accent-dark);
  border: 1px solid var(--color-border);
}

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .card-icon { flex: none; }
.feature h3 { margin-bottom: 4px; }
.feature p { color: var(--color-muted); margin: 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split.reverse > :first-child { order: 2; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.testimonial .stars { color: var(--color-accent); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial footer { margin-top: 14px; font-weight: 700; color: var(--color-dark); font-size: .9rem; }
.testimonial footer span { display: block; font-weight: 400; color: var(--color-muted); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--color-dark), var(--color-dark-2)); color: #fff; border-radius: var(--radius); padding: 50px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8d3c7; max-width: 560px; margin: 0 auto 22px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: block; }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(20,22,30,.85), transparent);
  color: #fff; font-size: .88rem; font-weight: 600;
}

/* CSS-only lightbox using :target */
.lightbox { position: fixed; inset: 0; background: rgba(15,16,20,.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 30px; }
.lightbox:target { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 30px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; text-decoration: none; border: 1px solid rgba(255,255,255,.3);
}

/* ---------- Pricing table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--color-border); }
.price-table th { background: var(--color-dark); color: #fff; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .03em; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--color-accent-dark); }
.price-table tr:last-child td { border-bottom: none; }
.price-note { font-size: .88rem; color: var(--color-muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; color: var(--color-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--color-accent-dark); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 20px 18px; color: var(--color-muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--color-dark); }
.field .req { color: var(--color-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .96rem; background: var(--color-bg); color: var(--color-text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--color-muted); }
.checkbox-row input { width: auto; margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; font-size: .92rem; display: none; }
.alert.is-visible { display: block; }
.alert-success { background: #e4f3e8; color: #1f6b3a; border: 1px solid #b9dfc4; }
.alert-error { background: #fbe7e5; color: #9b2c2c; border: 1px solid #f1c3bd; }

/* ---------- Contact info list ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .card-icon { flex: none; width: 44px; height: 44px; font-size: 1.1rem; }
.info-list strong { display: block; color: var(--color-dark); }
.info-list span, .info-list a { color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: #d9d5cc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c9c5bc; }
.site-footer a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 22px 0; font-size: .84rem; color: #a7a39b; }
.footer-bottom a { color: #a7a39b; }
.footer-brand p { color: #b7b3aa; font-size: .92rem; max-width: 320px; }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  background: var(--color-dark); color: #eee; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); display: none;
  max-width: 760px; margin: 0 auto; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { margin: 0; font-size: .88rem; color: #d6d2c8; flex: 1; min-width: 220px; }
.cookie-bar a { color: var(--color-accent); }

/* ---------- Misc pages ---------- */
.content-block { max-width: 760px; margin: 0 auto; }
.content-block h2 { margin-top: 1.6em; }
.content-block ul { color: var(--color-muted); }
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 5rem; color: var(--color-accent); }

.badge-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge-list span { background: var(--color-bg-alt); border: 1px solid var(--color-border); color: var(--color-dark); font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
