:root {
  --infotext-navy: #0b2144;
  --infotext-accent: #38b6ff;
}

.bg-infotext-navy {
  background-color: var(--infotext-navy) !important;
}
html {
  scroll-behavior: smooth;
}

#hero,
#onama,
#usluge,
#reference,
#kontakt {
  scroll-margin-top: 72px;
}


/* =========================================
   1. DESKTOP NÉZET (992px felett)
   ========================================= */
@media (min-width: 992px) {
  #mainNavbar .nav-link {
    position: relative;
    transition: color 0.3s ease;
  }

  #mainNavbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background-color: var(--infotext-accent);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
  }

  #mainNavbar .nav-link:hover,
  #mainNavbar .nav-link.active {
    color: var(--infotext-accent) !important;
  }

  #mainNavbar .nav-link:hover::after,
  #mainNavbar .nav-link.active::after {
    width: calc(100% - 1rem);
  }
}

/* =========================================
   2. MOBIL NÉZET (991px alatt)
   ========================================= */
@media (max-width: 991.98px) {
  #mainNavbar {
    background-color: var(--infotext-navy);
    padding: 1rem 0;
  }

  #mainNavbar .nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background-color 0.25s ease, transform 0.2s ease, color 0.25s ease;
  }

  #mainNavbar .nav-link:hover,
  #mainNavbar .nav-link:active,
  #mainNavbar .nav-link:focus {
    background-color: rgba(56, 182, 255, 0.15);
    color: var(--infotext-accent) !important;
    transform: translateX(6px);
  }
}
/* =========================================
   RÓLUNK (ABOUT / FEATURES) SZEKCIÓ
   ========================================= */
.about-section {
  background-color: #f8f9fc;
  padding: 90px 0;
}

.about-badge {
  display: inline-block;
  background-color: #e9effd;
  color: #162983;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.about-heading {
  color: #4a3f35;
  font-weight: 700 !important;
  font-size: 2rem !important;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.btn-infotext-primary {
  background-color: #0b2482;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  border: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-infotext-primary:hover {
  background-color: #071961;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 36, 130, 0.25);
}

.feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 30px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.11);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f2f5fc;
  color: #162983;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #3d352e;
  margin-bottom: 12px;
}

.feature-card p {
  color: #5a6270;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Lépcsőzetes eltolás asztali nézetben */
@media (min-width: 768px) {
  .staggered-col-left {
    margin-top: 32px;
  }
}
.feature-icon-box {
  position: relative;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1649c7;
  font-size: 2.25rem;
  margin-bottom: 22px;
  z-index: 1;
}

/* A jobb alsó sarokban eltolt halványkék díszítő négyzet */
.feature-icon-box::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 42px;
  height: 42px;
  background-color: #dce6fc;
  border-radius: 6px;
  z-index: -1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover hatásra finoman elmozdul a háttérnégyzet a kártya érintésekor */
.feature-card:hover .feature-icon-box::after {
  transform: translate(-4px, -4px);
  background-color: #cbd9fa;
}

/* =========================================
   SZOLGÁLTATÁSOK (USLUGE) SZEKCIÓ
   ========================================= */
#usluge {
  scroll-margin-top: 72px;
  padding: 90px 0;
  background-color: #ffffff;
}

.section-heading-lines {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700 !important;
  font-size: 2rem !important;
  color: #3d352e;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading-lines::before,
.section-heading-lines::after {
  content: '';
  display: inline-block;
  width: 45px;
  height: 2px;
  background-color: #0b2482;
}

.service-feature-img {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  object-fit: cover;
}

.service-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.service-checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #4a5568;
  font-size: 0.96rem;
}

.service-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #0b2482;
  font-weight: 700;
}

.service-link-more {
  display: inline-block;
  color: #4a5568;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-link-more:hover {
  color: #0b2482;
  transform: translateX(4px);
}

.service-item-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 16px;
  border-top: 1px solid #edf2f7;
  transition: transform 0.25s ease;
}

.service-item-box:hover {
  transform: translateY(-3px);
}

.service-icon-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background-color: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2482;
  font-size: 1.55rem;
  border-left: 4px solid #0b2482;
}

.service-item-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}

.service-item-box p {
  font-size: 0.92rem;
  color: #5a6270;
  line-height: 1.55;
  margin-bottom: 0;
}
.service-icon-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1649c7;       /* Élénkebb kék ikonszín */
  font-size: 2.3rem;    /* Nagyobb ikonméret */
  z-index: 1;
}

/* A jobb alsó sarokban eltolt halványkék díszítő négyzet */
.service-icon-wrapper::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 42px;
  height: 42px;
  background-color: #dce6fc;
  border-radius: 6px;
  z-index: -1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover hatásra finoman elmozdul a háttérnégyzet */
