/* ============================================================
   Neighborgood Coffee — Landing Page Styles
   Colors derived from logo: teal #3DAFBD + cream #FAF6EE
   Fonts: Caveat (name) / Klee One (JP heads) /
          Cormorant Garamond (EN heads) / Noto Sans JP (body)
   ============================================================ */

/* 1. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

/* 2. Custom Properties
   ============================================================ */
:root {
  --cream:       #FAF6EE;
  --surface:     #F0EBE1;
  --linen:       #E8E0D5;
  --teal:        #7DA7CC;   /* door blue — change to #42A1B7 for logo teal */
  --teal-dark:   #5E8DB0;
  --teal-light:  #EBF4FB;
  --navy:        #1A2F45;
  --text:        #1A1A1A;
  --muted:       #6B6560;
  --border:      rgba(0, 0, 0, 0.08);

  --font-logo: 'Caveat', cursive;
  --font-jp:   'Klee One', cursive;
  --font-en:   'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --max-width: 1200px;
  --section-pad: 96px 80px;
  --radius: 0px;
  --nav-height: 72px;
}

/* 3. Typography helpers
   ============================================================ */
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.title-jp {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.7;
}

.title-en {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--teal);
}

/* 4. Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 5. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

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

.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* 6. Hero
   ============================================================ */
.hero {
  margin-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-logo);
  font-size: 64px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-tagline {
  font-family: var(--font-jp);
  font-size: 24px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 24px;
}

.hero-body {
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 48px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

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

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(29, 47, 69, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* 7. Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* 8. Section wrapper
   ============================================================ */
.section {
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.section-header .label {
  margin-bottom: 10px;
}

.section-header .title-jp {
  font-size: 34px;
  margin-bottom: 6px;
}

.section-header .title-en {
  font-size: 20px;
}

/* 9. Concept
   ============================================================ */
.concept {
  background: var(--surface);
}

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad);
}

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

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

.concept-image:hover img {
  transform: scale(1.03);
}

.concept-text .section-header {
  margin-bottom: 28px;
}

.concept-body {
  font-size: 14px;
  line-height: 2.3;
  color: var(--muted);
}

.concept-detail {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 32px;
}

.concept-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.concept-detail-item .detail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.concept-detail-item .detail-value {
  font-size: 13px;
  color: var(--navy);
  font-weight: 400;
}

/* 10. Interior / Space
   ============================================================ */
.interior {
  background: var(--cream);
}

.interior .section-full {
  max-width: var(--max-width);
  margin: 0 auto;
}

.interior-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 260px;
  gap: 6px;
  margin-top: 0;
}

.interior-bento > :nth-child(1) { grid-column: 1 / 3; }
.interior-bento > :nth-child(2) { grid-column: 3; }
.interior-bento > :nth-child(3) { grid-column: 1; }
.interior-bento > :nth-child(4) { grid-column: 2 / 4; }

.interior-cell {
  overflow: hidden;
}

.interior-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.interior-cell:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .interior-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 200px);
  }
  .interior-bento > :nth-child(1) { grid-column: 1 / 3; }
  .interior-bento > :nth-child(2) { grid-column: 1; }
  .interior-bento > :nth-child(3) { grid-column: 2; }
  .interior-bento > :nth-child(4) { grid-column: 1 / 3; }
}

/* 11b. News / Announcements
   ============================================================ */
.news-section {
  background: var(--linen);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

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

.news-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.news-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  min-width: 80px;
}

.news-content {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.news-badge {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--teal);
  border: 1px solid rgba(66, 161, 183, 0.4);
  padding: 2px 10px;
  white-space: nowrap;
}

.news-title {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.news-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  width: 100%;
  margin-top: 4px;
}

/* 12. Menu
   ============================================================ */
section#menu {
  background: var(--surface);
}

.menu-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.menu-tab {
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 8px 24px;
  border: 1px solid var(--teal);
  background: none;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.menu-tab.active,
.menu-tab:hover {
  background: var(--teal);
  color: #fff;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.menu-card {
  background: #fff;
  padding: 0;
  border-top: 3px solid var(--teal);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.menu-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.menu-card:hover .menu-card-photo img {
  transform: scale(1.06);
}

.menu-card-body {
  padding: 24px 22px 26px;
}

.menu-card-name {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.menu-card-name-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

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

.menu-card-price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--teal);
  letter-spacing: 0.04em;
}

/* 11. Access & Hours
   ============================================================ */
.access {
  background: var(--navy);
  color: #fff;
}

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.access-map {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
  filter: grayscale(20%);
}

.map-open-link {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  white-space: nowrap;
  transition: background 0.2s;
  text-decoration: none;
  z-index: 10;
}

.map-open-link:hover {
  background: var(--teal);
}

.access-info {
  padding: 72px 64px;
}

.access-info .label {
  color: var(--teal);
  margin-bottom: 10px;
}

.access-info .title-jp {
  font-size: 30px;
  color: #fff;
  margin-bottom: 6px;
}

.access-info .title-en {
  margin-bottom: 40px;
}

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

.hours-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.hours-table td:first-child {
  color: rgba(255,255,255,0.6);
  padding-right: 24px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
}

.hours-table td:last-child {
  color: #fff;
  font-weight: 300;
}

.hours-table .closed td:last-child {
  color: rgba(255,255,255,0.4);
}

.access-address {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.access-address strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.access-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.access-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal);
  border: 1px solid rgba(61, 175, 189, 0.4);
  padding: 4px 12px;
  font-weight: 400;
}

/* 12. Gallery / Instagram
   ============================================================ */
.gallery-section {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 48px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-cta {
  text-align: center;
}

.gallery-handle {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}

/* 13. Contact
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-header {
  margin-bottom: 20px;
}

.contact-text p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.form-honeypot {
  display: none;
}

/* 14. Footer
   ============================================================ */
footer {
  background: var(--navy);
  padding: 48px 80px 36px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 36px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}


.footer-name {
  font-family: var(--font-logo);
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  max-width: 260px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2.2;
  text-align: right;
}

.footer-address strong {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.footer-instagram:hover {
  opacity: 0.8;
}

.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.footer-credit {
  margin-left: 16px;
  opacity: 0.6;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover {
  opacity: 1;
  color: rgba(255,255,255,0.7);
}

/* 15. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px 48px;
  }

  .hero-name { font-size: 52px; }

  .concept-inner,
  .access-inner {
    grid-template-columns: 1fr;
  }

  .access-map { min-height: 300px; }
  .access-map iframe { min-height: 300px; }

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

  .footer-inner { grid-template-columns: 1fr; }
  .footer-address { text-align: left; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px 24px;
    --nav-height: 64px;
  }

  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--cream);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-menu-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 48px 24px;
    order: 2;
  }

  .hero-image {
    order: 1;
    height: 55vw;
    min-height: 240px;
  }

  .hero-name { font-size: 42px; }

  .section-header .title-jp { font-size: 26px; }

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

  .access-info { padding: 48px 24px; }

  .form-row { grid-template-columns: 1fr; }

  footer { padding: 48px 24px 28px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 34px; }
  .hero-tagline { font-size: 19px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
