/* =========================================================================
   AZTÖR AUTOMATION — BRAND THEME
   =========================================================================
   Loads AFTER style.css and overrides the stock theme palette with the
   colours taken from the AZTÖR logo and brand banner.

   Brand palette
   -------------
   #0745B6   Brand Blue      sampled from the "AZ" in the logo — primary
   #1B6FE0   Bright Blue     hover / gradient partner
   #2B8AEF   Light Blue      highlights on dark backgrounds
   #0B1220   Ink             deep navy-charcoal — headings, footer, dark UI
   #131C2E   Ink Soft        raised surfaces on dark backgrounds

   The stock theme was orange (#fe712b) on teal (#0d403e). Almost all of it
   flows through CSS variables, so redefining them here re-skins the whole
   site. The handful of places where the theme hardcoded a colour are
   corrected explicitly further down.

   Do not edit style.css. Keep every brand change in this file so the theme
   can be updated later without losing the work.
   ========================================================================= */

:root {
  /* --- core brand ------------------------------------------------------ */
  --theme-color:      #0745B6;
  --theme-color2:     #0B1220;
  --color-dark:       #0B1220;

  /* --- extended brand ramp (used by aztor.css) ------------------------- */
  --brand-blue:       #0745B6;
  --brand-blue-dark:  #053794;
  --brand-blue-bright:#1B6FE0;
  --brand-blue-light: #2B8AEF;
  --brand-ink:        #0B1220;
  --brand-ink-soft:   #131C2E;
  --brand-ink-line:   #1E2A40;

  /* --- surfaces -------------------------------------------------------- */
  --theme-bg-light:   #f4f7fb;
  --theme-bg-light2:  #eef3fa;
  --body-text-color:  #5b6880;

  /* --- accents --------------------------------------------------------- */
  --color-blue:       #0745B6;
  --color-skyblue:    #2B8AEF;
  --color-yellow:     #f5a623;

  /* --- footer ---------------------------------------------------------- */
  --footer-bg:        #0B1220;
  --footer-text-color:#dbe4f2;

  /* --- shadows tinted to the brand instead of neutral grey ------------- */
  --box-shadow:       0 0 40px 5px rgba(7, 69, 182, 0.07);
  --box-shadow3:      0 0 40px 5px rgba(7, 69, 182, 0.06);
}

/* =========================================================================
   1. HARDCODED VALUES IN style.css
   Three rules in the stock theme bake in the old palette. Corrected here.
   ========================================================================= */

/* was: 1px solid rgba(254, 113, 43, 0.2) */
.hero-item-box {
  border: 1px solid rgba(7, 69, 182, 0.18);
}

/* was: rgba(13, 64, 62, 0.45) / rgba(13, 64, 62, 0.65) — section overlays */
.breadcrumb-wrapper::before,
.cta-area::before,
.video-area::before,
.counter-area::before {
  background: rgba(11, 18, 32, 0.72);
}

/* =========================================================================
   2. GRADIENTS & BUTTONS
   The stock theme used flat orange. Brand blue reads better with a subtle
   two-stop gradient, which also matches the banner artwork.
   ========================================================================= */

.theme-btn {
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(7, 69, 182, 0.22);
}
.theme-btn:hover {
  background: linear-gradient(120deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  box-shadow: 0 10px 26px rgba(7, 69, 182, 0.32);
}
.theme-btn2 {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.theme-btn2:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand-ink);
}

/* On light backgrounds the outline button needs an ink border, not white */
.bg-light .theme-btn2,
.form-card .theme-btn2,
.solution-card .theme-btn2 {
  border-color: rgba(11, 18, 32, 0.25);
  color: var(--brand-ink);
}
.bg-light .theme-btn2:hover,
.form-card .theme-btn2:hover,
.solution-card .theme-btn2:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

/* =========================================================================
   3. HEADER
   ========================================================================= */

.header .header-top {
  background: var(--brand-ink);
  border-bottom: 1px solid var(--brand-ink-line);
}
.header .header-top a:hover,
.header .header-top .social-link a:hover {
  color: var(--brand-blue-light);
}

.navbar .nav-item .nav-link.active,
.navbar .nav-item .nav-link:hover {
  color: var(--brand-blue);
}
.navbar .nav-item .dropdown-menu .dropdown-item.active,
.navbar .nav-item .dropdown-menu .dropdown-item:hover {
  color: var(--brand-blue);
  background: rgba(7, 69, 182, 0.06);
}

/* =========================================================================
   4. FOOTER — deep navy with a blue hairline, matching the banner panel
   ========================================================================= */

.footer-area {
  background: var(--brand-ink);
  border-top: 3px solid var(--brand-blue);
}
.footer-area .footer-widget-title::after,
.footer-area .footer-contact-strip {
  background: var(--brand-blue);
}
.footer-area .footer-list li a:hover,
.footer-area .footer-contact-content a:hover {
  color: var(--brand-blue-light);
}
.footer-area .copyright {
  background: #070C16;
  border-top: 1px solid var(--brand-ink-line);
}

/* =========================================================================
   5. SECTION HEADINGS & TAGLINES
   ========================================================================= */

.site-title-tagline {
  color: var(--brand-blue);
  background: rgba(7, 69, 182, 0.08);
}
.site-title-tagline.bg-white {
  background: #fff;
}
.site-title span,
.hero-title span {
  color: var(--brand-blue);
}

