/*
 * Paboweb 25 jaar jubileum styling
 * Dit bestand kan eenvoudig worden uitgeschakeld door de link in application.html.haml uit te commentariëren
 * Gemaakt: November 2024
 */

/* Verwijder badge bij logo */
.navbar .brand.image {
  position: relative;
  display: inline-block;
}

/* Gouden accent HELEMAAL bovenaan de pagina met animatie */
/* Gebruik body::before zodat het altijd helemaal bovenaan staat */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ffd700 0%,
    #ffb800 25%,
    #ff8c00 50%,
    #ffb800 75%,
    #ffd700 100%
  );
  background-size: 200% 100%;
  animation: celebrate-gradient-slide 3s ease-in-out infinite;
  z-index: 10000;
  box-shadow: 0 1px 4px rgba(255, 184, 0, 0.3);
}

@keyframes celebrate-gradient-slide {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
}

/* "Hoedje" in het witte vlak - 25 jaar Paboweb met sterren */
/* Nu ook zichtbaar op tablet en mobiel */
.navbar.navbar-fixed-top .container.white {
  position: relative;
}

.navbar.navbar-fixed-top .container.white::after {
  content: "★ 25 JAAR PABOWEB ★";
  position: absolute;
  top: calc(50% + 1px);
  transform: translateY(-50%);
  left: 10px;
  background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 0;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1001;
  box-shadow: 0 2px 4px rgba(255, 184, 0, 0.3);
  width: 190px;
  text-align: center;
  line-height: 1.2;
}

/* 25 jaar celebratie overlay op hero banner - donker oranje transparante achtergrond */
.hero-unit {
  position: relative;
}

.hero-unit::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 140px;
  height: 140px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><linearGradient id="goldGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:1" /><stop offset="50%" style="stop-color:%23FFA500;stop-opacity:1" /><stop offset="100%" style="stop-color:%23FF8C00;stop-opacity:1" /></linearGradient><filter id="shadow"><feDropShadow dx="0" dy="4" stdDeviation="4" flood-opacity="0.3"/></filter></defs><circle cx="100" cy="100" r="90" fill="url(%23goldGrad)" opacity="0.25" filter="url(%23shadow)"/><circle cx="100" cy="100" r="70" fill="%23FF8C00" opacity="0.4"/><path d="M100 40 L108 65 L135 65 L113 80 L121 105 L100 90 L79 105 L87 80 L65 65 L92 65 Z" fill="url(%23goldGrad)" filter="url(%23shadow)"/><text x="100" y="135" font-family="Arial, sans-serif" font-size="20" font-weight="bold" fill="white" text-anchor="middle">25 jaar</text><text x="100" y="155" font-family="Arial, sans-serif" font-size="16" font-weight="bold" fill="white" text-anchor="middle">Paboweb</text></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 10;
  opacity: 0.95;
  animation: celebrate-float 3s ease-in-out infinite;
}

/* Subtiele float animatie */
@keyframes celebrate-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* Hover effect - laat de badge subtiel groeien */
.hero-unit:hover::before {
  animation:
    celebrate-float 3s ease-in-out infinite,
    celebrate-pulse 2s ease-in-out infinite;
}

@keyframes celebrate-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive - kleinere badge op tablets */
@media (max-width: 980px) {
  .hero-unit::before {
    width: 110px;
    height: 110px;
    top: 15px;
    right: 15px;
  }

  .navbar.navbar-fixed-top .container.white::after {
    font-size: 10px;
    padding: 3px 0;
    width: 160px;
  }
}

/* Nog kleiner op mobiel */
@media (max-width: 767px) {
  .hero-unit::before {
    width: 90px;
    height: 90px;
    top: 10px;
    right: 10px;
  }

  .navbar.navbar-fixed-top .container.white::after {
    font-size: 9px;
    padding: 2px 0;
    width: 130px;
  }
}

/* Subtiele gouden gloed op hero banner */
.hero-unit {
  box-shadow: inset 0 0 60px rgba(255, 184, 0, 0.1);
}
