/* ===== Home Page Enhancements ===== */

/* Section spacing */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Hero section adjustments */
.hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero h1 {
  line-height: 1.2;
}
.hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Product category cards */
.product-category {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 8px;
  overflow: hidden;
}
.product-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.product-category img {
  display: block;
  width: 100%;
  height: auto;
}

/* Shop Now buttons */
.shop-btn {
  display: inline-block;
  background-color: #1d4ed8; /* Tailwind blue-700 */
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.shop-btn:hover {
  background-color: #1e40af; /* Tailwind blue-800 */
  transform: translateY(-2px);
}

/* Service buttons (School, Hotel, Hospital, POS) */
.service-btn {
  display: inline-block;
  background-color: #f3f4f6; /* Tailwind gray-100 */
  color: #111827; /* Tailwind gray-900 */
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.service-btn:hover {
  background-color: #e5e7eb; /* Tailwind gray-200 */
  transform: translateY(-2px);
}

/* Carousel adjustments */
.carousel-container {
  margin-top: 2rem;
}
.carousel-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Footer polish */
footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
footer h3, footer h4 {
  margin-bottom: 0.75rem;
}
footer a {
  transition: color 0.25s ease;
}
footer a:hover {
  color: #93c5fd; /* Tailwind blue-300 */
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
}
/* =========================================================
   Base Styles for Steinotek
   - Light defaults that complement Tailwind (CDN)
   - Accessibility, focus, active nav, image handling
   - Safe across all pages (Home, About, Contact, Privacy)
   ========================================================= */

/* CSS Variables (brand tokens) */
:root {
  --brand-primary: #1d4ed8;  /* blue-700 */
  --brand-primary-dark: #1e40af; /* blue-800 */
  --brand-accent: #22c55e;   /* green-500 */
  --text-main: #0f172a;      /* slate-900 */
  --text-muted: #475569;     /* slate-600 */
  --bg-body: #f8fafc;        /* slate-50 */
  --border-soft: #e5e7eb;    /* gray-200 */
}

/* Box sizing and smooth fonts */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  color: var(--text-main);
  background: var(--bg-body);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Headings */
h1, h2, h3, h4 {
  color: var(--text-main);
}

/* Paragraphs */
p {
  color: var(--text-muted);
}

/* Accessibility: focus outlines */
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen-reader only helper */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header / Nav tweaks (works with Tailwind classes) */
header a {
  transition: color 0.2s ease;
}
header nav a:hover {
  color: var(--brand-primary);
}
header nav a.active,
header nav a[aria-current="page"] {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Buttons (light base; specific buttons styled in home-enhancements.css) */
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cards (generic) */
.card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Footer small type */
footer .text-xs,
.small,
.muted {
  color: #94a3b8; /* slate-400 */
}

/* Legacy/original carousel compatibility (if those pages exist) */
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-nav {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #cbd5e1; /* slate-300 */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.carousel-dot.active {
  background-color: var(--brand-primary);
  transform: scale(1.1);
}
.prev-btn,
.next-btn {
  background-color: var(--brand-primary);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.prev-btn:hover,
.next-btn:hover {
  background-color: var(--brand-primary-dark);
  transform: translateY(-1px);
}

/* Utility spacing (light) */
.section-tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.section-loose {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Hide duplicate focus ring on mouse click */
:focus:not(:focus-visible) {
  outline: none;
}

/* Smooth anchor offset for sticky headers (if you add one later) */
:target {
  scroll-margin-top: 80px;
}