/* =========================================================================
   6. FLOATING ACTION BUTTONS
   WhatsApp keeps its own green — brand consistency does not override a
   platform colour people recognise. The emergency button takes brand blue.
   ========================================================================= */

.floating-actions .float-btn.emergency {
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-blue-bright) 100%);
}

#scroll-top {
  background: var(--brand-blue);
}
#scroll-top:hover {
  background: var(--brand-blue-dark);
}

/* =========================================================================
   7. FORM FOCUS STATES
   ========================================================================= */

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(7, 69, 182, 0.12);
}

/* =========================================================================
   8. SELECTION & SCROLLBAR — small details, but they sell the identity
   ========================================================================= */

::selection {
  background: var(--brand-blue);
  color: #fff;
}

@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: #eef3fa; }
  ::-webkit-scrollbar-thumb {
    background: #b9c6da;
    border-radius: 6px;
    border: 2px solid #eef3fa;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }
}

/* =========================================================================
   9. HERO — brand banner treatment
   Photography from the AZTÖR banner, with the headline set in live HTML so
   it stays sharp, selectable and readable at every viewport width.
   ========================================================================= */

.hero-aztor {
  position: relative;
  background-image: url("../img/hero/hero-aztor.jpg");
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  /* The header sits over the hero, so reserve room for it */
  padding-top: 165px;
  padding-bottom: 70px;
  min-height: 840px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dark panel on the left, exactly as the printed banner is composed */
.hero-aztor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 10, 18, 0.96) 0%,
    rgba(8, 13, 24, 0.92) 26%,
    rgba(9, 15, 28, 0.72) 44%,
    rgba(11, 18, 32, 0.28) 60%,
    rgba(11, 18, 32, 0.05) 76%
  );
}

.hero-aztor .container { position: relative; z-index: 2; }

.hero-aztor .hero-rule {
  width: 62px;
  height: 4px;
  background: var(--brand-blue-bright);
  border-radius: 3px;
  margin: 22px 0 26px;
}

.hero-aztor .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-blue-light);
  background: rgba(43, 138, 239, 0.12);
  border: 1px solid rgba(43, 138, 239, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 26px;
}

.hero-aztor h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 62px;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}
.hero-aztor h1 .accent {
  display: block;
  color: var(--brand-blue-light);
}

.hero-aztor .hero-tagline {
  font-family: var(--heading-font);
  font-size: 25px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 20px;
}

.hero-aztor .hero-lead {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.76);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-aztor .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

/* --- the four badges from the banner, rebuilt as live markup ---------- */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-features .hf {
  display: flex;
  align-items: center;
  gap: 13px;
}
.hero-features .hf i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid rgba(43, 138, 239, 0.42);
  background: rgba(43, 138, 239, 0.1);
  color: var(--brand-blue-light);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-features .hf span {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* --- responsive ------------------------------------------------------- */

@media (max-width: 1399px) {
  .hero-aztor h1 { font-size: 54px; }
  .hero-features { gap: 24px; }
}

@media (max-width: 1199px) {
  .hero-aztor { min-height: 760px; padding-top: 150px; }
  .hero-aztor h1 { font-size: 46px; }
  .hero-aztor .hero-tagline { font-size: 22px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
}

@media (max-width: 991px) {
  .hero-aztor {
    /* Tighter crop keeps the technician in frame on a narrow viewport */
    background-image: linear-gradient(
        180deg,
        rgba(6, 10, 18, 0.86) 0%,
        rgba(8, 13, 24, 0.7) 50%,
        rgba(9, 15, 28, 0.9) 100%
      ),
      url("../img/hero/hero-aztor-mobile.jpg");
    background-position: center 22%;
    min-height: 0;
    padding: 175px 0 70px;
    text-align: center;
  }
  .hero-aztor::before { display: none; }
  .hero-aztor .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-aztor .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-aztor .hero-cta { justify-content: center; }
  .hero-features .hf { justify-content: center; }
}

@media (max-width: 767px) {
  /* Header top bar wraps onto two rows here, so it needs more clearance */
  .hero-aztor { padding-top: 200px; }
}

@media (max-width: 575px) {
  .hero-aztor { min-height: 0; padding: 200px 0 56px; }
  .hero-aztor h1 { font-size: 33px; }
  .hero-aztor .hero-tagline { font-size: 18px; }
  .hero-aztor .hero-lead { font-size: 15.5px; }
  .hero-aztor .hero-eyebrow { font-size: 11px; padding: 7px 14px; }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-features .hf { flex-direction: column; text-align: center; gap: 8px; }
  .hero-features .hf span { font-size: 11px; }
  .hero-aztor .hero-cta .theme-btn,
  .hero-aztor .hero-cta .theme-btn2 { width: 100%; justify-content: center; }
}

/* Users who prefer less motion get a still hero */
@media (prefers-reduced-motion: reduce) {
  .hero-aztor * { animation: none !important; transition: none !important; }
}

/* =========================================================================
   10. BREADCRUMB — brand photography with a navy grade
   ========================================================================= */

.site-breadcrumb {
  background-position: center 32% !important;
}
.site-breadcrumb::before {
  background: linear-gradient(
    180deg,
    rgba(7, 11, 20, 0.86) 0%,
    rgba(9, 15, 28, 0.78) 55%,
    rgba(7, 69, 182, 0.42) 100%
  );
}
.site-breadcrumb .breadcrumb-menu li.active {
  color: var(--brand-blue-light);
}
.site-breadcrumb .breadcrumb-menu li a:hover {
  color: var(--brand-blue-light);
}
