/* Farmer & Fable Studios — Dark Fantasy Theme */
:root {
  --bg-dark: #2a2119;
  --bg-card: #3b2f25;
  --parchment: #f4e8d0;
  --ember: #c45c26;
  --ember-light: #e07a3d;
  --gold: #d4af37;
  --deep-red: #5b2421;
  --text: #f3e9d6;
  --text-muted: #d6c7aa;
  --accent: #8b3a2a;
}

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

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

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

a:hover {
  color: var(--ember-light);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 33, 25, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 60px;
}

.logo img {
  height: 50px;
  width: auto;
  background: var(--parchment);
  border-radius: 8px;
  padding: 3px 5px;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.6);
}

.logo-text {
  font-size: 1.1rem;
  color: var(--parchment);
  display: none;
}

nav a {
  margin-left: 1.5rem;
  font-size: 1.05rem;
  color: var(--parchment);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--gold);
}

/* Hero */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/fantasy-landscape.png') center/cover no-repeat;
  color: var(--parchment);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,33,25,0.30) 0%, rgba(42,33,25,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
  background: rgba(244, 232, 208, 0.95);
  border-radius: 18px;
  padding: 14px 18px;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

h1 em {
  font-style: italic;
  color: var(--ember-light);
}

.intro {
  font-size: 1.35rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
  color: var(--parchment);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: var(--deep-red);
  color: var(--parchment);
  box-shadow: 0 4px 15px rgba(91, 36, 33, 0.4);
}

.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 92, 38, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--parchment);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.ribbon {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* About */
#about {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #33281e 100%);
  text-align: center;
}

#about h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--text);
}

/* Shop */
#shop {
  padding: 4rem 2rem 6rem;
  background: #30261d;
}

#shop h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: var(--parchment);
}

.shop-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--parchment);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--deep-red);
  border-color: var(--deep-red);
  color: var(--parchment);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  border-color: rgba(196, 92, 38, 0.3);
}

.product-image {
  height: 220px;
  background: #1f1812;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.product-info {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--parchment);
  line-height: 1.3;
}

.product-price {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.product-sizes {
  font-size: 0.85rem;
  color: var(--ember-light);
  margin-bottom: 0.8rem;
  font-style: italic;
}

.buy-btn {
  display: block;
  text-align: center;
  background: var(--deep-red);
  color: var(--parchment);
  padding: 0.7rem;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  margin-top: auto;
}

.buy-btn:hover {
  background: var(--ember);
}

/* Etsy banner */
.etsy-banner {
  text-align: center;
  padding: 0.85rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.95rem;
}

.etsy-banner a {
  color: var(--gold);
  text-decoration: none;
}

.etsy-banner a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #0a0806;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

footer .tagline {
  font-family: 'Cinzel', serif;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 0.6rem 1rem;
  }
  nav a {
    margin-left: 1rem;
    font-size: 0.95rem;
  }
  .hero-logo {
    width: 140px;
  }
  h1 {
    font-size: 2.4rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  #shop, #about {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 769px) {
  .logo-text {
    display: block;
  }
}

/* Visibility boost over the lighter hero */
.hero-content h1,
.hero-content .intro,
.hero-content .eyebrow,
.hero-content .ribbon {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.9);
}

.hero-content .eyebrow,
.hero-content .ribbon {
  color: #f1d27a;
  font-weight: 600;
}

.hero-content .intro {
  color: #fff8ea;
}

/* Featured Bundles */
#bundles {
  padding: 4.5rem 2rem;
  background: linear-gradient(180deg, #33281e 0%, #30261d 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
}
#bundles h2 { font-size: 2.4rem; color: var(--gold); margin-bottom: 0.5rem; }
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.bundle-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.bundle-image { height: 280px; background: #1f1812; }
.bundle-image img { width: 100%; height: 100%; object-fit: cover; }
.bundle-info { padding: 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.bundle-info h3 { color: var(--parchment); font-size: 1.35rem; margin-bottom: 0.3rem; }
.bundle-tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--bg-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.7rem;
}

/* Subpages */
.subpage {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  text-align: center;
}
.page-title { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold); margin-bottom: 2rem; }
.photo-slot { margin: 0 auto 2.5rem; max-width: 640px; }
.photo-real {
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  display: block;
}
.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--parchment);
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.photo-placeholder img { width: 45%; max-width: 260px; height: auto; }
.photo-placeholder span { font-family: 'Cinzel', serif; color: var(--deep-red); font-size: 0.95rem; letter-spacing: 0.1em; }
.story { text-align: left; max-width: 720px; margin: 0 auto 2.5rem; }
.story p { font-size: 1.25rem; margin-bottom: 1.2rem; }

/* Reviews */
.reviews-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; text-align: left; }
.review-card {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.3rem 1.5rem;
}
.review-stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.15em; }
.review-text { font-size: 1.2rem; margin: 0.4rem 0; }
.review-meta { color: var(--text-muted); }
.reviews-empty {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.3rem;
  padding: 2rem;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  margin-bottom: 3rem;
}
.review-form-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
}
.review-form-wrap h2 { color: var(--gold); margin-bottom: 1.2rem; text-align: center; }
.review-form { display: grid; gap: 1.1rem; }
.review-form label { display: grid; gap: 0.35rem; font-family: 'Cinzel', serif; color: var(--parchment); font-size: 0.95rem; }
.review-form input[type=text], .review-form select, .review-form textarea {
  font: inherit;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  padding: 0.6rem 0.8rem;
  background: var(--parchment);
  color: var(--bg-dark);
  border: 1px solid var(--gold);
  border-radius: 4px;
  width: 100%;
}
.stars-input { border: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.stars-input legend { font-family: 'Cinzel', serif; color: var(--parchment); margin-bottom: 0.4rem; font-size: 0.95rem; }
.stars-input label { display: flex; align-items: center; gap: 0.35rem; color: var(--gold); font-family: inherit; font-size: 1.1rem; }
.review-form .btn { justify-self: center; }
.form-note { text-align: center; color: var(--text-muted); font-style: italic; }

@media (max-width: 768px) {
  header { flex-wrap: wrap; gap: 0.4rem; }
  nav { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
  nav a { margin-left: 0; font-size: 0.9rem; }
  .logo img { height: 42px; }
  .logo { height: 48px; }
  #bundles, .subpage { padding-left: 1rem; padding-right: 1rem; }
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-image { height: 220px; }
  .review-form-wrap { padding: 1.3rem; }
}

/* Bundle deals */
.bundle-grid { max-width: 1300px; }
.bundle-image.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.was-price { color: var(--text-muted); font-size: 1rem; margin-left: 0.4rem; }
.save-tag { background: var(--deep-red); color: var(--parchment); font-family: 'Cinzel', serif; font-size: 0.75rem; padding: 0.15rem 0.6rem; border-radius: 20px; margin-left: 0.4rem; vertical-align: middle; border: 1px solid var(--gold); }
.bundle-includes { color: var(--parchment); margin-bottom: 0.5rem; }
@media (min-width: 769px) { .bundle-grid { grid-template-columns: repeat(2, 1fr); max-width: 1100px; } }
