/* ============================================
   HINATA CAFE - Style Sheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-brown: #5C4033;
  --color-brown-dark: #3E2A1E;
  --color-brown-light: #7A5C4F;
  --color-terracotta: #C17A56;
  --color-terracotta-light: #D4976E;
  --color-cream: #FAF7F2;
  --color-cream-dark: #F0EBE3;
  --color-white: #FFFFFF;
  --color-text: #3E2A1E;
  --color-text-light: #7A6B60;
  --color-border: #E5DDD5;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-heading: 'Noto Serif JP', serif;
  --font-accent: 'Playfair Display', serif;
  --max-width: 1100px;
  --header-height: 72px;
  --radius-button: 6px;
  --radius-badge: 3px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--color-cream);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-en {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-brown);
  letter-spacing: 0.05em;
}

.header__logo-jp {
  font-size: 0.625rem;
  color: var(--color-text-light);
  letter-spacing: 0.2em;
}

/* Desktop nav */
.header__nav {
  display: none;
}

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

.header__nav-link {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-terracotta);
  transition: width 0.2s;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-brown);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger__line {
  width: 100%;
  height: 1.5px;
  background: var(--color-brown);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-brown);
  letter-spacing: 0.1em;
}

.mobile-menu__link-en {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--color-text-light);
  display: block;
  text-align: center;
  margin-top: 2px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero__image-placeholder {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 640px;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__image-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--color-brown-light);
  opacity: 0.3;
}

.hero__image-label {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  opacity: 0.5;
}

.hero__image-wrapper {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 640px;
  position: relative;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero__catch {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-brown);
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.hero__sub {
  margin-top: 16px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
}

/* ============================================
   CONCEPT
   ============================================ */
.concept {
  padding: 80px 0;
}

.concept__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.concept__text {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text-light);
}

.concept__line {
  width: 40px;
  height: 1px;
  background: var(--color-terracotta);
  margin: 32px auto 0;
}

/* ============================================
   MENU HIGHLIGHT (top page)
   ============================================ */
.menu-highlight {
  padding: 80px 0;
  background: var(--color-brown);
}

.menu-highlight__header {
  text-align: center;
  margin-bottom: 48px;
}

.menu-highlight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.menu-card {
  background: var(--color-brown-dark);
  overflow: hidden;
}

.menu-card__image {
  width: 100%;
  height: 200px;
  background: var(--color-brown-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card__image svg {
  width: 40px;
  height: 40px;
  fill: var(--color-cream);
  opacity: 0.25;
}

.menu-card__image-label {
  font-size: 0.6875rem;
  color: var(--color-cream);
  opacity: 0.3;
  margin-top: 8px;
}

.menu-card__body {
  padding: 20px 24px;
}

.menu-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-cream);
  margin-bottom: 4px;
}

.menu-card__name-en {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--color-terracotta-light);
  letter-spacing: 0.1em;
}

.menu-card__price {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--color-cream-dark);
}

.menu-highlight__more {
  text-align: center;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-button);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn--outline-cream:hover {
  background: var(--color-cream);
  color: var(--color-brown);
}

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

.btn--outline-brown:hover {
  background: var(--color-brown);
  color: var(--color-cream);
}

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

.btn--terracotta:hover {
  background: var(--color-terracotta-light);
}

/* ============================================
   GALLERY (top page)
   ============================================ */
.gallery {
  padding: 80px 0;
}

.gallery__header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.gallery__item {
  aspect-ratio: 1;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.gallery__item svg {
  width: 32px;
  height: 32px;
  fill: var(--color-brown-light);
  opacity: 0.2;
}

.gallery__item-label {
  font-size: 0.625rem;
  color: var(--color-text-light);
  opacity: 0.4;
  margin-top: 6px;
}

/* ============================================
   ACCESS BRIEF (top page)
   ============================================ */
.access-brief {
  padding: 64px 0;
  background: var(--color-cream-dark);
}

.access-brief__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.access-brief__info {
  font-size: 0.875rem;
  line-height: 2;
}

.access-brief__info dt {
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.access-brief__info dd {
  margin-bottom: 16px;
}

.access-brief__map-placeholder {
  width: 100%;
  height: 240px;
  background: var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.access-brief__map-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--color-brown-light);
  opacity: 0.25;
}

.access-brief__map-label {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  opacity: 0.4;
  margin-top: 8px;
}

/* ============================================
   INSTAGRAM (top page)
   ============================================ */
.instagram {
  padding: 80px 0;
}

.instagram__header {
  text-align: center;
  margin-bottom: 48px;
}

.instagram__account {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 8px;
  display: block;
}

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

.instagram__item {
  aspect-ratio: 1;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.instagram__item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-brown-light);
  opacity: 0.2;
}

.instagram__item-label {
  font-size: 0.5625rem;
  color: var(--color-text-light);
  opacity: 0.3;
  margin-top: 4px;
}

.instagram__more {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-brown-dark);
  color: var(--color-cream-dark);
  padding: 48px 0 24px;
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  color: var(--color-cream);
  letter-spacing: 0.1em;
}

.footer__logo-jp {
  font-family: var(--font-body);
  font-size: 0.625rem;
  color: var(--color-text-light);
  letter-spacing: 0.2em;
  display: block;
  margin-top: 4px;
}

