:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --text: #2f2a26;
  --muted: #6f665f;
  --accent: #8a6f52;
  --accent-dark: #6f573f;
  --border: #e7e0d8;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Box sizing */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Containers */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(750px, 92%);
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.soft-bg {
  background: #f1ece6;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: bold;
  color: var(--text);
}

.brand-with-logo {
  display: flex;
  align-items: center;      /* vertically center logo + text */
  gap: 0.8rem;
  transition: transform 0.2s ease; /* smooth hover effect */
}

.brand-with-logo:hover {
  transform: scale(1.05);  /* subtle zoom on hover for entire brand */
}

.brand-logo {
  height: 64px;             /* adjust logo size */
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.15);   /* logo slightly grows on hover */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.brand-with-logo span {
  display: inline-block;
  line-height: 1;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.about-logo-large {
  display: block;
  margin: 1.5rem auto 2rem;
  max-width: 220px;
  width: 100%;
  height: auto;
}


.gallery-section-divider {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.gallery-section-divider h2 {
  margin-bottom: 0.5rem;
}

/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.98rem;
  color: var(--muted);
}

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

/* Hero section */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  background: #ddd;
}

.slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(30, 20, 12, 0.25);
  color: white;
  text-align: center;
  padding: 1rem;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Headings */
h1, h2 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.large-gallery {
  margin-top: 2.5rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Contact / Commission */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-link {
  margin-top: 1rem;
}

.about-list {
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 2.4rem;
  color: white;
  cursor: pointer;
  line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: 60vh;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }

  .contact-card {
    padding: 1.4rem;
  }
}