/* =============================================
   Mid South Goods Barn LLC — Theme
   Warm, homegrown feel. Earthy palette.
   ============================================= */

:root {
  --cream: #FDF8F0;
  --forest: #2D3E2A;
  --forest-dark: #1C2B1B;
  --brown: #3D2B1F;
  --brown-light: #5C4033;
  --gold: #C4953A;
  --gold-muted: #A07B2E;
  --text-dark: #1C1409;
  --text-muted: #9C8F7A;
  --text-light: #F5EDD8;
  --border: rgba(61,43,31,0.15);
  --border-light: rgba(245,237,216,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.15;
}

strong { font-weight: 600; }

/* ─── SECTION LABELS ─── */
.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--gold-muted);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(245, 237, 216, 0.3);
}
.btn-ghost:hover {
  background: rgba(245, 237, 216, 0.08);
  border-color: rgba(245, 237, 216, 0.5);
  transform: translateY(-1px);
}
.btn-ghost.btn-large { font-size: 15px; padding: 18px 40px; }

.btn-primary.btn-large {
  font-size: 15px;
  padding: 18px 40px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(29,40,26,0.88) 0%,
    rgba(29,40,26,0.72) 50%,
    rgba(29,40,26,0.50) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 80px 80px 80px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,149,58,0.12);
  border: 1px solid rgba(196,149,58,0.3);
  padding: 8px 16px;
  border-radius: 2px;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(245,237,216,0.7);
  max-width: 480px;
  line-height: 1.7;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  animation: bounce 2.4s ease-in-out infinite;
}

.scroll-arrow {
  color: var(--text-light);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 80px;
  background: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 40px);
  color: var(--brown);
  margin-bottom: 4px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 20px 24px;
  background: rgba(45,62,42,0.05);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.about-signature strong {
  display: block;
  font-size: 15px;
  color: var(--forest);
}

.about-signature span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-art svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* ─── CATALOG ─── */
.catalog {
  padding: 100px 80px;
  background: #F5EFE4;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.catalog h2 {
  font-size: clamp(26px, 3vw, 42px);
  color: var(--brown);
  margin-bottom: 64px;
}

.room-group {
  margin-bottom: 64px;
}

.room-group:last-child { margin-bottom: 0; }

.room-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.room-icon {
  color: var(--forest);
}

.room-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
  transition: all 0.15s ease;
}

.product-card:hover {
  background: var(--forest);
  color: var(--text-light);
  border-color: var(--forest);
  transform: translateY(-1px);
}

/* ─── CONTACT / CTA ─── */
.contact {
  padding: 100px 80px;
  background: var(--forest);
  color: var(--text-light);
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-content .section-label {
  color: rgba(196,149,58,0.7);
}

.contact-content h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--text-light);
}

.contact-content p {
  font-size: 16px;
  color: rgba(245,237,216,0.65);
  line-height: 1.75;
}

.contact-info {
  margin-top: 8px;
}

.contact-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.contact-owner strong {
  display: block;
  font-size: 15px;
  color: var(--text-light);
}

.contact-owner span {
  display: block;
  font-size: 12px;
  color: rgba(245,237,216,0.5);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.btn-large {
  white-space: nowrap;
}

.cta-note {
  font-size: 12px;
  color: rgba(245,237,216,0.4);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--forest-dark);
  padding: 40px 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
}

.footer-owner {
  font-size: 12px;
  color: rgba(245,237,216,0.4);
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(196,149,58,0.6);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { padding: 64px 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .catalog, .contact { padding: 80px 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-cta { align-items: flex-start; text-align: left; }
  .footer { padding: 40px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero-content { padding: 48px 24px; }
  .about { padding: 64px 24px; }
  .catalog { padding: 64px 24px; }
  .contact { padding: 64px 24px; }
  .footer { padding: 40px 24px; }
  .hero h1 br, .about-text h2 br { display: none; }
  .product-grid { gap: 8px; }
  .product-card { font-size: 12px; padding: 10px 14px; }
}