/* CHALLENGE 1 CSS FILES => Contact Page for Furniro */

/* ========================= */
/*       GLOBAL STYLES      */
/* ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

.landing-page {
  width: 100%;

  margin: 0 auto;
  background: #ffffff;
}

/* ========================= */
/*           HEADER          */
/* ========================= */

.header {
  background-color: #ffffff;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1286px;
  padding: 29px 100px 30px 54px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-image {
  display: block;
  border-radius: 4px;
}

.header__logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  text-decoration: none;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 75px;
  align-items: center;
  top: 38px;
  left: 505px;
}

.header__menu-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.header__icons {
  display: flex;
  align-items: center;
  gap: 45px;
}

.header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__icon img {
  object-fit: contain;
}

/* ========================= */
/*           HERO            */
/* ========================= */

.hero {
  position: relative;
  background-image: url("../assets/images/hero__background.jpg");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 0;
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 61px auto 97px auto; /* auto for center */
}

.hero__icon {
  display: block;
}

.hero__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 72px;
  margin: 0;
  color: #000;
}

.hero__breadcrumb {
  display: flex;
  align-items: center;
  color: #000;
}

.hero__breadcrumb span,
.hero__breadcrumb strong {
  font-size: 16px;
  line-height: 1;
}

.hero__breadcrumb span {
  font-weight: 500;
}

.hero__breadcrumb strong {
  font-weight: 300;
}

.hero__breadcrumb svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

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

.contact {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 54px;
  background: #ffffff;
}

.contact__title {
  text-align: center;
  font-weight: 600;
  font-size: 36px;
  margin-bottom: 15px;
}

.contact__subtitle {
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: #9f9f9f;
  margin-bottom: 60px;
  line-height: 1.4;
  max-width: 644px;
  margin: 0 auto;
}

.contact__content {
  display: flex;
  justify-content: space-between;
  gap: 45px;
}

.contact__info {
  padding-left: 191px;
  padding-top: 82px;
  gap: 42px;
  display: flex;
  flex-direction: column;
}

.contact__info-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.contact__info-icon--address {
  position: relative;
  top: -4px;
  left: -4px;
}

