/* ══════════════════════════════════════════
   ZOE LANE ART – SHARED THEME
   Dark aesthetic · Icecap glow · Wine-red accents
   ══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

/* ── Body / Background ───────────────────── */
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #020000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

a { color: rgba(180,220,240,.5); text-decoration:none; transition:color .3s; }
a:hover { color: rgba(180,220,240,.8); }
img { display:block; max-width:100%; }

/* Fixed background photo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('../assets/images/art/background.jpg') center/cover no-repeat;
  filter: brightness(0.25) saturate(0.6);
}

/* Dark overlay + icecap glow + wine-red side accents */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* Icecap glow top */
    radial-gradient(800px 400px at 50% -60px,
      rgba(180,220,240,.10) 0%,
      rgba(140,200,230,.05) 30%,
      transparent 60%),
    /* Icecap glow bottom subtle */
    radial-gradient(600px 300px at 50% 105%,
      rgba(160,210,235,.05) 0%,
      transparent 55%),
    /* Wine-red left accent */
    radial-gradient(ellipse at -5% 35%, rgba(100,20,30,.10) 0%, transparent 50%),
    radial-gradient(ellipse at -3% 70%, rgba(120,25,35,.07) 0%, transparent 40%),
    /* Wine-red right accent */
    radial-gradient(ellipse at 105% 55%, rgba(100,20,30,.10) 0%, transparent 50%),
    radial-gradient(ellipse at 103% 25%, rgba(120,25,35,.07) 0%, transparent 40%),
    /* Dark gradient overlay */
    linear-gradient(180deg,
      rgba(2,0,0,.3) 0%,
      rgba(2,0,0,.7) 40%,
      rgba(2,0,0,.92) 100%);
}

/* ── Site Header / Nav ───────────────────── */
.page-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 28px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(2,0,0,.8) 0%, transparent 100%);
}
.page-nav .nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: .97rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .3s;
}
.page-nav .nav-brand:hover { color: #fff; }
.page-nav .nav-links {
  display: flex;
  gap: 24px;
}
.page-nav .nav-links a {
  font-size: .77rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .3s;
}
.page-nav .nav-links a:hover { color: rgba(255,255,255,.8); }
.page-nav .nav-links a.active {
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.3);
}

/* Legacy header support */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(2,0,0,.8) 0%, transparent 100%);
}
.site-header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity .3s;
}
.logo-area:hover { opacity: .8; }
.logo-pic {
  display: none; /* hide old profile pic in header */
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: .85rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .3s;
}
.logo-area:hover .logo-text { color: #fff; }

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s;
}
.nav a:hover { color: rgba(255,255,255,.8); }
.nav a.is-active {
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.3);
}

/* ── Main Content ────────────────────────── */
.main {
  position: relative;
  z-index: 5;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 140px 28px 80px;
}

/* ── Page Title ──────────────────────────── */
.page-title-section {
  text-align: center;
  margin-bottom: 50px;
}
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.page-title-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, rgba(180,220,240,.4), transparent);
}
.page-subtitle {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* ── CV Sections ─────────────────────────── */
.cv-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cv-section:last-child { border-bottom:none; }
.cv-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(180,220,240,.5);
  margin-bottom: 24px;
}
.cv-entry {
  margin-bottom: 20px;
}
.cv-entry h3 {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
}
.cv-entry .cv-date,
.cv-date {
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(180,220,240,.35);
  margin-bottom: 4px;
}
.cv-entry p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.cv-entry ul {
  list-style: none;
  padding-left: 0;
  margin-top: 6px;
}
.cv-entry li {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.cv-entry li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(180,220,240,.3);
}
.cv-note {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.6;
}
.cv-section a {
  color: rgba(180,220,240,.5);
  text-decoration: none;
  transition: color .3s;
}
.cv-section a:hover { color: rgba(180,220,240,.8); }
.cv-footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.cv-footer-email a {
  font-size: .85rem;
  color: rgba(180,220,240,.4);
  text-decoration: none;
  transition: color .3s;
}
.cv-footer-email a:hover { color: rgba(180,220,240,.7); }

/* ── Contact ─────────────────────────────── */
.contact-section {
  text-align: center;
}
.contact-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.contact-email {
  display: inline-block;
  font-size: .9rem;
  color: rgba(180,220,240,.5);
  text-decoration: none;
  letter-spacing: .1em;
  margin-bottom: 40px;
  transition: color .3s;
}
.contact-email:hover { color: rgba(180,220,240,.8); }
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group label {
  display: block;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}
.required::after {
  content: ' *';
  color: rgba(120,25,35,.6);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  outline: none;
  transition: border-color .3s, background .3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(180,220,240,.25);
  background: rgba(255,255,255,.06);
}
.form-group textarea { min-height:120px; resize:vertical; }
.form-submit {
  align-self: flex-start;
  display: inline-block;
  padding: 12px 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all .3s;
}
.form-submit:active { opacity:.7; }
@media(hover:hover){
  .form-submit:hover {
    color: #fff;
    background: rgba(180,220,240,.08);
    border-color: rgba(180,220,240,.2);
  }
}

/* ── Portfolio Grid ──────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.portfolio-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1;
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.portfolio-card:active { transform: scale(.97); }
@media(hover:hover){
  .portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
  }
  .portfolio-card:hover img { filter: brightness(1); }
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter .3s;
}
.portfolio-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.9);
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  text-align: center;
}

/* ── Collection Header ───────────────────── */
.collection-header {
  margin-bottom: 40px;
}
.collection-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-align: center;
  margin-top: 8px;
}

/* ── Back Link ───────────────────────────── */
.back-link {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color .3s;
}
.back-link:hover { color: rgba(255,255,255,.6); }

/* ── Artwork Grid ────────────────────────── */
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.artwork-card {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.artwork-card:active { transform: scale(.97); }
@media(hover:hover){
  .artwork-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
  }
  .artwork-card:hover img { filter: brightness(1); }
}
.artwork-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter .3s;
}
.artwork-card__info {
  padding: 12px 14px;
}
.artwork-card__title {
  font-size: .85rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
}

/* ── Artwork Detail ──────────────────────── */
.artwork-detail {
  max-width: 700px;
  margin: 0 auto;
}
.artwork-detail .back-link {
  margin-bottom: 24px;
  display: inline-block;
}
.artwork-detail h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.artwork-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.artwork-meta span {
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(180,220,240,.4);
}
.artwork-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.artwork-images img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.artwork-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.artwork-nav a {
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(180,220,240,.4);
  text-decoration: none;
  transition: color .3s;
}
.artwork-nav a:hover { color: rgba(180,220,240,.7); }

/* ── Footer ──────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.site-footer__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.site-footer span,
.footer-name {
  font-size: .6rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.2);
}

/* ── Responsive ──────────────────────────── */
@media (max-width:600px) {
  .main { padding: 120px 20px max(60px, env(safe-area-inset-bottom, 60px)); }
  .page-title { font-size: 1.4rem; letter-spacing: .25em; }
  .nav { gap: 14px; }
  .nav a { font-size: .55rem; }
  .page-nav { padding: max(28px, env(safe-area-inset-top, 28px)) 20px 14px; }
  .page-nav .nav-links { gap: 14px; }
  .page-nav .nav-links a { font-size: .55rem; }
  .site-header { padding: 14px 16px; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap:16px; }
  .artwork-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap:16px; }
  .contact-section h1 { font-size: 1.4rem; }
  .collection-title { font-size: 1.4rem; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav { margin-left: 0; gap: 18px; flex-wrap: wrap; }
  .about-layout { flex-direction: column-reverse; }
  .about-image { width: 200px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .artwork-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
