/* Basic Page Layout */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-image: url('images/background.jpg');
  background-size: cover;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Merriweather', serif;
}

/* Header and Logo Styles */
.header {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 30px;
  left: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  pointer-events: none;
}

#small-logo {
  width: 100px;
  opacity: 0;
  transition: opacity .1s ease-in-out;
}

#large-logo {
  transition: opacity .4s ease-in-out;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hidden {
  opacity: 0;
}

/* Menu Icon Styles */
#menu-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 2;
}

.bar {
  width: 35px;
  height: 5px;
  background-color: #B8860B;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: rotate(-45deg) translate(-9px, 6px);
  background-color: #B8860B;
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(45deg) translate(-8px, -8px);
  background-color: #B8860B;
}

/* Menu Styles */
#menu {
  display: none;
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 253, 208, 0.9);
  padding: 10px;
  border: 1px solid #333333;
  z-index: 1;
  box-sizing: border-box;
}

#menu a {
  display: block;
  color: #B8860B;
  text-decoration: none;
  padding: 5px 0;
  padding-left: 10px;
  font-family: 'Bodoni', serif;
  font-size: 24px;
}

#menu a.selected {
  color: #B8860B;
}

#menu a:hover {
  background-color: rgba(255, 253, 208, 0.7);
}

/* Content Wrapper Styles */
#content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 100px;
  box-sizing: border-box;
  overflow: auto;
}

/* Section Styles */
.services-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service {
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.service img {
  width: 300px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.service img:hover {
  transform: scale(1.1);
}

.service p {
  margin-top: 10px;
  color: #B8860B;
  font-size: 22px;
  font-family: 'Dancing Script', cursive;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 25%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  color: #B8860B;
  margin-top: 0px;
  max-width: 600px;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  line-height: 1.6;
  margin-top: 10px;
  color: #B8860B;
  font-size: 22px;
}

.about-text ul {
  list-style-type: disc;
  margin-top: 10px;
  padding-left: 20px;
  font-family: 'Dancing Script', cursive;
  color: #B8860B;
  line-height: 1.3;
  font-size: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeInParagraph 1s forwards 3s;
}

.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1s forwards 1s;
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

.about-text h2 {
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeInText 1s forwards 1s;
}

@keyframes fadeInText {
  to {
      opacity: 1;
  }
}

.about-text h2 .word {
  display: inline-block;
  margin: 0 10px;
}

.about-text h2 .letter {
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 4px #000000;
  font-size: 34px;
  animation: colorChange 5s infinite;
  margin: 0 2px;
  display: inline-block;
  animation-delay: var(--delay);
}

@keyframes colorChange {
  0% { color: #B8860B; }
  25% { color: #DAA520; }
  50% { color: #FFD700; }
  75% { color: #FFC107; }
  100% { color: #B8860B; }
}

.about-image {
  opacity: 0;
  animation: fadeInImage 1s forwards 2s;
  margin-top: 5px;
  margin-bottom: 5px;
}

@keyframes fadeInImage {
  to {
      opacity: 1;
  }
}

.about-text p {
  opacity: 0;
  animation: fadeInParagraph 1s forwards 3s;
}

@keyframes fadeInParagraph {
  to {
      opacity: 1;
  }
}

/* Price Box Styles */
.price-box {
  display: none;
  position: absolute;
  top: calc(100% - 20px); /* 20px overlap to create the inverted oval effect */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 80%;
  max-width: 500px;
  z-index: 1;
}

.price-box table {
  width: 100%;
  border-collapse: collapse;
}

.price-box table thead {
  background-color: #f2f2f2;
}

.price-box table th,
.price-box table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #B8860B;
}

.price-box table tr:last-child td {
  border-bottom: none;
}

/* Subcategories and Descriptions */
.sub-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  justify-items: center;
  margin-bottom: 20px;
}

.sub-category {
  width: 100px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
}

.service-details {
  margin-top: 20px;
  text-align: center;
}

.choice {
  margin: 10px 0;
  cursor: pointer;
  color: #B8860B;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: color 0.3s ease-in-out;
}

.choice:hover {
  color: #DAA520;
}

.description-box {
  display: none;
  margin-top: 20px;
  padding: 10px;
  background-color: rgba(245, 245, 245, 0.9);
  border-radius: 8px;
}

.description-box p {
  margin: 5px 0;
  color: #333333;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Merriweather', serif;
}

.description-box p.price {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
}

.description-title {
  color: #FFD700; /* Slightly lighter gold color */
  font-size: 1.2em; /* Adjust the size to fit your design */
  margin-bottom: 10px; /* Space between the title and text */
  font-weight: bold; /* Make the title bold */
}

/* Fixed Header - not being used right now */
.bio-header {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  opacity: 90%;
}

/* Adjust the margin to prevent overlap with the fixed header */
.bio-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 40px 20px;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 900px;
  position: relative;
}

.bio-details h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5em;
  cursor: pointer;
  color: #B8860B;
  text-align: center;
  margin: 0;
  -webkit-tap-highlight-color: transparent; /* Removes the highlight on tap */
}

.bio-content {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.bio-photo img {
  border-radius: 10px;
  max-width: 300px;
  margin: 20px 0;
}

.bio-info {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.bio-details p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.bio-details strong {
  color: #B8860B;
}

.bio-info.show {
  pointer-events: auto; /* Allows interaction when the bio is shown */
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info p {
  color: #B8860B;
  font-size: 22px;
  line-height: 1.1;
}

.contact-map iframe {
  max-width: 100%;
  width: 600px;
  height: 450px;
  border: 0;
  margin: 0 auto;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}

.contact-map {
  margin-top: 30px;
}

.contact-image {
  margin-top: 30px;
}

.contact-image img {
  width: 80%;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.contact-image img:hover {
  transform: scale(1.05);
}

/* Contact Links */
.contact-link {
  color: #B8860B;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-link i {
  margin-right: 8px;
}