/* Custom styles for Cafe 3:15 */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf6f3;
}
::-webkit-scrollbar-thumb {
  background: #C46A7A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7B2D3B;
}

/* Floating animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes float-delay {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-float-delay {
  animation: float-delay 7s ease-in-out infinite;
  animation-delay: 1s;
}
.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
  animation-delay: 2s;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(254, 252, 251, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08) !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.nav-scrolled .nav-title {
  color: #7B2D3B !important;
}

.nav-scrolled .nav-link {
  color: #7B2D3B !important;
}

.nav-scrolled .nav-link:hover {
  color: #7B2D3B !important;
  background: rgba(123, 45, 59, 0.06) !important;
}

/* Mobile menu transitions */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Active nav link */
.nav-link-active {
  color: #7B2D3B !important;
  background: rgba(123, 45, 59, 0.08) !important;
}

/* Form focus styles */
input:focus, textarea:focus {
  box-shadow: none;
}

/* Gallery hover overlay */
.group:hover .group-overlay {
  opacity: 1;
}

/* Print styles */
@media print {
  header, #contact, footer { display: none; }
  section { page-break-inside: avoid; }
}
