body {
    margin: 0;
    background: black;
    color: white;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
  }
  
  header {
    width: 100%;
  }
/* Header Section */
 nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
    background-color: black;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 40px;
  }
  
.hero-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 70%;
  left: 45%;
  transform: translateY(-50%);
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  font-family: 'Oswald', sans-serif;
}

.hero-text h1 {
  font-size: 4rem;
  margin: 0;
}

.hero-text p {
  font-size: 1.5rem;
}
.spec-intro {
  padding: 4rem 2rem;
  background-color: #fff;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

.spec-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #533636;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1rem 2rem;
  margin-bottom: 3rem;
  gap: 2rem;
}

.spec-item {
  min-width: 150px;
}

.spec-item h4 {
  font-size: 0.85rem;
  color: #ee8282;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.spec-item p {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.intro-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #be1b1b;
}

.intro-text h3 {
    font-size: 20px;
    font-weight: 1000;
    color: #555;
    margin-bottom: 1rem;
}
.intro-text p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 25px;
  line-height: 1.6;
    font-family: 'Replica-Light', system-ui;
  color: #000;
}
.hero-t502x {
  position: relative;
  height: 100vh;
  background: url('/motorcycle_media/morbidelli_media/T502X/teaser-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 16px;
  animation: fadeInUp 1s ease-out;
}

.hero-t502x h1 {
  font-size: 3rem;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 1rem;
}

.coming-soon {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.75rem 2rem;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #e6e6e6;
}
.presentation-container {
      display: flex;
      flex-direction: column;
      max-width: 1000px;
      margin: auto;
      font-family: sans-serif;
    }

    .main-content {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .image-viewer img {
      max-width: 500px;
      height: auto;
      border-radius: 8px;
    }

 .thumbnails {
  display: flex;
  justify-content: center; /* <-- Center the thumbnails horizontally */
  gap: 12px;
  margin-top: 12px;
}


    .thumbnails img {
      width: 100px;
      cursor: pointer;
      border: 2px solid transparent;
      border-radius: 4px;
    }

.thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.3s;
}

.thumb.active {
  border-color: #00aaff;
}


    .description-panel {
      margin-top: 20px;
    }
    .video-section {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-section video {
  width: 100%;
  height: 500px; /* Fixed landscape height */
  object-fit: cover; /* Crop it to fill landscape space */
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}


.video-description {
  margin-top: 15px;
  max-width: 800px;
}

.video-description h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.video-description p {
  font-size: 1rem;
  color: #ffffffb7;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@import url('https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@1,700&display=swap');

.back-container {
    position: fixed; /* Keeps the button fixed even when scrolling */
    top: 50%;
    left: 30px; /* Back button stays on the left */
    transform: translateY(-50%);
    z-index: 1000;
}

/* From Uiverse.io by xopc333 */ 
.back-button {
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0;
    overflow: hidden;
    outline: hidden;
    background-color: transparent;
    cursor: pointer;
    animation: pop-glow 2s infinite alternate ease-in-out;
}
  
  .back-button:before,
  .back-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 7px;
  }
  
  .back-button:before {
    border: 4px solid #be1b1b;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .back-button:after {
    border: 4px solid #000;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .back-button:hover:before,
  .back-button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .back-button:hover:after,
  .back-button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 2px;
    left: 2px;
  }
  
  .button-elem {
    display: block;
    width: 20px;
    height: 20px;
    margin: 17px 18px 0 18px;
    transform: rotate(180deg);
    fill: #ff1a1a;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-56px);
  }

/* Popping animation */
@keyframes pop-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(transparent);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
}

.footer {
    background: black;
    color: #dbe7ff;
    padding: 80px 5% 30px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 15px;
  }
  
  .footer-brand img {
    max-width: 120px;
    margin-bottom: 20px;
  }
  
  .footer-brand p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
  }
  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #ffffff;
  }
  
  .footer-contact li {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .footer-contact i {
    margin-right: 8px;
    color: #ffffff;
  }
  
  .footer-social .social-icons a {
    font-size: 1.3rem;
    margin-right: 14px;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s;
  }
  
  .footer-social .social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
  }
  
  .footer-bottom {
    border-top: 1px solid #ffffff;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #ffffff;
  }

/*********************************************************************************Mobile Responsive*****************************************************************************/
  @media (max-width: 1024px){
}
@media (max-width: 540px) and (orientation: portrait) {
  body {
    margin: 0;
    background: black;
    color: white;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
  }
  
  header {
    width: 100%;
  }
/* Header Section */
 nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    font-size: 7px;
    text-transform: uppercase;
  }
  
  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease;
    background-color: transparent;
    z-index: 1000;
  }
  
  #main-nav.scrolled {
    background-color: black;
  }
  
  #main-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  #main-nav .logo {
    height: 20px;
  }
  
.hero-banner {
  position: relative;
  width: 100%;
  height: 45vh;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 70%;
  left: 45%;
  transform: translateY(-50%);
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-family: 'Oswald', sans-serif;
}

