/* Modern Art Gallery Portfolio Stylesheet */
:root {
  --bg-main: #0c0e12;
  --bg-surface: #141820;
  --bg-card: #181d26;
  --bg-overlay: rgba(12, 14, 18, 0.88);
  --text-main: #f5f6f8;
  --text-muted: #9aa3af;
  --text-subtle: #677180;
  --accent-gold: #c9a96e;
  --accent-gold-hover: #dfc28d;
  --accent-glow: rgba(201, 169, 110, 0.25);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(201, 169, 110, 0.4);
  --card-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  --bg-main: #fbfbfd;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-overlay: rgba(250, 250, 252, 0.92);
  --text-main: #14171c;
  --text-muted: #586171;
  --text-subtle: #8993a4;
  --accent-gold: #a67c38;
  --accent-gold-hover: #8f6728;
  --accent-glow: rgba(166, 124, 56, 0.2);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(166, 124, 56, 0.5);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

[data-theme="light"] .site-header {
  background: rgba(251, 251, 253, 0.85);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: var(--bg-main);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 500;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: rotate(15deg);
}

.btn-contact-nav {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-gold), #b89352);
  color: #0c0e12 !important;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: var(--transition-smooth);
}

.btn-contact-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, rgba(12, 14, 18, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid var(--border-highlight);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--accent-gold);
  color: #0c0e12;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Filters */
.filters-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(201, 169, 110, 0.4);
}

.filter-btn.active {
  background: var(--accent-gold);
  color: #0c0e12;
  border-color: var(--accent-gold);
  font-weight: 600;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.artwork-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.artwork-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

.artwork-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 105%; /* consistent gallery aspect ratio */
  background: #11141a;
  overflow: hidden;
}

.artwork-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.artwork-card:hover .artwork-img {
  transform: scale(1.05);
}

.artwork-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 14, 18, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-card:hover .artwork-overlay-hover {
  opacity: 1;
}

.btn-quick-view {
  background: rgba(255, 255, 255, 0.95);
  color: #0c0e12;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.artwork-card:hover .btn-quick-view {
  transform: translateY(0);
}

.artwork-meta {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.artwork-category-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.artwork-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.artwork-specs {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.artwork-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #4ade80;
  display: inline-block;
}

.card-action-link {
  font-size: 0.84rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.artwork-card:hover .card-action-link {
  gap: 8px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}

.about-portrait-wrap {
  position: relative;
}

.about-portrait-frame {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-portrait-img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12, 14, 18, 0.95), transparent);
  padding: 30px 20px 16px;
  text-align: center;
  color: #fff;
  font-size: 0.85rem;
}

.portrait-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.about-content {
  padding-left: 10px;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-col h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.channel-link:hover {
  border-color: var(--accent-gold);
  transform: translateX(6px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-text strong {
  display: block;
  font-size: 0.95rem;
}

.channel-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.btn-submit {
  background: var(--accent-gold);
  color: #0c0e12;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.96);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
  background: var(--accent-gold);
  color: #0c0e12;
}

.lightbox-image-pane {
  background: #080a0d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-info-pane {
  padding: 48px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lightbox-nav-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.lightbox-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.lightbox-nav-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.lightbox-category {
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}

.lightbox-placard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.placard-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

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

.placard-label {
  color: var(--text-muted);
}

.placard-val {
  color: var(--text-main);
  font-weight: 500;
}

.lightbox-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 30px;
}

.lightbox-cta-wrap {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-inquire-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold), #b89352);
  color: #0c0e12;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.btn-inquire-art:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Admin Only Visibility Control */
.admin-only,
.admin-only-flex,
.admin-only-inline {
  display: none !important;
}

body.is-admin .admin-only {
  display: block !important;
}

body.is-admin .admin-only-flex,
body.is-admin .admin-bar {
  display: flex !important;
}

body.is-admin .admin-only-inline {
  display: inline-flex !important;
}

/* Privacy Policy Checkbox & Link */
.form-checkbox-group {
  margin-top: 4px;
  margin-bottom: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.privacy-link {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: var(--accent-gold-hover);
}

/* Discrete Footer Admin Link */
.footer-admin-link {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.78rem;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-admin-link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

/* Admin Auth Modal */
.admin-auth-dialog {
  max-width: 420px;
  padding: 32px 28px;
  text-align: center;
}

.admin-auth-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 14px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Upload Modal & Admin Styles */
.btn-admin-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 110, 0.12);
  border: 1px dashed var(--accent-gold);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-admin-add:hover {
  background: var(--accent-gold);
  color: #0c0e12;
  border-style: solid;
}

.card-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  opacity: 0;
}

.artwork-card:hover .card-delete-btn {
  opacity: 1;
}

.card-delete-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Upload Dialog */
.upload-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(8, 10, 14, 0.94);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.upload-modal.active {
  display: flex;
  opacity: 1;
}

.upload-dialog {
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.upload-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.upload-dialog-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
}

/* Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--accent-gold);
  background: rgba(201, 169, 110, 0.05);
}

.dropzone-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.dropzone-hint {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.dropzone-preview {
  display: none;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 12px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 30px;
}

.admin-bar-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-sm {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-sm:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 40px 0;
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .lightbox-image-pane {
    padding: 16px;
  }
  .lightbox-main-img {
    max-height: 45vh;
  }
  .lightbox-info-pane {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .nav-container {
    height: 70px;
  }
  .brand-title {
    font-size: 1.25rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .btn-contact-nav {
    display: none; /* Keep header clean on mobile, accessible via menu and sticky buttons */
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 18px;
  }
  .nav-menu.mobile-open .nav-link {
    font-size: 1.1rem;
    padding: 8px 0;
  }
  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .filters-wrap {
    gap: 8px;
    margin-bottom: 28px;
  }
  .filter-btn {
    font-size: 0.82rem;
    padding: 8px 14px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-section {
    padding: 60px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-section {
    padding: 60px 0;
  }
  .contact-box {
    padding: 28px 16px;
    gap: 32px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-bar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .lightbox-dialog {
    max-height: 96vh;
    border-radius: 12px;
  }
  .lightbox-image-pane {
    padding: 10px;
    min-height: 260px;
  }
  .lightbox-main-img {
    max-height: 40vh;
  }
  .lightbox-info-pane {
    padding: 20px 16px;
  }
  .lightbox-title {
    font-size: 1.6rem;
  }
}
