/* =====================================================
   Lucas Hair Salon - Main Stylesheet
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
  --color-bg: #F5F0E8;
  --color-bg-light: #FAF8F5;
  --color-primary: #6B7B5E;
  --color-primary-dark: #5A6A4D;
  --color-text: #3D3630;
  --color-text-light: #6B6560;
  --color-accent: #C9A962;
  --color-white: #FFFFFF;
  --color-border: #E5DFD5;

  --font-ja: "Noto Sans JP", sans-serif;
  --font-en-heading: "Cormorant Garamond", serif;
  --font-en-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-height: 80px;
  --container-width: 1200px;
  --section-padding: 100px;

  --transition: 0.3s ease;
  --border-radius: 8px;
}

/* ----- Base Styles ----- */
body {
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* SP only elements - hidden on PC */
.sp-only {
  display: none;
}

/* PC only elements */
.pc-only {
  display: inline;
}

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

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

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.4;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.8;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-en-heading);
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.section-title p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

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

.footer .logo-img {
  height: 32px;
}

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

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-list a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-lang {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--color-border);
}

.lang-switch a {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition);
  transform-origin: center;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(61, 54, 48, 0.4), rgba(61, 54, 48, 0.4));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.slide-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.slide-indicators .indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.slide-indicators .indicator.active {
  background-color: var(--color-white);
  transform: scale(1.2);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

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

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

.btn-accent:hover {
  background-color: #B8984E;
  transform: translateY(-2px);
}

/* ----- About Section ----- */
.about {
  background-color: var(--color-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.about-text h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* ----- Features Section ----- */
.features {
  background-color: var(--color-bg);
}

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

.feature-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- Menu Section ----- */
.menu-section {
  background-color: var(--color-white);
}

.menu-list {
  max-width: 800px;
  margin: 0 auto;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-name {
  font-size: 1.125rem;
}

.menu-name span {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.menu-price {
  font-family: var(--font-en-heading);
  font-size: 1.25rem;
  color: var(--color-accent);
  white-space: nowrap;
  margin-left: 20px;
}

.menu-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- Staff Section ----- */
.staff {
  background-color: var(--color-bg);
}

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

.staff-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
}

.staff-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.staff-info {
  padding: 24px;
}

.staff-name {
  font-family: var(--font-en-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.75rem;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.staff-description {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- Access Section ----- */
.access {
  background-color: var(--color-white);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.access-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info h3 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.info-list {
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  width: 100px;
  flex-shrink: 0;
  font-weight: 500;
  color: var(--color-text);
}

.info-value {
  color: var(--color-text-light);
}

/* ----- CTA Section ----- */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* ----- Footer ----- */
.footer {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer h4 {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.footer-nav a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 0;
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ----- Concept Page ----- */
.page-hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  background-color: var(--color-bg-light);
}

.page-hero h1 {
  font-family: var(--font-en-heading);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-primary);
}

.page-hero p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.concept-section {
  padding: 80px 0;
}

.concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.concept-block:last-child {
  margin-bottom: 0;
}

.concept-block:nth-child(even) {
  direction: rtl;
}

.concept-block:nth-child(even) > * {
  direction: ltr;
}

.concept-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.concept-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.concept-text h2 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.concept-text p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

/* ----- Menu Page ----- */
.menu-page-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.menu-category {
  margin-bottom: 60px;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 24px;
}

/* ----- Staff Page ----- */
.staff-page-section {
  padding: 80px 0;
}

.staff-detail {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}

.staff-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.staff-detail-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.staff-detail-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.staff-detail-info h2 {
  font-family: var(--font-en-heading);
  font-size: 2rem;
  margin-bottom: 8px;
}

.staff-detail-info .staff-role {
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.staff-detail-info p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

/* ----- Access Page ----- */
.access-page-section {
  padding: 80px 0;
}

.access-page-map {
  height: 450px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 60px;
}

.access-page-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.access-card {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
}

.access-card h3 {
  color: var(--color-primary);
  margin-bottom: 24px;
  font-size: 1.25rem;
}

/* ----- Page Top Button ----- */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-top-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1023px) {
  :root {
    --section-padding: 80px;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 60px;
    --section-padding: 60px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* Header Mobile */
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    height: calc(var(--vh, 1vh) * 100 - var(--header-height));
    background-color: var(--color-bg);
    padding: 40px 20px;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-lang {
    margin-top: auto;
    border-bottom: none !important;
    display: flex;
    justify-content: center;
  }

  .nav-lang .lang-switch {
    display: flex;
    justify-content: center;
    border: none;
    border-left: none;
    padding-left: 0;
    padding: 20px 0;
    gap: 12px;
  }

  .lang-switch a {
    font-size: 0.875rem;
    padding: 8px 16px;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* SP only elements */
  .sp-only {
    display: inline;
  }

  /* PC only elements - hidden on SP */
  .pc-only {
    display: none;
  }

  /* Hero Mobile */
  .hero {
    min-height: 500px;
  }

  .hero-slideshow .slide {
    background-position: top center !important;
  }

  .hero h1 {
    font-size: 1.75rem;
    letter-spacing: 0.1em;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Content Mobile */
  .about-content,
  .access-content,
  .concept-block,
  .staff-detail,
  .access-details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text .btn,
  .access-info .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }

  .concept-block:nth-child(even) {
    direction: ltr;
  }

  .features-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .staff-detail {
    grid-template-columns: 1fr;
  }

  .staff-detail-image {
    max-width: 300px;
    margin: 0 auto;
  }

  /* CTA Mobile */
  .cta h2 {
    font-size: 1.25rem;
  }

  /* Menu Mobile */
  .menu-name {
    font-size: 1rem;
  }

  .menu-name span {
    margin-top: 8px;
    font-size: 0.8125rem;
  }

  .menu-note {
    text-align: left;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Page Hero Mobile */
  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
