/* ============================================================
   LAYOUT.CSS — ヘッダー / フッター / 固定CTAバー
   Pasir Putih HP
============================================================ */

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(44, 31, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
  filter: brightness(10);
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--earth);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.logo-mark-initials {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.logo-text {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
}

.logo-text-sub {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

/* PC ナビゲーション */
.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  color: rgba(232, 213, 183, 0.8);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  position: relative;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--earth-light);
  transition: width 0.25s ease;
}

.global-nav a:hover {
  color: #55bccd;
}

.global-nav a:hover::after {
  width: 100%;
  background: #55bccd;
}

.nav-reserve {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 24px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 0.3s !important;
}

.nav-reserve:hover {
  background: var(--accent) !important;
  color: var(--deep) !important;
}

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

/* 言語ドロップダウン（PC） */
.nav-lang-wrap {
  position: relative;
  border-left: 1px solid rgba(196, 168, 130, 0.25);
  padding-left: 20px;
}

.nav-lang {
  font-size: 11px;
  color: rgba(196, 168, 130, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  padding: 0;
  transition: color 0.2s;
}

.nav-lang:hover {
  color: rgba(196, 168, 130, 0.85);
}

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(44, 31, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 168, 130, 0.2);
  border-radius: 4px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 140px;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.nav-lang-wrap:hover .nav-lang-dropdown,
.nav-lang[aria-expanded="true"] + .nav-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-lang-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  color: rgba(232, 213, 183, 0.7);
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-lang-dropdown li a:hover {
  color: rgba(232, 213, 183, 1);
  background: rgba(196, 168, 130, 0.1);
}

.nav-lang-dropdown li a::after {
  display: none;
}

/* ハンバーガーボタン（モバイル） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--earth-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* モバイルナビ オーバーレイ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 47, 37, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* モバイルナビ ドロワー */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: rgba(44, 31, 15, 0.98);
  z-index: 999;
  padding: calc(var(--header-h) + 24px) 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  color: rgba(232, 213, 183, 0.8);
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: rgba(232, 213, 183, 1);
}

.mobile-nav-reserve {
  display: block;
  text-align: center;
  margin-top: 24px;
  background: none;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 16px 24px !important;
  border-radius: 0;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  border-bottom: none !important;
  transition: all 0.3s;
}

.mobile-nav-reserve:hover {
  background: var(--accent);
  color: var(--deep) !important;
}

.mobile-nav-mensday {
  display: block;
  text-align: center;
  margin-top: 10px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 16px 24px !important;
  border-radius: 0;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  border-bottom: none !important;
  transition: all 0.3s;
}

.mobile-nav-mensday:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

/* モバイル言語グループ */
.mobile-nav-lang-group {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 168, 130, 0.15);
}

.mobile-nav-lang-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(196, 168, 130, 0.4);
  margin-bottom: 4px;
}

.mobile-nav-lang {
  font-size: 13px !important;
  color: rgba(196, 168, 130, 0.6) !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(196, 168, 130, 0.1) !important;
}

.mobile-nav-lang:last-child {
  border-bottom: none !important;
}

.mobile-nav-lang:hover {
  color: rgba(232, 213, 183, 1) !important;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.5);
  padding: 56px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* ブランド情報 */
.footer-brand-logo {
  display: block;
  height: 100px;
  width: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  font-size: 11px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.45);
}

/* フッターナビ */
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 40px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* SNS・外部リンク */
.footer-sns {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-sns-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 10px;
  margin-bottom: 2px;
}

.footer-sns-label:first-child {
  margin-top: 0;
}

.footer-sns a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  padding: 5px 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.footer-sns a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ネットショップ（footer-brand 下に配置） */
.footer-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  padding: 9px 0;
  width: 140px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  transition: background 0.2s, color 0.2s !important;
}

.footer-shop-btn:hover {
  background: var(--accent);
  color: var(--deep) !important;
}

.footer-mensday-btn {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-mensday-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff !important;
}

/* コピーライト */
.footer-copy {
  max-width: var(--inner-max);
  margin: 0 auto;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================
   FIXED CTA BAR（モバイル）
============================================ */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 997;
  display: none; /* JSで表示制御 */
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
}

.fixed-cta-tel,
.fixed-cta-reserve {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.fixed-cta-tel {
  background: var(--white);
  color: var(--earth);
  border-top: 1px solid var(--border);
}

.fixed-cta-reserve {
  background: var(--earth);
  color: var(--white);
}

.fixed-cta-tel:hover,
.fixed-cta-reserve:hover {
  opacity: 0.88;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .global-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .fixed-cta {
    display: flex;
  }

  /* フッターレイアウト */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-sns {
    text-align: center;
    align-items: center;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
