 
/* ============================================
   ROOT / THEME
   ============================================ */
:root {
  --primary: #1e3a5f;
  --primary-light: #405975;
  --accent: #2b6cb0;
  --accent-dark: #1e4a76;

  --bg: #f7fafc;
  --card: #ffffff;
  --text: #2d3748;
  --muted: #718096;

  --radius: 12px;
  --radius-lg: 16px;

  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.2s ease;
}

/* ============================================
   RESET
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================
   BODY
   ============================================ */
body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 16px;
}

/* ============================================
   HEADER
   ============================================ */
header {
  background: var(--primary);
  color: white;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 20px;
}

header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.info {
  font-size: 0.85rem;
  color: #d1d5db;
}

/* ============================================
   MENU GRID
   ============================================ */
.menu {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 18px;
}

/* ============================================
   CARD
   ============================================ */
.menu-item {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: var(--transition);
}

@media (hover:hover) {
  .menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
}

/* ============================================
   SUMMARY BUTTON
   ============================================ */
.summary-button {
  background: var(--primary);
  color: white;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.summary-button:active {
  background: var(--primary-light);
}

details[open] .summary-button {
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--primary-light);
}

/* ============================================
   SUBMENU
   ============================================ */
.submenu-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  margin: 8px 0;
  border-radius: var(--radius);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.submenu-line:active {
  background: #e2e8f0;
}

.submenu-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================
   LINKS
   ============================================ */
a {
  color: var(--accent);
  text-decoration: none;
}

@media (hover:hover) {
  a:hover {
    text-decoration: underline;
  }
}

/* ============================================
   INFO / NOTE BOX
   ============================================ */
.napomena1 {
  margin-top: 12px;
  padding: 14px;
  background: #ebf4ff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* ============================================
   MODAL BUTTON (ℹ️)
   ============================================ */
.open-modal {
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.open-modal:active {
  transform: scale(0.9);
  background: var(--accent-dark);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 40px;
  padding: 20px 10px;
}

/* ============================================
   LANGUAGE SWITCHER (TVOJ POSTOJEĆI)
   ============================================ */
#lang-switcher {
  position: fixed;
  top: 15px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 9999;
}

.lang-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.lang-btn:hover {
  background: var(--accent-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  header h2 {
    font-size: 1.3rem;
  }

  .summary-button {
    font-size: 0.95rem;
  }

  .submenu-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
 