html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 80px;
}

.main-title {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.3;
}

/* --------------------------------------------------------------------- */

.hero {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero .container {
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/lines.png) no-repeat;
  background-position: top center;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-content h1 span {
  display: inline-block;
}

.hero-content h1 .last {
  margin-left: 140px;
}

.hero-content p {
  font-size: 22px;
  max-width: 500px;
  line-height: 30px;
  margin: 20px 100px 0 auto;
}

.hero-image {
  width: 100%;
  display: flex;
  margin-top: 85px;
  column-gap: 40px;
}

.hero-image div {
  position: relative;
}

.hero-image div:first-child {
  top: -60px;
}

.hero-image div:last-child {
  margin-left: auto;
}

.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  animation: upDown 2s ease-in-out infinite;
  z-index: 2;
}

/* ------------------------------------------------------------------- */

.about {
  width: 100%;
  background: #222324;
}

.about .container {
  height: 100vh;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.about-inside {
  display: grid;
  align-items: center;
  grid-template-columns: 440px 1fr;
  gap: 100px;
}

.about-content h2 {
  margin-bottom: 30px;
}

.about-content p {
  max-width: 600px;
}

/* ------------------------------------------------------------------- */

.services {
  padding: 120px 0;
}

.services-item {
  --space: 70px;
  color: #222324;
}

.services-item h4 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
}

.services-item:not(:first-child) {
  border-top: 1px solid #222324;
  padding-top: var(--space);
}

.services-item:not(:last-child) {
  padding-bottom: var(--space);
}

/* ------------------------------------------------------------------- */

.our-partners {
  margin-top: 100px;
}

.our-partners h2 {
  text-align: center;
  margin-bottom: 60px;
}

.our-partners .swiper-slide img {
  margin: auto;
  filter: opacity(0.5);
}

/* ------------------------------------------------------------------- */

.footer {
  background: #222324;
}

.footer-top {
  padding: 80px 0;
  display: grid;
  gap: 50px;
  color: #ffffff;
  grid-template-columns: 400px 400px 1fr;
}

.footer-bottom {
  color: #ffffff;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  row-gap: 15px;
}

.footer-lets {
  text-align: right;
}
.footer-lets h5 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-bottom ul {
  display: flex;
  align-items: center;
  column-gap: 40px;
}

.footer-bottom a {
  text-transform: uppercase;
  transition: opacity var(--time) ease-in-out;
}

.footer-address a {
  transition: opacity var(--time) ease-in-out;
}

.footer-bottom a:hover,
.footer-address a:hover {
  opacity: 0.5;
}

.footer-address p + p {
  margin-top: 15px;
  line-height: 1.8;
}

.footer-discription {
  padding-right: 80px;
}

/* ------------------------------------------------------------------- */

.menu__item-text {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.menu__item-text:hover {
  position: relative;
  z-index: 3;
}
.menu__item-image {
  height: 300px;
  width: 240px;
  background-size: cover;
  position: absolute;
  z-index: 2;
  opacity: 0;
  margin-top: -150px;
  transform: scale(0.4);
}
.menu__item-image.living,
.menu__item-image.resting {
  background-image: url("https://images.unsplash.com/photo-1589834390005-5d4fb9bf3d32?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80");
}
.menu__item-image.dining {
  background-image: url("https://images.unsplash.com/photo-1565996939960-f42172c9e2bd?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=675&q=80");
}
.menu__item-image.endulging {
  background-image: url("https://images.unsplash.com/photo-1513161455079-7dc1de15ef3e?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=634&q=80");
}
.menu__item-image.floorplans {
  background-image: url("https://images.unsplash.com/photo-1575204015311-0fe377370780?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=675&q=80");
}
.menu__item-image.enquiring {
  background-image: url("https://images.unsplash.com/photo-1540759772348-12e90305e8f4?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80");
}

/* ------------------------------------------------------------------- */

.about-image div {
  height: 600px;
  overflow: hidden;
}
.about-image div img {
  object-fit: cover;
  height: 150%;
}

.hero-image-img div {
  overflow: hidden;
  height: 240px;
  width: 240px;
  position: relative;
}
.hero-image-img img {
  object-fit: cover;
  height: 150%;
}

@keyframes upDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* moves up */
  }
  100% {
    transform: translateY(0); /* returns down */
  }
}

