:root {
  --primary-color: #f3eee7;
  --secondary-color: #313131;
  --accent-color: #615554;
  --hover-color: #625f5f;
  --border: 1px solid #aeaeae;
  --shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
  --gradient-color: linear-gradient(
    145deg,
    #e3dac9,
    #fff 20%,
    #e3dac9,
    #e3dac9,
    #fff 80%,
    #e3dac9
  );
  --gradient-color-2: linear-gradient(#e3dac9, #fff);
}
@font-face {
  font-family: "DM Serif Display";
  src: url(../fonts/subset-DMSerifDisplay-Regular.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Judson";
  src: url(../fonts/subset-Judson-Regular.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Judson";
  color: var(--secondary-color);
  background-image: var(--gradient-color);
}
.padding-section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}
.padding-bottom {
  padding-bottom: 6.5rem;
}
.padding-top {
  padding-top: 6.5rem;
}
.accent-font {
  font-family: "DM Serif Display";
}
.accent-color {
  color: var(--accent-color);
}
a,
button {
  text-decoration: underline;
}
.btn {
  border-radius: 0.7rem;
  text-decoration: none;
}
:is(a, button):hover {
  text-decoration: none;
}
:is(a, button, .btn):focus-visible {
  outline-offset: 3px;
  outline: 3px solid #000000;
  box-shadow: none;
  text-decoration: none;
}
.focus-style-over-dark:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #ffffff;
  box-shadow: none;
  text-decoration: none;
}
:is(a, button, .btn):focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
.skip-link {
  position: absolute;
  top: -5rem;
  left: 0;
  background: #ffffff;
  color: #040303;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
  left: 10px;
}
.action-btn {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  user-select: none;
  min-width: 11rem;
  height: 3rem;
  z-index: 3;
  border-radius: 40rem;
  touch-action: manipulation;
  font-family: "Francois One";
  transition: all 0.3s ease-in;
  cursor: pointer;
}

.border-radius-left {
  border-top-left-radius: 7rem;
}
.border-radius-right {
  border-bottom-right-radius: 7rem;
}

/* header  */
.navbar {
  border-top: var(--border);
}
.nav-item > .nav-link {
  background-color: transparent;
  border: none;
  text-transform: uppercase;
  color: black;
}
.header-btn {
  background-color: var(--secondary-color);
  color: white;
}
.header-btn:hover,
.header-btn:focus {
  color: white;
  background-color: var(--hover-color);
}
/* hero  */
.container-hero {
  position: relative;
  z-index: 3;
}
.container-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(transparent, black 20%);
  z-index: 0;
}
.hero-imgs {
  position: relative;
}
.hero-decor > img {
  position: absolute;
  bottom: 0%;
  left: 25%;
}
/* announcement  */
.container-announcement {
  background-color: var(--accent-color);
} /* contact */
.container-info {
  background: url(../images/bg-info.avif) left center / cover no-repeat;
}
/* service  */
.service-imgs {
  border-radius: 2rem;
}
.service-img-column > img {
  position: relative;
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 2;
}
.service-img-column:nth-of-type(1)::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(21, 21, 21, 0.8);
  width: 100%;
  height: 100%;
  z-index: 11;
}
.service-img-column:nth-of-type(1)::after {
  content: "Let us take care of you";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(21, 21, 21, 0.3);
  font-size: 1.2rem;
  color: white;
  font-family: "DM Serif Display";
  font-style: italic;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  padding-left: 3rem;
  width: 100%;
  height: 100%;
  z-index: 22;
}
.service-row {
  display: flex;
  font-size: 1rem;
  flex-wrap: nowrap;
}
.service-name {
  font-weight: 600;
  width: auto;
}
.service-line {
  flex: 1 1 auto;
  height: 1rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}
.service-price {
  width: auto;
  text-align: right;
  white-space: nowrap;
  font-size: 1.3rem;
}
.service-desc {
  margin-left: 0.8rem;
}
/* ----intro------------ */
.container-intro {
  overflow: hidden;
  position: relative;
  background-color: var(--primary-color);
  z-index: 3;
}
.container-intro::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 33rem;
  height: 100%;
  background: url(../images/intro-decor.avif) center center / cover no-repeat;
  z-index: 0;
}
.intro-content {
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*  gallery */
.container-gallery {
  background: url(../images/bg-intro.avif) no-repeat center center;
  background-size: cover;
}
.gallery-item > img {
  margin-bottom: 2rem;
}
/* egift  */
.container-egift {
  background: url(../images/bg-egift.avif) no-repeat left center;
  background-size: cover;
}
.egift-btn {
  background-color: var(--primary-color);
  color: black;
}
.egift-btn:hover,
.egift-btn:focus {
  color: black;
  background-color: rgb(211, 206, 194);
}
/* footer */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row: repeat(3, 1fr);
  gap: 0.5rem;
}
.footer-gallery > img {
  width: 100%;
  height: auto;
}
@media (max-width: 575.98px) {
  .padding-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .padding-bottom {
    padding-bottom: 5rem;
  }
  .padding-top {
    padding-top: 5rem;
  }
  .header-btn-item {
    width: 100%;
    min-width: auto;
  }
  .header-actions {
    width: 100%;
  }
  .container-hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .gallery-item > img {
    margin-bottom: 1rem;
  }
  .border-radius-left {
    border-top-left-radius: 4rem;
  }
  .border-radius-right {
    border-bottom-right-radius: 4rem;
  }
  .service-img-column > img {
    height: 10rem;
  }
  .service-line {
    border-bottom: none;
  }
  .gallery-item > img {
    margin-bottom: 1rem;
  }
  .container-hero::before {
    background: url(../images/bg-hero-mobile.avif) center bottom / cover
      no-repeat;
  }
}
@media (min-width: 576px) {
  .header-btn-item {
    min-width: 13rem;
    width: auto;
  }
  .header-actions {
    width: auto;
  }
  .service-line {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
  }
  .container-hero::before {
    background: url(../images/bg-hero.avif) center bottom / cover no-repeat;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .service-img-column > img {
    height: 11rem;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-img-column > img {
    height: 17rem;
  }
}
@media (max-width: 991.98px) {
  .container-hero {
    padding-top: 0;
    padding-bottom: 5rem;
  }
  .navbar-nav {
    background: white;
    padding: 1rem;
    border-radius: 1.6rem;
    text-align: center;
  }
  .container-intro::before {
    display: none;
  }
}
@media (min-width: 992px) {
  .container-hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .service-img-column > img {
    height: 24rem;
  }
  .service-img-column:nth-of-type(1)::after {
    font-size: 2rem;
  }
}
@media (max-width: 1199.98px) {
  .container-intro::before {
    width: 26rem;
  }
}
