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

.navigation {
  display: flex;
  margin-top: 6.4rem;
  justify-content: space-between;
}

.navigation__logo {
  height: 2.4rem;
  width: 19.6rem;
}

.navigation__items {
  display: flex;
  gap: 4.2rem;
}

.navigation__item {
  transition: all 0.3s ease-out;
  position: relative;
}

.navigation__item:hover {
  color: var(--color-peach);
}

.navigation__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0rem;
  height: 0.1rem;
  transition: all 0.3s;
  background-color: var(--color-peach);
}

.navigation__item:hover:after {
  width: 100%;
}
/* ============================
HERO SECTION
*/
.hero-section {
  background-color: var(--color-peach);
  border-radius: 1.5rem;
  color: var(--color-white);
  height: 25rem;
  display: grid;
  margin-top: 6.4rem;
  place-items: center;
}
.hero-section__text-box {
  text-align: center;
}
.hero-section__text-box p {
  margin: 2.4rem auto 0 auto;
  max-width: 37rem;
}

/*=============================
SECCION PRODUCTOS
*/

.products-section {
  margin-top: 16rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.products-section__card {
  border-radius: 1.5rem;
  background-color: var(--color-very-ligth-peach);
  overflow: hidden;
  transition: all 0.3s ease;
}

.products-section__card h3 {
  color: var(--color-peach);
}

.products-section__card:hover {
  background-color: var(--color-peach);
  color: var(--color-white);
}

.products-section__card:hover h3 {
  color: var(--color-white);
}

.products-section__card-content {
  padding: 3.2rem;
  display: grid;
  text-align: center;
}

.products-section__card-content p {
  margin-top: 1.6rem;
}
/* ============================
PROJECTS SECTION
*/

.projects-section {
  margin-top: 16rem;
  display: grid;
  height: 31rem;
  gap: 2.8rem;
  grid-template-columns: repeat(2, 1fr);
  color: var(--color-white);
}

.projects-section__card {
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.projects-section__link {
  display: grid;
  height: 100%;
  place-items: center;
}

.projects-section__card--web-design {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../../images/index/image-web-design-small.jpg");
}

.projects-section__card--web-design:hover {
  background-image: linear-gradient(
      rgba(231, 129, 107, 0.6),
      rgba(231, 129, 107, 0.6)
    ),
    url("../../images/index/image-web-design-small.jpg");
  transform: scale(1.03);
}

.projects-section__card--graphic-design {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../../images/index/image-graphic-design.jpg");
}

.projects-section__card--graphic-design:hover {
  background-image: linear-gradient(
      rgba(231, 129, 107, 0.6),
      rgba(231, 129, 107, 0.6)
    ),
    url("../../images/index/image-graphic-design.jpg");
  transform: scale(1.03);
}

.projects-section__card-show {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-top: 2.4rem;
  gap: 0.8rem;
}

/* ============================
CONTACT SECTION
*/

.contact-section {
  margin-top: 38rem;
  position: relative;
}

.contact-section-container {
  background-color: var(--color-peach);
  color: var(--color-white);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 29rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9.5rem;
  border-radius: 1.5rem;
  transform: translateY(22%);
}

.contact-section__content {
  padding-top: 1.6rem;
  max-width: 46rem;
}

.contact-section__content h2 {
  max-width: 26rem;
}

.contact-section__content p {
  margin-top: 2rem;
}

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

.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  height: 39rem;
  padding-top: 7.2rem;
}

.footer-content {
  margin: 0 auto;
}

.footer__line {
  margin-top: 4rem;
  border: 1px solid var(--color-dark-grey);
}

.footer__info {
  display: flex;
  margin-top: 3rem;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-info__contact {
  display: flex;
  gap: 16.8rem;
  color: var(--color-medium-grey);
}

.footer__info-oficine p:nth-of-type(1) {
  font-weight: 500;
}

.footer__info-oficine p:nth-of-type(2) {
  max-width: 23rem;
}

.footer__info-online p:nth-of-type(1) {
  font-weight: 500;
}

.footer__info-online a {
  display: block;
}

.footer__info-online a:hover {
  text-decoration: underline;
}

.footer_info-social ul {
  display: flex;
  gap: 1.6rem;
}

.footer_info-social svg {
  cursor: pointer;
  transition: all 0.3s ease;
  fill: var(--color-peach);
}

.footer_info-social svg:hover {
  fill: var(--color-light-peach);
  transform: scale(1.1);
}