.contact__info-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.contact__info-text {
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.contact__form {
  flex: 1;
}

.contact__form-element {
  display: flex;
  flex-direction: column;
  padding-left: 52px;
  padding-top: 119px;
  gap: 36px;
  margin: 0 auto;
  justify-content: space-between;
}

.form-group label {
  font-size: 14px;
  font-weight: 500px;
  color: #000;
  display: block;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group textarea,
.form-group input {
  padding: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  margin: 0 auto;
  padding-left: 31px;
  padding-top: 22px;
  width: 100%;
}

.form-group button {
  background-color: #b88e2f;
  color: #ffffff;
  border: 1px solid #b88e2f;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500px;
  max-width: 237px;
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  max-width: 237px;
  padding: 13px 0px 13px 0px;
}

/* ========================= */
/*          FEATURES         */
/* ========================= */

.features {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #faf3ea;
  box-sizing: border-box;
}

.features__container {
  display: flex;
  align-items: center;
  gap: 55px;
  max-width: 1334px;
  padding: 100px 0;
}

.features__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.features__icon {
  flex-shrink: 0;
  object-fit: contain;
}

.features__content {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.features__title {
  font-family: Poppins;
  font-weight: 600px;
  font-size: 25px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #000;
}

.features__text {
  color: #898989;
  font-family: Poppins;
  font-weight: 500px;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
}

/* ========================= */
/*           FOOTER          */
/* ========================= */
.footer {
  background-color: #ffffff;
  box-sizing: border-box;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 50px;
}

.footer__column {
  flex: 1;
  min-width: 200px;
}

.footer__brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 20px;
}

.footer__address {
  color: #9f9f9f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.footer__subgroup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  flex: 2;
}

.footer__subgroup-part1,
.footer__subgroup-part2,
.footer__subgroup-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__heading {
  font-weight: 500;
  color: #666;
  margin: 0 0 8px 0;
}

.footer__link {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  font-size: 14px;
}

.footer__newsletter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
}

.footer__input {
  border: none;
  border-bottom: 1px solid #000;
  padding: 6px 0;
  background: transparent;
  font-size: 14px;
  flex: 1;
  min-width: 160px;
}

.footer__button {
  background: transparent;
  color: #000;
  border: none;
  border-bottom: 1px solid #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
}

.footer__separator {
  border: none;
  height: 1px;
  background: #d9d9d9;
  margin: 40px 0 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.features__separator {
  background-color: #ccc;
  border: none;
  margin-top: 30px;
  height: 1px;
}

.footer__copyright-bar {
  max-width: 1240px;

  margin: 0 auto;
  font-size: 14px;
  color: #000;
  padding-top: 35px;
  padding-bottom: 38px;
}

/* Responsive */
@media (max-width: 768px) {
  .header__nav,
  .contact__content,
  .footer__container,
  .features {
    flex-direction: column;
    align-items: center;
  }

  .header__menu,
  .header__icons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .features__item {
    justify-content: center;
  }

  .footer__newsletter-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__input,
  .footer__button {
    width: 100%;
  }
}

/* ===== RESET + BASE ===== */

img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}

/* ===== MAIN LAYOUT ===== */
.blog {
  max-width: 1440px;
  margin: 0 auto;
}

.blog__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ===== BLOG POSTS SECTION ===== */
.blog__posts {
  display: flex;
  flex-direction: column;
  margin: 106px 30px 58px 97px;
}

.blog__post {
  display: flex;
  flex-direction: column;
}

.blog__author,
.blog__category {
  display: flex;
  align-items: center;
  gap: 7px;
}

.blog__date {
  display: flex;
  align-items: center;
  gap: 11px;
}

.blog__icon {
  object-fit: contain;
  display: block;
}

.blog__image {
  width: 817px;
  height: 500px;
}

.blog__meta {
  display: flex;
  gap: 35px;
  font-size: 14px;
  color: #9f9f9f;
  margin-right: 471px;
  margin-bottom: 15px;
  margin-top: 17px;
}

.blog__title {
  font-size: 22px;
  font-weight: 600;
  margin-right: 300px;
  margin-bottom: 12px;
  color: #000000;
}

.blog__description {
  color: #9f9f9f;
  font-size: 15px;
  text-align: justify;
  margin-bottom: 30px;
}

.blog__read-more {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  width: max-content;
  margin-bottom: 54px;
  margin-right: 728px;
}
/* ===== PAGINATION ===== */
.blog__pagination {
  display: flex;
  justify-content: end; /*Why end ?*/
  align-items: center;
  gap: 38px;
  margin-top: 54px;
}

.blog__page {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  background-color: #f9f3eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.blog__page--active {
  background-color: #b88e2f;
  color: #ffffff;
}

.sidebar {
  display: flex;
  flex-direction: column;
  padding: 0px;
  margin-top: 84px;
  margin-right: 100px;
}

.sidebar__section--box {
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.sidebar__search {
  position: relative;
  margin: 22px 41px 43px 41px;
  color: #9f9f9f;
}

.sidebar__icon--search {
  position: absolute;
  transform: translateY(-50%);
  pointer-events: none;
  right: 10px;
  top: 30px;
}

.sidebar__input {
  width: 100%;
  /* padding: 17px 51px 17px 277px; */
  padding: 17px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.sidebar__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  padding: 0px 182px 33px 77px;
}

.sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0px 65px 61px 77px;
}

.sidebar__item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #9f9f9f;
}

.sidebar__recent-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 39px;
  padding: 16px 65px 16px 76px;
}

.sidebar__recent-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sidebar__recent-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 80px;
}

.sidebar__recent-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 0px 7px 12px;
  width: 252px;
}

.sidebar__recent-title {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.sidebar__recent-date {
  font-size: 12px;
  color: #9f9f9f;
}
