/* ===================================
   Modern Animations & Interactive Effects
   Choice K9 Academy - Boho Theme
   =================================== */

/* ===================================
   Keyframe Animations
   =================================== */

/* TEMPORARILY DISABLED - All keyframe animations commented out for testing */
/*
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}
*/

/* ===================================
   Scroll-Triggered Animations
   =================================== */

/* TEMPORARILY DISABLED - All scroll animations commented out */
/* All elements now visible by default with opacity: 1 */

.animate-on-scroll {
  /* transform: translateY(30px); */
  /* transition: opacity 0.8s ease, transform 0.8s ease; */
  opacity: 1 !important;
  transform: none !important;
}

.animate-on-scroll.animated {
  opacity: 1 !important;
  transform: none !important;
}

/* Ensure images inside animated containers are always visible */
.animate-on-scroll img {
  opacity: 1 !important;
  transform: none !important;
}

/* Ensure hover-zoom containers with images are visible */
.hover-zoom {
  opacity: 1 !important;
}

.hover-zoom img {
  opacity: 1 !important;
}

/*
.animate-on-scroll.fade-in-up.animated {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll.fade-in-down.animated {
  animation: fadeInDown 0.8s ease forwards;
}

.animate-on-scroll.fade-in-left.animated {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-on-scroll.fade-in-right.animated {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-on-scroll.scale-in.animated {
  animation: scaleIn 0.6s ease forwards;
}

.animate-on-scroll.rotate-in.animated {
  animation: rotateIn 0.8s ease forwards;
}

.animate-on-scroll.bounce-in.animated {
  animation: bounceIn 0.8s ease forwards;
}
*/

/* Stagger animation delays - DISABLED */
/*
.animate-on-scroll.stagger-1.animated { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2.animated { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3.animated { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4.animated { transition-delay: 0.4s; }
.animate-on-scroll.stagger-5.animated { transition-delay: 0.5s; }
.animate-on-scroll.stagger-6.animated { transition-delay: 0.6s; }
*/

/* ===================================
   Navigation Enhancements
   =================================== */

.main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(62, 55, 49, 0.15);
  background-color: rgba(250, 248, 245, 0.98);
}

.nav-item a {
  position: relative;
  overflow: hidden;
}

.nav-item a {
  position: relative;
}

.nav-item a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-sage));
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.nav-item a:hover::before,
.nav-item.active a::before {
  width: 80%;
}

.nav-brand a {
  transition: transform 0.3s ease;
}

.nav-brand a:hover {
  transform: scale(1.02);
}

.logo {
  transition: transform 0.4s ease, filter 0.3s ease;
}

.nav-brand a:hover .logo {
  transform: rotate(-5deg) scale(1.05);
  filter: brightness(1.1);
}

/* Hamburger Animation */
.hamburger {
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown Animation - Removed conflicting styles, handled in main.css */

/* ===================================
   Button Enhancements
   =================================== */

.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  box-shadow: 0 4px 15px rgba(166, 124, 82, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(166, 124, 82, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===================================
   Card Enhancements
   =================================== */

.service-card,
.testimonial-card,
.resource-card,
.experience-card,
.certification-item,
.specialization-item {
  position: relative;
}

.service-card::before,
.testimonial-card::before,
.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(166, 124, 82, 0.08);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before,
.testimonial-card:hover::before,
.resource-card:hover::before {
  opacity: 1;
}

/* Service Card Image Zoom */
.service-card img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover img {
  transform: scale(1.1) rotate(2deg);
}

/* Testimonial Card Quote Animation */
.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 4rem;
  font-family: var(--font-family-heading);
  color: var(--color-accent);
  opacity: 0.2;
  transition: all 0.4s ease;
}

.testimonial-card:hover::after {
  opacity: 0.4;
  transform: scale(1.1) rotate(-5deg);
}

/* Client Photo Hover */
.client-photo {
  transition: all 0.4s ease;
}

.testimonial-card:hover .client-photo {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(166, 124, 82, 0.3);
  border-color: var(--color-primary);
}

/* Experience Card Number Animation */
.experience-card h3 {
  transition: all 0.4s ease;
  display: inline-block;
}

.experience-card:hover h3 {
  transform: scale(1.15);
  color: var(--color-sage);
  text-shadow: 0 2px 10px rgba(156, 175, 136, 0.3);
}

/* ===================================
   Hero Section Enhancements
   =================================== */

.hero {
  position: relative;
  overflow: hidden;
}

/* Removed floating background animation to prevent visual issues */

.hero-content {
  opacity: 1;
}

.hero h1 {
  opacity: 1;
}

.hero-subheadline {
  opacity: 1;
}

.hero-signature {
  opacity: 1;
}

.hero .btn {
  opacity: 1;
}

/* Parallax Effect for Hero */
.hero-parallax {
  transition: transform 0.5s ease-out;
}

/* ===================================
   Section Title Enhancements
   =================================== */

/* TEMPORARILY DISABLED */
/*
section h2::after {
  animation: drawLine 1s ease forwards;
  animation-play-state: paused;
}

section h2.animated::after {
  animation-play-state: running;
}
*/

/* ===================================
   Form Enhancements
   =================================== */

.form-input,
.form-textarea,
.form-select {
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  transform: translateY(-2px);
}

.form-group {
  position: relative;
}

.form-label {
  transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Floating Label Effect */
.form-group.floating-label .form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: var(--color-background);
  padding: 0 0.5rem;
}

.form-group.floating-label .form-input:focus ~ .form-label,
.form-group.floating-label .form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-primary);
}

