/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Typography */
body {
  font-family: "Libre Baskerville", serif;
  color: #222222;
  line-height: 1.6;
}

/* Container for Centering Content */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Center the container */
  padding: 0;
}

/* Header */
header {
  text-align: center;
  margin: 0;
  padding: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title {
  font-size: 2.5rem;
  margin-top: 8%;
  margin-bottom: 0;
}

.site-title-subtitle {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  color: #333;
  margin-top: -5px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Navigation */
.inline-nav {
  list-style: none;
  margin: 0;
  padding: 2% 0 0 0;
  display: flex;
  justify-content: center;
  gap: 7%;
}

.inline-nav li {
  display: inline-block;
}

.inline-nav li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1rem;
}

.inline-nav li a:hover {
  color: #7c6b43;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 5px;
}

.instagram-icon {
  vertical-align: middle;
  transition: color 0.3s ease;
}

.instagram-icon:hover {
  color: #E1306C; /* Instagram brand color */
}

/* Page Sections */
.page-section {
  padding: 4%;
  text-align: left;
}

.page-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #333;
  text-align: left;
}

.page-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #222222;
  margin: 15px 0 0;
}

.page-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.page-section p strong {
  color: #333;
  font-weight: 700;
}

.page-section p em {
  font-style: italic;
  color: #777;
}

/* Service Section */
.service {
  padding: 60px 0;
  background: #f8f8f8;
}

.service-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.service-category {
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.category-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.service-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.item-name {
  font-weight: 400;
}

.item-price {
  font-weight: 700;
  color: #666;
}

/* Menu Table Styles */
.menu-table {
  width: 100%;
  max-width: 800px; /* Made consistent with other sections */
  margin: 0 auto 40px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 10px rgba(55, 54, 54, 0.1);
}

.menu-table th {
  background: rgb(115, 115, 115);
  color: #fff;
  font-size: 1.25rem;
  padding: 15px;
  text-align: left;
}

.menu-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}

.menu-table td:first-child {
  width: 30%;
}
.menu-table td:second-child {
  width: 36%;
  text-align: left;
}

.menu-table td:last-child {
  width: 33%;
  text-align: right;
}

.menu-table .price {
  font-weight: 700;
  color: #333;
}

.menu-table .jp-text {
  font-size: 0.9rem;
  color: #666;
  display: block;
  margin-top: 5px;
}

/* Slideshow Container */
.slideshow-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Center the slideshow */
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
}

.image-container {
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.slide-outer {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 2s ease-in-out;
  list-style: none; /* Remove list bullets */
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.slide:first-child {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Front Page Blurb */
.front-page-blurb {
  text-align: center;
  font-family: "Libre Baskerville", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 2rem auto 4rem auto;
  max-width: 800px; /* Consistent with other sections */
  padding: 0 20px; /* Add some side padding */
}

.front-page-blurb p {
  white-space: pre-line;
  color: #333;
}

/* Cancellations Section */
.cancellations {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cancellations p {
  font-family: "Libre Baskerville", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  line-height: 1.8;
  white-space: pre-line;
  font-size: 1rem;
  color: #333;
}

.cancellations p::first-line {
  font-weight: bold;
  font-size: 1.2rem;
}

/* ABOUT SECTION STYLES */
.about-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-container {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.02);
}
/* Service Category Headings */
.service-category {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin: 60px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4a373;
  text-align: left;
  letter-spacing: 1px;
}

/* Service Descriptions */
.service-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  padding: 0 15px;
}

/* Cut Section Description */
.cut-description {
  font-style: italic;
  color: #666;
  margin-bottom: 30px;
}

/* Treatment Section Description */
.treatment-description {
  background-color: #f9f5f0;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 30px;
}

/* Colour Section Description */
.colour-description {
  border-left: 4px solid #d4a373;
  padding-left: 15px;
  margin-bottom: 30px;
}

/* Special Services Description */
.special-description {
  font-weight: 500;
  color: #444;
  margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-category {
    font-size: 1.8rem;
    margin: 50px 0 15px 0;
  }
  
  .service-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

.about-content {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.about-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #d4a373;
  margin: 15px auto;
}

.about-motto {
  font-size: 1.3rem;
  font-style: italic;
  color: #d4a373;
  margin-bottom: 30px;
  font-weight: 500;
}

.about-description {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #555;
}

.about-description p


/* Profile Section */
.profile-section {
  padding: 60px 0;
  background-color: #fff;
}

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px; /* Consistent with other sections */
  margin: 0 auto; /* Center the content */
}

.profile-image-container {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.profile-image:hover {
  transform: scale(1.02);
}

.profile-content {
  text-align: center;
  max-width: 700px;
  width: 100%; /* Ensure it takes full width when stacked */
}

.profile-title {
  font-size: 2.2rem;
  margin-bottom: 5px;
  font-weight: 700;
  color: #333;
}

.profile-subtitle {
  font-size: 1.1rem;
  font-style: italic;
  color: #666;
  margin-bottom: 25px;
}

.profile-description {
  line-height: 1.8;
  font-size: 1rem;
  text-align: left;
}

.profile-description p {
  margin-bottom: 1.5em;
}

@media (min-width: 768px) {
  .profile-hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }
  
  .profile-image-container {
    flex: 0 0 40%;
  }
  
  .profile-content {
    flex: 1;
    text-align: left;
  }
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #222222;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

footer.visible {
  opacity: 1;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .profile-hero {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .profile-image-container {
    flex: 0 0 48%;
  }
  
  .profile-content {
    flex: 0 0 48%;
    text-align: left;
    padding-left: 20px;
  }
  
  .menu-table {
    max-width: 80%; /* Slightly wider on larger screens */
  }
}

@media (max-width: 767px) {
  .inline-nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .inline-nav li {
    margin-bottom: 10px;
  }
  
  .site-title {
    margin-top: 30px;
  }
}
