/* Modern layout for the About page. Reuses color/font variables from style.css. */

html {
  scroll-behavior: smooth;
}

body.modern-page {
  display: block;
  min-height: 100vh;
  padding: 0;
  background: #f8f2e2;
}

.modern-page * {
  box-sizing: border-box;
}

/* ---------- Top contact bar ---------- */

.topbar-contact {
  background: var(--leather);
  color: var(--paper);
  text-align: center;
  padding: 0.45rem 1rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
}

.topbar-contact a {
  color: var(--paper);
  text-decoration: none;
}

.topbar-contact a:hover {
  text-decoration: underline;
}

/* ---------- Sticky nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(248, 242, 226, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(179, 89, 47, 0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.nav-brand .brand-logo {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  position: relative;
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.btn-menu::after,
.nav-links a.social-link::after {
  content: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}

.social-link:hover {
  color: var(--gold);
}

.btn-menu {
  font-family: 'Fraunces', serif !important;
  background: var(--gold);
  color: var(--paper) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem !important;
  transition: background 0.2s, transform 0.2s;
}

.btn-menu:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem 1.5rem;
    background: #f8f2e2;
    border-bottom: 1px solid rgba(179, 89, 47, 0.2);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(520px, 92vh, 860px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(38, 33, 20, 0.05) 0%, transparent 20%, transparent 80%, rgba(38, 33, 20, 0.2) 100%);
}

/* ---------- Hero image carousel ---------- */

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--leather);
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 800ms cubic-bezier(0.45, 0.05, 0.25, 1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides {
    transition: none;
  }
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  cursor: pointer;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKenBurns 10s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-slide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #a3b385, #5c6b45);
}

.hero-slide-icon {
  font-size: clamp(6rem, 18vw, 11rem);
  opacity: 0.75;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.hero-slide-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.02em;
  color: #fff;
  background: #d81f2a;
  padding: 0.5rem 1.4rem;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 16, 8, 0.35);
  color: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover {
  background: rgba(20, 16, 8, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev { left: 1.2rem; }
.hero-arrow-next { right: 1.2rem; }

.hero-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.active {
  background: var(--gold-light);
  transform: scale(1.3);
}

@media (max-width: 560px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

.btn-primary {
  display: inline-block;
  font-family: 'Fraunces', serif;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  text-decoration: none;
}

/* ---------- Bento mosaic (Visit / Menu / Gallery) ---------- */

.bento-section {
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

.bento-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 1.2rem;
}

.bento-tile {
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.bento-menu {
  grid-column: 1 / 5;
  grid-row: 1 / 2;
  background: #fff;
  border: 1px solid rgba(179, 89, 47, 0.2);
  box-shadow: 0 12px 26px rgba(60, 40, 20, 0.06);
  align-items: stretch;
}

.bento-visit {
  grid-column: 1 / 5;
  grid-row: 2 / 3;
  background: var(--gold);
  color: #fff;
}

.bento-visit .eyebrow { color: rgba(255, 255, 255, 0.85); }
.bento-visit h2 { color: #fff; font-size: 1.3rem; }
.bento-visit p { color: rgba(255, 255, 255, 0.9); }
.bento-visit .map-link { color: #fff; text-decoration: underline; }

.bento-gallery {
  grid-column: 1 / 5;
  grid-row: 3 / 4;
  background: #eee5cf;
  align-items: stretch;
}

.bento-gallery .modern-photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.bento-gallery .photo-tile figcaption {
  padding: 0.7rem 0.8rem 0.9rem;
}

@media (max-width: 860px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-visit,
  .bento-menu,
  .bento-gallery {
    grid-column: 1;
    grid-row: auto;
  }
}

.eyebrow {
  font-family: 'Fraunces', serif;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.bento-tile h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--ink);
  margin: 0 0 0.3rem;
}

.bento-tile p {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
}

/* ---------- Menu highlights ---------- */

.menu-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin: 0 0 2rem;
}

.menu-highlight-card {
  background: #fff;
  border: 1px solid rgba(179, 89, 47, 0.2);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 12px 26px rgba(60, 40, 20, 0.06);
}

.menu-highlight-card .eyebrow {
  font-size: 0.68rem;
  margin-bottom: 0.4rem;
}

.menu-highlight-card h3 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.menu-highlight-card p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.6rem;
}

.menu-highlight-card .price {
  font-family: 'Fraunces', serif;
  color: var(--gold);
  font-size: 1rem;
}

.map-link {
  margin-top: 0.4rem;
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--gold);
}

/* ---------- Gallery ---------- */

.modern-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.photo-tile {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(60,40,20,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.photo-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(60,40,20,0.14);
}

.photo-tile-img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(135deg, #a3b385, #5c6b45);
}

.photo-tile-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tile figcaption {
  padding: 1rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.photo-tile figcaption strong {
  font-family: 'Fraunces', serif;
  color: var(--ink);
}

.photo-tile figcaption span {
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem);
  background: var(--leather);
  color: var(--paper);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand .brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.site-footer strong {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 0.2rem 0 0;
  font-family: 'EB Garamond', serif;
  color: rgba(244, 236, 216, 0.75);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gold-light);
  font-family: 'Fraunces', serif;
}
