@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #f8f5f0;
  --bg-alt: #ffffff;
  --text: #2b2620;
  --text-soft: #6b6258;
  --accent: #a9743a;
  --accent-dark: #7d5527;
  --border: #e6ddd0;
  --sidenav-w: 260px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, .brand {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}

.header-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.nav-toggle {
  display: none;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 20px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-dark);
}

.layout {
  display: flex;
  min-height: calc(100vh - 60px);
}

.sidenav {
  width: var(--sidenav-w);
  flex: 0 0 var(--sidenav-w);
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 22px 0 40px;
  overflow-y: auto;
  max-height: calc(100vh - 60px);
  position: sticky;
  top: 60px;
  align-self: flex-start;
}

.sidenav .nav-home {
  display: block;
  padding: 8px 22px 16px;
  font-weight: 600;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidenav li a {
  display: block;
  padding: 7px 22px;
  font-size: 14px;
  color: var(--text-soft);
  border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.sidenav li a:hover {
  background: var(--bg);
  color: var(--accent-dark);
}

.sidenav li a.active {
  color: var(--accent-dark);
  font-weight: 600;
  border-left-color: var(--accent);
  background: var(--bg);
}

.content {
  flex: 1;
  min-width: 0;
  padding: 40px 44px 80px;
}

.hero {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  gap: 32px;
  text-align: left;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-img {
  flex: 0 0 auto;
  width: auto;
  max-width: 40%;
  max-height: 24vh;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0,0,0,.14);
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 6px auto 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--accent-dark);
  font-size: 18px;
  background: var(--bg-alt);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  animation: scroll-cue-bounce 1.8s ease-in-out infinite;
}

.scroll-cue:hover {
  background: var(--bg);
}

@keyframes scroll-cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero h1 {
  font-size: clamp(22px, 3.4vw, 34px);
  margin: 0 0 10px;
  color: var(--accent-dark);
}

.intro,
.hero-text {
  max-width: 640px;
  margin: 0;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-soft);
}

.intro p,
.hero-text p { margin: 4px 0; }

.intro a { color: var(--accent-dark); font-weight: 600; }

.page-title {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 26px;
  color: var(--accent-dark);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-alt);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

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

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, .92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox button:hover { background: rgba(255,255,255,.25); }

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .layout { position: relative; }
  .sidenav {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
    z-index: 30;
    max-height: none;
  }
  .sidenav.open { transform: translateX(0); }
  .content { padding: 28px 20px 60px; }
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    text-align: center;
  }
  .hero-img {
    max-width: 70%;
  }
}


.page-caption {
  max-width: 640px;
  margin: -14px auto 30px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1300px;
  margin: 14px auto 0;
}

.cat-card {
  display: block;
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.cat-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.cat-card:hover .cat-card-img img {
  transform: scale(1.05);
}

.cat-card-body {
  padding: 16px 18px 20px;
}

.cat-card-body h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--accent-dark);
}

.cat-card-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
