/* ── LAVA GHAYAS FINE ART — Shared Stylesheet ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #ffffff;
  --off-white:   #f7f7f5;
  --light-gray:  #f2f2f0;
  --border:      #dedede;
  --text:        #333333;
  --text-light:  #777777;
  --dark:        #1a1a1a;
  --darker:      #111111;
  --accent:      #8c7355;
  --font:        'Poppins', sans-serif;
  --transition:  0.22s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent horizontal white-space when dragging/zooming on mobile */
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* prevent horizontal white-space when dragging/zooming on mobile */
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── EYEBROW BAR ── */
.eyebrow {
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  padding: 7px 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icons a {
  color: #888;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.social-icons a:hover { color: var(--darker); }
.social-icons svg { width: 17px; height: 17px; fill: currentColor; }

/* ── LOGO BAR ── */
.logo-bar {
  text-align: center;
  padding: 24px 20px 12px;
  background: var(--white);
}
.logo-bar a { display: inline-block; }
.logo-bar img {
  max-width: 860px;
  width: 100%;
  height: auto;
  /* Boost contrast so near-white logo background merges with white page */
  filter: contrast(1.25) brightness(1.03);
}

/* ── NAVIGATION ── */
nav.main-nav {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
nav.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav.main-nav ul li a {
  display: block;
  padding: 13px 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
nav.main-nav ul li a:hover { color: var(--darker); background: var(--light-gray); }
nav.main-nav ul li.active a {
  color: var(--darker);
  border-bottom: 2px solid var(--dark);
}

/* Hamburger + mobile menu — always hidden; nav always shows as row */
.hamburger { display: none !important; }
.mobile-nav-menu { display: none !important; }

/* ── PAGE TITLE BANNER ── */
.page-banner {
  background: #eeece8;
  border-bottom: 1px solid #ddd;
  padding: 36px 20px;
  text-align: center;
}
.page-banner h1 {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
}
.page-banner .breadcrumb {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.08em;
}
.page-banner .breadcrumb a { color: #999; }
.page-banner .breadcrumb a:hover { color: #555; }

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HERO IMAGE (home page) ── */
.hero {
  width: 100%;
  overflow: hidden;
  display: block;
  background: var(--off-white);
}
.hero img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── HOME QUOTE SECTION ── */
.home-quote {
  text-align: center;
  padding: 56px 24px 60px;
}
.home-quote h1 {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--darker);
  margin-bottom: 20px;
}
.home-quote blockquote {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* ── COLLECTION GRID (portfolio.html) ── */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 52px 0 60px;
}
.collection-card {
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.collection-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.collection-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--off-white);
}
.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.collection-card:hover img { transform: scale(1.04); }
.collection-card .img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.collection-card:hover .img-overlay { background: rgba(0,0,0,0.18); }
.collection-card .overlay-icon {
  opacity: 0;
  color: white;
  font-size: 2rem;
  transition: opacity var(--transition);
}
.collection-card:hover .overlay-icon { opacity: 1; }
.collection-card h2 {
  text-align: center;
  padding: 16px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── PAINTING GRID (individual collection pages) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 20px 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light);
  transition: color var(--transition);
}
.back-link:hover { color: var(--darker); }
.back-link svg { width: 14px; height: 14px; fill: currentColor; }

.painting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0 60px;
}
.painting-card {
  cursor: pointer;
}
.painting-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--off-white);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.painting-card:hover .img-wrap { border-color: #aaa; }
.painting-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.painting-card:hover img { transform: scale(1.05); }
.painting-card .img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.painting-card:hover .img-overlay { background: rgba(0,0,0,0.22); }
.painting-card .zoom-icon {
  opacity: 0;
  color: white;
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1;
  transition: opacity var(--transition);
}
.painting-card:hover .zoom-icon { opacity: 1; }
.painting-card .painting-title {
  text-align: center;
  padding: 10px 8px 4px;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  flex-direction: column;
}
.lightbox.open { display: flex; }
/* ── Lightbox toolbar (top — controls only) ── */
.lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lightbox-controls { display: flex; align-items: center; gap: 10px; }

/* ── Lightbox info bar (bottom — title, details, counter, desc btn) ── */
.lightbox-infobar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  gap: 12px;
  min-height: 60px;
}
.lb-infobar-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.lb-infobar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lightbox-title, .lb-title {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--darker);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-counter {
  font-size: 0.72rem;
  color: var(--text-light);
  white-space: nowrap;
}
.lb-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 8px;
  align-items: center;
}
.lb-detail-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.lb-detail-label::after { content: ':'; margin-right: 4px; }
.lb-detail-value {
  font-size: 0.68rem;
  color: var(--text);
}
.lb-detail-label, .lb-detail-value { display: inline; }
.lightbox-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.lightbox-btn:hover { background: var(--light-gray); border-color: #aaa; }
a.lightbox-btn { text-decoration: none; font-family: var(--font); }
.lightbox-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-light);
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
}
.lightbox-close:hover { color: var(--darker); }

