/* ABRAMS.si – static homepage */

:root {
  --color-bg: #ffffff;
  --color-text: #2d2d2d;
  --color-heading: #383838;
  --color-primary: #0a0a0a;
  --color-secondary: #3f3f3f;
  --color-header: #0a0a0a;
  --color-footer: #191919;
  --color-muted: #444;
  --color-light-gray: #d7d7d7;
  --header-height: 90px;
  --header-height-stuck: 70px;
  --container: 1080px;
  --font: "Lato", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: 700;
  margin: 0 0 0.6em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
  color: #000;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-header);
  transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  gap: 12px;
  transition: min-height 0.2s ease;
}

.site-header.is-stuck .header-inner {
  min-height: var(--header-height-stuck);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-nav--left {
  justify-content: flex-end;
}

.header-nav--right {
  justify-content: flex-start;
}

.header-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  white-space: nowrap;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  max-height: 90px;
  width: auto;
  transition: max-height 0.2s ease;
}

.site-header.is-stuck .logo img {
  max-height: 70px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  font-size: 1.5rem;
  line-height: 1;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-nav {
  display: none;
  background: #262626;
  padding: 8px 0 16px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* —— Video hero —— */
.video-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.674);
}

.video-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  width: 60%;
  max-width: 900px;
}

.video-hero__content h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* —— Logo strip —— */
.logo-strip {
  background: #3a3a3a;
  padding: 18px 0;
  overflow: hidden;
}

.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.logo-strip__track:hover {
  animation-play-state: paused;
}

.logo-strip__item {
  flex: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.logo-strip__item img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.15) contrast(1.05);
  opacity: 0.95;
}

.logo-strip__item img[src$=".svg"] {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* —— Feature block (from live .abrams-* styles) —— */
.abrams-content-wrapper {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  background-color: #fff;
}

.abrams-content-wrapper h1,
.abrams-content-wrapper h2,
.abrams-content-wrapper h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.abrams-hero {
  text-align: center;
  padding: 100px 20px;
  background-color: #000;
  color: #fff;
}

.abrams-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
}

.abrams-hero p {
  font-size: 1.2rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
}

.abrams-solutions {
  padding: 80px 20px;
  background-color: #fff;
}

.abrams-solutions-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.abrams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.abrams-card {
  background: #fff;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #000;
}

.abrams-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 400;
  color: #111;
}

.abrams-card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.abrams-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #222;
}

.abrams-card ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.abrams-card ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: #000;
  font-size: 0.8rem;
  top: 2px;
}

/* —— Kiosk section —— */
.kiosk-section {
  position: relative;
  padding: 60px 0;
  background-color: rgb(193, 193, 193);
  background-image: url("../assets/kiosk_bg.jpg");
  background-size: cover;
  background-position: center;
}

.kiosk-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.953);
}

.kiosk-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.kiosk-section__image img {
  width: 100%;
  border-radius: 0;
}

.kiosk-section__text h2 {
  font-size: 1.75rem;
  color: #000;
  margin-bottom: 16px;
}

.kiosk-section__text p {
  color: #000;
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: #222;
  opacity: 1;
}

/* —— Contact / about —— */
.contact-section {
  position: relative;
  padding: 30px 0;
  background: #000;
  background-image: url("../assets/kiosk_bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--color-light-gray);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.936);
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-brand__logo {
  max-width: 220px;
  margin-bottom: 12px;
}

.contact-brand address {
  font-style: normal;
  color: rgb(215, 215, 215);
  line-height: 1.5;
}

.contact-brand__row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 16px;
}

.contact-brand__row .portrait {
  width: 61%;
  max-width: 140px;
}

.contact-brand__row .signature {
  width: 39%;
  max-width: 120px;
  margin-bottom: 8px;
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.contact-quote p {
  color: rgb(225, 225, 225);
  margin: 0 0 16px;
}

.contact-quote__divider {
  height: 2px;
  background: rgb(214, 214, 214);
  border: 0;
  margin: 16px 0;
  max-width: 80px;
}

.contact-quote__details {
  color: rgb(215, 215, 215);
  font-weight: 700;
  line-height: 1.7;
}

.contact-quote__details a {
  color: inherit;
}

/* —— Footer bar —— */
.site-footer {
  background: var(--color-footer);
  color: #ccc;
  padding: 18px 0;
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.site-footer strong {
  color: #fff;
}

/* —— Language floater —— */
.lang-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  background: #1a1a1a;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  font-size: 0.8rem;
}

.lang-switcher__current,
.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #fff;
}

.lang-switcher__list {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher:hover .lang-switcher__list,
.lang-switcher:focus-within .lang-switcher__list {
  display: block;
}

.lang-switcher img {
  width: 18px;
  height: 12px;
}

.back-to-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 900;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #333;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* —— Inner pages —— */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 20px 48px;
  background: #000 center/cover no-repeat;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.page-hero__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 12px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 16ch;
}

.page-hero p {
  margin: 0;
  font-size: 1.15rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.88);
}

.page-content {
  padding: 64px 20px 80px;
  background: #fff;
}

.page-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.65rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
}

.page-content p {
  margin: 0 0 1.1rem;
}

.page-content ul {
  margin: 0 0 1.5rem;
  padding: 0;
}

.page-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}

.page-content ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.7rem;
  color: #000;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0 16px;
}

.page-panel {
  padding: 28px 24px;
  border-top: 3px solid #000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.page-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-panel p {
  margin: 0;
  font-size: 0.98rem;
  color: #444;
}

.page-cta {
  margin-top: 40px;
  padding: 28px 24px;
  background: #0a0a0a;
  color: #fff;
}

.page-cta h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.page-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.breadcrumbs {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  opacity: 0.7;
}

.breadcrumbs span + span::before {
  content: " / ";
  opacity: 0.6;
}

.header-nav a.is-active {
  opacity: 1;
  box-shadow: inset 0 -2px 0 #fff;
}

.header-phone {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  white-space: nowrap;
}

.mobile-phone {
  display: block;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-plain {
  font-weight: 700;
  line-height: 1.7;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    grid-column: 1;
    justify-self: start;
  }

  .logo {
    grid-column: 2;
  }

  .header-inner {
    grid-template-columns: 48px 1fr 48px;
    min-height: 70px;
  }

  .logo img {
    max-height: 70px;
  }

  .video-hero__content {
    width: 90%;
  }

  .abrams-hero h1 {
    font-size: 2.5rem;
  }

  .kiosk-section__inner {
    grid-template-columns: 1fr;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 36vh;
    padding-top: 72px;
  }
}

@media (max-width: 600px) {
  .abrams-grid {
    grid-template-columns: 1fr;
  }
}
