/* Button Enhancements and Navigation Styles */
/* Extracted from index3.html inline styles */

.hero-title {
  display: inline-block;
  max-width: 100%;
  line-height: 1.2;
  word-break: normal;
}
@media (min-width: 768px) {
  .hero-title {
    max-width: 620px;
  }
}

/* Emphasis for "Today" word - NO ANIMATION */
/* Currently using: Option 1 - Color + Font Weight + Subtle Text Shadow */
.emphasize-today {
  position: relative;
  display: inline-block;
  color: var(--color-accent-light);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 77, 141, 0.3),
               0 0 15px rgba(255, 77, 141, 0.15);
}

/* SUBTLE OPTIONS FOR "TODAY" - Uncomment to try different styles: */

/* Option 1 (CURRENT): Color + Font Weight + Subtle Text Shadow */
/* Already applied above */

/* Option 2: Color + Font Weight + Underline */
/*
.emphasize-today {
  position: relative;
  display: inline-block;
  color: var(--color-accent-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--color-accent-light);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
*/

/* Option 3: Color + Font Weight + Background Highlight */
/*
.emphasize-today {
  position: relative;
  display: inline-block;
  color: var(--color-accent-light);
  font-weight: 700;
  background: rgba(255, 77, 141, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}
*/

/* Option 4: Color + Font Weight + Border */
/*
.emphasize-today {
  position: relative;
  display: inline-block;
  color: var(--color-accent-light);
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent-light);
  padding-bottom: 2px;
}
*/

/* Option 5: Color + Font Weight Only (Most Subtle) */
/*
.emphasize-today {
  position: relative;
  display: inline-block;
  color: var(--color-accent-light);
  font-weight: 700;
}
*/

/* Schedule Button Emphasis */
.schedule-button-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-schedule-emphasized {
  position: relative;
  animation: button-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4),
              0 0 40px rgba(138, 43, 226, 0.2),
              0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 77, 141, 0.5);
}

.btn-schedule-emphasized::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #8a2be2, #ff4d8d, #8a2be2);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  animation: border-glow 2s ease-in-out infinite;
}

@keyframes button-pulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4),
                0 0 40px rgba(138, 43, 226, 0.2),
                0 4px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6),
                0 0 50px rgba(138, 43, 226, 0.3),
                0 6px 20px rgba(0, 0, 0, 0.4);
  }
}

@keyframes border-glow {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Arrow Indicators - pointing TOWARDS the button */
.arrow-indicator {
  color: var(--color-accent-light);
  opacity: 0.8;
}

.arrow-left {
  animation: arrow-bounce-left 1.5s ease-in-out infinite;
  animation-delay: 0s;
}

.arrow-right {
  animation: arrow-bounce-right 1.5s ease-in-out infinite;
  animation-delay: 0.75s;
}

@keyframes arrow-bounce-left {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(8px);
    opacity: 1;
  }
}

@keyframes arrow-bounce-right {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-8px);
    opacity: 1;
  }
}

/* Left arrow points RIGHT (toward button) - no rotation needed */
.arrow-left svg {
  /* No rotation - arrow already points right */
}

/* Right arrow points LEFT (toward button) */
.arrow-right svg {
  transform: rotate(180deg);
}

/* Navigation CTA Button Emphasis - Sparkle Effect with Box Outlining */
.nav-item.cta {
  overflow: hidden;
  position: relative;
}

.nav-item.cta a {
  position: relative;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
              0 0 30px rgba(138, 43, 226, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 77, 141, 0.6);
  overflow: hidden;
  /* Animated border outline */
  animation: nav-border-pulse 3s ease-in-out infinite;
}

/* Animated box outline */
.nav-item.cta a::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid rgba(138, 43, 226, 0.8);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  animation: nav-outline-glow 2s ease-in-out infinite;
}

/* Shimmer/Shine effect - Alternative to sparkle */
.nav-item.cta a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: nav-shimmer 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* White arrow pointing left toward button */
.nav-item.cta::before {
  content: '←';
  position: absolute;
  font-size: 1.8rem;
  color: #ffffff !important;
  opacity: 1 !important;
  pointer-events: none;
  z-index: 1000;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  animation: hand-point 2s ease-in-out infinite;
  display: block !important;
  visibility: visible !important;
  white-space: nowrap;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Glowing dots/particles - Alternative to sparkle */
.nav-item.cta::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 77, 141, 0.8);
  bottom: -8px;
  right: 15px;
  animation: glow-dot-2 2.5s ease-in-out infinite;
  animation-delay: 1.25s;
}

