/* ================================================================
   STYLE.CSS — shared across every page
   To change the look of the whole site, edit the variables below.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ----------------------------------------------------------------
   DESIGN TOKENS
   Edit these to change the whole site's color palette & fonts.
---------------------------------------------------------------- */
:root {
  --bg:          #F6F1E9;   /* warm parchment background */
  --bg-card:     #FDFAF5;   /* slightly lighter card surfaces */
  --ink:         #1A1714;   /* primary text (near-black) */
  --ink2:        #4B453D;   /* secondary text */
  --ink3:        #9A9188;   /* muted labels & dates */
  --accent:      #A0522D;   /* sienna — links, hover underlines */
  --border:      rgba(26,23,20,0.09);
  --border-md:   rgba(26,23,20,0.16);
  --tag-bg:      #EDE8DF;
  --tag-ink:     #5A5248;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --col-width:   580px;     /* max content width — increase to widen layout */
}

/* ----------------------------------------------------------------
   RESET & BASE
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

/* ----------------------------------------------------------------
   PAGE WRAPPER — centered column
---------------------------------------------------------------- */
.page {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----------------------------------------------------------------
   NAV — sticky top bar, same on every page
---------------------------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 52px;
}
/* Site name / home link */
.nav-home {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink) !important;
  text-decoration: none !important;
  margin-right: auto;
  letter-spacing: -0.2px;
}
/* Regular nav links */
.nav-inner a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-inner a:hover,
.nav-inner a.active { color: var(--ink); }
.nav-inner a.active { font-weight: 500; }

/* ----------------------------------------------------------------
   PAGE HEADER — appears at top of each section page
---------------------------------------------------------------- */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink3);
  font-weight: 300;
}

/* ----------------------------------------------------------------
   SECTION LABEL — small uppercase label above blocks
---------------------------------------------------------------- */
.label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   DIVIDER between content blocks
---------------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ----------------------------------------------------------------
   TAGS — small pill labels
---------------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag {
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 400;
}

/* ----------------------------------------------------------------
   LIST ROW — generic bordered list item used across pages
---------------------------------------------------------------- */
.row-list { list-style: none; }
.row-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.row-item:last-child { border-bottom: none; }
.row-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  flex: 1;
}
.row-sub {
  font-size: 13px;
  color: var(--ink3);
  font-weight: 300;
  font-style: italic;
}
.row-right {
  font-size: 13px;
  color: var(--ink3);
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   PHOTO GRID — 3-col masonry-style, used on restaurant & travel pages
---------------------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--tag-bg);
  aspect-ratio: 1 / 1;
}
.photo-item.wide  { grid-column: span 2; aspect-ratio: 2 / 1; }
.photo-item.tall  { grid-row: span 2;   aspect-ratio: 1 / 2; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-item:hover img { transform: scale(1.03); }
/* Caption overlay on hover */
.photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 10px 10px;
  background: linear-gradient(transparent, rgba(15,12,8,0.62));
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.22s;
}
.photo-cap small {
  display: block;
  font-size: 10.5px;
  opacity: 0.72;
  margin-top: 1px;
}
.photo-item:hover .photo-cap { opacity: 1; }
/* Empty placeholder when no image is set */
.photo-empty {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink3);
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
footer {
  padding: 2.5rem 0 3.5rem;
  margin-top: 1rem;
}
footer p {
  font-size: 12px;
  color: var(--ink3);
  font-weight: 300;
}

/* ----------------------------------------------------------------
   PAGE FADE-IN ANIMATION
---------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page { animation: fadeUp 0.4s ease both; }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 600px) {
  .nav-inner { gap: 1.1rem; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-item.wide { grid-column: span 2; }
  .photo-item.tall { grid-row: auto; aspect-ratio: 1 / 1; }
}
