/* Custom styles for Blanca's Snow Cones & Mangonadas */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111827;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B5E;
}

/* Selection color */
::selection {
  background: #FF6B5E;
  color: white;
}

/* Navbar transition */
#navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 107, 94, 0.1);
}

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

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

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

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(24px);
}

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

/* Geometric decorative shapes */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

/* Card hover effects */
.menu-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
}

/* Button focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #FF6B5E;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Image hover zoom */
img {
  transition: transform 0.5s ease;
}

/* Hero decorative elements */
.hero-dot {
  animation: float 3s ease-in-out infinite;
}

.hero-dot:nth-child(2) {
  animation-delay: -1s;
}

.hero-dot:nth-child(3) {
  animation-delay: -2s;
}

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

/* Feature strip hover */
.feature-item {
  transition: transform 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-2px);
}

/* Gallery grid */
.gallery-item {
  overflow: hidden;
}
.gallery-item img {
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonial cards */
.testimonial-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Contact card hover */
.contact-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
}

/* CTA section pattern */
.cta-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

/* Footer link hover */
footer a {
  transition: color 0.2s ease;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Aspect ratio utilities */
.aspect-square {
  aspect-ratio: 1 / 1;
}
