/* Palmar d.o.o. – celostna podoba: temno modra #10233C, zlata #BE936D, temnejša zlata #9D6F4D, krem #F7F1E2 */
:root {
  --navy: #10233C;
  --navy-2: #1B365A;
  --gold: #BE936D;
  --gold-dark: #9D6F4D;
  --gold-light: #FCD18D;
  --cream: #F7F1E2;
  --cream-2: #FBF8F1;
  --white: #FFFFFF;
  --text: #10233C;
  --muted: #5A6170;
  --line: #E4DDCD;
  --font: Calibri, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--white); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* NAVIGACIJA */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--navy); box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; max-width: 1400px; margin: 0 auto; }
.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.lang-switcher { display: flex; gap: .4rem; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75); padding: .2rem .55rem; font: inherit; font-size: .75rem; letter-spacing: .05em; cursor: pointer; border-radius: 2px; transition: all .2s; }
.lang-btn.active, .lang-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .6rem; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* GUMBI */
.btn { display: inline-block; padding: .8rem 2rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; border: 1px solid transparent; }
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-ghost { border-color: rgba(252,209,141,.6); color: var(--gold-light); }
.btn-ghost:hover { background: rgba(252,209,141,.12); }

/* UVOD */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0A1728 100%); display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 48px) 5% 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23BE936D' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; max-width: 820px; }
.hero-logo { height: 120px; width: auto; margin: 0 auto 2.2rem; }
.hero-divider { width: 60px; height: 2px; background: var(--gold); margin: 0 auto 2.2rem; }
.hero-tagline { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 1.2rem; }
.hero-tagline strong { font-weight: 700; color: var(--gold-light); }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 2.2rem; line-height: 1.7; }
.hero-pills { list-style: none; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-pill { border: 1px solid rgba(190,147,109,.55); color: var(--gold-light); padding: .42rem 1rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; }
.hero-pill-alt { background: rgba(190,147,109,.16); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* RAZDELKI */
section { padding: 96px 5%; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-label { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; line-height: 1.2; }
.section-title::after { content: ''; display: block; width: 48px; height: 3px; background: var(--gold); margin-top: 1rem; }
.section-lead { font-size: 1.08rem; color: var(--muted); line-height: 1.8; max-width: 700px; }

/* O PODJETJU */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: center; margin-top: 2.5rem; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.about-text p:last-child { color: var(--navy); border-left: 3px solid var(--gold); padding-left: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.stat-card { background: var(--white); padding: 1.7rem 1.4rem; border-left: 3px solid var(--gold); box-shadow: 0 2px 14px rgba(16,35,60,.06); }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; white-space: nowrap; }
.stat-label { font-size: .84rem; color: var(--muted); margin-top: .5rem; line-height: 1.45; }

/* STORITVE */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--white); padding: 2.2rem 2rem; border: 1px solid var(--line); position: relative; transition: box-shadow .2s, border-color .2s; }
.service-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold); }
.service-card:hover { box-shadow: 0 8px 30px rgba(16,35,60,.10); border-color: var(--gold); }
.service-icon { width: 34px; height: 34px; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.service-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: .7rem; }
.service-body { font-size: .95rem; color: var(--muted); line-height: 1.7; }

/* EKIPA */
.team { background: var(--navy); }
.team .section-title { color: var(--white); }
.team .section-label { color: var(--gold-light); }
.team .section-lead { color: rgba(255,255,255,.68); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; align-items: start; }
.team-card { background: rgba(255,255,255,.05); border: 1px solid rgba(190,147,109,.28); padding: 2.2rem 2rem; }
.team-name { font-size: 1.25rem; font-weight: 700; color: var(--gold-light); margin-bottom: .3rem; }
.team-role { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: .9rem; }
.team-email { margin-bottom: .9rem; font-size: .9rem; }
.team-email a { color: var(--gold-light); text-decoration: none; }
.team-email a:hover { text-decoration: underline; }
.team-bio { font-size: .94rem; color: rgba(255,255,255,.75); line-height: 1.75; }

/* REFERENCE */
.references { background: var(--cream); }
.ref-tabs { display: flex; flex-wrap: wrap; margin-top: 2.5rem; border-bottom: 2px solid var(--line); }
.ref-tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px; padding: .85rem 1.4rem; font: inherit; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.ref-tab:hover { color: var(--navy); }
.ref-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.ref-panel { padding-top: 2rem; }
.ref-panel[hidden] { display: none; }
.ref-intro { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; max-width: 820px; }
.ref-list { list-style: none; columns: 2; column-gap: 2.5rem; }
.ref-list li { font-size: .93rem; color: var(--navy); margin-bottom: .55rem; padding-left: 1.1rem; position: relative; break-inside: avoid; }
.ref-list li::before { content: '–'; position: absolute; left: 0; color: var(--gold-dark); }
.ref-list span { color: var(--muted); }
.ref-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ref-block { margin-top: 3rem; }
.ref-block + .ref-block { padding-top: 2.5rem; border-top: 1px solid var(--line); }
.ref-block-title { font-size: 1.2rem; color: var(--navy); margin-bottom: .6rem; }
.ref-list-3 { columns: 3; }
.ref-region-title { font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: .6rem; }
.ref-region ul { list-style: none; }
.ref-region li { font-size: .84rem; color: var(--navy); padding: .3rem 0 .3rem .8rem; border-left: 2px solid var(--gold); margin-bottom: .35rem; line-height: 1.35; }

