html {
  scroll-behavior: smooth;
}

body {
  color: #222; 
  margin-top: 8px;
  margin-left: 48px;
  margin-right: 48px;
  font-family: 'Proxima Nova', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

a, p, button {
  font-size: 21px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

header a {
  color: #222;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, opacity 0.3s ease;
}

header a:hover {
  color: rgba(34, 34, 34, 0.9);
  opacity: 0.6;
}

header a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #222;
  transition: width 0.3s ease;
}

header a:hover::after {
  width: 100%;
}

header a:active {
  color: rgba(34, 34, 34, 0.8);
}

header .left-links {
  display: flex;
  gap: 36px;
}

header .right-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

#hero-area {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 16px;
}

#hero-area h1 {
  font-size: 48px;
  width: 400px;
  text-align: center;
}

#scooter-image {
  width: 500px;
  border-radius: 24px;
}

#quote-and-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 96px;
  height: 440px;
  width: calc(100vw - 128px);
  border-radius: 24px;
  padding: 32px;
  background-color: rgb(240, 240, 240);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#gallery-redirect-btn {
  cursor: pointer;
  padding: 16px 32px;
  border: none;
  border-radius: 100px;
  background-color: #444;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #444;
}

#gallery-redirect-btn:hover {
  background-color: white;
  color: #444;
  border: 2px solid #444;
}

#down-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(180deg);
  transition: filter 0.3s ease;
}

#gallery-redirect-btn:hover #down-icon {
  filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0deg);
}

#work-gallery-section {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#work-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 80%;
  margin: 0 auto;
}

#gallery-images {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.gallery-image {
  margin-top: 16px;
  margin-bottom: 96px;
  width: 1000px;
  height: 563px;
  object-fit: cover;
  object-position: center;
  display: none;
  border-radius: 24px;
  pointer-events: none;
}

#gallery-images img.active {
  display: block;
}

#prev-btn, #next-btn {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  border: none;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  background-color: transparent; 
}

#prev-btn {
  margin-right: 32px;
}

#next-btn {
  margin-left: 32px;
}

#testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#testimonials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 128px;
  margin-top: 16px;
  margin-bottom: 80px;
}

.testimonial {
  height: 232px;
  width: 256px;
  background-color: rgb(240, 240, 240);
  padding: 35px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}

.testimonial p {
  margin-top: 0;
  margin-bottom: 0;
}

.testimonial h5 {
  margin-top: auto;
  margin-bottom: 0;
  text-align: right;
}

#contact-section {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 96px;
  margin-bottom: 80px;
}

#contact-message {
  width: 400px;
  text-align: center;
}

#contact-message h2 {
  font-size: 34px;
}

#contact-form {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact-form input {
  padding: 8px;
  border: 1px solid #222;
  border-radius: 4px;
}

#contact-form textarea {
  padding: 8px;
  height: 100px;
  resize: none;
  border: 1px solid #222;
  border-radius: 4px;
}

#contact-form button {
  padding: 8px;
  border: 2px solid #444;
  border-radius: 100px;
  background-color: #444;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#contact-form button:hover {
  background-color: white;
  color: #444;
}

@media (max-aspect-ratio: 3/2) {
  header .right-links {
    display: none;
  }

  #quote-and-picture {
    flex-direction: column;
    gap: 16px;
    height: auto;
    padding-bottom: 48px;
    width: fill-available;
  }

  #work-gallery {
    width: 100%;
  }

  .gallery-image {
    width: 100%;
    height: auto;
    margin-top: 8px;
    margin-bottom: 48px;
  }

  #testimonials {
    flex-direction: column;
    gap: 48px;
  }

  #contact-section {
    flex-direction: column;
    gap: 16px;
  }
}