/* === Custom Styles for Tasos Restaurant Supply === */

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

/* === Navbar === */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.3s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* === Hero Orbs Animation === */
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 25px) scale(1.08); }
  66% { transform: translate(15px, -15px) scale(0.92); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-48%, -52%) scale(1.06); }
  66% { transform: translate(-52%, -48%) scale(0.94); }
}

.hero-orb {
  animation: float-1 12s ease-in-out infinite;
}

.orb-1 { animation: float-1 14s ease-in-out infinite; }
.orb-2 { animation: float-2 16s ease-in-out infinite; }
.orb-3 { animation: float-3 18s ease-in-out infinite; }

/* === Service Cards === */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.03), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

/* === Scroll Reveal Animations === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Progressive enhancement - hidden by default, revealed by JS */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Staggered delays */
  .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; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* === Mobile Menu === */
.mobile-nav-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7e22ce, #b45309);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9333ea, #d97706);
}

/* === Input Autofill === */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #1a1a25 inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* === Selection === */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
}

/* === Focus Visible === */
:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .hero-orb {
    display: none;
  }
}

/* === Print Styles === */
@media print {
  .hero-orb,
  [class*="hero-orb"] {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}
