/* ================================
   Super Tire Service – Header (v2.4 Stable JS + Parallax)
   ================================ */

:root {
  --sts-blue: #003366;
  --sts-yellow: #f6c90e;
  --sts-white: #ffffff;
  --header-h: 90px; /* desktop header height */
}

/* === BASE HEADER === */
header.site-header,
.elementor-location-header {
  background: var(--sts-white);
  color: var(--sts-blue);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* === FLEX CONTAINER === */
.sts-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Remove Elementor internal padding */
.sts-header.e-con,
.sts-header.e-con-boxed,
.sts-header .e-con-inner {
  padding: 0 !important;
  margin: 0 !important;
}

/* === LEFT: LOGO === */
.sts-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 20px !important;
}
.sts-logo img {
  height: 60px !important;
  width: auto !important;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* === CENTER: MENU === */
.sts-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sts-navigation .elementor-nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.sts-navigation .elementor-nav-menu a {
  color: var(--sts-blue) !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'Roboto', sans-serif;
  transition: color 0.3s ease;
}
.sts-navigation .elementor-nav-menu a:hover {
  color: var(--sts-yellow) !important;
}

/* === RIGHT: B2B BUTTON === */
.b2b-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 20px !important;
}
.b2b-button .elementor-button {
  background: var(--sts-blue) !important;
  color: var(--sts-white) !important;
  border: 2px solid var(--sts-blue) !important;
  border-radius: 30px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.b2b-button .elementor-button:hover {
  background: var(--sts-yellow) !important;
  color: var(--sts-blue) !important;
  border-color: var(--sts-yellow) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .sts-logo img { height: 55px !important; }
  .sts-navigation .elementor-nav-menu a { font-size: 15px; }
}
@media (max-width: 768px) {
  .sts-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px 0;
  }
  .sts-navigation .elementor-nav-menu {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===============================
   Brand Hero Sections (JS Scroll + Parallax)
   =============================== */

html, body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* === Κάθε brand hero === */
.brand-hero {
  position: relative;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Πρώτο hero (Falken) κάτω από το header */
.brand-hero:first-of-type {
  height: calc(100vh - var(--header-h)) !important;
  min-height: calc(100vh - var(--header-h)) !important;
}

/* === Fade-in ενεργοποιείται από JS === */
.brand-hero.fade-active {
  opacity: 1;
  transform: translateY(0);
}

/* === Περιεχόμενο === */
.brand-hero__content {
  text-align: center;
  color: #fff;
  z-index: 2;
  position: relative;
}
.brand-hero__content h1,
.brand-hero__content h2,
.brand-hero__content .elementor-heading-title {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* === CTA Buttons === */
.brand-cta .elementor-button {
  background-color: var(--sts-blue) !important;
  color: var(--sts-white) !important;
  border: 2px solid var(--sts-blue) !important;
  border-radius: 0 !important;
  padding: 8px 24px !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  transition: all 0.3s ease-in-out !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.brand-cta .elementor-button:hover {
  background-color: var(--sts-yellow) !important;
  color: var(--sts-blue) !important;
  border-color: var(--sts-yellow) !important;
  transform: translateY(-3px);
}

/* === Parallax Video Layer === */
.brand-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* λίγη “ανάσα” για την κίνηση */
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.2s linear;
  z-index: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .brand-hero {
    transition: none;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ===============================
   Scroll Navigation Bullets (v1.1)
   =============================== */

.scroll-nav {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9999;
}

.scroll-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--sts-blue);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-dot:hover {
  background-color: var(--sts-yellow);
  transform: scale(1.2);
}

.scroll-dot.active {
  background-color: var(--sts-blue);
  transform: scale(1.3);
}