/* ===================================
   Image Hover Effects
   =================================== */

.hover-zoom {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover img {
  transform: scale(1.15);
}

.hover-tilt {
  transition: transform 0.3s ease;
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* Image Overlay Effect */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(166, 124, 82, 0.7), rgba(156, 175, 136, 0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
  opacity: 1;
}

/* ===================================
   Text Effects
   =================================== */

/* TEMPORARILY DISABLED */
/*
.text-shimmer {
  background: linear-gradient(90deg, var(--color-text) 0%, var(--color-primary) 50%, var(--color-text) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
*/

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-sage));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-reveal {
  position: relative;
  overflow: hidden;
}

/* TEMPORARILY DISABLED */
/*
.text-reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-background);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.animated::after {
  transform: translateX(100%);
}
*/

/* ===================================
   Loading States
   =================================== */

/* TEMPORARILY DISABLED */
/*
.skeleton {
  background: linear-gradient(90deg, var(--color-background-alt) 25%, var(--color-accent) 50%, var(--color-background-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--border-radius-md);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-accent);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
*/

/* TEMPORARILY DISABLED */
/*
@keyframes spin {
  to { transform: rotate(360deg); }
}
*/

/* ===================================
   Tooltip Effects
   =================================== */

[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 0.5rem 1rem;
  background: var(--color-text);
  color: var(--color-cream);
  font-size: 0.85rem;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-text);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

/* ===================================
   Scroll Progress Indicator
   =================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-sage));
  z-index: 9999;
  transition: width 0.1s ease;
}

/* ===================================
   Ripple Effect
   =================================== */

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.ripple-effect:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: 0s;
}

/* ===================================
   Footer Enhancements
   =================================== */

.footer-section {
  opacity: 1;
}

.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px) rotate(5deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(166, 124, 82, 0.3);
}

.social-links img {
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: rotate(-5deg);
}

/* ===================================
   Quick Links Card Enhancements
   =================================== */

.quick-link-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-link-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(166, 124, 82, 0.1));
  transition: height 0.4s ease;
  z-index: -1;
}

.quick-link-card:hover::after {
  height: 100%;
}

/* ===================================
   Gallery Enhancements
   =================================== */

.gallery-item {
  position: relative;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(166, 124, 82, 0.8), rgba(156, 175, 136, 0.8));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Gallery item magnifying glass removed for cleaner look */

/* ===================================
   Accessibility - Reduced Motion
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero::after,
  .float,
  .pulse {
    animation: none !important;
  }
}

/* ===================================
   Performance Optimizations
   =================================== */

.will-animate {
  will-change: transform, opacity;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}


/* ===================================
   Additional Interactive Effects
   =================================== */

/* Cursor Trail */
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--color-primary), transparent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 9998;
}

/* Scroll to Top Button Styles */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-sage));
  color: var(--color-cream);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(166, 124, 82, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--color-sage), var(--color-primary));
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 8px 30px rgba(156, 175, 136, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-5px) scale(0.95);
}

