/* Footer CSS*/

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-right-radius: 50px;
  border-top-left-radius: 50px;
  background-color: var(--clr-background);
  padding: 3rem 0.50rem;

}

.footer-section {
  max-width: 1440px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 15px;
}

.footer-items {
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem;
  box-sizing: border-box;
  margin: 0.50rem;
  text-align: center;
}

/* Responsive design adjustments */
@media (max-width: 768px) {

  .footer-section {
    padding: 3rem 0rem;
  }

  .footer-items {
    flex: 1 1 100%;
    /* Make each item take full width on smaller screens */
    min-width: 100%;
    margin-bottom: 10px;
    text-align: left;
  }

  .footer-section .footer-items:nth-child(1) img {
    max-width: 300px !important;


  }
}

.footer-section .footer-items:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.footer-section .footer-items:nth-child(1) img {
  max-width: 400px;


}

.social-icons {
  display: flex;
  flex-direction: row;
  padding: 0;
  justify-content: center;
}


.fa {
  font-size: clamp(25px, 4vw, 30px);
  color: var(--clr-accent);
  padding: 10px;

}




.footer-header {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.3;
  font-family: var(--ff-secondary);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-accent);
  position: relative;
  display: inline-block;
}

.footer-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: var(--clr-primary);
  display: inline-block;
}

.footer-list-item {
  text-transform: capitalize;
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.3;
  font-family: var(--ff-primary);
  letter-spacing: 2px;
  font-weight: 300;
}

.footer-navlist {
  list-style-type: none;
  padding: 0;
  color: var(--clr-font-black);

}



.footer-list-item a {
  text-decoration: none;
  color: var(--clr-font-black);

}

.footer-list-item a:hover {
  font-weight: 500;
  letter-spacing: 2.5px;

}

.css-button-retro--rose {
  text-transform: capitalize;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.3;
  font-family: var(--ff-secondary);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.css-button-retro--rose:hover {
  color: var(--clr-accent);
}




/* Responsive design adjustments */
@media (max-width: 768px) {
  footer {
    padding: 0%;
    margin: 0 auto;
  }

  .footer-section {
    flex-direction: column;
  }

  .footer-items {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;

  }

  .footer-section .footer-items:nth-child(1) {
    display: flex;
    justify-self: left;
    align-items: flex-start;
    text-align: left;
  }

  footer,
  .footer-section,
  .footer-items {
    flex-direction: column;
    align-items: center;
  }

  .footer-items {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    /* Adds space between items when stacked */
  }

  .footer-items-one-list {
    list-style-type: none;
  }
}



/* Copyright (c) */


.copyright-outer {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem;

}


.copyright {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.50rem;
  width: 1440px;
  margin: 0 auto;
}

.copyright-items {
  flex: 1 1 50%;
  max-width: calc(50% - 10px);
  box-sizing: border-box;

}

.copyright-items.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}


.copyright-items.right p {
  font-family: var(--font-secondary);
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 2px;

}


.airmarine-copyright {
  text-decoration: none;
  color: var(--clr-accent);
  font-weight: 400;
}

.designer {
  text-decoration: none;
  color: orangered;

}

.designerimg {
  max-width: 30px;
  display: inline;
}



/* Existing styles for larger screens */

@media (max-width: 768px) {
  .copyright {
    padding: 0.50rem;
  }

  .copyright-items {
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .copyright-items.left {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding-left: 0;
    max-width: 100%;
    padding: 0%;
  }

  .copyright-items.right {
    flex-direction: row;
    gap: 1rem;

    max-width: 100%;
  }

  .copyright-items.left div {
    max-width: calc(30% - 10px);
  }

  .copyright-items.left img {
    max-width: 120px;
  }
}
