/* intro */


/* background */
body {
    margin: 0;
    min-height: 100vh;

    background-image: url("images/background/background1.webp?v=33");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center center;
  }
}

/* black background */
/*body {
    background: #111;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}*/

.intro {
    width: 100%;
    max-width: 700px;
    text-align: center;
	margin: 0 auto 40px auto;
	text-align: center;
    padding: 30px;
}
.intro h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
    color: #19004A;
}
.intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #00124F;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    color: #944D96;
    font-weight: bold;
}

/* CONTACT */
.contact-link {
  position: relative;
}
.contact-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  background: #222;
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  display: none;
  z-index: 2000;
}
.contact-link:hover .contact-tooltip {
  display: block;
}



/* PAGE */
.page {
  max-width: 1200px;
  padding-top: 140px;
  margin: 0 auto;
}
/* PHOTO frame */
.photo-frame {
    display: inline-block;
    padding: 14px;
    background: linear-gradient(145deg, #ffffff, #d9d9d9);
    border-radius: 18px;
    width: fit-content; /* Frame wraps image */

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15),
        inset 3px 3px 6px rgba(255, 255, 255, 0.8),
        inset -3px -3px 6px rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;
}
.photo-frame:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px);

    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 15px 25px rgba(0, 0, 0, 0.2);
}
.photo-frame img {
    display: block;
    max-width: 500px;
	max-height: 320px;
	width: auto;
    height: auto;
    border-radius: 12px;
    border: 6px solid #fff;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* PROCESS */
.process-svg-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.process-svg {
  width: 100%;
  height: auto;
  display: block;
}

#alignement-btn {
  cursor: pointer;
}
#image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
#image-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  object-fit: contain;
}
#image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#image-modal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  cursor: zoom-out;
}

/* TOP BAR */
.topbar-inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #f0f0f0;
  z-index: 1000;
}
.topbar-title-image {
  height: 70px;
  width: auto;
}



/* SUB NAV BAR */
.subnav {
  position: fixed;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subnav-toggle {
  display: none;         /* hidden on desktop */
}
.subnav-close {
  display: none;
}
.subnav-list .subnav-close {
  display: none;
}
.subnav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}
.subnav a:hover {
  text-decoration: underline;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.subnav {
  position: fixed;
  top: 70px;                 /* directly under topbar */
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  
}
.subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.subnav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.02em;
}
.subnav a:hover {
  text-decoration: underline;
}
.subnav-logo {
  display: flex;
  align-items: center;
}
.mobile-subnav-logo {
  display: none;
}
.subnav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
:root {
  /* Page palette */
  --page-bg-1: #e9eef5;
  --page-bg-2: #f5f7fb;
  --card-bg: #f4f6f9;
  --card-border: rgba(0,0,0,0.08);
  --text: #1f2328;

  /* Category accents */
  --accent-transmission: #2a9d8f;
  --accent-direction: #457b9d;
  --accent-freinage: #e63946;
  --accent-montage: #f4a261;
  --accent-roues: #6c63ff;
  --accent-lavage: #6c757d;
}

/* TEXT FRAME */
.text-frame {
    background: rgba(245,245,245,0.35);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 30px;
    margin: 30px auto;
    max-width: 750px;
}

.text-frame h1,
.text-frame h2,
.text-frame h3 {
    color: #19004A;
}

.text-frame p {
    color: #00124F;
    line-height: 1.8;
}



/*warranty */
#warranty-btn {
  cursor: pointer;
}
.glow-box {
  fill: none;
  stroke: #ffffff;
  stroke-width: 10;
  filter: url(#buttonGlow);
  opacity: 0;
  pointer-events: none;
}
.process-svg.is-glowing .glow-box {
  animation: warrantyGlow 1.4s ease-in-out infinite;
}
.process-svg.is-glowing .glow-box:nth-child(1) {
  animation-delay: 0s;
}
.process-svg.is-glowing .glow-box:nth-child(2) {
  animation-delay: 0.15s;
}
.process-svg.is-glowing .glow-box:nth-child(3) {
  animation-delay: 0.3s;
}
.process-svg.is-glowing .glow-box:nth-child(4) {
  animation-delay: 0.45s;
}
.process-svg a rect {
  fill: none !important;
  stroke: none !important;
}
@keyframes warrantyGlow {
  0% {
    opacity: 0;
    stroke-width: 4;
  }
  40% {
    opacity: 1;
    stroke-width: 12;
  }
  100% {
    opacity: 0;
    stroke-width: 4;
  }
}


