/* Custom styles for Teafix Houston */

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

/* Navigation */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
  background-color: rgba(254, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(254, 253, 251, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.1);
  box-shadow: 0 10px 40px rgba(123, 45, 59, 0.1);
  animation: slideDown 0.3s ease;
}

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

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #5c4033;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Subtle hover effects on cards */
.group:hover .group-hover\\:scale-105 {
  transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #e46f82;
}

/* Selection color */
::selection {
  background-color: #f9d3d9;
  color: #7B2D3B;
}