.hero-text h1 {
  font-size: 2rem;
  margin: 0;
}

.hero-text p {
  font-size: .7rem;
}
.spec-intro {
  padding: 2rem 1rem;
  background-color: #fff;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

.spec-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #533636;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: .5rem 1rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.spec-item {
  min-width: 75px;
}

.spec-item h4 {
  font-size: .42rem;
  color: #ee8282;
  margin-bottom: .12rem;
  text-transform: uppercase;
}

.spec-item p {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.intro-text h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: #be1b1b;
}

.intro-text h3 {
    font-size: 10px;
    font-weight: 1000;
    color: #555;
    margin-bottom: .5rem;
}
.intro-text p {
  max-width: 400px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.6;
    font-family: 'Replica-Light', system-ui;
  color: #000;
}
.hero-t502x {
  position: relative;
  height: 50vh;
  background: url('/motorcycle_media/morbidelli_media/T502X/teaser-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 8px;
  animation: fadeInUp 1s ease-out;
}

.hero-t502x h1 {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  margin-bottom: .5rem;
}

.coming-soon {
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.cta-button {
  padding: .42rem 1rem;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 15px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #e6e6e6;
}
.presentation-container {
      display: flex;
      flex-direction: column;
      max-width: 500px;
      margin: auto;
      font-family: sans-serif;
    }

    .main-content {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .image-viewer img {
      max-width: 225px;
      height: auto;
      border-radius: 4px;
    }

 .thumbnails {
  display: flex;
  justify-content: center; /* <-- Center the thumbnails horizontally */
  gap: 6px;
  margin-top: 6px;
}


    .thumbnails img {
      width: 50px;
      cursor: pointer;
      border: 1px solid transparent;
      border-radius: 2px;
    }

.thumb {
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border 0.3s;
}

.thumb.active {
  border-color: #00aaff;
}


    .description-panel {
      margin-top: 10px;
    }
    .description-panel, p{
      font-size: 12px;
    }
        .description-panel, h2{
      font-size: 14px;
    }
    .video-section {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-section video {
  width: 100%;
  height: 250px; /* Fixed landscape height */
  object-fit: cover; /* Crop it to fill landscape space */
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


.video-description {
  margin-top: 7.5px;
  max-width: 400px;
}

.video-description h3 {
  font-size: .9rem;
  margin-bottom: 0.5rem;
}

.video-description p {
  font-size: .5rem;
  color: #ffffffb7;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@import url('https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@1,700&display=swap');

.back-container {
    position: fixed; /* Keeps the button fixed even when scrolling */
    top: 50%;
    left: 15px; /* Back button stays on the left */
    transform: translateY(-50%);
    z-index: 1000;
}

/* From Uiverse.io by xopc333 */ 
.back-button {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0;
    overflow: hidden;
    outline: hidden;
    background-color: transparent;
    cursor: pointer;
    animation: pop-glow 2s infinite alternate ease-in-out;
}
  
  .back-button:before,
  .back-button:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 3.5px;
  }
  
  .back-button:before {
    border: 2px solid #be1b1b;
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .back-button:after {
    border: 2px solid #000;
    transform: scale(1.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
  }
  
  .back-button:hover:before,
  .back-button:focus:before {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .back-button:hover:after,
  .back-button:focus:after {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s cubic-bezier(0.77, 0, 0.175, 1) 80ms,
      transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 80ms;
  }
  
  .button-box {
    display: flex;
    position: absolute;
    top: 6px;
    left: 2px;
  }
  
  .button-elem {
    display: block;
    width: 10px;
    height: 10px;
    margin: 8.5px 9px 0 9px;
    transform: rotate(180deg);
    fill: #ff1a1a;
  }
  
  .button:hover .button-box,
  .button:focus .button-box {
    transition: 0.4s;
    transform: translateX(-56px);
  }

/* Popping animation */
@keyframes pop-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(transparent);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(transparent);
    }
}

.footer {
    background: black;
    color: #dbe7ff;
    padding: 40px 5% 15px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: auto;
  }
  
  .footer h3 {
    font-size: .6rem;
    color: #ffffff;
    margin-bottom: 7.5px;
  }
  
  .footer-brand img {
    max-width: 60px;
    margin-bottom: 10px;
  }
  
  .footer-brand p {
    font-size: .46rem;
    line-height: 1.5;
    color: #ffffff;
  }
  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin: 4px 0;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #ffffff;
  }
  
  .footer-contact li {
    font-size: .46rem;
    margin-bottom: 5px;
  }
  
  .footer-contact i {
    margin-right: 4px;
    color: #ffffff;
  }
  
  .footer-social .social-icons a {
    font-size: .6rem;
    margin-right: 7px;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s;
  }
  
  .footer-social .social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
  }
  
  .footer-bottom {
    border-top: .5px solid #ffffff;
    text-align: center;
    margin-top: 25px;
    padding-top: 10px;
    font-size: .42rem;
    color: #ffffff;
  }
}
   .footer-links{
    display: none;
}
@media screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social .social-icons a {
    font-size: 1rem;
  }
}