/* Magnetic Effect for Buttons */
.btn-primary,
.btn-secondary {
  transition: transform 0.2s ease;
}

/* Card Flip Container */
[data-flip] {
  perspective: 1000px;
  cursor: pointer;
}

[data-flip].flipped {
  transform: rotateY(180deg);
}

/* Enhanced Focus States - TEMPORARILY DISABLED */
/*
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
  animation: focusPulse 1s ease infinite;
}
*/

/* TEMPORARILY DISABLED */
/*
@keyframes focusPulse {
  0%, 100% {
    outline-color: var(--color-primary);
  }
  50% {
    outline-color: var(--color-sage);
  }
}
*/

/* Section Background Animation - Disabled to prevent visual issues */

/* Glowing Border Effect */
.service-card,
.testimonial-card,
.resource-card {
  position: relative;
  border: 2px solid transparent;
  overflow: visible;
}

.service-card::before,
.testimonial-card::before,
.resource-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-sage), var(--color-clay), var(--color-primary));
  background-size: 300% 300%;
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 3s ease infinite;
}

/* TEMPORARILY DISABLED */
/*
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
*/

.service-card:hover::before,
.testimonial-card:hover::before,
.resource-card:hover::before {
  opacity: 1;
}

/* Text Selection Styling */
::selection {
  background: var(--color-primary);
  color: var(--color-cream);
}

::-moz-selection {
  background: var(--color-primary);
  color: var(--color-cream);
}

