/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f5f0e8;
  --warm:    #e8dfc8;
  --brown:   #5c3d1e;
  --dark:    #1a1008;
  --gold:    #b8860b;
  --text:    #2e1f0a;
  --muted:   #6b5740;
  --radius:  6px;
  --max-w:   1100px;
  --nav-h:   70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark);
  height: var(--nav-h);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo .logo-img {
  height: 48px;
  width: auto;
  filter: invert(1) brightness(2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--cream);
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

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

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 4rem 1.5rem;
}

.hero-logo {
  width: min(260px, 55vw);
  filter: invert(1) brightness(2);
  animation: fadeUp .8s ease both;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--cream);
  letter-spacing: .04em;
  animation: fadeUp .8s .15s ease both;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: fadeUp .8s .25s ease both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .6rem;
  animation: fadeUp .8s .35s ease both;
}

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--gold);
  color: var(--dark);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.alt-bg  { background: var(--warm); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--brown);
  letter-spacing: .03em;
  margin-bottom: 1rem;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  margin-top: .4rem;
  height: 3px;
  width: 60%;
  background: var(--gold);
  border-radius: 2px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

/* ── About ──────────────────────────────────────────────────── */
.about-body {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.05rem;
}

/* ── Gallery ────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.alt-bg .card { background: var(--cream); }

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark);
  position: relative;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.card:hover .card-img-wrap img { transform: scale(1.04); }

.card-count {
  position: absolute;
  bottom: .5rem;
  right: .6rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .75rem;
  font-family: sans-serif;
  padding: .2rem .55rem;
  border-radius: 20px;
  letter-spacing: .04em;
  pointer-events: none;
}

.card-body {
  padding: 1.1rem 1.2rem 1.3rem;
}
.card-body h3 {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: .4rem;
}
.card-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 2, .88);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* image row */
.lb-image-wrap {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

#lb-img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  transition: opacity .18s;
}
#lb-img.fading { opacity: 0; }

/* arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lb-arrow:hover { background: rgba(0,0,0,.75); }
.lb-arrow:disabled { opacity: .25; cursor: default; }
.lb-prev { left: .7rem; }
.lb-next { right: .7rem; }

/* close */
.lightbox-close {
  position: absolute;
  top: .6rem;
  right: .7rem;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(0,0,0,.8); }

/* footer: info + dots */
.lb-footer {
  padding: 1rem 1.3rem 1.1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.lb-info h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.lb-info p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  max-width: 560px;
}

.lb-dots {
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-shrink: 0;
  padding-top: .3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 140px;
}
.lb-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.lb-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 480px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.contact-icon svg { width: 1rem; height: 1rem; }

.contact-item a { color: var(--brown); transition: color .2s; }
.contact-item a:hover { color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 0;
  font-size: .85rem;
  letter-spacing: .04em;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .75rem 1.5rem; }
  .nav-toggle { display: block; }

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

  .lb-footer { flex-direction: column; }
  .lb-dots { max-width: 100%; justify-content: flex-start; }
}