.lightbox-stage {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
  background: var(--white);
}
.lightbox-stage.grabbing { cursor: grabbing; }
.lightbox-img-wrap {
  transition: transform 0.15s ease;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  pointer-events: none;
  box-shadow: 0 4px 40px rgba(0,0,0,0.12);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text);
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 10;
}
.lightbox-nav:hover { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--white);
}
.lightbox-counter { font-variant-numeric: tabular-nums; }
.lightbox-zoom-hint { font-style: italic; }

/* ── ROOM VIEW MODE ── */
/* ── ROOM VIEW: photo backgrounds set by JS ── */
.lightbox-stage.room-mode {
  background-color: #c8bfb0;
  background-size: cover;
  background-position: center;
  overflow: visible;
}
/* wall color tint overlay */
.room-wall-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s ease;
}
/* In room mode, img-wrap is a transparent overlay; painting pinned by JS */
.lightbox-stage.room-mode .lightbox-img-wrap {
  display: block;
  z-index: 2;
  overflow: visible;
}
/* Painting "on wall" — bottom-only shadow, ~5 cm thick frame, overhead light */
.lightbox-stage.room-mode .lightbox-img-wrap img {
  box-shadow:
    0 10px 8px -4px rgba(0,0,0,0.55),   /* main drop shadow below bottom edge */
    0  4px 3px -2px rgba(0,0,0,0.28);   /* tight contact shadow at base */
  border-radius: 1px;
}
.lightbox-stage.room-mode .lightbox-nav {
  background: rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  z-index: 4;
}
.lightbox-stage.room-mode .lightbox-nav:hover {
  background: rgba(0,0,0,0.58);
}

/* ── ROOM CONTROLS PANEL ── */
.room-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 13px;
  color: #333;
  flex-wrap: wrap;
}
.rc-field {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-label {
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}
.rc-value {
  color: #333;
  font-size: 14px;
}
.rc-select {
  font-family: var(--font);
  font-size: 13px;
  padding: 6px 28px 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  color: #333;
  min-width: 200px;
  cursor: pointer;
}
.rc-select:focus { outline: none; border-color: var(--accent); }
/* Custom room dropdown */
.rc-dropdown { position: relative; }
.rc-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  min-width: 200px;
  cursor: pointer;
  justify-content: space-between;
  white-space: nowrap;
}
.rc-dropdown-btn:hover { border-color: #999; }
.rc-dropdown-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 9999;
  min-width: 200px;
  overflow: hidden;
}
.rc-dropdown-menu.rc-dropdown-open { display: block; }
.rc-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  font-size: 13px;
  padding: 9px 14px;
  border: none;
  background: none;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}
.rc-dropdown-item:hover { background: #f5f0eb; }
.rc-dropdown-item.rc-dropdown-active { background: #f0ebe3; font-weight: 600; color: var(--accent); }
.rc-swatches {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wc-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.wc-swatch:hover { transform: scale(1.15); }
.wc-swatch.wc-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140,115,85,0.30);
  transform: scale(1.12);
}
.rc-close {
  margin-left: auto;
  font-family: var(--font);
  font-size: 12px;
  padding: 6px 14px;
  background: none;
  border: 1px solid #aaa;
  border-radius: 4px;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.rc-close:hover { background: #f0f0f0; color: #222; }

/* ── NEWSLETTER SIDEBAR TAB ── */
.newsletter-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.newsletter-tab-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  background: var(--dark);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 10px;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 4px 0 0 4px;
  user-select: none;
}
.newsletter-tab-label:hover { background: #000; }
.newsletter-tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 20px 18px;
  width: 220px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}
.newsletter-tab-panel.open { display: block; }
.newsletter-tab-panel h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.newsletter-tab-panel p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}
.newsletter-tab-panel input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.78rem;
  margin-bottom: 8px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-tab-panel input[type="email"]:focus { border-color: #999; }
.newsletter-tab-panel button {
  width: 100%;
  padding: 9px;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-tab-panel button:hover { background: #000; }
.newsletter-tab-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  padding: 2px 4px;
}
.newsletter-tab-close:hover { color: var(--darker); }

/* ── NEWSLETTER POPUP ── */
.newsletter-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 8000;
  animation: fadeIn 0.3s ease;
}
.newsletter-popup-overlay.open { display: flex; align-items: center; justify-content: center; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.newsletter-popup {
  background: var(--white);
  max-width: 440px;
  width: 90%;
  padding: 28px 36px 36px;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 12px 60px rgba(0,0,0,0.2);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.popup-header h3 { margin-bottom: 0; }
.popup-close {
  background: none; border: none;
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition);
  padding: 0 0 0 10px;
  flex-shrink: 0;
}
.popup-close:hover { color: var(--darker); }
.newsletter-popup h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--darker);
}
.newsletter-popup p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.55;
}
.newsletter-popup input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.85rem;
  margin-bottom: 10px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-popup input[type="email"]:focus { border-color: #999; }
.newsletter-popup button {
  width: 100%;
  padding: 12px;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-popup button:hover { background: #000; }
.popup-skip {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition);
}
.popup-skip:hover { color: var(--text); }

/* ── ABOUT PAGE ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  padding: 56px 0 64px;
  align-items: start;
}
.about-img img {
  width: 100%;
  border: 1px solid var(--border);
}
.about-text h2 {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--darker);
}
.about-text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ── GALLERIES PAGE ── */
.galleries-content {
  padding: 56px 0 64px;
  text-align: center;
}
.galleries-content h2 {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.galleries-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.gallery-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.gallery-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.gallery-item:first-child { border-top: 1px solid var(--border); }
.gallery-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--darker);
  margin-bottom: 4px;
}
.gallery-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 56px 0 64px;
  align-items: start;
}
.contact-form h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--darker);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { border-color: #999; }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  padding: 12px 32px;
  background: var(--dark);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover { background: #000; }
.contact-info h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--darker);
  margin-bottom: 24px;
}
.contact-info-item {
  margin-bottom: 20px;
}
.contact-info-item h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.contact-info-item p, .contact-info-item a {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-info-item a:hover { color: var(--accent); }


.lb-footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lb-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

/* ── FOOTER ── */
#site-footer {
  background: var(--dark);
  color: var(--white);
}
.footer-newsletter {
  text-align: center;
  padding: 48px 24px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-newsletter h2 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}
