/* ============================================================
   B•Chemistry Salon & Nail Studio — Service Menu Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&family=Adamina&family=Castoro+Titling&family=Inter:wght@400;500&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: #491312;
  font-family: 'Castoro Titling', serif;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- Card ---------- */
.menu-card {
  background-color: #491312;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  text-align: center;
  width: 100%;
  background-color: #491312;
}

.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-wrap img {
  width: 280px;
  height: auto;
}

/* ---------- Menu Title Block ---------- */
.menu-title-block {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px;
}

.menu-title-heading {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
}

.service-label {
  display: none;
}

@media (max-width: 480px) {
  .service-label {
    display: block;
    font-family: 'Adamina', serif;
    font-size: 0.9rem;
    color: #e8c9c9;
    text-transform: uppercase;
    align-self: flex-end;
    position: relative;
    top: 55px;
    right: 20px;
    z-index: 1;
  }
}

.menu-script {
  font-family: 'Imperial Script', cursive;
  font-size: 9.2rem;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
  user-select: none;
}

/* ---------- Services Grid ---------- */
.services {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0px 28px 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
  padding: 18px 0;
  position: relative;
}

.service-row.single {
  grid-template-columns: 1fr;
}

.service-row + .service-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, #591A19, #BB7C7B, #4B1413);
}

/* ---------- Service Item ---------- */
a.service-item {
  text-decoration: none;
  color: inherit;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.service-item:nth-child(2) {
  transform: translateX(8px);
}

.service-item:nth-child(2).animate {
  transform: translateX(0);
}

.tick-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.service-name {
  font-family: 'Castoro Titling', serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0dede;
  line-height: 1.3;
}

/* ============================================================
   Pricing Sections
   ============================================================ */

.pricing-sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 20px;
}

/* ---------- Category Card ---------- */
.category-card {
  width: 100%;
  background-color: #491312;
  border-radius: 12px;
  overflow: hidden;
}

/* ---------- Category Header ---------- */
.category-header {
  position: relative;
  width: 100%;
  height: 124px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px 0 0 0;
  border-left: 2px solid #9e5b5b;
}

/* Partial top border — left ~43%, leaves image area open */
.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 43%;
  height: 2px;
  background: #9e5b5b;
  border-top-left-radius: 12px;
  pointer-events: none;
  z-index: 2;
}

/* Flipped: image left, title right */
.category-header.flipped {
  border-left: none;
  border-right: 2px solid #9e5b5b;
  border-radius: 0 12px 0 0;
}

.category-header.flipped::before {
  left: auto;
  right: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 12px;
}

.category-header.flipped .category-img {
  left: 0;
  right: auto;
}

.category-header.flipped .category-title {
  text-align: right;
  padding: 0 22px;
}

.category-title {
  font-family: 'Castoro Titling', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0 22px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.category-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 160px;
  object-fit: cover;
  object-position: left center;
}

/* ---------- Pricing List ---------- */
.pricing-list {
  width: 100%;
  list-style: none;
  padding: 4px 0 8px;
  border-left: 2px solid #9e5b5b;
  border-right: 2px solid #9e5b5b;
  border-bottom: 2px solid #9e5b5b;
  border-radius: 0 0 12px 12px;
}

.pricing-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 13px 22px;
}

.pricing-item.has-note {
  padding-bottom: 4px;
}

.pricing-item-note {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 22px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-style: italic;
  color: rgba(240, 222, 222, 0.5);
}

.pricing-item-note::before {
  content: '⊙';
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.pricing-item-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #f0dede;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-dots {
  flex: 1;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.2);
  margin-bottom: 3px;
  min-width: 12px;
}

.pricing-price {
  font-family: 'Inter', serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #E4C27F;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-subheader {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 222, 222, 0.55);
  padding: 18px 22px 18px;
}

/* ---------- Scroll Fade Overlays ---------- */
.fade-top,
.fade-bottom {
  position: fixed;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade-top {
  top: 0;
  background: linear-gradient(to bottom, #491312, transparent);
}

.fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, #491312, transparent);
}