@media (max-width: 1600px) {
  body {
    --container-width: 1200px;
    --base-font-size: 14px;
    --base-line-height: 24px;
  }
  .main-title {
    font-size: 30px;
  }
  .services-item h4 {
    font-size: 25px;
  }
  .hero-content h1 {
    font-size: 60px;
  }
  .hero-content p {
    font-size: 18px;
    max-width: 400px;
    line-height: 28px;
  }
  .scroll-arrow {
    bottom: 30px;
  }
  .hero-image {
    margin-top: 60px;
  }
  .hero-image div:first-child {
    top: -30px;
  }
  .about-content h2 {
    margin-bottom: 20px;
  }
  .services-item {
    --space: 40px;
  }
  .our-partners {
    margin-top: 80px;
  }
}

@media (max-width: 1200px) {
  body {
    --container-width: 1000px;
  }
  .container {
    padding: 0 24px;
  }
  .hero-image div:first-child {
    top: 0;
  }
  .hero-image {
    margin-top: 30px;
  }
  .footer-top {
    padding: 50px 0;
    gap: 30px;
    grid-template-columns: 366px 270px 1fr;
  }
  .footer-lets h5 {
    font-size: 35px;
  }
  .footer-bottom {
    padding: 20px 0;
  }
  .services {
    padding: 80px 0;
  }
  .our-partners {
    margin-top: 50px;
  }
  .about-inside {
    gap: 50px;
  }
  .about-content h2 {
    margin-bottom: 20px;
    text-wrap: balance;
  }
  .main-title {
    font-size: 24px;
  }
  .hero-content p {
    margin: 20px 0 0 auto;
  }
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-content h1 .last {
    margin-left: 100px;
  }
  .menu__item-text {
    grid-template-columns: 380px 1fr;
    gap: 40px;
  }
  .our-partners h2 {
    margin-bottom: 30px;
  }
}

@media (max-width: 860px) {
  .services-item h4 {
    font-size: 22px;
  }
  .menu__item-text {
    grid-template-columns: 320px 1fr;
  }
  .footer-bottom ul {
    column-gap: 25px;
  }
  .footer-discription {
    padding-right: 0;
  }
  .footer-top {
    grid-template-columns: 289px 218px 1fr;
  }
  .footer-lets h5 {
    font-size: 25px;
  }
  .about-inside {
    grid-template-columns: 300px 1fr;
  }
  .about-image div {
    height: 460px;
  }
  .about .container {
    height: auto;
  }
  .about {
    padding: 50px 0;
  }
  .hero,
  .hero .container {
    height: auto;
  }
  .hero {
    padding: 120px 0 150px 0;
  }
  .hero-image {
    column-gap: 30px;
    justify-content: center;
  }
  .hero-image-img div {
    height: auto;
    width: auto;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 .last {
    margin-left: initial;
  }
  .hero-content p {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .about-inside {
    grid-template-columns: 1fr;
  }
  .hero-image {
    column-gap: 10px;
  }
  .menu__item-text {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .services-item {
    --space: 30px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom ul {
    column-gap: 15px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
  }
  .hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
  }
  .about-image div {
    height: 360px;
  }
  .about-image div img {
    object-fit: cover;
    height: 110%;
    width: 100%;
  }
  .hero-image-img img{
    height: auto;
  }
  .about-content h2 br {
    display: none;
  }
  .services{
    padding: 50px 0 25px 0;
  }
  .our-partners h2{
    margin-bottom: 20px;
  }
  html {
    scroll-behavior: unset !important;
  }
}
