/* ============================
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);
  display: flex;
  height: 64rem;
  margin-top: 6.7rem;
  position: relative;
}

.hero-section__text-box {
  position: absolute;
  top: 50%;
  left: 9%;
  transform: translateY(-50%);
  max-width: 54rem;
}

.hero-section__text-box p {
  margin-top: 2rem;
  max-width: 44.5rem;
}

.hero-section__text-box a {
  margin-top: 4rem;
}

.hero-section__img-box {
  position: absolute;
  right: -18%;
}

/* ============================
PROJECTS SECTION
*/

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

.projects-section__two-cards-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 2.4rem;
}

.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-large.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-large.jpg");
  transform: scale(1.03);
}

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

.projects-section__card--app-design:hover {
  background-image: linear-gradient(rgba(231, 129, 107, 0.6), rgba(231, 129, 107, 0.6)),
    url("../../images/index/image-app-design.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;
}

/* ============================
PRINCIPLES SECTION
*/

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

.principles-section__principle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.principles-section__principle img {
  width: 20rem;
  height: 20rem;
}

.principles-section__principle h3 {
  margin-top: 4.8rem;
}

.principles-section__principle p {
  margin-top: 3.2rem;
  font-size: 1.6rem;
  text-align: center;
}

/* ============================
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);
}