.footer-form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.82rem;
  outline: none;
}
.footer-form input[type="email"]::placeholder { color: rgba(255,255,255,0.40); }
.footer-form input[type="email"]:focus { border-color: rgba(255,255,255,0.55); }
.footer-form button {
  padding: 10px 22px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.footer-form button:hover { background: var(--darker); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.footer-bottom span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--white); }
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── DESCRIPTION POPUP MODAL ── */
.lb-desc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.lb-desc-modal {
  background: #faf9f7;
  border-radius: 6px;
  max-width: 560px;
  width: 100%;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.lb-desc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.lb-desc-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.lb-desc-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 2px;
}
.lb-desc-close:hover { color: var(--text); }
.lb-desc-body {
  padding: 16px 18px 20px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text);
  overflow-y: auto;
}
.lb-desc-body p { margin: 0 0 1em; }
.lb-desc-body p:last-child { margin-bottom: 0; }
.lb-desc-btn { display: none; }

/* ── Description button in painting.html info panel ── */
.desc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.desc-btn:hover { background: var(--text); color: #fff; }

/* ── Description popup for painting.html ── */
.pv-desc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  backdrop-filter: blur(2px);
}
.pv-desc-modal {
  background: #faf9f7;
  border-radius: 6px;
  max-width: 560px;
  width: 100%;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.pv-desc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.pv-desc-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.p
/* ═══════════════════════════════════════════════
   MOBILE STYLES  (max-width: 680px)
   ═══════════════════════════════════════════════ */

/* Desktop: hide mobile nav row */
.lb-mobile-nav { display: none; }

@media (max-width: 680px) {

  /* ── Lightbox fills screen ── */
  .lightbox { flex-direction: column; }

  /* ── Toolbar: compact ── */
  .lightbox-toolbar { padding: 8px 12px; }
  .lightbox-controls { gap: 6px; flex-wrap: wrap; }
  .lightbox-btn { font-size: 0.72rem; padding: 5px 8px; }

  /* ── Stage: give image more room ── */
  .lightbox-stage { flex: 1; min-height: 0; }
  .lightbox-img-wrap img {
    max-width: 96vw;
    max-height: 54vh;
    object-fit: contain;
  }

  /* ── HIDE the side circle arrows completely on mobile ── */
  .lightbox-nav,
  .lightbox-prev,
  .lightbox-next {
    display: none !important;
  }

  /* ── Show mobile nav row below the image ── */
  .lb-mobile-nav {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    gap: 8px;
  }
  .lb-mob-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 9px 0;
    font-size: 0.85rem;
    color: var(--text);
    cursor: pointer;
    font-family: var(--sans);
    flex: 1;
    text-align: center;
    transition: background 0.15s;
  }
  .lb-mob-btn:active { background: var(--light-gray); }

  /* ── Infobar stacks on mobile ── */
  .lightbox-infobar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 14px;
    gap: 6px;
    min-height: unset;
  }
  .lb-infobar-right {
    width: 100%;
    justify-content: space-between;
  }
  .lb-title { font-size: 0.82rem; }

  /* ── Description popup slides up from bottom ── */
  .lb-desc-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .lb-desc-modal {
    max-width: 100%;
    width: 100%;
    max-height: 60vh;
    border-radius: 12px 12px 0 0;
  }

  /* ── Room view on mobile ── */
  .lightbox-stage.room-mode .lightbox-img-wrap img {
    max-height: 50vh;
  }
}