/* Smooth Color Transitions */
* {
  transition-property: color, background-color, border-color, fill, stroke;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Prevent transition on page load */
.preload * {
  transition: none !important;
}

/* Image Lazy Load Fade - visible by default */
img[loading="lazy"] {
  transition: opacity 0.6s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Enhanced Dropdown Menu - Removed conflicting styles */

/* Hero Gradient Animation - Disabled to prevent visual issues */

/* Card Shadow Depth */
.service-card,
.testimonial-card,
.resource-card,
.experience-card {
  box-shadow: 
    0 1px 3px rgba(62, 55, 49, 0.12),
    0 1px 2px rgba(62, 55, 49, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover,
.testimonial-card:hover,
.resource-card:hover,
.experience-card:hover {
  box-shadow: 
    0 14px 28px rgba(62, 55, 49, 0.25),
    0 10px 10px rgba(62, 55, 49, 0.22);
}

/* Stagger Fade In for Lists - TEMPORARILY DISABLED */
/* All list items now visible by default */
.benefits-list li,
.includes-list li,
.philosophy-list li {
  /* animation: fadeInLeft 0.6s ease forwards; */
  opacity: 1 !important;
  transform: none !important;
}

/*
.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }
.benefits-list li:nth-child(5) { animation-delay: 0.5s; }
.benefits-list li:nth-child(6) { animation-delay: 0.6s; }

.includes-list li:nth-child(1) { animation-delay: 0.1s; }
.includes-list li:nth-child(2) { animation-delay: 0.2s; }
.includes-list li:nth-child(3) { animation-delay: 0.3s; }
.includes-list li:nth-child(4) { animation-delay: 0.4s; }
.includes-list li:nth-child(5) { animation-delay: 0.5s; }

.philosophy-list li:nth-child(1) { animation-delay: 0.1s; }
.philosophy-list li:nth-child(2) { animation-delay: 0.2s; }
.philosophy-list li:nth-child(3) { animation-delay: 0.3s; }
.philosophy-list li:nth-child(4) { animation-delay: 0.4s; }
.philosophy-list li:nth-child(5) { animation-delay: 0.5s; }
.philosophy-list li:nth-child(6) { animation-delay: 0.6s; }
*/

/* Navbar Slide In - DISABLED */
.main-nav {
  /* animation: slideDown 0.5s ease; */
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/*
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
*/

/* Footer Slide Up - DISABLED */
.main-footer {
  /* animation: slideUp 0.8s ease; */
  opacity: 1 !important;
  transform: none !important;
}

/*
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
*/

/* Button Ripple Effect - TEMPORARILY DISABLED */
.btn {
  position: relative;
  overflow: hidden;
}

/*
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}
*/

/* TEMPORARILY DISABLED */
/*
@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
*/

/* Form Input Glow */
.form-input:focus,
.form-textarea:focus {
  box-shadow: 
    0 0 0 4px rgba(166, 124, 82, 0.12),
    0 0 20px rgba(166, 124, 82, 0.2);
}

/* Testimonial Card Hover Lift */
.testimonial-card {
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

/* Resource Card Book Effect */
.resource-card {
  transform-style: preserve-3d;
}

.resource-card:hover {
  transform: translateY(-10px) rotateY(-5deg);
}

/* Experience Card Number Pop - TEMPORARILY DISABLED */
.experience-card h3 {
  display: inline-block;
  transform-origin: center;
}

/*
.experience-card:hover h3 {
  animation: numberPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
*/

/* TEMPORARILY DISABLED */
/*
@keyframes numberPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
*/

/* Quick Link Card Shine Effect */
.quick-link-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotateZ(45deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.quick-link-card:hover::after {
  transform: rotateZ(45deg) translateY(100%);
}

/* Gallery Item Scale and Rotate */
.gallery-item:hover {
  transform: translateY(-8px) scale(1.05) rotate(2deg);
}

/* FAQ Item Expand Effect */
.faq-item {
  transform-origin: top;
}

.faq-item:hover {
  transform: scaleY(1.02);
}

/* Policy Item Slide Effect */
.policy-item {
  transform-origin: left;
}

.policy-item:hover {
  transform: translateX(15px) scale(1.02);
}

/* Loading State Shimmer - TEMPORARILY DISABLED */
/*
.loading {
  background: linear-gradient(
    90deg,
    var(--color-background-alt) 0%,
    var(--color-accent) 50%,
    var(--color-background-alt) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
*/

/* Success Animation - TEMPORARILY DISABLED */
/*
.success-checkmark {
  animation: successPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
*/

/* TEMPORARILY DISABLED */
/*
@keyframes successPop {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
*/

/* Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .service-card:active,
  .testimonial-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* Print Styles */
@media print {
  .scroll-progress,
  .scroll-to-top,
  .main-nav,
  .cursor-trail {
    display: none !important;
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
}


/* ===================================
   CRITICAL: Image Visibility Override
   Must be at end to ensure priority
   =================================== */

/* Force all images to be visible */
img,
img[loading="lazy"],
.animate-on-scroll img,
.hover-zoom img,
.service-card img,
.testimonial-card img,
.resource-card img,
.gallery-item img,
.client-photo,
.trainer-photo {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure parent containers don't hide images */
.animate-on-scroll,
.hover-zoom,
.gallery-item {
  overflow: visible !important;
}

/* Override any transform that might hide images */
.animate-on-scroll img,
.hover-zoom img {
  transform: none !important;
}


/* ===================================
   TEMPORARY ANIMATION DISABLE OVERRIDE
   Applied: [Current Date]
   Purpose: Disable all fade-in animations for testing
   =================================== */

/* Force all potentially animated elements to be immediately visible */
.animate-on-scroll,
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right,
.scale-in,
.rotate-in,
.bounce-in,
.service-card,
.testimonial-card,
.resource-card,
.experience-card,
.quick-link-card,
.gallery-item,
.footer-section,
.hero-content,
.hero h1,
.hero-subheadline,
.hero-signature,
.hero .btn,
section h2,
.benefits-list li,
.includes-list li,
.philosophy-list li {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  visibility: visible !important;
}

/* Ensure all images are immediately visible */
img,
img[loading="lazy"],
.animate-on-scroll img,
.hover-zoom img,
.service-card img,
.testimonial-card img,
.resource-card img,
.gallery-item img,
.client-photo,
.trainer-photo,
.service-icon-img,
.logo {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Social icons must always be visible */
.social-links img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  filter: brightness(0) invert(1) !important;
}

/* Icon fallback emoji when image fails to load */
.icon-fallback {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  text-align: center;
}

/* Disable all keyframe animations globally - but preserve nav transform for functionality */
*:not(.main-nav):not(.hamburger-line):not(.dropdown-menu) {
  animation: none !important;
}

/* Keep only essential transitions for hover effects */
a,
button,
.btn {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

/* Ensure nav is always visible and never hidden by JS scroll behavior */
.main-nav {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* END TEMPORARY OVERRIDE */
