html {
    scroll-behavior: smooth;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

* {
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    scrollbar-width: thin;
}

.motorcycles-grid,
.equipment-grid,
.parts-grid {
    cursor: grab;
}

.motorcycles-grid.active,
.equipment-grid.active,
.parts-grid.active {
    cursor: grabbing;
}

.admin-button {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.admin-button:hover {
    background-color: #FFFFFF;
    color: #121212;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #1E1E1E;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
    display: block;
}

.modal-content button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-content button:hover {
    background-color: #3e8e41;
}

footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    box-sizing: border-box;
}

footer .admin-link-container {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.admin-link-container {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial {
    background-color: #1E1E1E;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.testimonial img,
.testimonial video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.testimonial .author {
    font-style: italic;
    color: #aaa;
    margin-top: 10px;
    text-align: right;
    box-sizing: border-box;
}

.stars-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.feedback-form label {
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #333;
    color: #fff;
    box-sizing: border-box;
    font-size: 16px;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.feedback-form textarea {
    resize: vertical;
    height: 120px;
}

.feedback-form button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s ease;
}

.feedback-form button:hover {
    background-color: #3e8e41;
}

.section-9 {
  background-color: #1E1E1E;
  padding: 80px 0;
  box-sizing: border-box;
  text-align: center;
}

.section-9 .container {
  max-width: 1600px;
  padding: 0 100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-9-newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
  box-sizing: border-box;
  text-align: center;
}

.section-9-newsletter img {
  width: 74px;
  height: 74px;
  margin-right: 20px;
  box-sizing: border-box;
}

.section-9-newsletter p {
  font-size: 16px;
  line-height: 150%;
  color: #FFFFFF;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.section-9-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.section-9-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 12px;
  box-sizing: border-box;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-9-form label {
  margin-bottom: 8px;
  font-size: 16px;
  color: #ddd;
}

.section-9-form input,
.section-9-form textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  width: 100%;
  box-sizing: border-box;
  min-width: 300px;
}

.section-9-form button {
  padding: 10px 24px;
  border-radius: 12px;
  background-color: #4CAF50;
  border: none;
  color: #FFFFFF;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  box-sizing: border-box;
  cursor: pointer;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

.section-9-links {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
}

.section-9-links h3 {
  font-size: 16px;
  line-height: 150%;
  color: #FFFFFF;
  font-weight: 600;
  box-sizing: border-box;
}

.section-9-columns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.section-9-columns li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 0;
  text-align: center;
  width: 30%;
  box-sizing: border-box;
}

.section-9-columns li > div { 
  display: flex;
  flex-direction: row;
  align-items: center;
}

.section-9-columns li img.cube-icon {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  filter: brightness(0) invert(1);
  box-sizing: border-box;
}

.section-9-columns li a {
  color: #FFFFFF;
  text-decoration: none;
  margin-left: 0;
  box-sizing: border-box;
}

.section-9-columns li p {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #FFFFFF;
  margin: 0;
  box-sizing: border-box;
}

.section-9-contact {
  margin-top: 50px;
  text-align: center;
  box-sizing: border-box;
}

.section-9-contact p {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #FFFFFF;
  box-sizing: border-box;
}

.section-9-contact p a {
  color: #FFFFFF;
  box-sizing: border-box;
}

section.service h2 {
  word-wrap: break-word;
  box-sizing: border-box;
}

@media (max-width: 768px) {
    .section-9 {
        padding: 20px 0;
    }

    .section-9 .container {
        padding: 0 20px;
    }

    .section-9-newsletter {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .section-9-newsletter img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .section-9-actions {
        width: 100%;
    }

    .section-9-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .section-9-form input,
    .section-9-form textarea {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .section-9-form button {
        width: auto;
    }

    .section-9-links {
        margin-top: 40px;
    }

    .section-9-columns {
        flex-direction: column;
        align-items: center;
    }

    .section-9-columns li {
        width: 100%;
        text-align: center;
        align-items: center;
        box-sizing: border-box;
    }

   .section-9-form input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

    .section-9-columns {
        flex-direction: column;
        box-sizing: border-box;
    }

    .section-9-columns li {
        width: 100%;
        text-align: center;
        align-items: center;
        box-sizing: border-box;
    }

    footer .footer-container {
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    footer .footer-links {
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    section.service h2 {
        font-size: 28px;
        box-sizing: border-box;
    }
}
.product-card {
  border-radius: 16px;
  background-color: #1E1E1E;
  padding: 24px;
  box-sizing: border-box;
  width: calc(33.33% - 32px);
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.product-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 15px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-sizing: border-box;
}

.product-card h3 {
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.01em;
  margin-bottom: 15px;
  box-sizing: border-box;
}

.product-card p {
  font-size: 16px;
  line-height: 150%;
  margin-bottom: auto;
  box-sizing: border-box;
}
.stars-container {
  display: flex;
  align-items: center;
  margin-top: 5px;
}
@media (max-width: 480px) {
  .motorcycle-card,
  .equipment-card,
  .parts-card {
    width: 100%;
    box-sizing: border-box;
  }
  nav {
    margin-bottom: 100px;
  }
  .hero {
      height: 500px;
      box-sizing: border-box;
  }

  .hero-content h1 {
      font-size: 28px;
      box-sizing: border-box;
  }

  .achievements .achievements-card h3 {
      font-size: 48px;
      box-sizing: border-box;
  }

  section {
      padding: 60px 0;
      box-sizing: border-box;
  }

  section h2 {
      margin-bottom: 20px;
      box-sizing: border-box;
  }

  .achievements-buttons {
    flex-direction: column;
    box-sizing: border-box;
  }

  .container {
      padding: 0 10px;
      box-sizing: border-box;
  }

  section.service h2 {
    font-size: 24px;
    box-sizing: border-box;
  }
  
}