/* Custom styles that complement the Tailwind utility classes used in index.html */
html { scroll-behavior: smooth; }
body { padding-bottom: env(safe-area-inset-bottom, 0px); }

.hero {
  background:
    linear-gradient(135deg, rgba(10,46,29,.94), rgba(15,107,65,.88)),
    radial-gradient(circle at 80% 20%, #c9a227 0, transparent 40%);
  background-color: #0a2e1d;
}

.card { transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.14); outline: none; }
.card:focus-visible { box-shadow: 0 0 0 3px #198754; }

.art { display: block; width: 100%; height: 11rem; }
.modal .art { height: 14rem; }

.license-badge {
  width: 5.5rem; height: 5.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #0f5132; background: #fff8dc; border: 4px double #c9a227;
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.65); }
.modal-panel { position: relative; background: #fff; border-radius: 1rem; width: 100%; max-width: 40rem; max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,.35); }
body.modal-open { overflow: hidden; }

/* Sticky inquiry bar */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: center; align-items: center; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,46,29,.96); backdrop-filter: blur(6px);
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
.cta { flex: 1 1 0; max-width: 11rem; text-align: center; color: #fff; font-weight: 600; font-size: .9rem; padding: .6rem .5rem; border-radius: .6rem; }
.cta:hover { filter: brightness(1.1); }
.cta-viber { background: #7360f2; }
.cta-wa { background: #25d366; }
.cta-msgr { background: #0084ff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
