/*
  Terepi Leolvasó Rendszer - modern arculat
  Semleges, sötétkék / indigó vállalati paletta, Bootstrap 5.3 alapokra építve.
*/

:root {
  --brand-dark: #0b1220;
  --brand-navy: #111827;
  --brand-navy-soft: #1f2937;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-soft: rgba(37, 99, 235, 0.12);

  /* Re-theme Bootstrap's primary to the brand blue */
  --bs-primary: var(--brand-blue);
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: var(--brand-blue);
  --bs-link-color-rgb: 37, 99, 235;
  --bs-link-hover-color: var(--brand-blue-dark);
  --bs-link-hover-color-rgb: 29, 78, 216;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
}

.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue-dark);
  --bs-btn-hover-border-color: var(--brand-blue-dark);
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 2000;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}
.skip-link:focus {
  top: 0.5rem;
}

/* ---------- Header / Navbar ---------- */
.site-header {
  background: var(--brand-navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.site-header .navbar-brand {
  color: #fff;
  font-size: 1.15rem;
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy-soft) 55%, var(--brand-blue-dark) 130%);
  position: relative;
  overflow: hidden;
}

.hero .badge.text-bg-light-subtle {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.phone-mock {
  width: 220px;
  padding: 14px;
  background: #0b1220;
  border-radius: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.phone-mock-img {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
}

/* ---------- Sections ---------- */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}

.eyebrow-light {
  color: #93c5fd;
}

.section-title {
  font-weight: 700;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

/* ---------- Cards ---------- */
.advantage-card {
  background: var(--brand-blue-soft);
  border-radius: 1rem;
}

.feature-card {
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(17, 24, 39, 0.1) !important;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-icon-outline {
  background: transparent;
  border: 2px solid var(--brand-blue);
}

.requirement-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(17, 24, 39, 0.08);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li i {
  margin-top: 0.2rem;
}

/* ---------- Referenciák ---------- */
.logo-card {
  display: flex;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  min-height: 96px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-card:hover {
  box-shadow: 0 0.75rem 1.5rem rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.logo-card img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Kapcsolat ---------- */
.cta-card {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue-dark) 100%);
  border-radius: 1.25rem;
}

.contact-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
}

.contact-link {
  color: #1f2937;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--brand-blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-dark);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .section-py {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .phone-mock {
    margin-top: 1rem;
  }
}