/* Prevent header overflow - but allow hand to show */
.header {
  overflow-x: visible;
}

.header-content {
  overflow-x: visible;
}

.nav-list {
  overflow-x: visible;
}

/* Ensure nav item can show hand outside */
.nav-item.cta {
  overflow: visible !important;
}

/* Border pulse animation */
@keyframes nav-border-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
                0 0 30px rgba(138, 43, 226, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 77, 141, 0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.6),
                0 0 40px rgba(138, 43, 226, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 141, 0.9);
  }
}

/* Outline glow animation */
@keyframes nav-outline-glow {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

/* Shimmer/Shine animation */
@keyframes nav-shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Hand pointing animation - points toward button */
@keyframes hand-point {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-50%) translateX(5px);
    opacity: 1;
  }
}

/* Glowing dots animation */
@keyframes glow-dot-2 {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  30% {
    opacity: 1;
    transform: translateY(8px) scale(1);
  }
  60% {
    opacity: 0.6;
    transform: translateY(12px) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateY(16px) scale(0);
  }
}

/* CTA Section Button - same as hero button */
.cta-content {
  position: relative;
}

.cta-content .btn-cta-emphasized {
  position: relative;
  animation: button-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4),
              0 0 40px rgba(138, 43, 226, 0.2),
              0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 77, 141, 0.5);
}

.cta-content .btn-cta-emphasized::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #8a2be2, #ff4d8d, #8a2be2);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  animation: border-glow 2s ease-in-out infinite;
}

/* Wrap CTA button with arrows like hero button */
.cta-content a.btn-cta-emphasized {
  display: inline-block;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-button-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.cta-button-wrapper .arrow-indicator {
  color: var(--color-accent-light);
  opacity: 0.8;
}

.cta-button-wrapper .arrow-left {
  animation: arrow-bounce-left 1.5s ease-in-out infinite;
  animation-delay: 0s;
}

.cta-button-wrapper .arrow-right {
  animation: arrow-bounce-right 1.5s ease-in-out infinite;
  animation-delay: 0.75s;
}

.cta-button-wrapper .arrow-left svg {
  /* No rotation - arrow already points right */
}

.cta-button-wrapper .arrow-right svg {
  transform: rotate(180deg);
}

/* Footer Button Emphasis - same as header navigation button */
.footer-contact {
  position: relative;
  overflow: visible !important;
}

.btn-footer-emphasized {
  position: relative;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
              0 0 30px rgba(138, 43, 226, 0.2),
              0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 77, 141, 0.6);
  overflow: hidden;
  /* Animated border outline */
  animation: nav-border-pulse 3s ease-in-out infinite;
  padding-right: 40px !important;
}

/* Animated box outline */
.btn-footer-emphasized::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid rgba(138, 43, 226, 0.8);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  animation: nav-outline-glow 2s ease-in-out infinite;
}

/* Shimmer effect removed - keeping only border pulse */
.footer-contact a.btn-footer-emphasized {
  position: relative;
  overflow: hidden;
}

/* White arrow inside footer button - right side (keep arrow inside) */
.btn-footer-emphasized::after {
  content: '←' !important;
  position: absolute;
  font-size: 1.4rem;
  color: #ffffff !important;
  opacity: 1 !important;
  pointer-events: none;
  z-index: 2;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  animation: hand-point 2s ease-in-out infinite;
  display: block !important;
  visibility: visible !important;
  white-space: nowrap;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  line-height: 1;
}

/* Glowing dots outside footer button - like header */
.footer-contact::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 77, 141, 0.8);
  top: -8px;
  left: 15px;
  animation: glow-dot-1 2.5s ease-in-out infinite;
}

.footer-contact::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 77, 141, 0.8);
  bottom: -8px;
  right: 15px;
  animation: glow-dot-2 2.5s ease-in-out infinite;
  animation-delay: 1.25s;
}

/* Add glow-dot-1 animation if not exists */
@keyframes glow-dot-1 {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-8px) scale(1);
  }
  60% {
    opacity: 0.6;
    transform: translateY(-12px) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px) scale(0);
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .arrow-indicator {
    display: none;
  }

  .schedule-button-wrapper {
    gap: 0;
    width: 100%;
  }

  .schedule-button-wrapper .btn-schedule-emphasized {
    width: 100%;
  }

  .hero-cta .btn-secondary {
    width: 100%;
  }

  /* No animation on mobile either */

  .nav-item.cta a::after {
    display: none;
  }

  .nav-item.cta::before {
    display: none;
  }

  .nav-item.cta::after {
    display: none;
  }
}

