/* Rangus mizarstvo · prenova tipografije in umirjen prikaz fotografij */
:root {
  --bordo: #641217;
  --bordo-dark: #3d1014;
  --gold: #edbf59;
  --gold-dark: #97712e;
  --paper: #faf8f5;
  --text: #332d29;
  --muted: #625a54;
  --rule: #e8dfd4;
  --body: 'Manrope', 'Segoe UI', 'Lato', sans-serif;
  --heading: 'Cormorant Garamond', 'Palatino Linotype', 'EB Garamond', 'Book Antiqua', Georgia, serif;
  --header-height: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 15.5px/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 5px; }
img { max-width: 100%; display: block; image-rendering: auto; }
/* The photos are already gently prefiltered; no CSS contrast/sharpening or global blur. */
p { line-height: 1.9; color: var(--muted); margin: 0 0 18px; }
::selection { background: #edbf5966; color: var(--bordo); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--bordo); color: #fff; }
.skip-link:focus { top: 10px; }

/* Simple main navigation, without product-category links. */
header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 4.5%;
  background: #fffefa;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #6412170d;
  box-shadow: 0 3px 20px #38221708;
}
header > a:first-child { flex: 0 0 auto; }
header img { width: 192px; height: auto; max-height: 57px; object-fit: contain; }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 44px); margin-left: auto; margin-right: auto; font-size: 13px; font-weight: 600; }
nav a { padding: 9px 0; position: relative; white-space: nowrap; transition: color .2s; }
nav a::after { content: ''; position: absolute; height: 2px; background: var(--gold); left: 0; right: 0; bottom: 0; transform: scaleX(0); transform-origin: left; transition: transform .22s; }
nav a:hover, nav a[aria-current='location'] { color: var(--bordo); }
nav a:hover::after, nav a[aria-current='location']::after { transform: scaleX(1); }
.cta { display: inline-flex; justify-content: center; align-items: center; background: var(--bordo); color: #fff; padding: 13px 22px; border: 1px solid var(--bordo); border-radius: 3px; font-size: 12.5px; font-weight: 600; letter-spacing: .015em; line-height: 1.6; transition: background .2s, border-color .2s; white-space: nowrap; }
.cta:hover { background: var(--bordo-dark); border-color: var(--bordo-dark); }
.menu { display: none; }

/* Same single kitchen photograph and unmodified transparent logo. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  height: 86vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  padding: 5%;
  overflow: hidden;
  background: #ded5c8;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #ffffffdc 0%, #ffffff99 32%, #ffffff00 80%); pointer-events: none; }
.hero-inner { width: min(660px, 100%); position: relative; }
.hero-logo { width: min(640px, 100%); height: auto; filter: drop-shadow(0 2px 2px #ffffff66); }
.line { width: 64px; height: 2px; background: var(--gold); margin: 23px 0; }
.hero-process { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; line-height: 1.9; color: var(--bordo); }
.hero p { max-width: 490px; color: #3e342f; margin: 13px 0 0; line-height: 1.75; font-size: 14px; }
.hero .cta { background: var(--gold); border-color: var(--gold); color: var(--bordo-dark); margin-top: 23px; }
.hero .cta:hover { background: #e5b44b; border-color: #e5b44b; }

.wrap { max-width: 1380px; margin: auto; padding: 82px 5%; }
section[id] { scroll-margin-top: 14px; }
.overline { font-size: 10px; letter-spacing: .22em; font-weight: 700; color: var(--gold-dark); line-height: 1.8; }
h2 { position: relative; width: fit-content; max-width: 100%; padding: 0 24px 0 0; font: 600 clamp(40px, 3.7vw, 55px)/1.1 var(--heading); color: var(--bordo); letter-spacing: -.015em; margin: 13px 0 27px; text-wrap: balance; }
/* Fine gold corner echoes the upper-right detail in the existing logo. */
h2::after { content: ''; position: absolute; width: 13px; height: 16px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); right: 0; top: .17em; }
h3 { color: var(--bordo); font: 600 29px/1.2 var(--heading); letter-spacing: -.01em; margin: 0 0 12px; }

