/* Custom styles for Inside/Out Decor */

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

/* Ensure content is visible by default for accessibility */
/* Scroll reveal handled via JS progressive enhancement */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
  background: #6B2D5B;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9d174d;
}

/* Selection color */
::selection {
  background: #F5A623;
  color: #2d1024;
}

/* Mobile menu animations */
.mobile-link {
  position: relative;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  transition: width 0.3s ease;
}

.mobile-link:hover::after {
  width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(107, 45, 91, 0.1);
}

/* Reveal animation - progressive enhancement, content visible by default */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide reveal elements initially only when JS is available and motion preferred */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button hover effects */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
  background-color: #fce7f3;
}

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

/* Geometric accent decorations */
.geometric-accent {
  position: absolute;
  pointer-events: none;
}

/* Custom gradient text */
.gradient-text {
  background: linear-gradient(135deg, #6B2D5B 0%, #F5A623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(107, 45, 91, 0.15);
}

/* Pulse animation for CTA */
@keyframes pulse-amber {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(245, 166, 35, 0);
  }
}

.pulse-amber {
  animation: pulse-amber 2s infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(12deg); }
  50% { transform: translateY(-10px) rotate(12deg); }
}

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

/* Shimmer effect for special elements */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(245, 166, 35, 0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}
