/* ===== OPĆI IZGLED ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  background-image: url("logo.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: 80%;
  opacity: 0.98;
}

/* ===== FIKSNI HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.6);
  z-index: 1000;
}

/* ===== LOGO ===== */
header .logo {
  height: 40px;
  width: auto;
  margin-right: 20px;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.7));
  animation: logoGlow 10s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 4px rgba(212,175,55,0.6)); }
  100% { filter: drop-shadow(0 0 12px rgba(212,175,55,1)); }
}

/* ===== NAVIGACIJSKE KARTICE ===== */
nav {
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #d4af37;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(212,175,55,0.5);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

nav a:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.9), rgba(180,140,30,0.8));
  color: #111;
  box-shadow: 0 0 15px rgba(212,175,55,0.7);
  transform: scale(1.05);
}

/* ===== JEZIČNI GUMB ===== */
#lang-btn {
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

#lang-btn:hover {
  background: rgba(212,175,55,0.15);
  transform: scale(1.08);
}

/* ===== HERO SEKCIJA ===== */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, #000 80%);
  text-align: center;
  margin-top: 80px;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  top: 10%;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 50px;
  border-top: 2px solid rgba(212,175,55,0.6);
  border-bottom: 2px solid rgba(212,175,55,0.6);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  position: absolute;
  bottom: 10%;
  color: #eee;
  background: rgba(0, 0, 0, 0.5);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.1em;
  max-width: 700px;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(0,0,0,0.7);
}

/* ===== KARTICE SEKCIJA ===== */
.card {
  background: rgba(20,20,20,0.95);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 16px;
  margin: 60px auto;
  padding: 60px 30px;
  max-width: 1000px;
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.card h2 {
  color: #d4af37;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.card p, .card ul {
  color: #ccc;
  font-size: 1.1em;
  line-height: 1.6;
}

/* ===== USLUGE ===== */
#usluge ul, #services ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

#usluge li, #services li {
  border-bottom: 1px solid rgba(212,175,55,0.3);
  padding: 10px 0;
}

#usluge li:hover, #services li:hover {
  color: #d4af37;
}

/* ===== GALERIJA ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  border: 2px solid rgba(212,175,55,0.5);
  box-shadow: 0 0 15px rgba(212,175,55,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  border-color: rgba(212,175,55,0.8);
  box-shadow: 0 0 25px rgba(212,175,55,0.7);
}

/* ===== KONTAKT ===== */
#kontakt p, #contact p {
  text-align: center;
  margin: 8px 0;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 25px;
  background-color: #0a0a0a;
  font-size: 0.9em;
  color: #999;
  border-top: 1px solid rgba(212,175,55,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .card {
    margin: 40px 15px;
    padding: 40px 20px;
  }
}
