/* ============================================
   Joan Gold Art - Main Stylesheet
   Elegant, gallery-like, mobile-first
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-bg: #fafafa;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #8b6914;
  --color-accent-light: #c4a35a;
  --color-border: #e8e4de;
  --color-overlay: rgba(0, 0, 0, 0.7);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-site-title: 'Playfair Display', Georgia, serif;
  --font-nav: 'Inter', -apple-system, sans-serif;
  --color-link: #8b6914;
  --color-nav-bg: rgba(255, 255, 255, 0.97);
  --max-width: 1400px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-light);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 1.5rem auto 2rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-site-title);
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.nav-logo img { display: block; max-height: 40px; width: auto; }

.nav-logo span {
  color: var(--color-accent);
  font-weight: 700;
}

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

.nav-links a {
  color: var(--color-text);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--color-border);
  align-self: center;
  list-style: none;
}
.nav-divider span { display: none; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
  }

  /* In the mobile drawer, the vertical divider becomes a horizontal line */
  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
}

/* ---------- Hero / Gallery Slider ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Hero placeholder when no images */
.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-placeholder h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.hero-placeholder p {
  font-size: 1.2rem;
  opacity: 0.9;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- About ---------- */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-portrait {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-portrait-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f5f5f0, #e8e4de);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-style: italic;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--color-text);
}

.about-quote {
  margin-top: 2rem;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg);
  border-radius: 0 4px 4px 0;
}

.about-quote blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
}

.about-quote cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--color-accent);
  font-style: normal;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-portrait {
    max-width: 350px;
    margin: 0 auto;
  }
}

/* ---------- Gallery / Artwork ---------- */
.gallery {
  background: var(--color-bg);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-filter-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 30px;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

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

.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-item-info {
  padding: 1rem 1.2rem;
}

.gallery-item-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-item-info p {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.gallery-item .gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: white;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-light);
}

.gallery-empty svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  opacity: 0.4;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item-info {
    padding: 0.75rem;
  }

  .gallery-item-info h4 {
    font-size: 0.85rem;
  }
}

/* ---------- Collections ---------- */
.collections {
  background: var(--color-white);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.collection-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
  background: var(--color-bg);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.collection-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.collection-card-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.collection-card-info {
  padding: 1.5rem;
}

.collection-card-info h3 {
  margin-bottom: 0.25rem;
}

.collection-card-info .year,
.collection-card-info .count {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.collection-card-info p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- Career / Resume ---------- */
.career {
  background: var(--color-bg);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
}

@media (max-width: 480px) {
  .career-grid {
    grid-template-columns: 1fr;
  }
}

.career-block {
  margin-bottom: 0.5rem;
}

.career-block h3 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.career-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.35rem 0;
  line-height: 1.4;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.career-row:last-child {
  border-bottom: none;
}

.career-row .career-year {
  flex-shrink: 0;
  width: 3rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.career-row .career-main {
  flex: 1;
  color: var(--color-text);
}

.career-row .career-main em {
  color: var(--color-text-light);
  font-style: normal;
}

.career-row .career-detail {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ---------- News ---------- */
.news {
  background: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--color-bg);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-content .date {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.news-card-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.news-card-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact / Inquiry ---------- */
.contact {
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: #e8f5e9;
  border-radius: 6px;
  color: #2e7d32;
  text-align: center;
  font-size: 1.05rem;
}

.form-error {
  display: none;
  padding: 1rem;
  background: #fce4ec;
  border-radius: 6px;
  color: #c62828;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 2rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-info {
  text-align: center;
  color: white;
  padding: 1rem 0;
}

.lightbox-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.lightbox-info p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.lightbox-inquire-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.5rem;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
}

.lightbox-inquire-btn:hover {
  background: var(--color-accent-dark, #6b4f0a);
}

.gallery-item-inquire {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: opacity var(--transition);
  opacity: 0.7;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ---------- Scroll animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Loading / Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Gallery rollover variants ---------- */
/* "none": no overlay or caption on hover, just the image */
body.rollover-none .gallery-item-overlay { display: none; }
body.rollover-none .gallery-item-info { display: none; }

/* "light": bright wash with dark text — currently the default info+overlay */
body.rollover-light .gallery-item .gallery-item-overlay {
  background: rgba(255, 255, 255, 0.55);
}
body.rollover-light .gallery-item-overlay span {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* "dark": dark overlay with light text (already matches the default styles) */
body.rollover-dark .gallery-item .gallery-item-overlay {
  background: rgba(0, 0, 0, 0.55);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
