/* NATURAL HAIR CARE — feminine hair-dye homepage, design-1 aligned */

:root {
  --teal: #006666;
  --teal-dark: #004d4d;
  --teal-mid: #0a7a75;
  --ink: #2a2f2e;
  --muted: #6b7371;
  --line: #e4ebe9;
  --white: #ffffff;
  --soft: #f4f6f5;
  --blush: #f7f3f1;
  --max: 1140px;
  --header-h: 78px;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "Cormorant Garamond", "Songti TC", serif;
  --font-display: "Cormorant Garamond", "Noto Serif TC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: var(--teal);
  margin-bottom: 3rem;
  font-weight: 600;
}

.section-title--line {
  color: #333;
  margin-bottom: 0.75rem;
}

.section-title--line::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0.85rem auto 2.75rem;
  background: var(--teal);
}

.section-lead {
  text-align: center;
  max-width: 36rem;
  margin: -1.5rem auto 2.25rem;
  font-size: 0.98rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.92rem;
}

.text-link:hover {
  color: var(--teal-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* Header — clean white, airy */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 102, 102, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: min(240px, 58vw);
  object-fit: contain;
}

.logo--footer {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  background: var(--white);
  margin-bottom: 0.85rem;
}

.logo--footer img {
  height: 40px;
  max-width: 210px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #3d4543;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

/* Hero — full-bleed feminine salon mood */

.hero {
  position: relative;
  min-height: min(90vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(20, 40, 38, 0.52) 0%,
      rgba(20, 40, 38, 0.26) 45%,
      rgba(20, 40, 38, 0.12) 100%
    ),
    url("../images/hero-banner.jpg") center 35% / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.75rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
  max-width: 560px;
  margin-left: max(calc((100% - var(--max)) / 2), 1.375rem);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600;
  margin-bottom: 1.1rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.hero-bar {
  position: relative;
  z-index: 1;
  background: var(--teal);
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
}

.hero-bar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1rem;
}

.hero-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.hero-bar-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-bar-links a:hover {
  color: var(--white);
}

/* About Natural — three columns matching client layout */

.about-natural {
  background: var(--white);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.about-col {
  text-align: center;
}

.about-col-image {
  margin-bottom: 1.35rem;
  overflow: hidden;
  background: var(--soft);
}

.about-col-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-col:hover .about-col-image img {
  transform: scale(1.03);
}

.about-col h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.35rem;
}

.about-col h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.65rem auto 1rem;
  background: var(--teal);
}

.about-col p {
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: justify;
  text-align-last: center;
  color: #555;
}

/* Stores */

.stores {
  background: var(--soft);
}

.store-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.store-tab {
  min-height: 40px;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(0, 102, 102, 0.25);
  background: var(--white);
  color: var(--teal);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.store-tab:hover,
.store-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.store-card {
  background: var(--white);
  border: 1px solid rgba(0, 102, 102, 0.12);
  padding: 0 0 1.35rem;
  text-align: center;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.store-card:hover {
  box-shadow: 0 10px 28px rgba(0, 102, 102, 0.1);
}

.store-image {
  margin-bottom: 1.1rem;
  background: #ecefee;
  overflow: hidden;
}

.store-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.store-card:hover .store-image img {
  transform: scale(1.03);
}

.store-region {
  margin: 0 0 0.35rem;
  color: var(--teal) !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.store-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.35rem;
}

.store-card h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.55rem auto 0.75rem;
  background: var(--teal);
}

.store-hours {
  margin-bottom: 0.55rem !important;
  color: #777 !important;
  font-size: 0.88rem;
}

.store-card p:last-child {
  margin: 0 auto;
  max-width: 92%;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Services — white cards, light teal border, circular portraits */

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 102, 102, 0.22);
  padding: 0 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 32px rgba(0, 102, 102, 0.08);
}

.service-thumb {
  width: 100%;
  margin-bottom: 1.2rem;
  overflow: hidden;
  background: var(--soft);
}

.service-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.04);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  padding: 0 1.2rem;
}

.service-card p {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0 1.25rem;
}

/* Products — soft bg, elegant product cards */

.products {
  background: var(--soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.product-card {
  text-align: center;
  background: var(--white);
  padding: 0 0 1.35rem;
}

.product-image {
  margin-bottom: 1.15rem;
  background: var(--blush);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
  padding: 0 0.75rem;
}

.product-card p {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  padding: 0 0.9rem;
}

.price {
  color: var(--teal) !important;
  font-weight: 600;
  font-size: 0.95rem !important;
  margin-bottom: 1rem !important;
}

.product-card .btn {
  width: calc(100% - 1.8rem);
  margin: 0 auto;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.75rem;
}

/* Booking */

.booking {
  background: linear-gradient(180deg, #eaf3f2 0%, #f3f7f6 100%);
}

.booking-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.booking-inner h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--teal-dark);
}

.booking-cards {
  display: grid;
  gap: 1rem;
}

.booking-card {
  background: var(--white);
  border: 1px solid rgba(0, 102, 102, 0.15);
  padding: 1.45rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.booking-card h3 {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  margin: 0;
  flex: 1 1 160px;
  color: var(--ink);
}

.booking-price {
  margin: 0;
  color: var(--teal) !important;
  font-weight: 700;
}

/* Blog */

.blog-teaser {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  border-top: 1.5px solid var(--teal);
  padding-top: 1.4rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  color: var(--teal-dark);
}

/* Footer */

.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 3.75rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.75rem;
}

.footer-grid h3 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
  color: var(--white);
}

.footer-grid ul {
  display: grid;
  gap: 0.55rem;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

/* Responsive */

@media (max-width: 980px) {
  .booking-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-columns,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .stores-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 1.35rem;
  }

  .hero-content {
    margin-left: 1.375rem;
    padding: 4.5rem 0 3.25rem;
  }

  .hero-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.95rem 0;
  }

  .products-grid,
  .stores-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }
}
