/* ========================================
   Alina Motel — Custom Styles
   ======================================== */

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

/* Base font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #478356;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile menu link styles */
.mobile-link {
  display: block;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-link:hover {
  padding-left: 8px;
}

/* Reveal animation (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@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);
  }

  /* Staggered delays for card grids */
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(254, 253, 248, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(20, 40, 28, 0.08);
}

/* Subtle image hover zoom */
img {
  max-width: 100%;
  height: auto;
}

/* Selection color */
::selection {
  background-color: #b9d4bc;
  color: #1f402a;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #68a172;
}

/* Print styles */
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  #navbar, #mobileMenu {
    display: none;
  }

  body {
    color: #1f402a;
    background: #fefdf8;
  }
}
