/* ============================================================
   KILC d.o.o. Bovec — statična stran (prenova WordPress teme)
   Izvorni videz: temna glava, rdeče ozadje, okvir vsebine 958px
   CSS napisan na novo, brez datotek izvorne teme.
   ============================================================ */

:root {
  --bg: #262626;
  --red: #8d120a;
  --red-dark: #5e0b06;
  --txt: #ccc;
  --txt-dim: #999;
  --white: #fff;
  --maxw: 958px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font: 12px/1.6 "Lucida Grande", "Lucida Sans Unicode", Helvetica, Verdana, sans-serif;
}

img { border: 0; max-width: 100%; height: auto; }
a { color: #ddd; text-decoration: none; }
a:hover { color: #fff; }

.wrapper { max-width: var(--maxw); margin: 0 auto; padding: 0 10px; }

/* ---------------- Header ---------------- */

#header {
  background: linear-gradient(180deg, #353535 0%, #1c1c1c 55%, #111 100%);
  border-bottom: 1px solid #000;
}

.header-top { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 18px; padding-bottom: 14px; }

.logo { display: inline-block; line-height: 0; }
.logo img { width: 158px; height: 58px; }

.header-right { text-align: right; }

ul.langs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 7px; justify-content: flex-end; }
ul.langs li { line-height: 0; }
ul.langs a { display: inline-block; opacity: .75; transition: opacity .15s; line-height: 0; }
ul.langs a:hover, ul.langs li.active a { opacity: 1; }
ul.langs img { width: 18px; height: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

.phone { color: var(--txt); font-size: 19px; white-space: nowrap; }
.phone .tel-ico { font-size: 23px; vertical-align: -2px; margin-right: 2px; }

/* ---------------- Main navigation ---------------- */

#mainnav {
  background: linear-gradient(180deg, #1f1f1f 0%, #111 50%, #050505 100%);
  border-top: 1px solid #333;
  box-shadow: 0 3px 8px rgba(0,0,0,.5);
  position: relative;
  z-index: 50;
}

#mainnav ul.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }

#mainnav ul.menu > li { position: relative; }
#mainnav ul.menu > li > a {
  display: block;
  padding: 0 16px;
  line-height: 58px;
  color: var(--txt);
  font-size: 13px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.07);
  white-space: nowrap;
}
#mainnav ul.menu > li:first-child > a { border-left: 1px solid rgba(255,255,255,.07); }
#mainnav ul.menu > li > a:hover,
#mainnav ul.menu > li.open > a,
#mainnav ul.menu > li.active > a {
  color: #fff;
  background: linear-gradient(180deg, #3d3d3d 0%, #222 100%);
}

/* dropdown */
#mainnav ul.sub {
  list-style: none;
  margin: 0; padding: 6px 0;
  position: absolute; left: 0; top: 100%;
  min-width: 205px;
  background: #141414;
  background: linear-gradient(180deg, #232323 0%, #121212 100%);
  border: 1px solid #000;
  border-top: 2px solid var(--red);
  box-shadow: 0 6px 14px rgba(0,0,0,.6);
  display: none;
  z-index: 60;
}
#mainnav li:hover > ul.sub, #mainnav li.open > ul.sub { display: block; }
#mainnav ul.sub a {
  display: block; padding: 8px 16px; color: var(--txt); font-size: 13px;
}
#mainnav ul.sub a:hover { color: #fff; background: rgba(141,18,10,.55); }

/* ---------------- Red band / content ---------------- */

#redband {
  background: var(--red);
  background: radial-gradient(120% 90% at 50% 0%, #a81910 0%, var(--red) 45%, #6f0d07 100%);
  box-shadow: inset 0 14px 18px -12px rgba(0,0,0,.8), inset 0 -14px 18px -12px rgba(0,0,0,.8);
  padding: 34px 0 44px;
}

.contentbox {
  background: rgba(30,0,0,.38);
  border: 1px solid rgba(0,0,0,.35);
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 20px 19px;
}

.contentbox-inner { background: rgba(0,0,0,.18); border-radius: 6px; }

/* ---------------- Slideshow (domača stran) ---------------- */

