@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  .input-label {
    @apply block font-medium text-sm text-gray-700;
  }
  .input-field {
    @apply rounded-md shadow-sm border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50;
  }
}

@layer base {
  h1 {
    @apply text-4xl font-bold pt-4;
  }
  h2 {
    @apply text-3xl font-semibold pt-4;
  }
  h3 {
    @apply text-2xl font-medium pt-4;
  }
  h4 {
    @apply text-xl font-medium pt-4;
  }
  h5 {
    @apply text-lg font-medium pt-4;
  }
  h6 {
    @apply text-base font-medium pt-4;
  }
  p {
    @apply pt-2;
  }
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #93c5fd 0%, #1260CC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll-triggered fade-in (driven by animate_controller.js) ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Logo bar: fade edges with mask ── */
.logo-fade-edges {
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

/* ── Logo grayscale on hover ── */
.logo-item img {
  filter: grayscale(100%) opacity(55%);
  transition: filter 0.3s ease;
}
.logo-item:hover img {
  filter: grayscale(0%) opacity(100%);
}

/* ── Job preview cards hover lift ── */
.preview-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
ul {
  list-style-type: disc;
  margin-left: 1.5em;
}
ol {
  list-style-type: decimal;
  margin-left: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
blockquote {
  display: none;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 .link {
  color: blue;
 }
