* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: #000000;
  color: white;
  line-height: 1.6;
}
.content h2 {
  font-size: 3vw;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0% 5%;
}

.highlight {
  color: #e63d00; /* Example: bright red */
}
  
.content p {
  font-size: 1.2vw;
  opacity: 0.85;
  padding: 5% 5%;

}

.technical li {
  font-size: 1.1rem;
}


.section {
  padding: 50px 0px;
  position: relative;
  overflow: hidden;
}
.section.collection {
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.section.collection h2 {
  font-size: 3vw;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section.collection p {
  font-size: 1.2vw;
}

.logo-wrapper {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-image {
  max-width: 80px;
  height: auto;
  opacity: 1; /* Optional transparency */
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  text-align: center;
}
.hero h1 {
  font-size: 3.0vw;
  text-transform: uppercase;
  letter-spacing: 5px;
}
.hero p {
  font-size: 1.2vw;
  opacity: 0.8;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  z-index: 10;
  padding: 20px 10px 20px 10px
}


 /* CENTRAL LINES */
.double-line-divider {
  display: flex;          /* horizontal layout */
  justify-content: center; /* center lines horizontally */
  gap: 100px;               /* space between the two lines */
  margin-bottom: 1rem;    /* space below the lines */
}

.double-line-divider .line {
  width: 0.4px;
  height: 260px;           /* adjust height */
  background-color: #777777; /* your preferred color */
 
}
 /* UNTIL HERE*/




.section.technical {
  padding: 50px 0px;
  position: relative;
  overflow: hidden;
  padding: 20px 0px 20px 0px
}

.technical-image {
  display: block;
  width: 100%;
  margin: 40px auto 0;
  border-radius: 10px;
  object-fit: cover;
}


.technical ul {
  list-style: none;
  margin-top: 20px;
}
.technical li {
  margin: 10px 0;
  font-weight: 300;
  opacity: 0.9;
}

.story {
  position: relative;
  z-index: 10;
  min-height: 150vh;
}

.story .content {
  position: relative;
  z-index: 2;
  padding: 20px 0px 20px 0px
}

.story-video {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
  position: relative;
}

.accessories {
  position: relative;
  z-index: 15;
  min-height: 100vh;
}
.accessories .content {
  position: relative;
  z-index: 2;
}

.accessories-video {
  display: block;
  width: 100vw;
  height: auto;
  z-index: 1;
  position: relative;
}


.personalization {
  position: relative;
  z-index: 15;
  min-height: 100vh;
}

.personalization .content {
  position: relative;
  z-index: 2;
}

.personalization-video {
  width: 100vw;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  display: block;
}

/* Base button */
.btn.overlay-btn {
display: inline-block;
padding: 14px 34px;
font-size: 1.1rem;
font-weight: 420;
text-transform: uppercase;
color: #fff;
background:#111;
border: 1.7px solid #ededed;
border-radius: 50px;
position: relative;
overflow: hidden;
text-decoration: none;
transition: all 0.3s ease;
}

/* Glow / shine effect */
.btn.overlay-btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
  120deg,
  transparent,
  rgba(255, 255, 255, 0.4),
  transparent
);
transition: all 0.6s ease;
}

/* Hover state */
.btn.overlay-btn:hover {
background: linear-gradient(135deg, #e63d00, #e63d00); /* gold effect */
color: #111;
border-color: #e63d00;
}

/* Animate shine */
.btn.overlay-btn:hover::before {
left: 100%;
}


.section.collection {
  text-align: center;
  padding: 100px 0px 100px 0px;
}


.gallery {
  display: flex;
  padding: 5% 5%;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.car-card {
  all: unset;
  flex: 1 1 calc(33.333% - 20px);
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
}

.car-card img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  background: transparent;
  display: block;
  transition: filter 0.3s ease;
}

.car-card:hover img {
  filter: grayscale(80%);
}


/*Time line */
.timeline {
  position: fixed;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.9px;
  background: #555;
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-marks {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 20px;
}

.timeline-mark {
  width: 3px;           /* visible rectangle width */
  height: 20px;         /* visible rectangle height */
  background: transparent;
  border: 1px solid #777;
  margin: 0 auto;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  z-index: 1;
}

/* Invisible expanded hitbox */
.timeline-mark::before {
  content: "";
  position: absolute;
  top: -70px;    /* expands clickable area above */
  bottom: -70px; /* expands clickable area below */
  left: -70px;   /* expands clickable area to the left */
  right: -70px;  /* expands clickable area to the right */
  pointer-events: auto; /* ensure clicks are captured */
  /* invisible, does not affect visuals */
}



.timeline-mark.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.0);
  box-shadow: 0 0 10px #fff;
}

.timeline-mark::after {
  content: attr(data-name);
  position: absolute;
  bottom: -15%;
  right: 0; /* align to the mark */
  transform: none; /* no centering */
  background: #222;
  margin-right: 7px;
  color: #fff;
  padding: 5px 8px;
  font-size: 0.95rem; /* text size fixed */
  line-height: 1em;   /* text height fixed */
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}


.timeline-mark:hover::after {
  opacity: 1;
  pointer-events: auto;
}




footer {
  text-align: center;
  padding: 40px;
  background: #1c1c1c;
  font-size: 0.9rem;
  opacity: 0.7;
  height: 30vh;
}

footer p {
  font-size: 1.2rem;
  opacity: 0.85;
}

.logo-container {
  text-align: center; /* Center the content horizontally */
  margin-top: 1.5vh;  /* Adds 5% of the viewport height margin on top */
  margin-bottom: .5vh; /* Adds 5% of the viewport height margin at the bottom */
}

/* Adjust the logo size to 3% of the viewport height */
.logo-container img {
  height: auto; /* Set the height to 3% of the viewport height */
  width:4.5vw; /* Maintain the aspect ratio */
}


@media (max-width: 992px) and (orientation: portrait) {
  .hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: 3px;
  }

  .hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
  }

  .logo-image {
    max-width: 60px;
  }

  .content {
    padding: 20px 30px;
  }

  .double-line-divider .line {
    height: 220px;   
  }

  .story .content {
    padding: 20px 30px;
  }

  .content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0 3%;
  }

  .section.collection h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .content p {
    font-size: clamp(0.9rem, 1rem, 1.2rem);
  }

  .gallery {
    flex-direction: column;
    align-items: center;
    padding: 5%;
  }

  .car-card {
    width: 90%;
    aspect-ratio: 16 / 9;
  }

  .car-card img {
    width: 100%;
    height: auto;
  }

  .timeline {
    right: 8px;
    height: 70vh;
  }

  .btn {
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: #000000;
    color: #ffffff;
  }

  footer {
    padding: 20px;
    font-size: 0.8rem;
    height: 30vh;
  }
}

@media (max-width: 992px) and (orientation: landscape) {
  .hero h1 {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
  }

  .logo-image {
    max-width: 70px;
  }

  .content h2 {
    font-size: clamp(1.5rem, 1.75rem, 2.25rem);
    padding: 0 4%;
  }

  .content p {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  }

  .double-line-divider .line {
    height: 100px;   
  }

  .section.collection p {
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    opacity: 0.85;
  }

  .gallery {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 3%;
    gap: 15px;
  }

  .car-card {
    flex: 0 0 auto;
    width: 60vw;
    aspect-ratio: 16 / 9;
  }

  .car-card img {
    width: 100%;
    height: auto;
  }

  .timeline {
    right: 15px;
    height: 60vh;
  }

  .btn {
    margin-top: 3rem;
    font-size: 1rem;
  }

  .personalization .content {
    width: 80%;
    padding: 0 5%;
  }

  footer {
    padding: 30px;
    font-size: 0.85rem;
    height: auto;
  }
}
