/* ============================================
   BAYCOOK - Proposal B (Modern Photo-Forward)
   Colors: White x Gold Beige(#B8A080) x Black(#1a1a1a)
   ============================================ */

:root {
  --b-gold: #B8A080;
  --b-black: #1a1a1a;
  --b-gray-bg: #F7F4EF;
  --b-border: #F0EBE3;
  --b-border2: #E0DBD3;
  --b-text: #666666;
  --b-text-light: #888888;
  --b-text-lighter: #999999;
}

/* ---- Header ---- */
.header-b {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  border-bottom: 1px solid var(--b-border);
  transition: box-shadow 0.3s ease;
}

.header-b.scrolled {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.header-b.nav-open {
  z-index: 1010;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-b.nav-open .logo,
.header-b.nav-open .header-right {
  opacity: 0;
  pointer-events: none;
}

.header-b .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--b-black);
  display: flex;
  align-items: center;
}

.header-b .logo .custom-logo {
  max-height: 40px;
  width: auto;
}

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

.header-b nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--b-text-light);
  position: relative;
  transition: color 0.3s ease;
}

.header-b nav a.active {
  color: var(--b-black);
}

.header-b nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--b-black);
  transition: width 0.3s ease;
}

.header-b nav a:hover {
  opacity: 1;
  color: var(--b-black);
}

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

.header-b .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-b .tel {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--b-black);
}

.header-b .header-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--b-black);
  transition: opacity 0.3s ease;
}

.header-b .header-ig:hover {
  opacity: 0.5;
}

/* ---- Hero Mosaic ---- */
.hero-b {
  width: 100%;
  height: 680px;
  margin-top: 80px;
  display: flex;
  overflow: hidden;
  gap: 0;
}

.hero-b .hero-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-b .hero-col-left {
  width: 480px;
  flex-shrink: 0;
}

.hero-b .hero-col-right {
  width: 476px;
  flex-shrink: 0;
}

.hero-b .hero-col img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
}

.hero-b .hero-center {
  flex: 1;
  min-width: 0;
  position: relative;
  margin-left: 4px;
  margin-right: 4px;
}

.hero-b .hero-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-b .hero-center .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-b .hero-center .hero-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-b .hero-center .hero-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.73);
}

.hero-b .hero-center .hero-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #FFFFFF;
}

.hero-b .hero-center .hero-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.hero-b .hero-center .hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* ---- Floating Menu Button ---- */
@keyframes floatingBtnIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-menu-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  background: var(--b-black);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
  animation: floatingBtnIn 0.6s ease 0.8s both;
}

.floating-menu-btn:hover {
  opacity: 0.9;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.floating-menu-btn .btn-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--b-gold);
}

.floating-menu-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.floating-menu-btn:hover svg {
  transform: translateX(3px);
}

/* ---- Concept ---- */
.concept-b {
  background: #FFFFFF;
  padding: 80px 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.concept-b .heading-en {
  color: var(--b-gold);
  font-size: 12px;
  letter-spacing: 0.4em;
}

.concept-b .heading-ja {
  color: var(--b-black);
  font-size: 28px;
}

.concept-b .heading-line {
  width: 36px;
  background: var(--b-gold);
}

.concept-b .concept-desc {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 2.2;
  color: var(--b-text);
  max-width: 480px;
}

/* ---- Menu Section ---- */
.menu-b {
  background: var(--b-gray-bg);
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.menu-b .heading-en {
  color: var(--b-gold);
  font-size: 12px;
  letter-spacing: 0.4em;
}

.menu-b .heading-ja {
  color: var(--b-black);
  font-size: 28px;
}

.menu-b .heading-line {
  width: 36px;
  background: var(--b-gold);
}

.menu-b .heading-desc {
  color: var(--b-text-light);
  font-size: 13px;
}

.menu-b .menu-card-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.menu-b .menu-card {
  width: 280px;
  background: #FFFFFF;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.menu-b .menu-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.menu-b .menu-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.menu-b .menu-card-label {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.menu-b .menu-card-label .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--b-gold);
}

.menu-b .menu-card-label .ja {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--b-text);
}

.menu-b .menu-note {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: #AAAAAA;
}

.menu-b .btn-filled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  background: var(--b-black);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu-b .btn-filled:hover {
  opacity: 0.8;
}

.menu-b .btn-filled .arrow {
  font-family: 'Montserrat', sans-serif;
}

/* ---- Instagram CTA ---- */
.instagram-b {
  background: #FFFFFF;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 480px;
  text-align: center;
}

.ig-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--b-gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-cta-icon svg {
  color: var(--b-black);
}

.ig-cta-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--b-gold);
}

.ig-cta-handle {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--b-black);
}

.ig-cta-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 2;
  color: #666666;
}

.ig-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 36px;
  background: var(--b-black);
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  border: none;
  transition: opacity 0.3s ease;
}

.ig-cta-btn svg {
  width: 16px;
  height: 16px;
}

.ig-cta-btn:hover {
  opacity: 0.8;
  color: #FFFFFF;
}