/* Product index: selected image 4 for offices and image 6 for living rooms. */
#izdelki > p { max-width: 680px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.tile { aspect-ratio: 1.75; position: relative; overflow: hidden; border-radius: 3px; background: #eee7de; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.tile[href="#kopalnice"] img { object-position: 50% 74%; }
.tile[href="#dnevne-sobe"] img { object-position: 50% 58%; }
.tile:hover img { transform: scale(1.025); }
.tile span { position: absolute; bottom: 0; left: 0; right: 0; background: var(--bordo); color: #fffdf8; padding: 12px 17px; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--gold); }
.tile span b { color: var(--gold); font-size: 21px; line-height: 1; font-weight: 400; }

/* Same alternating description + slideshow layout as the last website. */
.product { display: grid; grid-template-columns: 1fr 1.18fr; gap: 60px; align-items: center; border-top: 1px solid var(--rule); }
.product:nth-of-type(even) .copy { order: 2; }
.product:nth-of-type(even) .slider { order: 1; }
.copy { min-width: 0; }
.copy p:last-child { margin-bottom: 0; }
.slider { position: relative; aspect-ratio: 1.48; background: #e6e0d7; overflow: hidden; border-radius: 3px; box-shadow: 0 14px 32px #3b211114; isolation: isolate; min-width: 0; }
.slides, .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide { object-fit: cover; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.active { opacity: 1; }
.slider button { position: absolute; z-index: 2; border: 0; cursor: pointer; }
.slider .prev, .slider .next { top: 50%; transform: translateY(-50%); width: 42px; height: 48px; background: #fffdf5e8; color: var(--bordo); font: 400 30px/1 Georgia,serif; display: grid; place-items: center; transition: background .2s; }
.slider .prev:hover, .slider .next:hover { background: var(--gold); }
.prev { left: 0; border-radius: 0 2px 2px 0; }
.next { right: 0; border-radius: 2px 0 0 2px; }
.counter { position: absolute; bottom: 14px; right: 14px; padding: 5px 10px; border-radius: 2px; color: #fff; background: #3c1717ba; font-family: var(--body); font-size: 11px; letter-spacing: .08em; font-variant-numeric: tabular-nums; line-height: 1.8; z-index: 2; }
.slider .pause { bottom: 10px; left: 10px; min-width: 40px; min-height: 36px; padding: 4px 8px; border-radius: 2px; background: #3c1717a6; color: #fff; font: 600 14px/1 var(--body); }
.slider .pause:hover { color: var(--gold); }

.about { background: #f1ece5; }
.about-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.about .slider { aspect-ratio: 1.55; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feature { border-top: 1px solid #d6c9b7; padding-top: 25px; position: relative; }
.feature::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 45px; background: var(--gold); }
.feature p { font-size: 14px; margin-bottom: 0; }

/* Light contact surface keeps all headings burgundy, with readable gold details. */
.contact { text-align: center; padding: 80px 5%; border-top: 1px solid var(--rule); background: #fffdf8; }
.contact h2 { margin-left: auto; margin-right: auto; }
.contact p { max-width: 640px; margin-left: auto; margin-right: auto; }
.contact p:last-child { font-size: 12px; margin-bottom: 0; color: #73675e; }
footer { background: var(--bordo-dark); color: #f4e7cf; text-align: center; padding: 27px 20px; font-size: 11px; letter-spacing: .07em; border-top: 2px solid var(--gold); }

@media (min-width: 1600px) { .hero { padding-left: calc((100vw - 1440px) / 2 + 72px); } }
@media (max-width: 1100px) {
  header { gap: 22px; padding-inline: 4%; }
  header img { width: 168px; }
  nav { gap: 22px; font-size: 12px; }
  header .cta { padding: 11px 14px; font-size: 12px; }
  .product, .about-row { gap: 32px; }
  .feature h3 { font-size: 26px; }
}
@media (max-width: 780px) {
  :root { --header-height: 72px; }
  header { min-height: 72px; padding: 12px 5%; }
  header img { width: 168px; max-height: 45px; }
  header > .cta { display: none; }
  .menu { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid #64121722; border-radius: 3px; background: transparent; color: var(--bordo); margin-left: auto; cursor: pointer; }
  .menu span { width: 20px; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fffefa; padding: 18px 6% 23px; flex-direction: column; align-items: stretch; gap: 4px; font-size: 14px; box-shadow: 0 12px 15px #3822170c; border-bottom: 1px solid var(--rule); }
  nav.open { display: flex; }
  nav a { padding-block: 10px; }
  nav a::after { width: 40px; right: auto; }
  .hero { height: 640px; min-height: 520px; padding: 7%; }
  .hero-logo { width: 100%; }
  .hero::before { background: linear-gradient(90deg, #ffffffd9 0%, #ffffff8f 48%, #ffffff25 100%); }
  .hero-process { font-size: 10.5px; letter-spacing: .12em; }
  .hero p { max-width: 440px; font-size: 13px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .wrap { padding: 62px 5%; }
  h2 { font-size: 44px; }
  .product, .about-row { grid-template-columns: 1fr; gap: 27px; }
  .product:nth-of-type(even) .copy, .product:nth-of-type(even) .slider { order: initial; }
  .features { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .feature h3 { font-size: 28px; }
  .slider { aspect-ratio: 1.3; }
  .contact { padding: 65px 7%; }
}
@media (max-width: 480px) {
  body { font-size: 14px; }
  .hero { height: 76svh; min-height: 520px; max-height: 700px; }
  .hero-photo { object-position: 56% 48%; }
  .hero-logo { width: 100%; }
  .line { margin: 20px 0; width: 48px; }
  .hero-process { font-size: 10px; letter-spacing: .075em; }
  .hero .cta { font-size: 12px; padding: 12px 17px; }
  h2 { font-size: 40px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 1.7; }
  .tile span { font-size: 14px; }
  .slider { aspect-ratio: 1.1; }
  .about .slider { aspect-ratio: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .tile:hover img { transform: none; }
}


/* Contact update · original photographs and typography are unchanged. */
.site-header {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-areas: "brand nav contacts";
  gap: clamp(20px, 2vw, 36px);
  min-height: 90px;
  padding: 15px clamp(24px, 3vw, 64px);
}
.site-header .brand { grid-area: brand; }
.site-header .brand-logo { width: 238px; height: auto; max-height: 68px; object-fit: contain; image-rendering: auto; }
.site-header nav {
  grid-area: nav;
  margin: 0;
  gap: clamp(17px, 1.6vw, 28px);
  justify-content: flex-start;
  font-size: 12.5px;
}
.site-header .menu { grid-area: menu; }
.contact-strip {
  grid-area: contacts;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(17px, 1.6vw, 30px);
  margin: 0;
  font-style: normal;
  min-width: 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  line-height: 1.5;
  text-align: left;
}
.contact-icon {
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border: 1px solid #d0b584;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bordo);
  transition: background .2s, border-color .2s;
}
.contact-icon svg { display: block; width: 16px; height: 16px; }
.contact-strip .contact-item { align-items: flex-start; }
.contact-strip .contact-icon { margin-top: 3px; }
.contact-content { display: block; min-width: 0; }
.contact-label {
  display: block;
  margin-bottom: 4px;
  font: 500 9.5px/1.35 var(--body);
  letter-spacing: .09em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-value {
  display: block;
  color: var(--bordo);
  font: 500 11.5px/1.65 var(--body);
  white-space: nowrap;
  transition: color .2s;
}
.contact-item:hover .contact-icon,
.contact-item:focus-visible .contact-icon { background: #edbf591c; border-color: var(--gold-dark); }
.contact-item:hover .contact-value,
.contact-item:focus-visible .contact-value { color: var(--gold-dark); }
.contact-details {
  max-width: 1120px;
  margin: 36px auto 30px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: .85fr 1.2fr 1.5fr;
  gap: 28px;
  font-style: normal;
}
.contact-details .contact-item { align-items: flex-start; gap: 16px; }
.contact-details .contact-item + .contact-item { border-left: 1px solid var(--rule); padding-left: 28px; }
.contact-details .contact-icon { flex-basis: 42px; width: 42px; height: 42px; }
.contact-details .contact-icon svg { width: 19px; height: 19px; }
.contact-details .contact-label { font-size: 10px; letter-spacing: .12em; margin-bottom: 7px; }
.contact-details .contact-value { font-size: 14px; line-height: 1.8; white-space: normal; }
.contact-details .contact-email .contact-value { overflow-wrap: anywhere; }
.contact-cta { gap: 18px; margin-top: 6px; }
.tile[href="#spalnice"] img { object-position: 54% 54%; }

@media (min-width: 1600px) {
  .site-header .brand-logo { width: 255px; max-height: 72px; }
  .site-header nav { font-size: 13px; }
  .contact-strip .contact-value { font-size: 12.5px; }
  .contact-strip .contact-label { font-size: 10px; }
  .contact-strip .contact-icon { width: 36px; height: 36px; flex-basis: 36px; }
}
@media (max-width: 1359px) and (min-width: 781px) {
  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav" "contacts contacts";
    row-gap: 12px;
    padding-block: 13px;
  }
  .site-header nav { margin-left: 12px; }
  .contact-strip { border-top: 1px solid var(--rule); padding-top: 12px; justify-content: space-between; }
  .contact-strip .contact-label { font-size: 9px; }
  .contact-strip .contact-value { font-size: 11.5px; }
}
@media (max-width: 980px) {
  .contact-details { grid-template-columns: 1fr; max-width: 450px; gap: 24px; text-align: left; }
  .contact-details .contact-item + .contact-item { border-left: 0; padding-left: 0; }
}
@media (max-width: 780px) {
  /* The expanded contact header scrolls away on phones, leaving room for photos. */
  :root { --header-height: 0px; }
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand menu" "contacts contacts";
    position: relative;
    gap: 12px 16px;
    padding: 12px 5% 16px;
    min-height: 0;
  }
  .site-header .brand-logo { width: 196px; max-height: 54px; }
  .site-header .menu { display: flex; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    margin: 0;
    padding: 16px 5% 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    font-size: 14px;
    z-index: 30;
  }
  .site-header nav.open { display: flex; }
  .contact-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--rule);
    justify-content: stretch;
  }
  .contact-strip .contact-item { align-items: flex-start; gap: 10px; }
  .contact-strip .contact-icon { width: 26px; height: 26px; flex-basis: 26px; margin-top: 0; }
  .contact-strip .contact-icon svg { width: 13px; height: 13px; }
  .contact-strip .contact-content {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding-top: 3px;
  }
  .contact-strip .contact-label { font-size: 9px; margin: 0; }
  .contact-strip .contact-value { font-size: 11.5px; line-height: 1.7; white-space: normal; }
  .contact-strip .contact-email .contact-value { overflow-wrap: anywhere; }
  .contact-details { margin-top: 28px; padding-top: 26px; gap: 26px; }
  .contact-details .contact-item { gap: 14px; }
  .contact-details .contact-value { font-size: 13px; }
}
@media (max-width: 359px) {
  .contact-strip .contact-content { grid-template-columns: 51px minmax(0, 1fr); gap: 5px; }
  .contact-strip .contact-value { font-size: 10.5px; }
}

/* Typographic consistency requested for the introductory copy. */
.hero p, #izdelki > p { font-family: var(--body); font-weight: 400; font-style: normal; letter-spacing: normal; }

/* Original high-resolution hero image, rendered without artificial softening. */
.hero-photo { image-rendering: auto; filter: none; }
