/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
  background: #fff;
  color: #333;
  font-family: "Inter", "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 90px;
  line-height: 1.6;
  transition: zoom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 15px 0;
  background: rgba(10, 26, 47, 0.9);
  backdrop-filter: blur(8px);
  transition: padding 0.25s, background 0.25s, box-shadow 0.25s;
}

.site-header.shrink {
  padding: 6px 0;
  background: rgba(10, 26, 47, 0.97);
  backdrop-filter: blur(10px);
}

.site-header.shadow {
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner img {
  max-height: 48px;
  object-fit: contain;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.nav a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   ZOOM BUTTONS
-------------------------------------------------- */
.zoom-group {
  display: flex;
  gap: 8px;
}

.zoom-button {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 14px;
}

.zoom-button:hover {
  background: rgba(255,255,255,0.25);
}

/* --------------------------------------------------
   CONTENT
-------------------------------------------------- */
.content {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

.domov-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.domov-wrapper img {
  max-width: 300px;
  border-radius: 6px;
}

.lj-flag {
  max-width: 180px;
}

/* --------------------------------------------------
   3 COLUMNS
-------------------------------------------------- */
.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.column-box {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.column-box h2 {
  margin: 0 0 15px;
  padding-bottom: 8px;
  font-size: 22px;
  color: #0a1a2f;
  border-bottom: 2px solid #0a1a2f;
}

/* --------------------------------------------------
   GALLERY
-------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* --------------------------------------------------
   COYOTE IMAGE
-------------------------------------------------- */
.coyote-right img {
  max-width: 80px;
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* --------------------------------------------------
   LINKS
-------------------------------------------------- */
.links a {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #0066cc;
  text-align: center;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons svg {
  width: 100%;
  height: 100%;
  fill: #ccc !important;
  transition: fill 0.25s;
}

.social-icons a:hover svg {
  fill: #fff !important;
}

/* --------------------------------------------------
   FLAGCOUNTER (RESPONSIVE)
-------------------------------------------------- */
.flagcounter img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 35px auto 15px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.4));
}

/* --------------------------------------------------
   TOP BUTTON
-------------------------------------------------- */
.top-button {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background: rgba(10, 26, 47, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s, transform 0.2s;
  z-index: 11000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.top-button:hover {
  background: rgba(10, 26, 47, 1);
  transform: translateY(-2px);
}

.top-button.show {
  opacity: 1;
}

/* --------------------------------------------------
   COOKIE POPUP
-------------------------------------------------- */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  display: none;
  transition: opacity 0.25s;
  z-index: 9998;
}

.cookie-overlay.show {
  opacity: 1;
}

.cookie-popup {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #333;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  max-width: 420px;
  width: calc(100% - 40px);
  opacity: 0;
  display: none;
  transition: transform 0.25s, opacity 0.25s;
  z-index: 9999;
}

.cookie-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

#cookie-accept {
  background: #0a1a2f;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
}

#cookie-accept:hover {
  background: #123456;
}

#popup-overlay,
#popup-box {
    display: none !important;
}


/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .zoom-group {
    margin-top: 10px;
  }
}

@media (max-width: 600px) {
  .social-icons svg {
    width: 24px;
    height: 24px;
  }

  .flagcounter img {
    max-width: 320px;
    margin: 25px auto 10px;
  }

  .top-button {
    right: 22px;
    bottom: 28px;
  }
}

/* --------------------------------------------------
   tekst oblikovanje
-------------------------------------------------- */

.article-title{
 text-align: center;
 }
/* Temno-modro prosojno ozadje */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 47, 0.55);
    display: none;
    z-index: 999;
}

/* Okvir popupa */
#popup-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 25px 30px;
    width: 360px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: none;
    z-index: 1000;
    text-align: center;
    color: #333333;
    border-top: 6px solid #007acc;
}

/* Naslov */
#popup-box h2 {
    margin-top: 0;
    color: #0a1a2f;
}

/* Gumb X */
#popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #0a1a2f;
}