.service-item-box:hover .service-icon-wrapper::after {
  transform: translate(-4px, -4px);
  background-color: #cbd9fa;
}
/* =========================================
   REFERENCIÁK (PORTFOLIO / REFERENCE) SZEKCIÓ
   ========================================= */

#reference {
  scroll-margin-top: 72px;
  padding: 90px 0;
  background-color: #e4eefc !important;
  border-top: 1px solid #cbd9f5;
  border-bottom: 1px solid #cbd9f5;
}



.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  border: 1px solid #dce6fc;
  background-color: #ffffff;
  color: #3d352e;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #0b2482;
  color: #ffffff;
  border-color: #0b2482;
  box-shadow: 0 4px 12px rgba(11, 36, 130, 0.2);
}

.portfolio-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(11, 33, 68, 0.12); /* Határozottabb kártya-árnyék */
  border: 1.5px solid #c2d4f2; /* Jól látható külső keret */
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 33, 68, 0.18);
  border-color: #0b2482;
}

/* Mini böngésző ablak felső sáv a kép felett */
.portfolio-browser-bar {
  background-color: #dce6f7;
  padding: 6px 10px;
  border-radius: 8px 8px 0 0;
  border: 1.5px solid #b5c9ec;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.portfolio-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #7c98cc;
  display: inline-block;
}

.portfolio-img-wrap {
  position: relative;
  height: 145px; /* Arányosabb magasság 4 oszlopos elrendezéshez */
  overflow: hidden;
  background-color: #f1f5fb;
  border-radius: 0 0 8px 8px;
  border: 1.5px solid #b5c9ec;
  box-shadow: inset 0 2px 8px rgba(11, 33, 68, 0.08);
}

.portfolio-domain {
  font-weight: 700;
  font-size: 0.94rem;
  color: #0b2482;
  text-decoration: none;
  margin-bottom: 2px;
  display: block;
  word-break: break-word; /* Hosszú domainnevek tördelése keskenyebb kártyán */
}


.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 33, 68, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-visit-btn {
  background-color: #38b6ff;
  color: #0b2144;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.portfolio-visit-btn:hover {
  background-color: #ffffff;
  color: #0b2144;
  transform: scale(1.04);
}

.portfolio-body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.portfolio-domain {
  font-weight: 700;
  font-size: 1.02rem;
  color: #0b2482;
  text-decoration: none;
  margin-bottom: 2px;
  display: block;
}

.portfolio-domain:hover {
  text-decoration: underline;
}

.portfolio-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
}

.portfolio-ext-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5fc;
  color: #0b2482;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.portfolio-card:hover .portfolio-ext-icon {
  background-color: #0b2482;
  color: #ffffff;
}
.portfolio-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px; /* Diszkrét fehér belső keret a kép körül */
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0; /* Finom külső szegély a világos háttérhez */
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.portfolio-img-wrap {
  position: relative;
  height: 195px;
  overflow: hidden;
  background-color: #f8fafc;
  border-radius: 9px; /* Kerekített belső képkeret */
  border: 1px solid #dce6fc; /* Lágy, arculathoz illő kékesszürke keret közvetlenül a kép körül */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.portfolio-body {
  padding: 14px 8px 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
/* =========================================
   KAPCSOLAT (KONTAKT) & LÁBLÉC SZEKCIÓ
   ========================================= */
#kontakt {
  scroll-margin-top: 72px;
  padding: 90px 0 80px 0;
  background-color: #ffffff;
}

.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: #3d352e;
  margin-bottom: 6px;
}

.contact-input {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-input:focus {
  border-color: #0b2482;
  box-shadow: 0 0 0 3px rgba(11, 36, 130, 0.12);
}

/* Honeypot robotcsapda elrejtése */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Céges lábléc (3 oszlopos elrendezés a képernyőkép alapján) */
.infotext-footer {
  background-color: #f4f6fb;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 30px 0;
  color: #2d3748;
}

.footer-col-title {
  position: relative;
  padding-left: 14px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e293b;
  margin-bottom: 18px;
}

.footer-col-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background-color: #0b2482;
  border-radius: 2px;
}

.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: #334155;
}

.footer-info-list a {
  color: #0b2482;
  text-decoration: none;
  font-weight: 500;
}

.footer-info-list a:hover {
  text-decoration: underline;
}

/* Lebegő felgörgető gomb a jobb alsó sarokban */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 85px; /* Megemelve, hogy a reCAPTCHA v3 jelvény elférjen alatta */
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background-color: #0b2482;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(11, 36, 130, 0.3);
  z-index: 999;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.scroll-top-btn:hover {
  background-color: #071961;
  color: #ffffff;
  transform: translateY(-3px);
}