.footer__info {
  margin-top: 24px;
  font-size: 0.75rem;
  line-height: 2;
  color: var(--color-brown-light);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.footer__link {
  font-size: 0.75rem;
  color: var(--color-cream-dark);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link:hover {
  color: var(--color-terracotta-light);
}

.footer__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-brown-light);
}

.footer__nav-link {
  font-size: 0.6875rem;
  color: var(--color-brown-light);
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: var(--color-cream);
}

.footer__copyright {
  margin-top: 32px;
  font-size: 0.625rem;
  color: var(--color-brown-light);
  letter-spacing: 0.05em;
}

/* ============================================
   PAGE HEADER (sub pages)
   ============================================ */
.page-header {
  margin-top: var(--header-height);
  padding: 48px 0;
  background: var(--color-brown);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--color-cream);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.page-header__title-en {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--color-terracotta-light);
  letter-spacing: 0.15em;
  display: block;
  margin-top: 8px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.6875rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-terracotta);
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============================================
   MENU PAGE
   ============================================ */
.menu-page {
  padding: 64px 0;
}

.menu-section {
  margin-bottom: 56px;
}

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

.menu-section__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.menu-section__title-en {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--color-terracotta);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 24px;
}

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

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

.menu-item:first-child {
  border-top: 1px solid var(--color-border);
}

.menu-item__name {
  font-size: 0.9375rem;
}

.menu-item__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.menu-item__price {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  color: var(--color-terracotta);
  white-space: nowrap;
  margin-left: 16px;
}

.menu-note {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  padding: 16px 20px;
  background: var(--color-cream-dark);
  border-left: 3px solid var(--color-terracotta);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
  padding: 64px 0;
}

.about-section {
  margin-bottom: 64px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-message {
  max-width: 640px;
  margin: 0 auto;
}

.about-message__image {
  width: 100%;
  height: 280px;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  overflow: hidden;
}

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

.about-message__image svg {
  width: 48px;
  height: 48px;
  fill: var(--color-brown-light);
  opacity: 0.25;
}

.about-message__image-label {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  opacity: 0.4;
  margin-top: 8px;
}

.about-message__text {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text-light);
}

.about-features {
  background: var(--color-brown);
  padding: 64px 0;
  margin: 0 -24px;
}

.about-features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.about-features__header {
  text-align: center;
  margin-bottom: 48px;
}

.about-features__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.about-feature__number {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--color-terracotta);
  line-height: 1;
  flex-shrink: 0;
}

.about-feature__content {}

.about-feature__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.about-feature__text {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--color-brown-light);
}

/* ============================================
   ACCESS PAGE
   ============================================ */
.access-page {
  padding: 64px 0;
}

.access-map {
  width: 100%;
  height: 300px;
  background: var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.access-map svg {
  width: 48px;
  height: 48px;
  fill: var(--color-brown-light);
  opacity: 0.25;
}

.access-map__label {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  opacity: 0.4;
  margin-top: 8px;
}

.access-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.access-table th,
.access-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  text-align: left;
  vertical-align: top;
}

.access-table th {
  width: 120px;
  color: var(--color-text-light);
  font-weight: 400;
  font-size: 0.8125rem;
}

.access-directions {
  margin-top: 48px;
}

.access-directions__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.access-directions__steps {
  counter-reset: step;
}

.access-directions__step {
  position: relative;
  padding-left: 40px;
  padding-bottom: 24px;
  border-left: 1px solid var(--color-border);
  margin-left: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.access-directions__step:last-child {
  border-left: none;
  padding-bottom: 0;
}

.access-directions__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -12px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.access-btn-area {
  margin-top: 40px;
  text-align: center;
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-page {
  padding: 64px 0;
}

.news-list {
  max-width: 700px;
  margin: 0 auto;
}

.news-item {
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

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

.news-item__date {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--color-terracotta);
  letter-spacing: 0.05em;
}

.news-item__badge {
  display: inline-block;
  font-size: 0.625rem;
  padding: 2px 8px;
  border-radius: var(--radius-badge);
  background: var(--color-cream-dark);
  color: var(--color-text-light);
  margin-left: 8px;
  vertical-align: middle;
}

.news-item__title {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.6;
}

.news-item__excerpt {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 8px;
  line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet and up */
@media (min-width: 640px) {
  .menu-highlight__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .access-brief__inner {
    flex-direction: row;
    gap: 48px;
  }

  .access-brief__info {
    flex: 1;
  }

  .access-brief__map-placeholder {
    flex: 1;
    height: auto;
    min-height: 280px;
  }

  .instagram__grid {
    grid-template-columns: repeat(6, 1fr);
  }

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

  .about-feature {
    flex-direction: column;
    text-align: center;
  }

  .about-feature__number {
    align-self: center;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .header__nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .hero__catch {
    font-size: 2rem;
  }

  .hero__image-placeholder {
    height: 80vh;
    max-height: 720px;
  }

  .hero__image-wrapper {
    height: 80vh;
    max-height: 720px;
  }

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

  .page-header__title {
    font-size: 1.5rem;
  }

  .about-features {
    margin: 0 calc(-50vw + var(--max-width) / 2);
    padding: 80px calc(50vw - var(--max-width) / 2);
  }

  .access-map {
    height: 400px;
  }

  .access-table th {
    width: 160px;
  }
}
