:root {
  --fs-900: clamp(2.4375rem, 6.4vw, 3.8125rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-image: url(../assets/images/background.webp);
  background-position: center center;
  background-repeat: repeat;
  background-size: 24em;
}
body,
h1,
h2,
h3,
p,
li,
ul,
blockquote {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
picture {
  height: auto;
}
picture img {
  display: block;
  max-width: 100%;
  height: 100%;
}
h1,
h2,
h3,
a,
span {
  font-family: "Karla";
}
h1 {
  font-size: var(--fs-900);
  color: #272727;
}
h2 {
  font-size: clamp(1.728rem, 2.7985rem, 2.6647rem);
  color: #272727;
}
label,
input,
textarea,
p {
  font-family: "Merriweather";
  line-height: 180%;
  color: #272727;
  font-size: clamp(1rem, 1.1429rem, 1.125rem);
}
a {
  color: inherit;
  text-decoration: none;
  font-size: clamp(1rem, 1.1429rem, 1.125rem);
}
.section-padding {
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
.two-column {
  display: grid;
  grid-template-columns: 1fr auto;
}
@media (max-width: 80rem) {
  .two-column {
    grid-template-columns: 1fr;
  }
}
.two-buttons {
  display: flex;
  gap: 1rem;
}
.primary-link,
.secondary-link {
  padding: 0.5rem 2rem;
  background-color: #524B46;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 1rem;
  font-family: "Karla";
}
.secondary-link {
  background-color: #FBF4EC;
  color: #272727;
}
.black {
  font-weight: 900;
}
.bold {
  font-weight: 700;
}
.ital {
  font-style: italic;
}
.jcsb {
  justify-content: space-between;
}
.aic {
  align-items: center;
}
.gap-1 {
  gap: 1rem;
}
.gap-4 {
  gap: 4rem;
}
.dark-background {
  background-color: #524B46;
}
.light-background {
  background-color: #FBF4EC;
}
.row-span-2 {
  grid-row: span 2;
}
.link-animation {
  transition: color 0.3s ease-in-out;
}
.link-animation:hover {
  color: #F7A9A9;
  transition: color 0.3s ease-in-out;
}
.block-animation {
  transition: background-color 0.3s ease-in-out;
}
.block-animation:hover {
  background-color: #F7A9A9 !important;
  transition: background-color 0.3s ease-in-out;
}
nav {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  width: min(90%, 90rem);
  margin-inline: auto;
  align-items: center;
}
nav .logo-wrapper {
  max-width: 60%;
  height: auto;
}
nav ul {
  display: flex;
  gap: 4rem;
}
nav ul li a {
  position: relative;
  padding-bottom: 4px;
}
nav ul li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #524B46;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
nav ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
nav .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 10;
}
nav .hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #524B46;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
nav .hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
nav .hamburger.active span:nth-child(2) {
  opacity: 0;
}
nav .hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
nav .mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #FBF4EC;
  padding: min(20vh, 6rem) 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
nav .mobile-nav li {
  margin: 0;
}
nav .mobile-nav.active {
  display: flex;
}
@media (max-width: 80rem) {
  nav .hamburger {
    display: flex;
  }
  nav .desktop-nav,
  nav .primary-link {
    display: none;
  }
}
#hero {
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#hero .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 4.7826rem, 4rem);
}
@media (max-width: 80rem) {
  #hero .wrapper {
    grid-template-columns: 1fr;
  }
}
#hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#about {
  background-color: #524B46;
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#about .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 80rem) {
  #about .wrapper {
    grid-template-columns: 1fr;
  }
}
#about .about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#about .about-pictures {
  display: flex;
  gap: 1rem;
}
#about h2,
#about p {
  color: #FBF4EC;
}
#popular {
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#popular .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#popular .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 2rem;
}
@media (max-width: 600px) {
  #popular .grid {
    grid-template-columns: 1fr;
  }
}
#popular .grid .grid-item {
  background-color: #524B46;
  padding-block: 1rem;
  text-align: center;
  color: #FBF4EC;
  border-radius: 1rem 1rem 0 0;
}
#popular .grid .grid-item picture {
  margin-bottom: 0.5rem;
  display: block;
}
#testimonials {
  background-color: #524B46;
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#testimonials .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 80rem) {
  #testimonials .wrapper {
    grid-template-columns: 1fr;
  }
}
#testimonials .wrapper .grid {
  display: grid;
  gap: 2rem;
}
#testimonials .wrapper .grid .grid-item {
  background-color: #FBF4EC;
  padding: 1rem 2rem;
  border-radius: 1rem;
  line-height: 150%;
}
#testimonials .wrapper .grid .grid-item span {
  font-family: "Merriweather";
}
#testimonials .wrapper .testimonials-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
@media (max-width: 80rem) {
  #testimonials .wrapper .testimonials-content {
    grid-row: 1;
  }
}
#testimonials .wrapper .testimonials-content span,
#testimonials .wrapper .testimonials-content h2,
#testimonials .wrapper .testimonials-content p {
  color: #FBF4EC;
}
#gallery {
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#gallery .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
#gallery .wrapper h2 {
  margin-bottom: 2rem;
}
#gallery .wrapper .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1rem;
}
#gallery .wrapper .grid img {
  height: 100%;
}
#contact {
  background-color: #FBF4EC;
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
}
#contact .wrapper {
  width: min(90%, 90rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-columns: auto 1fr;
  overflow-x: hidden;
}
@media (max-width: 80rem) {
  #contact .wrapper {
    grid-template-columns: 1fr;
  }
}
#contact .wrapper .contact-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  color: #FBF4EC;
  padding: clamp(2rem, 6.1739rem, 5rem) 1rem;
  background-color: #524B46;
}
#contact .wrapper .map img {
  object-fit: cover;
  width: 100%;
}
#contact .wrapper h2 {
  color: #FBF4EC;
}
#contact .wrapper .contact-spans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#contact .wrapper a {
  display: flex;
  gap: 1rem;
  font-weight: 400;
  font-family: "Merriweather";
}
#contact .wrapper .contact-block-link {
  padding: 1rem;
  background-color: #FBF4EC;
  color: #272727;
}
#footer {
  border-top: 1px #524B46 solid;
  background-color: #FBF4EC;
}
#footer .wrapper {
  padding-block: clamp(3.75rem, 7.82vw, 6.25rem);
  width: min(90%, 90rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}
@media (max-width: 80rem) {
  #footer .wrapper {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 3rem;
  }
}
#footer .footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .footer-links,
#footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .footer-links .footer-subtitle,
#footer ul .footer-subtitle {
  position: relative;
  font-family: "Karla";
  font-weight: 700;
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
}
#footer .footer-links .footer-subtitle::after,
#footer ul .footer-subtitle::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #524B46;
  bottom: 0;
  left: 0;
}
#footer .contact-spans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .contact-spans a {
  display: flex;
  gap: 1rem;
}
#footer .block-link {
  padding: 1rem;
  background-color: #524B46;
}
#footer .block-link span {
  color: #FBF4EC;
}
#footer .footer-banner {
  background-color: #524B46;
  padding-block: 1rem;
}
#footer .footer-banner .wrapper {
  display: flex;
  justify-content: center;
  padding: 0;
  text-align: center;
}
#footer .footer-banner .wrapper span {
  color: white;
}