.slider { position: relative; overflow: hidden; border-radius: 6px; }
.slider .slide { display: none; position: relative; }
.slider .slide.active { display: block; }
.slider .slide img { display: block; width: 100%; height: auto; }
.slider .slide { animation: none; }
.slider .slide.active { animation: fadein .6s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.slider .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 10px 18px 12px;
}
.slider .cap h6 { margin: 0 0 4px; font-size: 16px; font-weight: normal; font-family: geneva, arial, helvetica, sans-serif; }
.slider .cap p { margin: 0; font-size: 12px; color: #ddd; }

ul.dots { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; gap: 9px; }
ul.dots button {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.6);
  background: radial-gradient(circle at 35% 30%, #eee, #9c9c9c 70%);
  cursor: pointer; padding: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 1px 2px rgba(0,0,0,.5);
}
ul.dots li.active button { background: radial-gradient(circle at 35% 30%, #fff, #d2d2d2 70%); box-shadow: 0 0 6px rgba(255,255,255,.8); }

/* ---------------- Kategorije (kartice izdelkov) ---------------- */

.groupcard { display: flex; align-items: center; gap: 28px; padding: 18px 26px; min-height: 433px; }
.groupcard .gtxt { flex: 1 1 auto; text-align: center; }
.groupcard .gimg { flex: 0 0 auto; }
.groupcard .gimg img { width: 100%; max-width: 303px; height: auto; display: block; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }

.groupTitle { font-family: geneva, arial, helvetica, sans-serif; font-size: 28px; margin: 0 0 14px; font-weight: normal; }
.groupTitle a { color: #fff; }
.groupTitle a:hover { text-decoration: underline; }
.groupDesc { color: var(--txt); font-size: 12px; line-height: 1.55; max-width: 430px; margin: 0 auto 16px; }
a.more { display: inline-block; color: #fff; font-size: 12px; letter-spacing: .4px; border-bottom: 1px dotted rgba(255,255,255,.6); padding-bottom: 1px; }
a.more:hover { border-bottom-style: solid; }

/* ---------------- Izdelek ---------------- */

.product { padding: 26px 30px 34px; }
.artTitle { font-family: geneva, arial, helvetica, sans-serif; font-size: 30px; font-weight: normal; color: #fff; margin: 0; }
.artSubtitle { color: var(--txt-dim); font-size: 14px; margin: 4px 0 0; }
.artText { margin: 18px 0 6px; font-size: 12.5px; line-height: 1.7; max-width: 640px; }
.artImage { text-align: center; padding: 26px 0 6px; }
.artImage img { width: 100%; max-width: 302px; height: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,.5)); }

/* ---------------- Splošna vsebina (prodajna mesta, trgovina) ---------------- */

.page { padding: 26px 30px 34px; }
.page h1 { font-family: geneva, arial, helvetica, sans-serif; font-size: 30px; font-weight: normal; color: #fff; margin: 0 0 18px; }
.page ul { margin: 6px 0 14px; padding-left: 20px; }
.page li { margin: 2px 0; }
.page p { margin: 12px 0 4px; }
.page a { color: #fff; border-bottom: 1px dotted rgba(255,255,255,.5); }
.page a:hover { border-bottom-style: solid; }

/* ---------------- Lokacija ---------------- */

.mapframe { border: 0; width: 100%; height: 433px; display: block; border-radius: 6px; background: #111; }
.map-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 6px 0; }
.map-meta strong { color: #fff; font-weight: normal; font-size: 14px; }

/* ---------------- Kontakt ---------------- */

.contact { display: flex; gap: 36px; padding: 26px 30px 34px; flex-wrap: wrap; }
.contact .cform { flex: 1 1 380px; min-width: 300px; }
.contact .cinfo { flex: 0 1 300px; min-width: 260px; }

.contMessage { font-family: geneva, arial, helvetica, sans-serif; font-size: 22px; color: #fff; margin-bottom: 16px; }

.cform p { margin: 0 0 14px; }
.cform label { display: block; margin-bottom: 4px; color: var(--txt); }
.cform input[type=text], .cform input[type=email], .cform textarea {
  width: 100%; max-width: 420px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 3px;
  color: #fff; font: inherit;
  padding: 7px 9px;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: rgba(255,255,255,.6); }
.cform textarea { height: 150px; resize: vertical; }
.cform button {
  background: linear-gradient(180deg, #3a3a3a, #161616);
  color: #fff; font: inherit; text-transform: uppercase;
  border: 1px solid #000; border-radius: 4px;
  padding: 9px 26px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.cform button:hover { background: linear-gradient(180deg, #4a4a4a, #222); }
.cform .note { font-size: 11px; color: var(--txt-dim); margin-top: 8px; }

.cinfo .cell { margin-bottom: 22px; }
.cinfo .addrhead { font-family: geneva, arial, helvetica, sans-serif; font-size: 16px; color: #fff; margin-bottom: 6px; }
.cinfo .cell div { line-height: 1.7; }

/* ---------------- Footer ---------------- */

#footer {
  background: var(--bg);
  padding: 26px 0 34px;
}
#footer .wrapper { display: flex; align-items: flex-start; gap: 18px; position: relative; }
#footer .eagle { flex: 0 0 auto; opacity: .85; }
#footer .copyright { color: #666; font-size: 10.8px; line-height: 1.6; max-width: 760px; }
a.top {
  position: absolute; right: 10px; top: 4px;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, #3a3a3a, #191919);
  border: 1px solid #000;
  color: #bbb; text-align: center; line-height: 32px; font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
a.top:hover { color: #fff; }

/* ---------------- Odzivnost ---------------- */

@media (max-width: 720px) {
  .header-top { flex-direction: column; align-items: center; gap: 12px; }
  .header-right { text-align: center; }
  ul.langs { justify-content: center; }
  .phone { font-size: 16px; }
  #mainnav ul.menu { justify-content: center; }
  #mainnav ul.menu > li > a { line-height: 44px; padding: 0 10px; font-size: 12px; }
  /* dropdown na dotik: JS preklaplja razred .open */
  #mainnav li:hover > ul.sub { display: none; }
  #mainnav li.open > ul.sub { display: block; }
  .groupcard { flex-direction: column; min-height: 0; padding: 20px 14px; }
  .groupcard .gimg img { max-width: 220px; }
  .product, .page, .contact { padding: 20px 16px 26px; }
  .slider .cap h6 { font-size: 14px; }
  .slider .cap p { font-size: 11px; }
  #footer .wrapper { flex-direction: column; }
  a.top { position: static; margin-left: auto; }
}
