/* =========================================================
   SDNKOMPLEX.HU — CSS CREATIVE HIGH-CONTRAST v4
   Bold, high-contrast redesign inspired by the Balaton banner
   Deep navy + electric gold + punchy crimson
   Stronger depth, sharper accents, more dramatic interactions
   ========================================================= */

:root {
  /* Backgrounds – cooler, higher contrast */
  --color-bg-main: #eef4fb;
  --color-bg-card: #ffffff;
  --color-bg-light: #dceaf7;
  --color-bg-footer: #020b18;

  /* Text – deeper, sharper */
  --color-text-main: #06101f;
  --color-text-muted: #3d5268;
  --color-text-light: #ffffff;

  /* Primary – deep navy / lake at night */
  --color-primary: #053a6e;
  --color-primary-dark: #021f3d;
  --color-primary-light: #0d5a9e;

  /* Accent – electric sunset gold */
  --color-accent: #ffc107;
  --color-accent-dark: #e6a800;
  --color-accent-light: #ffd54f;

  /* CTA – high-impact crimson */
  --color-cta: #d50000;
  --color-cta-dark: #9b0000;
  --color-cta-light: #ff1744;

  /* Borders */
  --color-border: #b8d0e6;
  --color-border-light: #d4e4f2;

  /* Stronger depth */
  --shadow-sm: 0 3px 12px rgba(2, 31, 61, .08);
  --shadow-md: 0 14px 36px rgba(2, 31, 61, .14);
  --shadow-lg: 0 24px 60px rgba(2, 31, 61, .20);
  --shadow-glow: 0 0 28px rgba(255, 193, 7, .35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
}

.img-box-icon {
  height: 150px;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

body {
  margin: 0;
  background: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-accent);
  color: #021f3d;
}

.btn-lg {
  color: var(--color-primary-dark);
}

.dark-font {
  color: var(--color-text-main);
}

.text-white {
  color: #ffffff !important;
}

h2, h4 {
  color: var(--color-primary-dark);
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: var(--color-accent-dark);
}

/* ---------- Navigation ---------- */

.navbar {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 2px solid var(--color-border-light);
  box-shadow: 0 4px 24px rgba(2, 31, 61, .10);
  position: relative;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.navbar-brand {
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--color-primary) !important;
  height: 20px;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--color-text-main) !important;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .85rem .9rem !important;
  transition: color .2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--color-primary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: var(--color-border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .25rem rgba(255, 193, 7, .35);
}

/* ---------- Hero / banner ---------- */

.banner,
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dramatic high-contrast overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(2, 18, 40, .94) 0%,
      rgba(5, 40, 80, .78) 40%,
      rgba(8, 60, 110, .35) 75%,
      rgba(10, 70, 130, .15) 100%);
  pointer-events: none;
}

.hero-content,
.banner > .container,
.banner > .container-fluid {
  position: relative;
  z-index: 1;
}

.hero h1,
.banner h1 {
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .45);
}

.hero p,
.banner p {
  color: rgba(255, 255, 255, .94);
  font-weight: 500;
}

/* Bold yellow promo strip */
.promo-strip {
  background: linear-gradient(90deg, #ffb300 0%, #ffc107 40%, #ffd54f 60%, #ffb300 100%);
  color: #021f3d;
  font-weight: 900;
  text-align: center;
  padding: .75rem 1.2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(255, 193, 7, .45);
  border-bottom: 3px solid #e6a800;
}

/* ---------- Main headings ---------- */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 800;
  line-height: 1.2;
}

h2.cim,
h3.cim {
  position: relative;
  margin-bottom: 1.4rem;
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: -.025em;
}

h2.cim::after,
h3.cim::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: .75rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cta));
}

.main-text {
  color: var(--color-text-main);
  font-size: 1.05rem;
}

.sub-text {
  color: var(--color-text-muted);
}

.center {
  text-align: center;
}

/* ---------- Sections ---------- */

.section-padding {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.section-bg-light {
  background: var(--color-bg-light);
}

.container-wide {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

/* ---------- Intro / content ---------- */

.body-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4.5vw, 48px);
}

.line {
  height: 2px;
  margin: 2.2rem 0;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: 0;
}

.kenyer {
  color: var(--color-text-muted);
}

/* ---------- Cards ---------- */

.card,
.product-card {
  height: 100%;
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm);
  transition:
    transform .3s cubic-bezier(.2, .8, .2, 1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.card:hover,
.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--color-accent) !important;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 193, 7, .25);
}

