/* ==========================================================================
   Bozok.io — site theme (dark, on top of Bootstrap 5.3)
   Palette: Black base + Yellow primary + Amber accent
   ========================================================================== */

:root {
  /* Brand palette — black + yellow */
  --b-bg:           #0a0a0a;            /* near-black body */
  --b-bg-soft:      #141414;            /* alternating section */
  --b-bg-card:      #1c1c1c;            /* cards */
  --b-bg-card-hover:#262626;            /* card hover */
  --b-border:       #2a2a2a;            /* subtle border */
  --b-border-strong:#3f3f3f;            /* card hover border */
  --b-text:         #fafafa;            /* near-white headings */
  --b-text-body:    #d4d4d4;            /* gray-300 body */
  --b-text-mute:    #a3a3a3;            /* gray-400 labels */
  --b-text-dim:     #737373;            /* gray-500 tertiary */
  --b-primary:      #10b981;            /* emerald-500 primary */
  --b-primary-700:  #059669;            /* emerald-600 hover */
  --b-primary-dark: #047857;            /* emerald-700 active */
  --b-primary-light:#34d399;            /* emerald-400 light */
  --b-accent:       #6ee7b7;            /* emerald-300 accent */
  --b-accent-bright:#a7f3d0;            /* emerald-200 bright */
  --b-accent-soft:  rgba(16, 185, 129, 0.13);

  /* Bootstrap variable overrides */
  --bs-primary:           var(--b-primary);
  --bs-primary-rgb:       16, 185, 129;
  --bs-link-color:        var(--b-primary);
  --bs-link-color-rgb:    16, 185, 129;
  --bs-link-hover-color:  var(--b-primary-light);
  --bs-body-bg:           var(--b-bg);
  --bs-body-bg-rgb:       10, 10, 10;
  --bs-body-color:        var(--b-text-body);
  --bs-body-color-rgb:    212, 212, 212;
  --bs-border-color:      var(--b-border);
  --bs-emphasis-color:    var(--b-text);
  --bs-secondary-color:   var(--b-text-mute);
  --bs-tertiary-color:    var(--b-text-dim);
  --bs-heading-color:     var(--b-text);
}

html {
  color-scheme: dark;
  /* Anchor scroll offset for the sticky header */
  scroll-padding-top: 150px;
  scroll-behavior: smooth;
}
@media (max-width: 767.98px) { html { scroll-padding-top: 110px; } }
@media (max-width: 575.98px) { html { scroll-padding-top: 90px;  } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { letter-spacing: -0.01em; color: var(--b-text); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b-primary);
  margin-bottom: 0.6rem;
}
.eyebrow.muted { color: var(--b-text-mute); }

/* Header / Navbar ----------------------------------------------------------- */
.site-header {
  background: rgba(10,10,10,0.78);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--b-border);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--b-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  --logo-size: 88px;
}
.brand-mark .logo-img {
  width: var(--logo-size);
  height: var(--logo-size);
  flex-shrink: 0;
  background: #fafafa;
  -webkit-mask: url(/assets/img/logo.png) center/contain no-repeat;
          mask: url(/assets/img/logo.png) center/contain no-repeat;
  display: inline-block;
  filter:
    drop-shadow(0 0 14px rgba(16,185,129,0.45))
    drop-shadow(0 8px 22px rgba(16,185,129,0.30));
  transition: transform .25s ease, filter .25s ease;
}
.brand-mark:hover .logo-img {
  transform: translateY(-1px) scale(1.04);
  filter:
    drop-shadow(0 0 18px rgba(16,185,129,0.75))
    drop-shadow(0 10px 26px rgba(16,185,129,0.6));
}
.brand-mark .name {
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--b-primary);
}
.brand-mark .name .sub {
  color: var(--b-text-mute);
  font-weight: 400;
  margin-left: 0.55rem;
  font-size: 1.3rem;
  letter-spacing: 0;
}
.brand-mark:hover .name { color: var(--b-primary-light); }

