/*-----------------------------------*\
  #BUTTON EFFECTS
\*-----------------------------------*/

/* Enhanced button styles with glow effects */
.btn, 
.btn-primary, 
.btn-submit,
.buttonss {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Glow effect on hover */
.btn:hover, 
.btn-primary:hover, 
.btn-submit:hover,
.buttonss:hover {
  box-shadow: 0 0 15px var(--orange-accent);
}

/* Active state for buttons */
.btn:active, 
.btn-primary:active, 
.btn-submit:active,
.buttonss:active {
  transform: scale(0.98);
  box-shadow: 0 0 5px var(--orange-accent);
}

/* Ripple effect */
.btn::after, 
.btn-primary::after, 
.btn-submit::after,
.buttonss::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after,
.btn-primary:focus:not(:active)::after,
.btn-submit:focus:not(:active)::after,
.buttonss:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

/* Ripple animation */
@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* Pulse effect for CTA buttons */
.btn-primary.blue {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

/* Special hover effect for CV button */
.navbar-list li:last-child .btn {
  position: relative;
  overflow: hidden;
}

.navbar-list li:last-child .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s;
}

.navbar-list li:last-child .btn:hover::before {
  left: 100%;
}