.card-img-container {
  overflow: hidden;
  background: var(--color-bg-light);
}

.card-img-top {
  display: block;
  width: 100%;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.card:hover .card-img-top,
.product-card:hover .card-img-top {
  transform: scale(1.06);
}

.card-body {
  padding: 1.45rem 1.5rem 1.6rem;
}

.card-title {
  color: var(--color-primary);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: .75rem;
}

.card-text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- Product/service grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* ---------- Buttons – high impact ---------- */

.btn {
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .7rem 1.4rem;
  transition:
    transform .2s cubic-bezier(.2, .8, .2, 1),
    box-shadow .2s ease,
    background-color .2s ease,
    border-color .2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(5, 58, 110, .3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  box-shadow: 0 10px 28px rgba(2, 31, 61, .4);
  color: #fff;
}

/* Electric gold button */
.btn-accent,
.btn-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffd54f 100%);
  border: none;
  color: #021f3d;
  font-weight: 900;
  box-shadow: 0 6px 22px rgba(255, 193, 7, .4);
}

.btn-accent:hover,
.btn-warning:hover {
  background: linear-gradient(135deg, #e6a800 0%, #ffc107 100%);
  color: #021f3d;
  box-shadow: 0 10px 28px rgba(255, 193, 7, .55), var(--shadow-glow);
}

/* Punchy crimson CTA */
.btn-cta,
.btn-success,
.btn-submit-quote {
  background: linear-gradient(135deg, #d50000 0%, #ff1744 100%);
  border: none;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 6px 22px rgba(213, 0, 0, .35);
}

.btn-cta:hover,
.btn-success:hover,
.btn-submit-quote:hover {
  background: linear-gradient(135deg, #9b0000 0%, #d50000 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(213, 0, 0, .5);
}

.btn-outline {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgba(5, 58, 110, .3);
}

.btn-secondary.w-100 {
  background: #e0eef9;
  border: none;
  color: var(--color-primary);
  font-weight: 800;
}

.btn-secondary.w-100:hover {
  background: #c8e0f4;
  box-shadow: 0 6px 18px rgba(5, 58, 110, .15);
}

/* ---------- Forms ---------- */

.form-control,
.form-select {
  min-height: 50px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text-main);
  box-shadow: none;
  font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea.form-control {
  min-height: 140px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 .25rem rgba(255, 193, 7, .25);
}

.form-label {
  color: var(--color-text-main);
  font-weight: 800;
  margin-bottom: .5rem;
  letter-spacing: .01em;
}

/* ---------- Highlight blocks ---------- */

.highlight,
.highlight-box,
.info-box {
  border-left: 5px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, #fff8e1 0%, #fffdf5 100%);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Price / promo badges ---------- */

.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d50000, #ff1744);
  color: #fff;
  font-weight: 900;
  padding: .4rem 1.1rem;
  border-radius: 8px;
  font-size: 1.2rem;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(213, 0, 0, .35);
  text-transform: uppercase;
}

.yellow-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffc107, #ffd54f);
  color: #021f3d;
  font-weight: 900;
  padding: .35rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(255, 193, 7, .4);
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 0;
  background: var(--color-bg-footer);
  color: rgba(255, 255, 255, .8);
  border-top: 3px solid var(--color-accent);
}

.footer h4,
.footer h5,
.footer h6 {
  color: #fff;
  font-weight: 800;
}

.footer a {
  color: rgba(255, 255, 255, .8);
  transition: color .2s ease;
}

.footer a:hover {
  color: var(--color-accent);
}

.mobile-footer-nav {
  background: rgba(2, 11, 24, .98);
  border-top: 1px solid rgba(255, 193, 7, .25);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .25);
}

/* ---------- Accessibility ---------- */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 193, 7, .55);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: .75rem .3rem !important;
  }

  .navbar-nav .nav-link::after {
    left: .3rem;
    right: .3rem;
  }

  .hero {
    min-height: 420px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: .95rem;
  }

  .hero {
    min-height: 380px;
  }

  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(2, 18, 40, .88) 0%,
        rgba(5, 40, 80, .82) 100%);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-body {
    padding: 1.3rem;
  }

  .section-padding {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .body-box {
    border-radius: 12px;
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .container-wide {
    width: min(100% - 24px, 1200px);
  }

  .hero {
    min-height: 340px;
  }

  h2.cim,
  h3.cim {
    font-size: 1.5rem;
  }

  .btn {
    min-height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
