/* =============================================
   01-minimal  |  Beauty Salon & Spa
   Designed by ICHI DESIGN
   ============================================= */

/* ---- Custom Properties ---- */

:root {
  --color-bg: #FAFAF7;
  --color-text: #1a1a1a;
  --color-gold: #C4A265;
  --color-gold-light: #d4b97a;
  --color-dark: #333;
  --color-muted: #777;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --section-pad: 120px;
  --section-pad-mobile: 64px;
  --container-max: 1080px;
  --header-h: 72px;
  --sample-bar-h: 28px;
}

/* ---- Base ---- */

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-size: 15px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Animations ---- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.section {
  animation: fadeUp 0.8s ease both;
}

/* =============================================
   SAMPLE BAR
   ============================================= */

.sample-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--color-gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 6px 16px;
  line-height: 1;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */

.header {
  position: fixed;
  top: var(--sample-bar-h);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  z-index: 1001;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #fff;
  transition: border-color 0.3s ease;
}

.logo-circle--small {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.logo-text {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

/* Navigation */

.nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #fff;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Nav CTA Button */

.nav-cta {
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff !important;
}

/* Hamburger */

.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.35s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: slowZoom 20s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

/* SAMPLE Watermark */

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 15vw;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Hero Content */

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 40px;
  animation: fadeUp 1.2s ease 0.3s both;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  padding: 0 20px;
}

.hero-label::before,
.hero-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.5;
}

.hero-label::before { right: 100%; }
.hero-label::after  { left: 100%;  }

.hero-heading {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--color-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  transition: background 0.4s ease, color 0.4s ease;
}

.hero-cta:hover {
  background: var(--color-gold);
  color: #fff;
}

/* Scroll Indicator */

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll span {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollLine 2s ease-in-out infinite;
}

/* =============================================
   SECTION COMMON STYLES
   ============================================= */

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.gold-line {
  border: none;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 20px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 56px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about {
  background: #fff;
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 2.2;
  color: #444;
}

.about-text p + p {
  margin-top: 28px;
}

/* =============================================
   SERVICES / CARDS SECTION
   ============================================= */

.services {
  background: var(--color-bg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 250px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 28px 24px 32px;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.card-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.03em;
}

.card-price span {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

/* =============================================
   PHOTO BANNER (PARALLAX)
   ============================================= */

.banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.banner-en {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.banner-heading {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #fff;
  line-height: 1.3;
}

/* =============================================
   CONTACT / ACCESS SECTION
   ============================================= */

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.info-item:first-child {
  padding-top: 0;
}

.info-item dt {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  min-width: 80px;
  flex-shrink: 0;
}

.info-item dd {
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
}

.tel-link {
  color: var(--color-gold);
  font-size: 18px;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.tel-link:hover {
  opacity: 0.7;
}

.btn-reserve {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 48px;
  background: var(--color-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  border-radius: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-reserve:hover {
  background: #b8944f;
  transform: translateY(-2px);
}

/* Map Placeholder */

.contact-map {
  display: flex;
  align-items: stretch;
}

.map-placeholder {
  width: 100%;
  min-height: 320px;
  background: #f0ede6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.map-placeholder span {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #bbb;
}

.map-placeholder small {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--color-dark);
  padding: 48px 40px;
  text-align: center;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: rgba(255, 255, 255, 0.95);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   RESPONSIVE  |  max-width: 768px
   ============================================= */

@media (max-width: 768px) {

  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 24px;
  }

  /* ---- Sample Bar ---- */

  .sample-bar {
    font-size: 10px;
    padding: 5px 12px;
  }

  /* ---- Header ---- */

  .header-inner {
    padding: 0 20px;
  }

  .logo-text {
    font-size: 12px;
  }

  /* ---- Hamburger ---- */

  .menu-toggle {
    display: block;
  }

  /* ---- Nav Overlay ---- */

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-list a {
    font-size: 16px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-cta {
    border-color: var(--color-gold);
    padding: 12px 40px;
  }

  /* ---- Checkbox Open State ---- */

  .menu-checkbox:checked ~ .nav {
    opacity: 1;
    visibility: visible;
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

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

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* ---- Hero ---- */

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-heading {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 2;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-cta {
    padding: 14px 36px;
    font-size: 12px;
  }

  .hero-watermark {
    font-size: 22vw;
  }

  .hero-scroll {
    bottom: 24px;
  }

  /* ---- Sections ---- */

  .section {
    padding: var(--section-pad-mobile) 0;
  }

  .section-heading {
    font-size: 1.4rem;
  }

  .section-sub {
    margin-bottom: 40px;
    font-size: 13px;
    padding: 0 8px;
  }

  /* ---- About ---- */

  .about-text p {
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  /* ---- Cards ---- */

  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-img {
    height: 200px;
  }

  .card-body {
    padding: 24px 20px 28px;
  }

  /* ---- Banner ---- */

  .banner {
    min-height: 40vh;
  }

  .banner-bg {
    background-attachment: scroll;
  }

  .banner-heading {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .banner-content {
    padding: 24px;
  }

  /* ---- Contact ---- */

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-item {
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
  }

  .info-item dt {
    font-size: 12px;
    color: var(--color-gold);
  }

  .btn-reserve {
    display: block;
    text-align: center;
    width: 100%;
    padding: 16px 0;
  }

  .map-placeholder {
    min-height: 240px;
  }

  /* ---- Footer ---- */

  .footer {
    padding: 36px 20px;
  }

  .footer-copy {
    font-size: 10px;
  }
}

/* =============================================
   RESPONSIVE  |  max-width: 480px
   ============================================= */

@media (max-width: 480px) {

  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-label::before,
  .hero-label::after {
    width: 20px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-price {
    font-size: 18px;
  }
}

/* =============================================
   Scroll Animations
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Concept Section
   ============================================= */
.concept {
  padding: 140px 20px;
  text-align: center;
  background: #FAFAF7;
}

.concept-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.8;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  max-width: 700px;
  margin: 0 auto;
}

/* =============================================
   Gallery Strip (Horizontal Scroll)
   ============================================= */
.gallery-strip {
  padding: 80px 0;
  background: #FAFAF7;
  overflow: hidden;
}

.gallery-strip .section-label,
.gallery-strip .gold-line,
.gallery-strip .section-heading {
  padding-left: 40px;
  padding-right: 40px;
}

.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-scroll img {
  scroll-snap-align: start;
  min-width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.6s ease;
  flex-shrink: 0;
}

.gallery-scroll img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-scroll img {
    min-width: 240px;
    height: 180px;
  }
}

/* =============================================
   Instagram Grid
   ============================================= */
.instagram {
  padding: 100px 20px;
  background: #FAFAF7;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 900px;
  margin: 0 auto;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay span {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   Hero Cinematic Zoom
   ============================================= */
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* hero-bg handles the zoom — see .hero-bg above */

/* =============================================
   Header Scroll State
   ============================================= */
.header.scrolled {
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(196, 162, 101, 0.2);
}