/* Main navigation menu */
.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--b-text-body);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.main-nav a svg {
  width: 17px; height: 17px;
  stroke-width: 1.8;
  flex-shrink: 0;
  opacity: 0.78;
  transition: opacity .15s ease, color .15s ease;
}
.main-nav a:hover { color: var(--b-text); background: var(--b-bg-card); }
.main-nav a:hover svg { opacity: 1; color: var(--b-primary); }
.main-nav a.active { color: var(--b-primary); }
.main-nav a.active svg { color: var(--b-primary); opacity: 1; }
@media (max-width: 991.98px) {
  .main-nav { display: none; }
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  color: var(--b-primary);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.contact-btn:hover {
  background: var(--b-primary);
  color: #0a0a0a;
  border-color: var(--b-primary);
  transform: translateY(-1px);
}
.contact-btn svg { width: 22px; height: 22px; stroke-width: 1.8; display: block; }
@media (max-width: 575.98px) {
  .contact-btn { width: 38px; height: 38px; }
  .contact-btn svg { width: 18px; height: 18px; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: var(--b-text-mute);
}
.lang-switch a {
  color: var(--b-text-mute);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lang-switch a:hover { color: var(--b-primary); background: var(--b-bg-card); }
.lang-switch a.active {
  color: var(--b-primary);
  background: var(--b-accent-soft);
}

/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 2.5rem 0;
  /* Hero height locked to the image's native aspect ratio — image keeps its
     proportions on every viewport, no stretch / squash. */
  aspect-ratio: 1800 / 372;
  min-height: 240px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(10,10,10,0.50) 0%, transparent 80%),
    url('/assets/img/hero-bg.jpg') center center / cover no-repeat,
    var(--b-bg);
  overflow: hidden;
  isolation: isolate;
}
.hero > .container { width: 100%; }
@media (max-width: 991.98px) {
  .hero {
    aspect-ratio: auto;
    min-height: 0;
    padding: 3rem 0;
  }
}
.hero .circuit-bg { display: none; }
.hero::before {
  /* center vignette so the headline reads cleanly above the circuit */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 65% at 50% 50%, rgba(10,10,10,0.7) 0%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #fafafa;
  margin: 0 auto 1rem;
  text-align: center;
}
.hero h1 .accent {
  color: var(--b-primary);
}
.hero .lead {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--b-text-body);
  font-size: clamp(0.92rem, 1.35vw, 1.04rem);
  font-weight: 400;
  line-height: 1.6;
}
.hero .hero-cta { margin-top: 1.2rem; }
.hero .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.20em;
  margin-bottom: 0.6rem;
}

/* Sections ------------------------------------------------------------------ */
.section { padding: 4.5rem 0; }
.hero + .section { padding-top: 2rem; }
.section.section-soft { background: var(--b-bg-soft); }
.section h2.section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--b-text);
  margin-bottom: 0.4rem;
}
.section .section-intro {
  color: var(--b-text-mute);
  width: 100%;
  margin-bottom: 2.5rem;
}

/* Service cards ------------------------------------------------------------- */
.svc-card {
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  border-radius: 14px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease,
              transform .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.svc-card-img {
  width: 100%;
  aspect-ratio: 17 / 9;
  background: var(--b-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--b-border);
  position: relative;
}
.svc-card-img img,
.svc-card-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.svc-card-body {
  padding: 1.35rem 1.5rem 2.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.svc-card-body::after {
  content: "↗";
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  color: var(--b-primary);
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.55;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.svc-card:hover .svc-card-body::after {
  opacity: 1;
  transform: translate(2px, -2px);
}
.svc-card:hover {
  border-color: var(--b-primary);
  background: var(--b-bg-card-hover);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.7);
  transform: translateY(-3px);
}
.svc-card:hover .svc-card-img img,
.svc-card:hover .svc-card-img svg {
  transform: scale(1.04);
}
.svc-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--b-text);
  margin: 0 0 0.75rem;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.svc-card p {
  color: var(--b-text-body);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--b-text-body);
}
.svc-list li {
  padding: 0.45rem 0 0.45rem 1.1rem;
  position: relative;
  border-bottom: 1px dashed var(--b-border);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--b-primary);
}
.svc-list li a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color .15s ease, transform .15s ease;
}
.svc-list li a::after {
  content: " ›";
  color: var(--b-primary);
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
  display: inline-block;
}
.svc-list li a:hover {
  color: var(--b-primary);
}
.svc-list li a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}

/* Reference cards ----------------------------------------------------------- */
.ref-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--b-text);
  height: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ref-card:hover {
  border-color: var(--b-primary);
  background: var(--b-bg-card-hover);
  box-shadow: 0 12px 28px -14px rgba(16,185,129,0.35);
  color: var(--b-text);
}
.ref-card .domain {
  font-weight: 600;
  color: var(--b-text);
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  word-break: break-word;
}
.ref-card .arrow {
  color: var(--b-text-dim);
  font-size: 1.05rem;
  transition: color .18s ease, transform .18s ease;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.ref-card:hover .arrow { color: var(--b-primary); transform: translate(2px, -2px); }

/* Contact ------------------------------------------------------------------- */
.contact-card {
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  border-radius: 14px;
  padding: 1.75rem 1.75rem;
}
.contact-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-text-mute);
  margin-bottom: 0.3rem;
}
.contact-card .value {
  font-size: 1.05rem;
  color: var(--b-text);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.contact-card .value:last-child { margin-bottom: 0; }
.contact-card .value a { color: var(--b-primary); text-decoration: none; }
.contact-card .value a:hover { text-decoration: underline; color: var(--b-primary-light); }

/* Confidential note (under references) -------------------------------------- */
.confidential-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.30);
  border-left-width: 3px;
  border-radius: 8px;
  color: var(--b-text-body);
  font-size: 0.92rem;
  line-height: 1.55;
  width: 100%;
}
.confidential-note .lock-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--b-primary);
  margin-top: 2px;
}
.confidential-note strong { color: var(--b-text); }

