/* ==========================================================================
   Ocean Terrace Kamakura — minimal multilingual site
   ========================================================================== */

:root {
  --navy: #1c4966;
  --teal: #2fa7a0;
  --orange: #f2932e;
  --sand: #f7f3ea;
  --white: #ffffff;
  --text: #2b3a42;
  --font-heading: "Playfair Display", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --font-body: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

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

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

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

/* ---------- Site logo (top-left) ---------- */

.site-logo {
  position: fixed;
  top: 18px;
  left: 22px;
  z-index: 50;
  display: block;
}

.site-logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
}

body.sub .site-logo img {
  filter: none;
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 50;
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: 999px;
}

body.sub .lang-switcher {
  background: rgba(28, 73, 102, 0.06);
}

.lang-switcher a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: transparent;
  border: none;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

body.sub .lang-switcher a {
  color: var(--navy);
}

.lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.25);
}

body.sub .lang-switcher a:hover {
  background: rgba(28, 73, 102, 0.1);
}

.lang-switcher a.active {
  background: var(--white);
  color: var(--navy);
}

body.sub .lang-switcher a.active {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Home / hero ---------- */

body.home {
  height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image:
    linear-gradient(180deg, rgba(15, 35, 48, 0.28) 0%, rgba(15, 35, 48, 0.12) 32%, rgba(15, 35, 48, 0.55) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  max-width: 780px;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 26px);
  margin: 0 0 22px;
}

.hero-logo {
  flex: none;
  height: clamp(48px, 10vw, 132px);
  width: auto;
  filter: drop-shadow(0 5px 18px rgba(0, 0, 0, 0.32));
}

.hero-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin: 0;
  white-space: nowrap;
  font-size: clamp(1.05rem, 5.4vw, 3.4rem);
}

.hero-handle {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin: 2px 0 16px;
}

.tagline {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  margin: 0 0 40px;
}

.main-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.main-links a:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.main-links svg {
  flex: none;
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.airbnb-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(242, 147, 46, 0.4);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.airbnb-cta svg {
  flex: none;
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.airbnb-cta:hover {
  background: #e0801f;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 147, 46, 0.5);
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---------- Sub pages ---------- */

body.sub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sand);
}

.sub-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  min-height: 100vh;
}

.sub-main-inner {
  max-width: 520px;
}

.sub-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin: 0 0 20px;
}

.sub-rule {
  width: 48px;
  height: 2px;
  background: var(--orange);
  margin: 0 auto 28px;
}

.coming-soon {
  color: var(--text);
  opacity: 0.75;
  font-size: 1rem;
  margin: 0 0 44px;
}

.back-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.6;
}

/* ---------- Content pages (e.g. Foods grid) ---------- */

.page-wrap {
  width: 100%;
  padding: 130px 24px 90px;
}

.page-title-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.page-title-block .sub-title {
  margin-bottom: 20px;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto;
}

.food-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(28, 73, 102, 0.1);
  display: flex;
  flex-direction: column;
}

.food-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

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

.food-body {
  padding: 18px 20px 22px;
}

.food-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.food-recommend {
  font-size: 0.86rem;
  color: var(--text);
  opacity: 0.8;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .page-wrap {
    padding: 110px 18px 70px;
  }

  .food-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    top: 12px;
    left: 14px;
  }

  .site-logo img {
    height: 44px;
  }

  .lang-switcher {
    top: 14px;
    right: 14px;
  }

  .lang-switcher a {
    padding: 6px 9px;
    font-size: 0.66rem;
  }

  .hero-brand {
    gap: 10px;
  }

  .main-links a {
    padding: 11px 20px;
    font-size: 0.88rem;
  }

  .main-links svg {
    width: 16px;
    height: 16px;
  }
}
