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

/*

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

*/
/*
 * 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.
 *


 */

.product-overview h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-overview h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.landscape-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.landscape-category {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.landscape-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.landscape-product {
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.landscape-product:hover {
  transform: translateY(-1px);
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@keyframes landscape-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.landscape-category {
  animation: landscape-fade-up 0.4s ease-out both;
}
.landscape-category:nth-child(1) { animation-delay: 0.0s; }
.landscape-category:nth-child(2) { animation-delay: 0.05s; }
.landscape-category:nth-child(3) { animation-delay: 0.1s; }
.landscape-category:nth-child(4) { animation-delay: 0.15s; }
.landscape-category:nth-child(5) { animation-delay: 0.2s; }
.landscape-category:nth-child(6) { animation-delay: 0.25s; }
.landscape-category:nth-child(7) { animation-delay: 0.3s; }
.landscape-category:nth-child(8) { animation-delay: 0.35s; }

.landscape-filter-btn.active {
  background-color: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.3);
  color: white;
}

@media (prefers-reduced-motion: reduce) {
  .landscape-category {
    animation: none;
    transition: none;
  }
  .landscape-product {
    transition: none;
  }
}

.blog-post a {
  text-decoration: underline;

}
.blog-post a:hover {
  text-decoration: none;
}
