/* ==========================================================================
   ARTIST SITE TEMPLATE — STYLESHEET
   ==========================================================================
   To customize this template for a new artist, edit ONLY the variables in
   the :root block below. Everything else on the site references these
   values, so changing a color or font here updates the whole site.
   ========================================================================== */

:root {
  /* ---- THEME VARIABLES: edit these per-artist ---- */
  --color-primary: #2e2a24;      /* nav bar, headings, footer */
  --color-accent: #a4552e;       /* links, buttons, highlights */
  --color-bg: #f8f7f4;           /* page background */
  --color-surface: #ffffff;      /* cards, panels */
  --color-text: #292521;         /* body copy */
  --color-text-muted: #6e655c;   /* secondary text, captions */
  --font-heading: 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px;
  --max-width: 1100px;
  --header-h: 76px;              /* fixed header height */
  /* -------------------------------------------------- */
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin: 0;
}

.site-title a {
  color: #ffffff;
}

.site-title a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  color: #f2f0ec;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: right 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  text-decoration: none;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

/* ---- Hero ---- */
.hero {
  padding: 64px 0;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.hero img {
  margin: 0 auto 32px;
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.hero .tagline {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

/* ---- Sections ---- */
section {
  padding: 56px 0;
}

section.alt {
  background-color: var(--color-surface);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  font-size: 1.8rem;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-title p {
  color: var(--color-text-muted);
}

/* ---- Video embed ---- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  background-color: #000;
}

.video-wrap iframe,
.video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrap.square {
  padding-bottom: 100%;
}

/* ---- Gallery location note (Art Analysis page) ---- */
.gallery-location {
  text-align: center;
  max-width: 480px;
  margin: 20px auto 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.gallery-location .label {
  display: block;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.gallery-item {
  background-color: var(--color-surface);
  border-radius: var(--radius);
  padding: 14px 14px 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
}

.gallery-caption {
  padding: 16px 4px 20px;
}

.gallery-caption h3 {
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- About page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.about-grid h2 {
  margin-top: 32px;
}

.about-grid h2:first-child {
  margin-top: 0;
}

@media (max-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Long-form analysis text (Art Analysis page) ---- */
.analysis-text {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
}

.analysis-text p {
  margin-bottom: 1.2em;
}

/* ---- Contact page ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 720px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 4px;
}

.contact-info p {
  margin-top: 0;
  color: var(--color-text-muted);
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: -8px;
}

input, textarea {
  font-family: var(--font-body);
  padding: 12px;
  border: 1px solid #d8d4cd;
  border-radius: var(--radius);
  background-color: var(--color-surface);
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

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

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

/* ---- Footer ---- */
.site-footer {
  background-color: var(--color-primary);
  color: #c9c6c0;
  padding: 32px 0;
  margin-top: 64px;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #f2f0ec;
}

/* ---- Social icons (footer) ---- */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social-icons a {
  display: inline-flex;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--color-accent);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 18, 15, 0.92);
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox .lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #f2f0ec;
  font-size: 0.85rem;
}

.lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #f2f0ec;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}

.lightbox .lightbox-close:hover {
  color: var(--color-accent);
}
