/* ========================================
   What's the Scoop? — Custom Styles
   Classic & Elegant · Teal + Slate Grey
   ======================================== */

/* ---- Base & Typography ---- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

::selection {
  background-color: rgba(13, 148, 136, 0.2);
  color: #0f766e;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* ---- Hero Animations ---- */
.hero-subtitle {
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-headline {
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-desc {
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

.hero-cta {
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ---- Nav Active State ---- */
.navbar-scrolled .nav-link {
  color: rgba(255, 255, 255, 0.95);
}

.navbar-scrolled #nav-logo-text {
  color: #ffffff;
}

/* ---- Menu Tabs ---- */
.menu-tab {
  background: transparent;
  color: #94a3b8;
  border: none;
  cursor: pointer;
}

.menu-tab.active {
  background: #0d9488;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.menu-tab:not(.active):hover {
  color: #0d9488;
  background: #f0fdfa;
}

/* ---- Mobile Menu ---- */
.mobile-menu-open {
  overflow: hidden;
}

#mobile-menu.menu-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  opacity: 0;
  transform: translateY(10px);
}

#mobile-menu.menu-open .mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ---- Button Hover Effects ---- */
a, button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Image Hover ---- */
img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Focus Styles ---- */
:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Print ---- */
@media print {
  header, footer, #contact, .menu-tabs {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