/* ---- Shop Info ---- */
.shopinfo-b {
  background: var(--b-gray-bg);
  padding: 80px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.shopinfo-b .heading-en {
  color: var(--b-gold);
  font-size: 12px;
  letter-spacing: 0.4em;
}

.shopinfo-b .heading-ja {
  color: var(--b-black);
  font-size: 28px;
}

.shopinfo-b .heading-line {
  width: 36px;
  background: var(--b-gold);
}

.shopinfo-b .shop-content {
  display: flex;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  padding: 0 80px;
}

.shopinfo-b .shop-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.shopinfo-b .shop-row {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--b-border2);
}

.shopinfo-b .shop-row .label {
  width: 80px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--b-black);
}

.shopinfo-b .shop-row .value {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.9;
  color: #555555;
}

.shopinfo-b .shop-row .value.tel {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
}

.shopinfo-b .shop-row .value .reservation-tel {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  color: var(--b-black);
  font-weight: 400;
}

.shopinfo-b .shop-photo {
  flex: 1;
  min-width: 0;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

/* ---- Map ---- */
.map-b {
  width: 100%;
  height: 360px;
  background: #E8E2D8;
}

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

/* ---- Hamburger Menu ---- */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1010;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-lines {
  width: 22px;
  height: 14px;
  position: relative;
  display: block;
  margin: 0 auto;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--b-black);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-lines span:nth-child(1) {
  top: 0;
}

.hamburger-lines span:nth-child(2) {
  top: 7px;
}

.hamburger-lines span:nth-child(3) {
  top: 14px;
}

/* Open state */
.hamburger.open .hamburger-lines span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

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

.hamburger.open .hamburger-lines span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  overflow-y: auto;
  padding: 64px 20px 24px;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--b-black);
}

.mobile-nav-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.2em;
  color: var(--b-gold);
  margin-top: 4px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--b-black);
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-nav-overlay.open .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-overlay.open .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.open .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.open .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.open .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }

.mobile-nav-links a .nav-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--b-gold);
  margin-top: 2px;
}

.mobile-nav-divider {
  width: 36px;
  height: 1px;
  background: var(--b-border2);
}

.mobile-nav-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
}

.mobile-nav-overlay.open .mobile-nav-tel {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-tel .tel-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--b-text-light);
}

.mobile-nav-tel .tel-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--b-black);
}

.mobile-nav-ig {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease 0.35s, transform 0.3s ease 0.35s;
}

.mobile-nav-overlay.open .mobile-nav-ig {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-ig svg {
  width: 14px;
  height: 14px;
  color: var(--b-text-light);
}

.mobile-nav-ig span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--b-text-light);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .hero-b .hero-col-left,
  .hero-b .hero-col-right {
    width: 33%;
  }

  .hero-b .hero-center .hero-logo {
    font-size: 42px;
  }
}

@media (max-width: 1024px) {
  .concept-b {
    padding: 60px 40px;
  }

  .menu-b {
    padding: 60px 40px;
  }

  .menu-b .menu-card-grid {
    flex-wrap: wrap;
  }

  .menu-b .menu-card {
    width: calc(50% - 16px);
  }

  .shopinfo-b .shop-content {
    flex-direction: column;
    padding: 0 40px;
  }

  .shopinfo-b .shop-photo {
    height: 260px;
  }

  .instagram-b {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .header-b {
    padding: 0 20px;
    height: 64px;
  }

  .header-b nav {
    display: none;
  }

  .header-b .header-right {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero-b {
    height: auto;
    margin-top: 64px;
    flex-direction: column;
    gap: 3px;
  }

  .hero-b .hero-col-left,
  .hero-b .hero-col-right {
    width: 100%;
    flex-direction: row;
    gap: 3px;
  }

  .hero-b .hero-col-left {
    order: -1;
  }

  .hero-b .hero-col-left img,
  .hero-b .hero-col-right img {
    height: 160px;
    flex: 1;
    min-width: 0;
  }

  .hero-b .hero-center {
    margin: 0;
    width: 100%;
    height: 320px;
  }

  .hero-b .hero-center .hero-logo {
    font-size: 36px;
  }

  .concept-b {
    padding: 60px 24px;
  }

  .concept-b .heading-ja {
    font-size: 22px;
  }

  .menu-b {
    padding: 60px 24px;
    gap: 36px;
  }

  .menu-b .menu-card {
    width: 100%;
  }

  .menu-b .menu-card img {
    height: 260px;
  }

  .instagram-b {
    padding: 48px 20px;
  }

  .ig-cta-handle {
    font-size: 18px;
  }

  .ig-cta-desc {
    font-size: 13px;
  }

  .shopinfo-b .shop-content {
    padding: 0 24px;
  }

  @keyframes floatingBtnInMobile {
    0% {
      opacity: 0;
      transform: translateX(-50%) translateY(24px);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .floating-menu-btn {
    right: auto;
    left: 50%;
    bottom: 20px;
    padding: 12px 24px;
    animation: floatingBtnInMobile 0.6s ease 0.8s both;
  }
}
