body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  background-color: #fefaf6;
  color: #4d392f;
  overflow-x: hidden; 
}

h1, h2, h3 {
  color: #5c4430;
  margin-bottom: 0.5em;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0 2em;
  background-color: #fefaf6;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
}

header.shrink {
  padding: 0 2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #5c4430;
  width: 200px;
  height: 100px;
  /* transition: font-size 0.3s ease; */
}

/* header.shrink .logo {
  font-size: 1.2rem;
} */

.logo {
  position: relative;
  left: 1em;
  top: 0;
  float: left;
}

.logo img {
  width: 200px;
  height: auto;
  transition: all 0.3s ease;
  position: absolute;
}

header.shrink .logo img {
  width: 150px;
  height: auto;
}

.choose h1, .choose p, .theme-selector {
  text-align: right;
  margin: 0;
}

.choose h1 {
  font-size: 1.35em;
}

.choose p {
  font-size: .85em;
}

.theme-selector {
  margin: auto;
}

.theme-selector label {
  font-size: 1em;
}

.theme-selector input {
  font-size: 1.3em;
}

.container {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
}

.button {
  display: inline-block;
  background-color: #a78660;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  font-weight: bold;
}



/* Navigation Menu */
nav {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0 2em;
  /* background-color: #f3e9dd; */
  position: relative;
  margin-top: -.5em;
}

#nav-menu {
  margin-bottom: .5em;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #4d392f;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #4d392f;
  margin: 4px 0;
  transition: 0.4s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(7.5px, 7.5px);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7.5px, -7.5px);
  transform-origin: center;
}


@media (max-width: 768px) {
  header {
    display: flex;
    flex-wrap: wrap; 
    margin-bottom: 2.8em;
  }
  .logo {
    order: 2;
    left: 50%;
    transform: translateX(-50%);
    top: .3em;
  }
  .logo img {
    width: 170px;
  }
  .choose {
    margin: auto;
  }
  .choose h1, .choose p, .theme-selector {
    text-align: center;
  }
  nav {
    margin-top: 0;
    padding: 0 .5em;
    position: absolute;
    top: 0;
    right: 0;
  }
  nav ul {
    position: fixed;
    top: 0;
    right: -110vw;
    height: 20em;
    width: 100vw;
    background-color: #f3e9dd;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    margin: 0;
  }

  nav ul.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}


.hero {
  background-color: #f3e9dd;
}

.hero-img {
  background-color: #fef8f2;
}

.hero img {
  width: 100%;
}

.how-it-works {
  background-color: #fef8f2;
  padding: 2rem 1rem;
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding-top: 1rem;
}

.steps div {
  max-width: 250px;
}

.plans {
  background-color: #f3e3d5;
  padding: 2rem 1rem;
  text-align: center;
}

.plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-top: 1rem;
}

.plan {
  background-color: #fff9f3;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 200px;
}

.plan .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

.theme {
  padding: 2rem 1rem;
  background-color: #fcf6f0;
  text-align: center;
}

.theme p {
  max-width: 800px;
  text-align: center;
  margin: auto;
}

.theme .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem 2rem;
}

.theme img {
  width: 100%;
  border-radius: 8px;
}

@media only screen and (min-width: 728px) {
  .theme .gallery {
    grid-template-columns: 50% 50%;
    max-width: 800px;
    margin: auto;
  }
}

.testimonials {
  background-color: #f2e8dd;
  padding: 2rem 1rem;
  text-align: center;
}

.testimonials blockquote {
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
  font-style: italic;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-dots {
  margin-top: 1rem;
  text-align: center;
}

.testimonial-dots span {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #cbb69e;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dots span.active {
  background-color: #a78660;
}

.testimonials blockquote.slide-out {
  transform: translateX(-20px);
  opacity: 0;
}

.testimonials blockquote.slide-in {
  transform: translateX(0);
  opacity: 1;
}

.faq {
  padding: 2rem 1rem;
  background-color: #f9f2eb;
  max-width: 800px;
  margin: auto;
}

.faq details {
  margin-bottom: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}
