/* ==========================================================================
   Chinese Brush Painting .com
   Recreated static site — visual design matched to the original
   GoDaddy Website Builder source (colors, fonts, spacing pulled directly
   from the site's page markup).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');

:root {
  --container-width: 1172px;
  --color-page-bg: #f7f7f7;
  --color-content-bg: #ffffff;
  --color-divider: #c4c4c4;
  --color-divider-light: #d5d5d5;
  --color-heading: #333333;
  --color-body-text: #696969;
  --color-muted: #808080;
  --font-display: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --font-body: Tahoma, Geneva, sans-serif;
}

* { box-sizing: border-box; }

img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

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

body {
  background-color: var(--color-page-bg);
  background-image: url('images/bg-texture.png');
  background-repeat: repeat;
  background-position: left top;
  font-family: var(--font-body);
  color: var(--color-body-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.page-shell {
  max-width: var(--container-width);
  margin: 34px auto 40px;
  background: var(--color-content-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: relative;
}

.container {
  max-width: 972px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- Header */

.site-header {
  padding: 40px 0 0;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 100px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 58px;
  line-height: 1.05;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: 0.5px;
}

.tagline {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-body-text);
  text-align: right;
  white-space: nowrap;
  padding-bottom: 6px;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 22px 100px 0;
}

.site-nav {
  padding: 18px 113px 20px;
}

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

.site-nav a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--color-heading);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #a3312a;
  border-bottom-color: #a3312a;
}

/* ------------------------------------------------------------ Ornament */

.ornament {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 100px 0;
}

.ornament .line {
  flex: 1;
  height: 0;
  border-top: 1px solid var(--color-divider-light);
}

.ornament img {
  width: 24px;
  height: 24px;
  display: block;
}

/* --------------------------------------------------------------- Hero */

.hero-slider {
  position: relative;
  width: 100%;
  height: 448px;
  overflow: hidden;
  background: #eee;
}

.hero-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

.home-copy {
  padding: 48px 100px 60px;
  text-align: right;
}

.home-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-body-text);
  margin: 0 0 6px;
  max-width: 824px;
  margin-left: auto;
}

.home-copy strong {
  color: #4a4a4a;
}

/* ------------------------------------------------------------- Footer */

.site-footer {
  border-top: 1px solid #eee;
  padding: 32px 0 30px;
  margin-top: 20px;
}

.site-footer p {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  margin: 0;
}

/* -------------------------------------------------------- Page heading */

.page-heading {
  padding: 30px 111px 0;
}

.page-heading h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--color-heading);
  margin: 0;
}

.page-heading h2 span {
  color: var(--color-muted);
  font-weight: 300;
}

/* --------------------------------------------------------------- Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 40px 100px 60px;
}

.gallery-grid button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-grid button:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 28px;
  cursor: pointer;
  padding: 10px 16px;
  opacity: 0.8;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 16px; right: 24px; font-size: 34px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 40px; }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 40px; }

/* --------------------------------------------------------------- Artist */

.artist-section {
  display: flex;
  gap: 40px;
  padding: 40px 100px 40px 112px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.artist-photos {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.artist-photos img:first-child {
  width: 228px;
  height: 274px;
  object-fit: cover;
}

.artist-photos img:last-child {
  width: 68px;
  height: 274px;
  object-fit: cover;
}

.artist-bio {
  flex: 1;
  min-width: 280px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body-text);
}

.artist-bio p { margin: 0 0 16px; }
.artist-bio strong { color: #4a4a4a; }

.btn-contact-wrap {
  padding: 0 100px 60px 142px;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #fff;
  background: #a3312a;
  padding: 10px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: #832620; }

/* ---------------------------------------------------------------- Events */

.events-content {
  padding: 30px 111px 70px;
}

.events-content .event-title {
  font-size: 20px;
  color: var(--color-heading);
  margin: 0 0 8px;
}

.events-content p {
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------- Contact */

.contact-form {
  padding: 30px 111px 70px;
  max-width: 620px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 14px;
  color: var(--color-heading);
  margin-bottom: 6px;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  background: #fff;
  color: #333;
}

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

.form-row.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row.checkbox label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
}

.form-note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: -6px;
  margin-bottom: 24px;
}

.form-success {
  display: none;
  background: #f2f7f0;
  border: 1px solid #cfe3c9;
  color: #3d6b34;
  padding: 14px 18px;
  border-radius: 2px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------- Mobile */

@media (max-width: 820px) {
  .page-shell { margin: 0; box-shadow: none; }
  .header-row { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .brand { font-size: 38px; }
  .tagline { text-align: left; padding-bottom: 0; }
  .divider { margin: 18px 24px 0; }
  .site-nav { padding: 16px 24px 20px; }
  .site-nav ul { gap: 18px 22px; }
  .ornament { padding: 20px 24px 0; }
  .hero-slider { height: 240px; }
  .home-copy { padding: 30px 24px 40px; text-align: left; }
  .home-copy p { margin-left: 0; }
  .page-heading { padding: 24px 24px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; gap: 10px; }
  .artist-section { padding: 30px 24px; }
  .btn-contact-wrap { padding: 0 24px 40px; }
  .events-content, .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .artist-photos img:first-child { width: 160px; height: 192px; }
  .artist-photos img:last-child { width: 48px; height: 192px; }
}