/* AVTOMOBILSKI DOGODKI */
.events { position: relative; background: var(--navy) url("../img/dogodki-proga.jpg") center / cover no-repeat; color: var(--white); }
.events::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,35,60,.90) 0%, rgba(16,35,60,.78) 45%, rgba(10,23,40,.95) 100%); }
.events .section-inner { position: relative; }
.events .section-label { color: var(--gold-light); }
.events .section-title { color: var(--white); }
.events .section-lead { color: rgba(255,255,255,.78); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.event-card { background: rgba(16,35,60,.72); border: 1px solid rgba(190,147,109,.35); padding: 2rem 1.7rem; backdrop-filter: blur(2px); }
.event-card .service-icon { stroke: var(--gold-light); }
.event-title { font-size: 1.12rem; color: var(--gold-light); margin-bottom: .6rem; }
.event-body { font-size: .94rem; color: rgba(255,255,255,.8); line-height: 1.7; }
.events-why { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; margin-top: 3.5rem; }
.events-why h3 { font-size: 1.5rem; margin-bottom: .8rem; color: var(--white); }
.events-why p { color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 1.6rem; }
.events-why-fig { position: relative; border: 1px solid rgba(190,147,109,.4); }
.events-why-img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.events-why-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.85); background: linear-gradient(0deg, rgba(10,23,40,.85), rgba(10,23,40,0)); }
.venue { margin-top: 3.5rem; padding: 2rem; border-top: 1px solid rgba(190,147,109,.4); display: grid; grid-template-columns: 200px 1fr auto; gap: 1rem 2.5rem; align-items: center; }
.venue-logo { width: 200px; }
.venue-facts { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: .4rem 2rem; font-size: .92rem; color: rgba(255,255,255,.8); }
.venue-facts strong { color: var(--gold-light); font-weight: 700; }
.venue-body { grid-column: 2 / 3; font-size: .88rem; color: rgba(255,255,255,.65); }
.venue .btn { grid-row: 1 / 3; grid-column: 3; }

/* KRINO */
.krino { background: var(--white); }
.krino-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.krino-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

/* KONTAKT */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 2.5rem; align-items: start; }
.contact-info p { color: var(--muted); line-height: 1.7; font-size: 1rem; }
.contact-info strong { color: var(--navy); }
.contact-info a, .contact-card a:not(.btn) { color: var(--gold-dark); text-decoration: none; }
.contact-info a:hover, .contact-card a:not(.btn):hover { text-decoration: underline; }
.contact-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy) !important; font-weight: 700; margin: 1.4rem 0 .35rem; }
.contact-info .contact-label:first-child, .contact-card .contact-label:first-child { margin-top: 0; }
.contact-side { display: grid; gap: 1.4rem; }
.contact-card { background: var(--white); padding: 1.8rem; border-left: 3px solid var(--gold); box-shadow: 0 2px 14px rgba(16,35,60,.06); }
.contact-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.related-list { list-style: none; font-size: .95rem; color: var(--muted); }
.related-list li { margin-bottom: .5rem; }

/* NOGA */
.site-footer { background: var(--navy); color: rgba(255,255,255,.6); padding: 2.5rem 5%; font-size: .82rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2.5rem; align-items: center; }
.footer-logo { height: 40px; width: auto; }
.footer-legal p + p { margin-top: .3rem; color: rgba(255,255,255,.45); }
.footer-links a { color: var(--gold-light); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* PRILAGODITEV ZASLONOM */
@media (max-width: 1020px) {
  .ref-regions { grid-template-columns: repeat(2, 1fr); }
  .ref-list-3 { columns: 2; }
  .venue { grid-template-columns: 1fr; }
  .venue-body, .venue .btn { grid-column: auto; grid-row: auto; justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-logo img { height: 38px; }
  .nav-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 5% 1.5rem; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
  .lang-switcher { margin-top: 1.2rem; }
  .lang-btn { padding: .45rem .9rem; font-size: .85rem; }
  .about-grid, .services-grid, .team-grid, .contact-grid, .events-why, .krino-grid, .events-grid { grid-template-columns: 1fr; }
  .events-why-fig { max-width: 460px; }
  .about-grid { gap: 2.5rem; }
  .krino-grid { gap: 0; }
  section { padding: 72px 6%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-logo { height: 92px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .stat-card { padding: 1.2rem 1rem; }
  .stat-num { font-size: 1.55rem; }
  .ref-list, .ref-list-3 { columns: 1; }
  .ref-regions { grid-template-columns: 1fr; }
  .ref-tab { padding: .7rem .8rem; font-size: .74rem; }
  .venue { padding: 1.5rem 0 0; }
  .venue-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .hero-actions, .nav-toggle { display: none; } .hero { min-height: auto; } }
