@charset "UTF-8";
section.page h1::before {
  content: "" !important;
  color: #42a5f5;
  opacity: 0.7; }

section.page h2::before {
  content: "" !important;
  color: #42a5f5;
  opacity: 0.7; }

.active-menu-item {
  border-bottom: 2.5px solid #42a5f5;
  padding-bottom: 1px; }

.avatar img {
  width: 30rem; }
  @media only screen and (max-width: 768px) {
    .avatar img {
      width: 24rem; } }
img[src$='#avatar-about'] {
  float: right;
  width: 20rem;
  border-radius: 10rem;
  margin-left: 4rem;
  margin-top: -5.5rem;
  margin-right: 1rem; }
  @media only screen and (max-width: 768px) {
    img[src$='#avatar-about'] {
      display: none; } }
.navigation-link {
  font-size: 1.05em !important; }

.navigation-title {
  font-size: 1em !important; }

.wrapper {
  min-height: 100svh; }

.footer {
  visibility: hidden;
  display: none; }

.content header {
  margin-top: 5rem; }
  .content header h1 {
    font-size: 3.8rem;
    line-height: 4.6rem;
    margin: 0; }
    @media only screen and (max-width: 768px) {
      .content header h1 {
        font-size: 3.5rem;
        line-height: 4.4rem; } }
  @media only screen and (max-width: 768px) {
    .content header {
      margin-top: 2rem; } }
/* === IMPROVED NESTED DROPDOWN MENU === */
.navigation-list .navigation-item {
  position: relative; }

/* 1. Hide by default using opacity/visibility for smooth transitions */
.navigation-list .navigation-item > .navigation-sublist {
  /* --- NOVO: Prisiljavamo vertikalni raspored (gore-dolje) --- */
  display: flex;
  flex-direction: column;
  /* ---------------------------------------------------------- */
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 220px;
  list-style-type: none;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  /* Modern, softer shadow */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  /* Slight push down for slide-in animation */
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; }

/* 2. Show on hover or focus-within */
.navigation-list .navigation-item:hover > .navigation-sublist,
.navigation-list .navigation-item:focus-within > .navigation-sublist {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  /* Slide into place */ }

/* 3. Submenu items styling */
.navigation-list .navigation-item > .navigation-sublist .navigation-item {
  display: block;
  width: 100%;
  /* NOVO: Osigurava da stavka ne ostavi mjesta za drugu kolonu */
  margin: 0;
  padding: 0; }

.navigation-list .navigation-item > .navigation-sublist .navigation-link {
  display: block;
  width: 100%;
  /* NOVO: Poveznica se širi od ruba do ruba */
  box-sizing: border-box;
  /* NOVO: Sprječava da padding proširi element izvan kontejnera */
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease; }

.navigation-list .navigation-item > .navigation-sublist .navigation-link {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: #334155;
  /* Slightly softer dark text for contrast */
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease; }

.navigation-list .navigation-item > .navigation-sublist .navigation-link:hover,
.navigation-list .navigation-item > .navigation-sublist .navigation-link:focus {
  background-color: #f8fafc;
  color: #2563eb; }

/* 4. FontAwesome Caret setup & rotation animation */
.navigation-list .navigation-item.has-children > .navigation-link .submenu-caret {
  margin-left: 0.4rem;
  transition: transform 0.3s ease; }

.navigation-list .navigation-item.has-children:hover > .navigation-link .submenu-caret,
.navigation-list .navigation-item.has-children:focus-within > .navigation-link .submenu-caret {
  transform: rotate(180deg); }

/* 5. Mobile: Always visible, vertically stacked with cleaner indentation */
/* 5. Mobile: Hidden by default, expands into an accordion on tap/focus */
@media only screen and (max-width: 768px) {
  .navigation-list .navigation-item {
    width: 100%;
    padding: 0.25rem 0; }
  /* Make the submenu push content down (accordion) instead of overlapping */
  .navigation-list .navigation-item > .navigation-sublist {
    position: relative;
    top: 0;
    width: auto;
    margin: 0.25rem 1rem 0.25rem 1rem;
    box-shadow: none;
    border: none;
    border-left: 2px solid #cbd5e1;
    background: transparent;
    /* Keep it hidden by default */
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    transform: none;
    transition: opacity 0.3s ease, height 0.3s ease; }
  /* Expand the accordion when tapped (focused) */
  .navigation-list .navigation-item:hover > .navigation-sublist,
  .navigation-list .navigation-item:focus-within > .navigation-sublist,
  .navigation-list .navigation-item.is-open > .navigation-sublist {
    visibility: visible;
    opacity: 1;
    height: auto;
    padding: 0.25rem 0; }
  .navigation-list .navigation-item > .navigation-sublist .navigation-link {
    padding: 0.5rem 1rem;
    white-space: normal;
    font-size: 0.9rem; }
  /* Ensure the caret is visible so mobile users know they can tap it */
  .navigation-list .navigation-item.has-children > .navigation-link .submenu-caret {
    display: inline-block;
    padding: 0.5rem;
    /* Make the tap target slightly larger for fingers */ } }

/*# sourceMappingURL=custom.css.map */