:root {
  --bg-color: #0b0c10;
  --card-bg: #12141c;
  --accent-color: #e2c08d; /* Subtle warm gallery champagne color */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #1e2230;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, .logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 6%;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background-color: rgba(11, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.logo span {
  color: var(--accent-color);
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

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

/* Hero Section with Artist Portrait */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 6%;
  align-items: center;
}

.hero-image-container {
  width: 100%;
  height: 480px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.artist-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}

.artist-portrait:hover {
  filter: grayscale(0%);
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.bio-snippet {
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-color);
  padding-left: 1.25rem;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  max-width: 1200px;
  margin: 2rem auto;
}

/* Gallery Section */
main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 6%;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
}

.section-header p {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

/* Filter Controls */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent-color);
  color: #0b0c10;
  border-color: var(--accent-color);
  font-weight: 600;
}

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

.art-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
}

.art-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.art-info {
  padding: 1.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.art-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.art-info .meta {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 85%;
  max-height: 75vh;
  border-radius: 4px;
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-primary);
  text-align: center;
  font-family: 'Cinzel', serif;
}

.close-lightbox {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 2.5rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-top: 1px solid var(--border-color);
  margin-top: 6rem;
}

.email-btn {
  display: inline-block;
  margin-top: 1.5rem;
  color: #0b0c10;
  background-color: var(--accent-color);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.email-btn:hover {
  opacity: 0.9;
}

.copyright {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image-container {
    height: 350px;
  }
}

.art-info .description {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}