:root {
  --bg: #f6f0e6;
  --paper: #fffaf2;
  --dark: #1f1d1a;
  --muted: #6d655b;
  --gold: #b58a42;
  --gold-dark: #8d672f;
  --line: rgba(31, 29, 26, .12);
  --shadow: 0 18px 55px rgba(31, 29, 26, .16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 242, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--gold);
  font-size: 24px;
}
.brand strong { display: block; font-family: "Playfair Display", serif; letter-spacing: .08em; font-size: 21px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.nav-links a { color: var(--dark); opacity: .82; }
.nav-links a:hover { color: var(--gold-dark); }
.menu-toggle { display: none; border: 0; background: var(--dark); color: white; border-radius: 12px; padding: 9px 12px; font-size: 21px; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(31, 29, 26, .86), rgba(31, 29, 26, .35)), url('images/krecenje-molerski-radovi.jpg') center / cover no-repeat;
  color: white;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(181, 138, 66, .2), transparent 34%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 42px; align-items: end; padding: 90px 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: 13px; }
.eyebrow.dark { color: var(--gold-dark); }
h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); max-width: 920px; }
h2 { font-size: clamp(32px, 4vw, 52px); }
.hero-text { font-size: clamp(18px, 2vw, 23px); max-width: 780px; margin: 26px 0 12px; font-weight: 700; }
.hero-subtext { color: rgba(255,255,255,.84); max-width: 740px; margin: 0 0 30px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border-radius: 999px; font-weight: 800; }
.btn-primary { background: var(--gold); color: white; box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary { border: 1px solid rgba(255,255,255,.42); color: white; }
.hero-card { background: rgba(255, 250, 242, .94); color: var(--dark); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.55); }
.hero-card span { color: var(--gold-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hero-card strong { display: block; font-family: "Playfair Display", serif; font-size: 32px; line-height: 1.08; margin: 8px 0 24px; }
.hero-card a { display: inline-flex; padding: 11px 16px; background: var(--dark); color: white; border-radius: 999px; font-weight: 700; }

.section { padding: 86px 0; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.split p { font-size: 19px; color: var(--muted); margin: 8px 0 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-weight: 800; box-shadow: 0 12px 28px rgba(31, 29, 26, .07); }
.service-card::before { content: "✓"; color: var(--gold-dark); font-weight: 900; margin-right: 9px; }

.why { background: var(--dark); color: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.why p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 18px; }
.benefits { display: grid; gap: 14px; }
.benefits div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px 20px; font-weight: 800; }
.benefits span { color: var(--gold); margin-right: 9px; }

.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); }
.gallery-grid figure:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; cursor: zoom-in; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); }
.gallery-grid figcaption { padding: 16px 18px; font-weight: 800; color: var(--dark); }

.contact { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: white; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.contact .eyebrow { color: rgba(255,255,255,.78); }
.contact p { color: rgba(255,255,255,.86); font-size: 18px; }
.contact-card { background: rgba(255,255,255,.96); color: var(--dark); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.contact-card a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.contact-card a:hover { border-color: rgba(181, 138, 66, .7); }
.contact-card strong { color: var(--gold-dark); }
.contact-card span { font-weight: 800; text-align: right; }

.seo-text { padding: 28px 0; background: #151412; color: rgba(255,255,255,.68); font-size: 14px; }
.footer { padding: 28px 0; background: #0f0e0d; color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer a { color: var(--gold); font-weight: 800; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.86); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 94vw; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.55); }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; font-size: 24px; cursor: pointer; }

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1120px); }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 78px; display: none; flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .hero { min-height: auto; }
  .hero-grid, .split, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure:first-child { grid-row: auto; }
  .section { padding: 64px 0; }
  .contact-card a { flex-direction: column; align-items: flex-start; }
  .contact-card span { text-align: left; word-break: break-word; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