/* Contact form -------------------------------------------------------------- */
.contact-form {
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.6rem;
}
.contact-form .form-row + .form-row { margin-top: 1rem; }
.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--b-text-mute);
  margin-bottom: 0.4rem;
}
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form input[type=text],
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(0,0,0,0.30);
  color: var(--b-text);
  border: 1px solid var(--b-border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  transition: border-color .18s ease, background .18s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--b-primary);
  background: rgba(0,0,0,0.45);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}
.contact-form .employees-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-form .employees-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--b-border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--b-text-body);
  background: rgba(0,0,0,0.20);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.contact-form .employees-group input[type=radio] {
  appearance: none;
  width: 14px; height: 14px;
  border: 1.5px solid var(--b-border-strong);
  border-radius: 50%;
  margin: 0;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}
.contact-form .employees-group input[type=radio]:checked {
  border-color: var(--b-primary);
}
.contact-form .employees-group input[type=radio]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--b-primary);
}
.contact-form .employees-group label:has(input:checked) {
  border-color: var(--b-primary);
  color: var(--b-text);
  background: rgba(16,185,129,0.10);
}
.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.contact-form .form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.contact-form .form-status {
  font-size: 0.92rem;
  color: var(--b-text-mute);
  min-height: 1.4rem;
}
.contact-form .form-status.success { color: #34d399; }
.contact-form .form-status.error   { color: #f87171; }
.contact-form button[type=submit]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* FAQ accordion ------------------------------------------------------------- */
.faq-item {
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color .18s ease, background .18s ease;
}
.faq-item[open] {
  border-color: var(--b-primary);
  background: var(--b-bg-card-hover);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--b-text);
  font-size: 1.05rem;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--b-primary);
  font-size: 1.5rem;
  font-weight: 400;
  margin-left: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--b-border);
  color: var(--b-text-body);
  font-size: 0.97rem;
  line-height: 1.65;
}
.faq-body p { margin: 0 0 0.7rem; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body ul { margin: 0.5rem 0; padding-left: 1.2rem; }
.faq-body ul li { margin-bottom: 0.35rem; }
.faq-body strong { color: var(--b-text); }

/* Footer -------------------------------------------------------------------- */
.site-footer {
  background: var(--b-bg);
  border-top: 1px solid var(--b-border);
  color: var(--b-text-mute);
  padding: 3rem 0 2.25rem;
}
.site-footer a { color: var(--b-text-body); text-decoration: none; }
.site-footer a:hover { color: var(--b-primary); text-decoration: underline; }
.site-footer .brand-mark { color: var(--b-text); }
.site-footer .brand-mark:hover { color: var(--b-primary); }
.site-footer .copyright {
  border-top: 1px solid var(--b-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--b-text-mute);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--b-bg-card);
  border: 1px solid var(--b-border);
  color: var(--b-text-body);
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.social-links a:hover {
  background: var(--b-primary);
  color: #0a0a0a;
  border-color: var(--b-primary);
  transform: translateY(-1px);
}
.social-links svg { width: 18px; height: 18px; display: block; }

/* Buttons ------------------------------------------------------------------- */
.btn-primary {
  --bs-btn-color: #0a0a0a;
  --bs-btn-bg: var(--b-primary);
  --bs-btn-border-color: var(--b-primary);
  --bs-btn-hover-bg: var(--b-primary-700);
  --bs-btn-hover-border-color: var(--b-primary-700);
  --bs-btn-hover-color: #0a0a0a;
  --bs-btn-active-bg: var(--b-primary-dark);
  --bs-btn-active-border-color: var(--b-primary-dark);
  --bs-btn-active-color: #0a0a0a;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
}
.btn-outline-primary {
  --bs-btn-color: var(--b-primary);
  --bs-btn-border-color: var(--b-primary);
  --bs-btn-hover-bg: var(--b-primary);
  --bs-btn-hover-border-color: var(--b-primary);
  --bs-btn-hover-color: #0a0a0a;
  --bs-btn-active-bg: var(--b-primary-700);
  --bs-btn-active-border-color: var(--b-primary-700);
  --bs-btn-active-color: #0a0a0a;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
}

@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3rem 0; }
  .brand-mark { --logo-size: 36px; }
  .brand-mark .name .sub { display: none; }
}
