/* ================================
   SMART MOTORS - MAIN STYLESHEET
   ================================ */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f2f2f5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   HEADER STYLES
   ================================ */

.site-header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  display: inline-block;
  padding: 5px 0;
}

.site-logo {
  max-height: 100px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #fd8706;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
  padding: 30px 0;
}

.hero-image {
  width: 100%;
  height: 300px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features {
  padding: 30px 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.feature-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  position: relative;
  padding-top: 120px;
  background-color: #fd8706;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image .icon-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.feature-item h3 {
  margin: 10px 0;
  font-size: 18px;
}

.feature-item p {
  padding: 0 10px 10px;
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 15px;
}

/* ================================
   PRODUCT SHOWCASE SECTION
   ================================ */

.product-showcase {
  padding: 30px 0;
  text-align: center;
}

.product-showcase h2 {
  margin-bottom: 20px;
}

.product-image {
  width: 600px;
  height: 100%;
  margin: 0 auto;
  -webkit-box-reflect: below -80px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ================================
   3D MODEL VIEWER
   ================================ */

.model-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 0 auto 30px;
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  --poster-color: transparent;
  --progress-bar-height: 5px;
  --progress-bar-color: #fd8706;
}

.progress-bar {
  display: block;
  width: 33%;
  height: 100%;
  max-height: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

/* ================================
   HOW TO USE SECTION
   ================================ */

.how-to-use {
  padding: 50px 0;
  background-color: #f8f8f8;
}

.how-to-use h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

.steps-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.step-nav-btn {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 10;
  color: #333;
}

.step-nav-btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.step-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.steps-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 0 15px;
  background-color: white;
  height: 480px;
}

.step-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.step-item.active {
  opacity: 1;
  pointer-events: auto;
}

.step-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-image {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: #ffffff;
}

.step-image img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.step-text {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-text h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #333;
}

.step-text p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.step-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.step-dot.active {
  background-color: #fd8706;
  transform: scale(1.2);
}

/* ================================
   GALLERY SECTION - IMPROVED NAVIGATION
   ================================ */

.gallery {
  padding: 30px 0;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item.hidden {
  display: none;
}

.gallery-image {
  width: 100%;
  height: 240px;
  background-color: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-image:hover {
  transform: scale(1.03);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-item p {
  padding: 15px;
  font-size: 14px;
  flex-grow: 1;
  line-height: 1.5;
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.gallery-nav-btn {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.gallery-nav-btn:hover:not(:disabled) {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-page-indicators {
  display: flex;
  gap: 8px;
}

.gallery-page-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-page-dot.active {
  background-color: #fd8706;
  transform: scale(1.2);
}

/* ================================
   GALLERY MODAL/LIGHTBOX - IMPROVED NAVIGATION
   ================================ */

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

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  margin: 2% auto;
  display: flex;
  flex-direction: column;
}

.close-modal {
  color: white;
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #fd8706;
}

.modal-navigation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

/* IMPROVED: Modal navigation buttons positioned outside content area */
.modal-nav-btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1005;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Position buttons further outside the content */
#prev-modal-item {
  left: -80px; /* Moved further left */
}

#next-modal-item {
  right: -80px; /* Moved further right */
}

.modal-nav-btn:hover:not(:disabled) {
  background-color: #fd8706;
  color: white;
  border-color: #fd8706;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.5);
}

.modal-nav-btn svg {
  width: 28px;
  height: 28px;
}

.modal-media-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin: 0 40px; /* Add margin to prevent overlap with buttons */
}

#modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-description {
  color: white;
  padding: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  margin-top: 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.modal-description h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.modal-description p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

body.modal-open {
  overflow: hidden;
}

/* ================================
   PAGE LAYOUT
   ================================ */

.page-header {
  text-align: center;
  padding: 40px 0;
  background-color: #fff;
  margin-bottom: 30px;
}

.page-header h1 {
  margin: 0;
  font-size: 36px;
  color: #333;
}

.page-content {
  padding: 0;
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-page {
  padding: 60px 0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h1 {
  margin-bottom: 20px;
  font-size: 32px;
  color: #333;
}

.contact-intro {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-container {
  display: flex;
  gap: 40px;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info {
  flex: 1;
  padding: 30px;
}

.info-section {
  margin-bottom: 30px;
}

.info-section:last-child {
  margin-bottom: 0;
}

.info-section h3 {
  font-size: 18px;
  color: #444;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.info-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #fd8706;
}

.info-section p {
  margin: 0 0 8px 0;
  color: #666;
  line-height: 1.5;
}

.info-section a {
  color: #fd8706;
  text-decoration: none;
  transition: color 0.3s;
}

.info-section a:hover {
  color: #dc6d02;
  text-decoration: underline;
}

/* ================================
   PUBLICATIONS SECTION
   ================================ */

.publications-section {
  margin: 50px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.publications-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.publication-categories h3 {
  font-size: 22px;
  margin: 30px 0 20px;
  color: #444;
  position: relative;
  display: inline-block;
}

.publication-categories h3:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fd8706;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publication-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-left: 4px solid #fd8706;
  transition: transform 0.2s, box-shadow 0.2s;
}

.publication-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publication-content {
  flex: 1;
}

.publication-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
  line-height: 1.3;
}

.publication-authors {
  font-size: 15px;
  color: #555;
  margin: 0 0 6px 0;
}

.publication-venue {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.publication-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.publication-link, .pdf-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.publication-link {
  background-color: #f8f9fa;
  color: #fd8706;
  border: 1px solid #e8eaed;
}

.publication-link:hover {
  background-color: #fff8f1;
  border-color: #fd8706;
}

.pdf-link {
  background-color: #e74c3c;
  color: #fff;
  border: none;
}

.pdf-link:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pdf-link svg {
  transition: transform 0.2s;
}

.pdf-link:hover svg {
  transform: translateY(2px);
}

/* ================================
   BUILD INSTRUCTIONS
   ================================ */

.build-instructions {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.build-instructions h1 {
  border-bottom: 2px solid #fd8706;
  padding-bottom: 10px;
  margin-top: 30px;
}

.build-instructions h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  margin-top: 30px;
  color: #fd8706;
}

.build-instructions h3 {
  margin-top: 25px;
  color: #fd8706;
}

.build-instructions img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  margin: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: block;
}

.build-instructions .note {
  background-color: #f8f9fa;
  border-left: 4px solid #fd8706;
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.build-instructions ol,
.build-instructions ul {
  padding-left: 25px;
  margin: 15px 0;
}

.build-instructions li {
  margin-bottom: 10px;
}

.build-instructions table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.build-instructions th {
  background-color: #f2f2f2;
  text-align: left;
  padding: 12px;
  border: 1px solid #ddd;
}

.build-instructions td {
  padding: 12px;
  border: 1px solid #ddd;
}

.build-instructions tr:nth-child(even) {
  background-color: #f9f9f9;
}

.build-instructions a {
  color: #fd8706;
  text-decoration: none;
}

.build-instructions a:hover {
  text-decoration: underline;
}

.build-instructions .step {
  font-weight: bold;
}

.build-instructions hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #eee;
}

.build-instructions .image-single,
.build-instructions .image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}

.build-instructions .image-single img,
.build-instructions .image-row img {
  flex: 0 1 45%;
  max-width: 45%;
  object-fit: contain;
}

.build-instructions .image-row-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
  align-items: center;
}

.build-instructions .image-row-4 a {
  flex: 0 1 22%;
  max-width: 22%;
  object-fit: contain;
}

/* ================================
   RESOURCES SECTION
   ================================ */

.resources-section {
  padding: 40px 0;
}

.resources-header {
  text-align: center;
  margin-bottom: 50px;
}

.resources-header h1 {
  margin-bottom: 20px;
  font-size: 36px;
  color: #333;
}

.resources-intro {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-bottom: 60px;
  align-items: stretch;
}

.resource-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.resource-item.wide {
  grid-column: span 2;
}

.resource-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #d5eefa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-image img {
  max-width: 160px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.resource-item:hover .resource-image img {
  transform: scale(1.1);
}

.resource-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(253, 135, 6, 0.9);
  color: #fff;
  text-align: center;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.resource-item:hover .resource-title {
  transform: translateY(0);
}

.resource-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.resource-description {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-description p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.resources-apps-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.resources-apps-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}

.apps-intro {
  text-align: center;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
}

.resources-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.resource-note {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #fd8706;
}

.resource-note h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 22px;
}

.resource-note p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.resource-note a {
  color: #fd8706;
  text-decoration: none;
  font-weight: 500;
}

.resource-note a:hover {
  text-decoration: underline;
}

/* ================================
   PROTOTYPES SECTION
   ================================ */

.prototypes-section {
  padding: 40px 0;
}

.prototypes-header {
  text-align: center;
  margin-bottom: 50px;
}

.prototypes-header h1 {
  margin-bottom: 20px;
  font-size: 36px;
  color: #333;
}

.prototypes-intro {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.prototypes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.prototype-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.prototype-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.prototype-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #fffbeb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prototype-image img {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.prototype-item:hover .prototype-image img {
  transform: scale(1.1);
}

.prototype-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(253, 135, 6, 0.9);
  color: #fff;
  text-align: center;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.prototype-item:hover .prototype-title {
  transform: translateY(0);
}

.prototype-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.prototype-description {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.prototype-description p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.prototypes-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.prototype-note {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.prototype-note h3 {
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

.prototype-note p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.prototype-note a {
  color: #fd8706;
  text-decoration: none;
  font-weight: 500;
}

.prototype-note a:hover {
  text-decoration: underline;
}

/* ================================
   PROTOTYPE DETAIL PAGE
   ================================ */

.prototype-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.prototype-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  padding: 40px 0;
  border-bottom: 2px solid #f0f0f0;
}

.prototype-hero-content {
  flex: 1;
}

.prototype-hero-content h1 {
  font-size: 42px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.prototype-subtitle {
  font-size: 20px;
  color: #666;
  font-style: italic;
  margin: 0;
}

.prototype-hero-image {
  flex: 1;
  text-align: center;
}

.prototype-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prototype-content {
  margin-bottom: 50px;
}

.prototype-content > div {
  margin-bottom: 40px;
}

.prototype-content h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fd8706;
  display: inline-block;
}

.prototype-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.prototype-content ul {
  padding-left: 25px;
  margin: 15px 0;
}

.prototype-content li {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 8px;
}

/* ================================
   PARTS GRID STYLING
   ================================ */

.prototype-parts {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #fd8706;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
  align-items: stretch;
}

.part-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.part-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.part-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.part-image {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.part-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s;
}

.part-item:hover .part-image img {
  transform: scale(1.05);
}

.part-quantity {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fd8706;
  color: white;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.part-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.part-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.part-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.part-action {
  text-align: center;
  margin-top: auto;
}

.buy-button {
  background-color: #fd8706;
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: auto;
  align-self: center;
}

.buy-button:hover,
.part-item:hover .buy-button {
  background-color: #dc6d02;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 135, 6, 0.3);
}

/* ================================
   GITHUB REPOSITORY SECTION
   ================================ */

.prototype-github {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #333;
  margin: 40px 0;
}

.github-container {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.github-icon {
  flex-shrink: 0;
}

.github-icon svg {
  width: 60px;
  height: 60px;
  color: #333;
}

.github-content {
  flex: 1;
}

.github-content h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #333;
}

.github-description {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.github-details {
  margin-bottom: 20px;
}

.github-branch {
  background-color: #e1f5fe;
  color: #0277bd;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.github-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #333;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
}

.github-button:hover {
  background-color: #555;
  transform: translateY(-2px);
}

.github-button svg {
  width: 20px;
  height: 20px;
}

/* ================================
   INSTRUCTIONS/LESSON PLANS
   ================================ */

.prototype-instructions {
  background-color: #fff8e1;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #ff9800;
  margin: 40px 0;
}

.instructions-content {
  margin: 20px 0;
}

.instructions-content h2 {
  color: #333;
  font-size: 20px;
  margin: 25px 0 15px 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.instructions-content h3 {
  color: #555;
  font-size: 18px;
  margin: 20px 0 10px 0;
}

.instructions-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.instructions-content ul,
.instructions-content ol {
  color: #666;
  line-height: 1.6;
  margin: 15px 0;
  padding-left: 25px;
}

.instructions-content li {
  margin-bottom: 8px;
}

.instructions-download {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #e53e3e;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.pdf-download-btn:hover {
  background-color: #c53030;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.pdf-download-btn svg {
  width: 20px;
  height: 20px;
}

/* ================================
   CAROUSEL COMPONENTS - IMPROVED NAVIGATION
   ================================ */

.prototype-gallery-carousel {
  margin: 40px 0;
}

.prototype-carousel-container {
  max-width: 1200px; /* Increased max-width for more space */
  margin: 0 auto;
  margin-top: 30px;
  position: relative;
}

.prototype-carousel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 80px; /* Add horizontal margin to make space for buttons */
}

.carousel-content {
  position: relative;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-image {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.carousel-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.carousel-description {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.carousel-description h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.carousel-description p {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

/* IMPROVED: Carousel navigation positioned outside content */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(253, 135, 6, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
  background: #fd8706;
  color: white;
  border-color: #fd8706;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav svg {
  width: 28px;
  height: 28px;
}

.carousel-prev {
  left: -80px; /* Position outside the carousel container */
}

.carousel-next {
  right: -80px; /* Position outside the carousel container */
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.carousel-indicator {
  width: 80px;
  height: 60px;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  padding: 0;
}

.carousel-indicator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicator.active {
  border-color: #fd8706;
  transform: scale(1.1);
}

.carousel-indicator:hover:not(.active) {
  border-color: #ccc;
  transform: scale(1.05);
}

/* ================================
   VIDEO SECTION
   ================================ */

.prototype-video {
  background-color: #fff5f5;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #e53e3e;
  text-align: center;
}

.prototype-video h3 {
  color: #333;
  margin: 0 0 15px 0;
  font-size: 22px;
}

.video-description {
  color: #666;
  font-style: italic;
  margin-bottom: 25px;
}

.video-container {
  display: inline-block;
}

.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s;
}

.video-link:hover {
  transform: translateY(-2px);
}

.video-thumbnail {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s;
}

.video-thumbnail:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.play-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 8px;
}

.video-thumbnail span {
  font-size: 18px;
  font-weight: 600;
}

/* ================================
   NAVIGATION BUTTONS
   ================================ */

.prototype-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 2px solid #f0f0f0;
  margin-top: 50px;
}

.btn-back,
.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #fd8706;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-back:hover,
.btn-next:hover {
  background-color: #dc6d02;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 135, 6, 0.3);
}

.btn-back {
  margin-right: auto;
}

.btn-next {
  margin-left: auto;
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
  background-color: #f5f5f5;
  padding: 20px 0;
  text-align: center;
  margin-top: 30px;
}

/* ================================
   RESPONSIVE DESIGN - IMPROVED FOR NAVIGATION
   ================================ */

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Adjust carousel for smaller screens */
  .prototype-carousel {
    margin: 0 60px;
  }

  .carousel-prev {
    left: -60px;
  }

  .carousel-next {
    right: -60px;
  }

  /* Adjust modal buttons for smaller screens */
  #prev-modal-item {
    left: -60px;
  }

  #next-modal-item {
    right: -60px;
  }
}

@media (max-width: 992px) {
  .features-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-grid,
  .prototypes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Move carousel buttons inside on medium screens */
  .prototype-carousel {
    margin: 0 20px;
  }

  .carousel-prev {
    left: 20px;
  }

  .carousel-next {
    right: 20px;
  }

  /* Adjust modal buttons */
  #prev-modal-item {
    left: 20px;
  }

  #next-modal-item {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
  }

  .main-nav ul {
    margin-top: 20px;
  }

  .main-nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .site-logo {
    max-height: 80px;
  }

  .hero-image {
    height: 250px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    height: 400px;
  }

  .step-content {
    flex-direction: row;
  }

  .step-image {
    width: 480px;
    height: 100%;
    flex-shrink: 0;
  }

  .step-text {
    flex: 1;
    padding: 25px;
  }

  .contact-info-container {
    flex-direction: column;
  }

  .contact-header h1 {
    font-size: 28px;
  }

  .contact-intro {
    font-size: 16px;
  }

  .contact-info {
    padding: 20px;
  }

  .model-container {
    height: 300px;
  }

  .resources-header h1,
  .prototypes-header h1 {
    font-size: 28px;
  }

  .resources-intro,
  .prototypes-intro {
    font-size: 16px;
  }

  .resources-apps-section h2 {
    font-size: 28px;
  }

  .resource-image,
  .prototype-image {
    height: 200px;
  }

  .resource-image img {
    max-width: 120px;
    max-height: 120px;
  }

  .prototype-image img {
    max-width: 100px;
    max-height: 100px;
  }

  .resource-note {
    padding: 20px;
  }

  .prototype-hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .prototype-hero-content h1 {
    font-size: 32px;
  }

  .prototype-subtitle {
    font-size: 18px;
  }

  .prototype-content h2 {
    font-size: 24px;
  }

  .prototype-navigation {
    flex-direction: column;
    gap: 15px;
  }

  .btn-back,
  .btn-next {
    margin: 0;
    width: 100%;
    justify-content: center;
  }

  .build-instructions .image-single img,
  .build-instructions .image-row img {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .build-instructions .image-row-4 a {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .carousel-content {
    height: auto;
  }

  .carousel-slide {
    flex-direction: column;
    position: relative;
    opacity: 1;
    height: auto;
  }

  .carousel-slide:not(.active) {
    display: none;
  }

  .carousel-image {
    height: 300px;
  }

  .carousel-description {
    padding: 20px;
  }

  /* Hide carousel navigation buttons on mobile */
  .carousel-nav {
    display: none;
  }

  .carousel-indicators {
    gap: 10px;
  }

  .carousel-indicator {
    width: 60px;
    height: 45px;
  }

  /* Improve modal navigation for mobile */
  .modal-nav-btn {
    width: 50px;
    height: 50px;
  }

  .modal-nav-btn svg {
    width: 24px;
    height: 24px;
  }

  .modal-media-container {
    margin: 0 20px;
  }
}

@media (max-width: 767px) {
  .steps-container {
    height: 500px;
  }

  .step-content {
    flex-direction: column;
  }

  .step-image {
    height: 360px;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .gallery-grid,
  .resources-grid,
  .prototypes-grid,
  .parts-grid {
    grid-template-columns: 1fr;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .steps-container {
    height: 400px;
  }

  .step-nav-btn {
    width: 40px;
    height: 40px;
  }

  .step-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .gallery-image {
    height: 360px;
  }

  .gallery-nav-btn span {
    display: none;
  }

  .model-container {
    height: 250px;
  }

  .resource-image,
  .prototype-image {
    height: 180px;
  }

  .resource-image img {
    max-width: 100px;
    max-height: 100px;
  }

  .prototype-image img {
    max-width: 80px;
    max-height: 80px;
  }

  .resource-description,
  .prototype-description {
    padding: 15px;
  }

  .resource-note {
    padding: 15px;
  }

  .prototype-detail {
    padding: 0 15px;
  }

  .prototype-hero {
    padding: 20px 0;
  }

  .prototype-hero-content h1 {
    font-size: 28px;
  }

  .prototype-content h2 {
    font-size: 22px;
  }

  .publication-links {
    flex-direction: column;
    gap: 10px;
  }

  .publication-title {
    font-size: 16px;
  }

  .publication-authors,
  .publication-venue {
    font-size: 14px;
  }

  /* Further adjust modal buttons for very small screens */
  #prev-modal-item {
    left: 10px;
  }

  #next-modal-item {
    right: 10px;
  }

  .modal-nav-btn {
    width: 40px;
    height: 40px;
  }

  .modal-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Reduce modal margins on very small screens */
  .modal-media-container {
    margin: 0 10px;
  }
}

@media (min-width: 768px) {
  .publication-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .publication-links {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 1px solid #f0f0f0;
    padding-left: 15px;
    margin-left: 15px;
    flex-shrink: 0;
  }

  .carousel-content {
    height: 400px;
  }

  .carousel-slide {
    flex-direction: row;
  }

  .carousel-image {
    width: 480px;
    height: 100%;
    flex-shrink: 0;
  }

  .carousel-description {
    flex: 1;
    padding: 25px;
  }
}

/* ================================
   UTILITY CLASSES FOR NAVIGATION
   ================================ */

.nav-button-outside {
  position: absolute;
  z-index: 100;
}

.nav-button-large {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-button-large:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-hidden-mobile {
  display: block;
}

/* ================================
   MOBILE NAVIGATION CONTROLS
   ================================ */

.mobile-nav-controls {
  display: none;
  justify-content: space-between;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  margin-top: 15px;
}

.mobile-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.mobile-nav-btn:hover {
  background: rgba(253, 135, 6, 0.8);
  border-color: #fd8706;
}

/* ================================
   GALLERY INTERACTION ENHANCEMENTS
   ================================ */

.gallery-image {
  position: relative;
  overflow: hidden;
}

.gallery-image::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-image:hover::after {
  opacity: 1;
}

.gallery-image:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

/* ================================
   LOADING STATES
   ================================ */

.gallery-item img {
  transition: opacity 0.3s;
}

.gallery-item img[data-src] {
  opacity: 0.5;
}

.gallery-item img.loaded {
  opacity: 1;
}

/* ================================
   RIPPLE ANIMATION
   ================================ */

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ================================
   ACCESSIBILITY STYLES
   ================================ */

.modal-nav-btn:focus,
.gallery-nav-btn:focus,
.mobile-nav-btn:focus,
.carousel-nav:focus,
.step-nav-btn:focus {
  outline: 2px solid #fd8706;
  outline-offset: 2px;
}

/* ================================
   RESPONSIVE NAVIGATION ADJUSTMENTS
   ================================ */

@media (max-width: 768px) {
  .nav-hidden-mobile {
    display: none !important;
  }

  .mobile-nav-controls {
    display: flex !important;
  }

  .modal-media-container {
    margin: 0 !important;
  }
}

/* ================================
   HIGH CONTRAST MODE SUPPORT
   ================================ */

@media (prefers-contrast: high) {
  .modal-nav-btn {
    border: 2px solid white;
    background-color: black;
  }

  .gallery-nav-btn {
    border: 2px solid #333;
  }

  .carousel-nav {
    border: 2px solid #333;
  }
}

/* ================================
   REDUCED MOTION SUPPORT
   ================================ */

@media (prefers-reduced-motion: reduce) {
  .gallery-image img,
  .modal-nav-btn,
  .gallery-nav-btn,
  .carousel-nav,
  .step-nav-btn {
    transition: none;
  }

  .gallery-image:hover img {
    transform: none;
  }

  .nav-button-large:hover {
    transform: none;
  }
}
