:root {
  /* Osrednje barve – tukaj jih lahko natančno uskladimo z logotipom. */
  --ink: #252a24;
  --ink-soft: #5e645b;
  --paper: #f7f5ef;
  --paper-2: #eeece4;
  --wood: #9a8063;
  --wood-dark: #705b46;
  --line: rgba(37, 42, 36, .14);
  --white: #fff;
  --max: 1240px;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(37, 42, 36, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 20px; }

/* HEADER */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgba(247,245,239,.90);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: .3s ease;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(37,42,36,.05);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 172px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a {
  position: relative;
  font-size: .92rem;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--wood-dark);
  transition: right .25s ease;
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after { right: 0; }

.nav-action {
  color: #4f8f22 !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
}
.nav-action:hover { color: var(--wood-dark) !important; }

.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
}
.nav-cta:hover { background: var(--ink); color: var(--white) !important; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
  transition: .25s;
}

/* TYPE */
.eyebrow {
  margin: 0 0 18px;
  color: var(--wood-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow-light { color: #c7b49c; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }

/*
h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 24px; }
h3 { font-size: 1.45rem; margin-bottom: 8px; }
*/

h1 { font-size: 2.9rem; margin-bottom: 28px; }
h2 { font-size: 2.3rem; margin-bottom: 24px; }
h3 { font-size: 1.7rem; margin-bottom: 18px; }

em { color: var(--wood-dark); font-style: normal; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.65; }

/* HERO */
.hero {
  position: relative;
  min-height: min(900px, 100vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper-2);
}
.hero-media {
  position: absolute;
  inset: 0 0 0 max(44%, calc(50% - 100px));
  overflow: hidden;
}
.hero-image,
.image-door-01,
.image-door-02,
.image-door-03 {
  background-size: cover;
  background-position: center;
}

/*
  Fotografije:
  zamenjaj spodnje poti z dejanskimi fotografijami vrat.
  Priporočeno: velike, svetle fotografije interierjev brez napisov.
*/
.hero-image {
  height: 100%;
  background:
    linear-gradient(90deg, var(--paper-2) 0%, rgba(238,236,228,.15) 18%, rgba(238,236,228,0) 40%),
    url("slike/hero-vrata.jpg") center / cover no-repeat,
    linear-gradient(135deg, #c6b59d, #81705b);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 110px;
}
.hero-content > * { max-width: min(520px, calc(44vw - 50px)); }
.hero-lead {
  color: var(--ink-soft);
  font-size: 1.12rem;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 38px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: .9rem;
  font-weight: 500;
  transition: .25s ease;
}
.btn span { font-size: 1.2rem; transition: transform .25s ease; }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--wood-dark); border-color: var(--wood-dark); }
.text-link {
  font-size: .9rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.hero-note {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 30px;
  writing-mode: vertical-rl;
  color: var(--ink-soft);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* SECTIONS */
.section { padding: 130px 0; }
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}
.intro-copy { padding-top: 38px; max-width: 610px; color: var(--ink-soft); }
.intro-copy p:last-child { margin-bottom: 0; }

/* GALLERY */
.door-showcase {
  padding: 130px 0 150px;
  background: #e9e6dd;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 65px;
}
.section-head > p {
  max-width: 390px;
  margin: 0 0 7px;
  color: var(--ink-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px 30px;
}
.gallery-card--large { grid-row: span 2; }
.image-frame {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background-color: #cfc6b8;
}
.gallery-card--large .image-frame { min-height: 720px; }
.image-door-01 { background-image: url("slike/vrata-01.jpg"); }
.image-door-02 { background-image: url("slike/vrata-02.jpg"); }
.image-door-03 { background-image: url("slike/vrata-03.jpg"); }
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(37,42,36,.18));
}
.image-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 20px;
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card-meta { padding: 18px 4px 0; }
.card-meta p { color: var(--ink-soft); margin-bottom: 0; }

/* MATERIAL */
.material-section { background: var(--paper); }
.material-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 12%;
}
.material-visual {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(135deg, rgba(37,42,36,.1), transparent),
    url("slike/les-detail.jpg") center / cover no-repeat,
    #aa9276;
  overflow: hidden;
}
.material-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.material-caption {
  position: absolute;
  left: 30px;
  bottom: 26px;
  color: var(--white);
  display: grid;
  gap: 3px;
}
.material-caption span { font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; }
.material-caption strong { font-size: 2.2rem; font-weight: 300; }
.material-copy { max-width: 620px; color: var(--ink-soft); }
.material-copy h2 { color: var(--ink); }
.material-list { margin-top: 48px; border-top: 1px solid var(--line); }
.material-list > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.material-list span { color: var(--wood-dark); font-size: .75rem; }
.material-list strong { color: var(--ink); font-weight: 500; }
.material-list p { grid-column: 2; margin: 4px 0 0; font-size: .9rem; }

/* PROCESS */
.feature-section { background: var(--paper-2); }
.section-head--center { display: block; max-width: 700px; margin-inline: auto; text-align: center; }
.section-head--center > p:last-child { max-width: 500px; margin: 0 auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.process-item {
  min-height: 300px;
  padding: 28px 30px 30px 0;
  border-right: 1px solid var(--line);
  margin-right: 30px;
}
.process-item:last-child { border-right: 0; margin-right: 0; }
.process-item > span { color: var(--wood-dark); font-size: .72rem; letter-spacing: .15em; }
.process-item h3 { margin-top: 55px; }
.process-item p { color: var(--ink-soft); font-size: .92rem; max-width: 250px; }

/* DARK */
.dark-feature { padding: 125px 0; background: var(--ink); color: var(--white); }
.dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }
.dark-feature h2 { color: var(--white); }
.dark-lead { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 520px; }
.check-list { list-style: none; padding: 25px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.check-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}
.check-list li::before { content: "—"; color: #c7b49c; margin-right: 12px; }

/* QUOTE */
.quote-section { background: #ded9ce; }
.quote-wrap { max-width: 900px; text-align: center; }
.quote-mark { margin: 0; color: var(--wood-dark); font-size: 5rem; line-height: .7; }
blockquote {
  margin: 35px 0 28px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -.035em;
}
.quote-source { margin: 0; color: var(--ink-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ACTION */
.action-section { padding: 72px 0; background: #e6eadf; }
.action-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.action-inner h2 { margin-bottom: 12px; font-size: clamp(2.3rem, 4vw, 3.4rem); }
.action-inner p:not(.eyebrow) { margin-bottom: 0; color: var(--ink-soft); }

/* CONTACT */
.contact-section { padding: 125px 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 12%; align-items: center; }
.contact-grid .lead { color: var(--ink-soft); max-width: 500px; }
.contact-card { padding: 38px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row span { color: var(--ink-soft); font-size: .85rem; }
.contact-row a { font-weight: 500; }
.contact-row a:hover { color: var(--wood-dark); }
.btn-full { width: 100%; margin-top: 30px; }

/* FOOTER */
.site-footer { padding: 65px 0 25px; background: #20251f; color: rgba(255,255,255,.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo { width: 165px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.footer-grid strong { color: var(--white); font-size: .9rem; font-weight: 500; }
.footer-grid p { font-size: .83rem; margin: 12px 0 0; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .75rem;
}
.footer-bottom a:hover { color: var(--white); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
  .gallery-grid { gap: 45px 20px; }
  .gallery-card--large .image-frame { min-height: 600px; }
  .material-grid, .dark-grid, .contact-grid { gap: 8%; }
  .process-item { padding-right: 18px; margin-right: 18px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 145px; }
  .menu-toggle { display: block; z-index: 12; }
  .main-nav {
    position: fixed;
    inset: 70px 0 auto;
    padding: 24px 17px 30px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: none; }
  .main-nav > a { padding: 13px 0; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero { min-height: auto; padding-bottom: 70px; display: block; }
  .hero-media { position: relative; inset: auto; height: 58vw; min-height: 300px; }
  .hero-image { background: url("slike/hero-vrata.jpg") center / cover no-repeat, #c6b59d; }
  .hero-content { padding: 55px 0 20px; }
  .hero-content > * { max-width: none; }
  
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-note { display: none; }
  .intro-grid, .material-grid, .dark-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .action-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .section, .contact-section { padding: 85px 0; }
  .door-showcase { padding: 85px 0 100px; }
  .section-head { display: block; margin-bottom: 45px; }
  .section-head > p { margin-top: 25px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 50px; }
  .gallery-card--large { grid-row: auto; }
  .gallery-card--large .image-frame, .image-frame { min-height: 105vw; max-height: 620px; }
  .material-visual { min-height: 105vw; max-height: 560px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-item { min-height: 250px; border-bottom: 1px solid var(--line); }
  .process-item:nth-child(2) { border-right: 0; margin-right: 0; }
  .process-item h3 { margin-top: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .btn { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-item, .process-item:nth-child(2) { border-right: 0; margin-right: 0; min-height: auto; padding: 25px 0; }
  .process-item h3 { margin-top: 20px; }
  .contact-card { padding: 25px 20px; }
  .contact-row { display: grid; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: grid; }
}







/* HOW IT WORKS – four-step collaboration timeline */
.collaboration-section {
  position: relative;
  overflow: hidden;
  padding: 105px 0 92px;
  background: #f5ede2;
}
.collaboration-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.collaboration-eyebrow {
  margin: 0 0 12px;
  color: #bd760e;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.collaboration-heading h2 {
  margin: 0 0 12px;
  color: #171511;
  
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.04em;
}
.collaboration-heading > p:last-child {
  max-width: 590px;
  margin: 0 auto;
  color: #6e6257;
  font-size: 1.02rem;
}
.collaboration-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.collaboration-steps::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: #c77d0b;
}
.collaboration-step {
  position: relative;
  z-index: 1;
  text-align: center;
  min-width: 0;
}
.step-icon-card {
  display: flex;
  width: 81px;
  height: 81px;
  margin: 0 auto 26px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 7px 18px rgba(50, 38, 24, .09);
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #c77d0b;
  color: #fff;
  border-radius: 2px;
}

.step-icon svg { width: 25px; height: 25px; }

.step-icon-card strong {
  color: #201b15;
  
  font-size: 1.9rem;
  font-weight: 700;
}
.collaboration-step h3 {
  margin: 0 0 9px;
  color: #211a13;
  
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.collaboration-step p {
  max-width: 260px;
  margin: 0 auto;
  color: #74675b;
  font-size: .9rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .collaboration-section { padding: 78px 0 72px; }
  .collaboration-heading { margin-bottom: 42px; }
  .collaboration-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 20px; }
  .collaboration-steps::before { display: none; }
  .step-icon-card { margin-bottom: 19px; }
}

@media (max-width: 430px) {
  .collaboration-steps { grid-template-columns: 1fr; gap: 32px; }
  .collaboration-step p { max-width: 290px; }
}
