/* Coleen Z Art — Noir-inspired elegant portfolio */
:root {
  --bg: #0c0c0e;
  --bg-elevated: #16161a;
  --bg-card: #1c1c21;
  --text: #e8e6e3;
  --text-muted: #9a9690;
  --accent: #c9a227; /* muted gold */
  --accent-soft: #a88b2e;
  --border: #2a2a30;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

/* Layout */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.hero p {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* Featured grid */
.section { padding: 4rem 0; }

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

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

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

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

.card-image {
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image img { transform: scale(1.04); }

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-series {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

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

/* Artwork detail */
.artwork-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

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

.artwork-image {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.artwork-image img {
  width: 100%;
  height: auto;
  display: block;
}
.artwork-image video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.artwork-info h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.artwork-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
}

.story {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
  white-space: pre-wrap;
  color: #d4d1cc;
  margin-bottom: 2rem;
}

.story p { margin-bottom: 1rem; }

/* About */
.about-content {
  max-width: 42rem;
  margin: 0 auto;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Contact */
.contact-form {
  max-width: 32rem;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a { color: var(--accent); }

/* Utility */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Placeholder image */
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a1f, #121215);
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Mobile nav */
@media (max-width: 700px) {
  .nav-links { gap: 1.1rem; font-size: 0.8rem; }
  .stats { grid-template-columns: 1fr; }
  
}
/* Back to Top button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(6px);
}

#back-to-top:hover {
  background: rgba(255, 255, 255, 0.22);
}

#back-to-top.show {
  display: flex;
}
.say-hello {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 1000;
}

.say-hello:hover {
  transform: scale(1.08);
  background: #333;
}