/* Custom styles for Anabel's House */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Floating animation for hero blobs */
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes float-delay {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.03); }
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.1); }
  50% { transform: translate(-10px, 20px) scale(0.9); }
  75% { transform: translate(15px, 10px) scale(1.05); }
}

@keyframes blob-delay {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-15px, 25px) scale(1.1); }
  50% { transform: translate(20px, -10px) scale(0.95); }
  75% { transform: translate(-10px, -15px) scale(1.05); }
}

@keyframes blob-delay2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, 15px) scale(1.1); }
  66% { transform: translate(-15px, -20px) scale(0.9); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float-delay 8s ease-in-out infinite;
}

.animate-blob {
  animation: blob 7s ease-in-out infinite;
}

.animate-blob-delay {
  animation: blob-delay 9s ease-in-out infinite;
}

.animate-blob-delay2 {
  animation: blob-delay2 11s ease-in-out infinite;
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile menu link hover */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-link:last-child {
  border-bottom: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #14b8a6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background: #ccfbf1;
  color: #134e4a;
}
