/* Creative Gold — main stylesheet */

:root {
  --gold: #c9a227;
  --gold-dark: #a8861c;
  --gold-band: #d4a017;
  --ink: #1a1a1a;
  --ink-soft: #444;
  --paper: #ffffff;
  --paper-alt: #f7f5f0;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a { color: var(--gold-dark); }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img { width: 220px; height: 45px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a,
.site-nav button.submenu-toggle {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-nav a:hover,
.site-nav button.submenu-toggle:hover,
.site-nav a:focus-visible,
.site-nav button.submenu-toggle:focus-visible {
  color: var(--gold-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
}

.has-submenu { position: relative; }

.submenu-toggle::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.8em;
}

.site-nav ul.submenu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid #e2ddd0;
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  padding: 0.3rem 0;
}
.site-nav .has-submenu.open ul.submenu { display: flex; }
.submenu li { width: 100%; }
.submenu a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.submenu a:hover { background: var(--paper-alt); }

.nav-social a { display: inline-flex; padding: 0.55rem; }
.nav-social svg { width: 22px; height: 22px; fill: var(--ink); }
.nav-social a:hover svg { fill: var(--gold-dark); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0; }
  .site-nav > ul > li { border-top: 1px solid #eee7d8; }
  .site-nav ul.submenu {
    position: static;
    border: 0;
    box-shadow: none;
    background: var(--paper-alt);
    min-width: 0;
  }
  .submenu a { padding-left: 2rem; }
  .brand img { width: 190px; height: 39px; }
}

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

.slideshow {
  position: relative;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

.slides {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111;
  border: 4px solid var(--gold);
  border-radius: 6px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
}
.slide-btn:hover { background: rgba(0, 0, 0, 0.7); }
.slide-btn.prev { left: 1.6rem; }
.slide-btn.next { right: 1.6rem; }
.slide-btn.slide-pause {
  top: auto;
  bottom: 0.8rem;
  right: 0.8rem;
  transform: none;
  font-size: 1rem;
  padding: 0.45rem 0.6rem;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.slide-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold-dark);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.slide-dots button[aria-current="true"] { background: var(--gold); }

/* ---------- Content ---------- */

main { min-height: 50vh; }

.intro,
.gallery-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.intro { max-width: 800px; text-align: center; }
.intro h1 { font-size: 2.1rem; margin: 1.2rem 0 0.4rem; }
.intro .tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 1.2rem;
  margin-top: 0;
}
.intro p { color: var(--ink-soft); font-size: 1.05rem; }

.gallery-links {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.gallery-links a {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.gallery-links a:hover { background: var(--gold); color: #fff; }

.gallery-page h1 { font-size: 2rem; margin: 0 0 0.3rem; }
.gallery-page .gallery-note { color: var(--ink-soft); margin: 0 0 1.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gallery-grid a {
  display: block;
  border: 1px solid #e2ddd0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.gallery-grid a:hover img,
.gallery-grid a:focus-visible img { transform: scale(1.04); }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 4px;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.5rem 0.85rem;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-count {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 0.9rem;
}

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

.site-footer {
  background: var(--gold-band);
  color: #1c1503;
  margin-top: 2rem;
}
.footer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}
.site-footer h2 {
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
  color: #1c1503;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: #1c1503; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-copy {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  opacity: 0.85;
}
