/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

body,
html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
/* Photo Gallery */
#photo-gallery {
  margin-top: 9em;
  margin-bottom: 8em;
  display: flex;
  justify-content: space-around;
}

/* Header Styling */
#header {
  position: relative;
  height: 108vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #1c96c5;
  padding-bottom: 5em;
}

#header h1 {
  position: relative;
  z-index: 1;
  font-size: 32px;
  margin: 0 22px 0 22px;
}

.testimonials-p {
  margin: 50px 22px 48px 22px;
  font-style: italic;
  display: flex;
  justify-content: center;
}

.image-container {
  display: flex;
  overflow: hidden;
  width: 90%;

  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0)
  );
}

.image-item {
  width: 17em;
  height: 18em;
  margin-right: 20px;
  animation: scrollLeft marquee 10s linear infinite;
  border-radius: 50%;
}

.image-container .marquee-content {
  display: flex;
  gap: 20px;
  animation: scrollLeft 110s linear infinite;
}

.image-container .image-item {
  flex-shrink: 0;
  background-color: #ccc;
}

@keyframes scrollLeft {
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.lightbox-item:hover {
  transform: scale(1.05);
  transition: transform 1s ease-out;
}
nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

button {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  background-color: #62c1e5;
  color: #cfecf7;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  width: 94%;
  z-index: 5;
}

button:hover {
  background-color: #3b9eff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.5);
}

section {
  padding: 28px 20px;
  min-height: 39 vh;
}
#about,
#shop {
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#testimonials-img1 {
  height: 25em;
  width: 35em;
  margin-bottom: -9px;
  margin-top: 27px;
}

#testimonials-img2 {
  height: 30em;
  width: 30em;
  margin-top: 2em;
}

#testimonials-img3 {
  height: 25em;
  width: 15em;
  margin: 41px;
}

@media (min-width: 320px) {
  .image-container {
    display: flex;
    overflow: hidden;
    width: 90%;

    mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0)
    );
  }

  .image-item {
    width: 20em;
    height: 19em;
    margin-right: 20px;
    animation: marquee 10s linear infinite;
    border-radius: 50%;
  }

  .image-container .marquee-content {
    display: flex;
    gap: 20px;
    animation: scrollLeft 110s linear infinite;
  }
  .image-container:hover {
    transform: scale(1.2);
    transition: 0.4s ease;
  }
  .image-container {
    transform: scale(1);
    transition: 0.4s ease;
  }

  .image-container .image-item {
    flex-shrink: 0;
    background-color: #ccc;
  }

  @keyframes scrollLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .about-p {
    line-height: 25px;

    text-align: center;
    max-width: 84%;
    font-size: 15px;
    margin-top: 1em;
  }
  h2 {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
    margin-top: 1em;
  }

  .testimonials-p {
    margin: auto;
    padding-top: 2em;
    padding-bottom: 7em;
    font-size: 16px;
    text-align: center;
    font-style: italic;
    max-width: 78%;
    line-height: 24px;
  }

  #testimonials-img1 {
    height: 14em;
    width: 18em;
    margin-bottom: -9px;
    margin-top: 27px;
  }

  #testimonials-img2 {
    height: 18em;
    width: 16em;
    margin-top: -3em;
  }

  #testimonials-img3 {
    height: 18em;
    width: 10em;
    margin: 41px;
    margin-top: -3em;
  }
  #testimonials-img4 {
    height: 14em;
    width: 18em;
    margin-bottom: -9px;
    margin-top: -54px;
  }

  #header h1 {
    font-size: 31px;
  }

  #third-p {
    margin-top: -8px;
  }
  #fourth-p {
    margin-top: -2em;
  }
  span {
    max-width: 77%;
    margin-bottom: 2em;
  }
  h3 {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
  }
}

/* Desktop breakpoint */
@media (min-width: 992px) {
  #header h1 {
    font-size: 48px;
  }

  .image-item {
    width: 23em;
    height: 21em;
  }

  .about-p {
    max-width: 41%;
    font-size: 20px;
    line-height: 45px;
    margin-top: 2em;
  }

  .testimonials-p {
    max-width: 72%;
    font-size: 26px;
    line-height: 33px;
  }

  #third-p {
    position: relative;
    top: 0em;
    max-width: 39%;
  }
  #testimonials-img1 {
    height: 27em;
    width: 37em;
    margin-bottom: -9px;
    margin-top: 27px;
  }

  #testimonials-img2 {
    height: 27em;
    width: 24em;
    margin-top: -3em;
  }

  #testimonials-img3 {
    height: 30em;
    width: 18em;
    margin: 41px;
    margin-top: -4em;
  }

  #testimonials-img4 {
    height: 27em;
    width: 37em;
    margin-bottom: -9px;
    margin-top: -70px;
  }

  #testimonial-p-2 {
    margin-top: -8px;
  }

  span {
    max-width: 33%;
    margin-bottom: 2em;
  }
  #back-to-top {
    position: fixed;
    bottom: 20px;
    left: 2em;
    background-color: #62c1e5;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
  }
}

/* Contact Section Styles */
#contact {
  width: 90%;
  width: 90%;
  max-width: 600px;
  margin-top: 23em;
  margin: 1em auto;
  margin-top: 0em;
  margin-bottom: 13em;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#contact h2 {
  font-size: 24px;
  margin-bottom: 1em;
  color: #333;
}

#contact p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

#contact a {
  color: #1c96c5;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  color: #3b9eff;
}
/* Form Styles */
form#dogSweaterForm {
  width: 90%;
  max-width: 600px;
  margin: 2em auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Labels */
form#dogSweaterForm label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* Input Fields */
form#dogSweaterForm input[type="number"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

/* Input Field Focus */
form#dogSweaterForm input[type="number"]:focus {
  outline: none;
  border-color: #1c96c5;
  box-shadow: 0 0 5px rgba(28, 150, 197, 0.5);
}

/* Submit Button */
form#dogSweaterForm input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #62c1e5;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

form#dogSweaterForm input[type="submit"]:hover {
  background-color: #3b9eff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive design for form*/
@media (min-width: 992px) {
  form#dogSweaterForm {
    padding: 30px;
  }

  form#dogSweaterForm label {
    font-size: 16px;
  }

  form#dogSweaterForm input[type="number"] {
    font-size: 16px;
    padding: 12px;
  }

  form#dogSweaterForm input[type="submit"] {
    font-size: 18px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: #f9f9f9;
}

::-webkit-scrollbar-thumb {
  background-color: #62c1e5;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #3b9eff;
}

/* Footer Styles */
.footer {
  background-color: #f9f9f9;
  color: #fefefe;
  padding: 3em 0;
  text-align: center;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
}
.footer p {
  color: black;
}

/* Footer Links */
.footer a {
  color: #3b9eff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #62c1e5;
}

/* Footer Social Media Icons */
.footer .social-icons {
  margin: 1em 0;
}

.footer .social-icons a {
  font-size: 24px;
  color: #62c1e5;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: #3b9eff;
}

.footer .copyright {
  margin-top: 2em;
  font-size: 12px;
}

/* Small Screen Styling */
@media (max-width: 768px) {
  .footer {
    padding: 2em 0;
  }

  .footer .social-icons a {
    font-size: 20px;
    margin: 0 8px;
  }

  #back-to-top {
    position: fixed;
    bottom: 7px;
    left: 1em;
    background-color: #62c1e5;
    color: white;
    padding: 4px 9px;
    border-radius: 5px;
    opacity: 0.8;
    cursor: pointer;
    z-index: 1000;
  }

  #back-to-top.hidden {
    display: none;
  }
}
