/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

 * {
    font-family: "Montserrat", sans-serif;
  }

  .font-display {
    font-family: "Playfair Display", Georgia, serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    scroll-padding-top: 5rem;
  }

  ::selection {
    background-color: #10b981;
    color: #ffffff;
  }

  ::-webkit-scrollbar {
    width: 8px;
  }

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

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

  ::-webkit-scrollbar-thumb:hover {
    background: #10b981;
  }

  /* ===== Scroll reveal animations ===== */
  [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  [data-reveal="left"] {
    transform: translateX(-32px);
  }

  [data-reveal="right"] {
    transform: translateX(32px);
  }

  [data-reveal="scale"] {
    transform: scale(0.94);
  }

  [data-reveal].reveal-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  @media (prefers-reduced-motion: reduce) {
    [data-reveal] {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }

  /* ===== Decorative motion ===== */
  @keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(4deg); }
  }

  .animate-float-slow {
    animation: floatSlow 9s ease-in-out infinite;
  }

  .animate-float-slower {
    animation: floatSlow 13s ease-in-out infinite;
  }

  @keyframes shimmerLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  .shimmer-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
  }
