/* ===== Three Feathers Art — Site Styles =====
   This one file controls how every page looks (colors, fonts, spacing). */

:root {
  --color-bg: #fff7ec;
  --color-cream: #fde3c4;
  --color-text: #3a221a;
  --color-accent: #e04b2f;
  --color-accent-dark: #b8341a;
  --color-gold: #f4a935;
  --color-teal: #7a2a3a;
  --color-turquoise: #2c9aa8;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-teal);
  margin-top: 0;
}

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

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

header {
  position: relative;
  background: var(--color-teal);
  color: #fff;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 1px;
}

.logo-mark {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  height: 84px;
  width: 84px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

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

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

nav a {
  color: #f1e9da;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover,
nav a.active {
  color: var(--color-gold);
  text-decoration: underline;
}

/* ---------- Hero (top banner on Home page) ---------- */

/* Intro text band — sits above the painting, clear of it */
.intro {
  background: var(--color-bg);
  text-align: center;
  padding: 54px 0 44px;
}

.intro h1 {
  font-size: 2.9rem;
  margin-bottom: 14px;
}

.intro p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--color-text);
  font-style: italic;
}

/* Poppy painting shown clean as a full-width banner */
.hero-banner {
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
}

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

/* ---------- Generic page sections ---------- */

section {
  padding: 60px 0;
}

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

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

.section-title p {
  max-width: 620px;
  margin: 8px auto 0;
  color: #55504a;
}

/* ---------- Art / Gallery grid ---------- */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.art-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.15s ease;
}

.art-card:hover {
  transform: translateY(-4px);
}

.art-card .art-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c8f7d;
  font-size: 0.9rem;
  text-align: center;
  padding: 12px;
}

/* Real artwork photos placed inside a card */
.art-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.art-card-body {
  padding: 16px 18px;
}

.art-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.art-card-body .price {
  color: var(--color-accent);
  font-weight: 700;
}

.art-card-body .medium {
  color: #55504a;
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.art-card img {
  cursor: pointer;
}

/* ---------- Lightbox (the pop-up when you click a painting) ---------- */

.lightbox {
  display: none;               /* hidden until a painting is clicked */
  position: fixed;
  inset: 0;
  background: rgba(30, 12, 8, 0.88);
  z-index: 1000;
  padding: 30px 20px;
  overflow-y: auto;
}

.lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner {
  background: var(--color-bg);
  border-radius: 8px;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-image {
  flex: 1 1 380px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.lightbox-image img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  flex: 1 1 280px;
  padding: 34px 32px;
}

.lightbox-info h2 {
  margin-bottom: 6px;
}

.lightbox-info .price {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 18px;
}

.lightbox-info .detail {
  margin: 6px 0;
  color: #55504a;
}

.lightbox-info .detail strong {
  color: var(--color-text);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

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

.category-heading {
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-cream);
  padding-bottom: 8px;
}

.category-heading:first-of-type {
  margin-top: 0;
}

/* ---------- About page ---------- */

.about-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-photo {
  flex: 1 1 280px;
  margin: 0;
}

.about-photo img {
  width: 100%;
  border-radius: 6px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.about-photo figcaption {
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  color: #55504a;
}

.about-text {
  flex: 2 1 400px;
}

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

.contact-card {
  background: #fff;
  border-radius: 6px;
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 18px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8cfbf;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

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

.contact-card button {
  margin-top: 22px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

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

footer {
  background: var(--color-teal);
  color: #f1e9da;
  text-align: center;
  padding: 26px 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--color-gold);
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
