/*
Theme Name: Astra Child
Template: astra
Autor: Vehid Stalone
*/

/* Moj custom CSS code  */
/* === MODERNI NAVBAR SA ZAOBLJENOM ŽUTOM LJEVOM STRANOM === */
.main-header-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 0 0 25px 25px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  padding: 14px 0;
  transition: all 0.3s ease-in-out;
  animation: fadeSlideDown 0.6s ease;
  overflow: visible;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo i meni iznad žute trake */
.main-header-bar > * {
  position: relative;
  z-index: 2;
}

/* ŽUTA TRAKA - lijeva strana sa zaobljenim rubovima */
.main-header-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60px; /* koliko "viri" lijevo */
  width: 130px; /* širina trake */
  height: 100%;
  background: linear-gradient(135deg, #f39c12, #ffcc00);
  transform: skewX(-25deg);
  box-shadow: 2px 0 15px rgba(0,0,0,0.2);
  z-index: -1;

  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

/* PULSNA LINIJA PORED ŽUTE TRAKE */
 
/* ANIMACIJA PULSA */
@keyframes pulseLine {
  0%, 100% {
    transform: translateY(-50%) scaleX(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-50%) scaleX(1.05);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scaleX(1.1);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-50%) scaleX(1.05);
    opacity: 1;
  }
}

/* Efekat pri scrollu */
.main-header-bar.ast-sticky-active {
  background: rgba(245, 245, 245, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 3px 18px rgba(0,0,0,0.25);
  padding: 10px 0;
}

/* Animacija ulaza */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === LOGO === */
.site-branding .site-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.5px;
}

.site-branding .site-title .highlight-Z {
  color: #f39c12;
}

/* === NAV LINKOVI === */
.main-header-menu .menu-item a {
  color: #000000;
  font-weight: 500;
  letter-spacing: 0.6px;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.main-header-menu .menu-item a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #f39c12;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-header-menu .menu-item a:hover {
  color: #f39c12;
  transform: translateY(-2px);
}

.main-header-menu .menu-item a:hover::after {
  width: 60%;
}

.main-header-menu .current-menu-item > a {
  color: #f39c12;
}

/* === MOBILNI MENI === */
.ast-header-break-point .ast-menu-toggle {
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.ast-header-break-point .ast-menu-toggle:hover {
  background-color: #f39c12;
  color: #fff;
  border-color: #f39c12;
}

/* === SADRŽAJ ISPOD === */
.site-content {
  margin-top: 40px;
}

.ast-container {
  margin-top: -11px;
}

/* === MOBILNA PRILAGODBA === */
@media (max-width: 768px) {
  .main-header-bar::before {
    width: 100px;
    left: -40px;
    border-radius: 20px;
  }

  .main-header-bar::after {
    width: calc(100% - 80px);
    left: 60px;
  }
}
 