/*
Theme Name: Hometown Retailer
Theme URI: https://hometownretailer.com
Author: Hometown Retailer
Author URI: https://hometownretailer.com
Description: Custom landing page theme for Hometown Retailer — a women-owned liquidation reseller delivering premium products at wholesale costs.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hometown-retailer
Tags: custom, landing-page, ecommerce, women-owned
*/

/* ── VARIABLES ── */
:root {
  --forest:       #1C4A28;
  --forest-mid:   #2B6338;
  --forest-light: #3D7A4E;
  --sage:         #8aaa7e;
  --sage-pale:    #c6d9bf;
  --sage-faint:   #edf4ea;
  --cream:        #F6F1E6;
  --cream-warm:   #EEE6D0;
  --brick:        #B25430;
  --brick-light:  #C96A44;
  --terracotta:   #D07858;
  --white:        #FDFBF7;
  --muted:        #556650;
  --text:         #2A2018;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); overflow-x: hidden; }
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
img { max-width: 100%; height: auto; }
a { color: var(--brick); transition: color 0.2s; }
a:hover { color: var(--forest); }
p { line-height: 1.75; margin-bottom: 1rem; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; color: var(--forest); line-height: 1.2; }

/* ── NAVIGATION ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 2px solid var(--sage-pale);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 72px;
  box-shadow: 0 2px 20px rgba(28,74,40,0.07);
}
.site-branding { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.site-logo img { height: 52px; width: 52px; object-fit: contain; display: block; }
.site-title-text { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--forest); text-decoration: none; }
.site-title-text span { color: var(--brick); font-style: italic; }

.primary-navigation ul { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.primary-navigation a { text-decoration: none; font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a { color: var(--forest); }
.primary-navigation .menu-cta > a {
  background: var(--forest); color: #fff !important;
  padding: 0.55rem 1.4rem; border-radius: 4px;
  transition: background 0.2s !important;
}
.primary-navigation .menu-cta > a:hover { background: var(--forest-mid) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--forest); color: #fff;
  padding: 0.95rem 2.2rem; border-radius: 6px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(28,74,40,0.28); display: inline-block;
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(28,74,40,0.32); color: #fff; }
.btn-secondary {
  color: var(--forest); padding: 0.95rem 2rem; border-radius: 6px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  border: 2px solid var(--sage-pale);
  transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--forest); background: var(--sage-faint); color: var(--forest); }
.btn-cream {
  background: var(--cream); color: var(--forest);
  padding: 1rem 2.6rem; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block; box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.btn-cream:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.22); color: var(--forest); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh; padding-top: 72px;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden; background: var(--white);
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--sage-pale) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.4; z-index: 0;
}
.hero-circle {
  position: absolute; width: 580px; height: 580px; border-radius: 50%;
  background: var(--sage-faint);
  right: -80px; top: 50%; transform: translateY(-50%); z-index: 0;
}
.hero-left {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem 5rem 5rem;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--sage-faint); border: 1.5px solid var(--sage-pale);
  border-radius: 100px; padding: 0.45rem 1.1rem;
  font-size: 0.72rem; font-weight: 500; color: var(--forest-mid);
  letter-spacing: 0.08em; margin-bottom: 2rem; width: fit-content;
}
.hero-badge::before { content: '\2640'; font-size: 0.9rem; color: var(--brick); }
.hero-section h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem,5vw,4.6rem); line-height: 1.05; color: var(--forest); margin-bottom: 1.5rem; }
.hero-section h1 em { font-style: italic; color: var(--brick); }
.hero-sub { font-family: 'Lora', serif; font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 440px; margin-bottom: 2.8rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-right {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 4rem 4rem 2rem;
  animation: fadeUp 0.9s 0.18s ease both;
}
.hero-logo-card {
  background: var(--white); border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  box-shadow: 0 24px 80px rgba(28,74,40,0.12), 0 4px 16px rgba(28,74,40,0.06);
  border: 1.5px solid var(--sage-pale);
  text-align: center; max-width: 360px; width: 100%; position: relative;
}
.hero-logo-card::before {
  content: ''; position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px;
  border-radius: 14px; border: 1px solid var(--sage-pale); pointer-events: none;
}
.hero-logo-card img { width: 200px; height: 200px; object-fit: contain; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 12px rgba(28,74,40,0.1)); }
.hero-quote { font-family: 'Lora', serif; font-style: italic; font-size: 0.95rem; color: var(--muted); line-height: 1.7; border-top: 1.5px solid var(--sage-pale); padding-top: 1.25rem; }
.hero-quote strong { font-style: normal; color: var(--forest); }

/* ── MARQUEE ── */
.marquee-section { background: var(--forest); padding: 0.85rem 0; overflow: hidden; border-top: 3px solid var(--forest-mid); border-bottom: 3px solid var(--brick); }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 24s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-size: 0.73rem; font-weight: 500; color: rgba(255,255,255,0.88); letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0; padding: 0 2.5rem; }
.marquee-dot { color: var(--brick-light); }

/* ── SHARED SECTION ── */
.page-section { padding: 6rem 5rem; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 500; color: var(--brick);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--brick); display: inline-block; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,3.5vw,2.8rem); line-height: 1.15; color: var(--forest); margin-bottom: 1.2rem; }
.section-sub { font-family: 'Lora', serif; font-size: 0.98rem; color: var(--muted); line-height: 1.8; max-width: 520px; }

/* ── HOW IT WORKS ── */
.how-section { background: var(--cream); }
.how-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--forest) 0,var(--forest) 36px, var(--cream-warm) 36px, var(--cream-warm) 72px); opacity: 0.3; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.how-card { background: var(--white); border-radius: 10px; border: 1.5px solid var(--sage-pale); padding: 2.5rem 2rem; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; position: relative; overflow: hidden; }
.how-card:hover { box-shadow: 0 12px 40px rgba(28,74,40,0.12); transform: translateY(-5px); border-color: var(--sage); }
.how-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.how-card:hover::after { transform: scaleX(1); }
.how-num { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 900; color: var(--sage-pale); line-height: 1; margin-bottom: 0.8rem; }
.how-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--forest); margin-bottom: 0.75rem; }
.how-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 0; }

/* ── PLATFORMS ── */
.platforms-section { background: var(--white); }
.platforms-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.platforms-desc { font-family: 'Lora', serif; font-size: 0.95rem; color: var(--muted); line-height: 1.8; }
.platforms-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.platform-card { border: 1.5px solid var(--sage-pale); border-radius: 10px; padding: 2rem 1.5rem; text-align: center; text-decoration: none; background: var(--cream); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.platform-card:hover { border-color: var(--forest); box-shadow: 0 8px 30px rgba(28,74,40,0.14); transform: translateY(-4px); }
.platform-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; background: var(--white); border: 1.5px solid var(--sage-pale); }
.platform-card h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--forest); margin-bottom: 0; }
.platform-card p { font-size: 0.78rem; color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.platform-link { font-size: 0.73rem; font-weight: 500; color: var(--brick); letter-spacing: 0.05em; text-transform: uppercase; margin-top: auto; }

/* ── VALUES ── */
.values-section { background: var(--forest); }
.values-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 24px 24px; }
.values-section .section-label { color: var(--terracotta); }
.values-section .section-label::before { background: var(--terracotta); }
.values-section .section-title { color: var(--cream); }
.values-section .section-sub { color: rgba(198,217,191,0.8); }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.value-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem; border-radius: 10px; border: 1px solid rgba(198,217,191,0.18); transition: background 0.25s, border-color 0.25s; position: relative; z-index: 1; }
.value-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(198,217,191,0.35); }
.value-icon { font-size: 1.6rem; flex-shrink: 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(178,84,48,0.2); border-radius: 8px; border: 1px solid rgba(178,84,48,0.3); }
.value-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--cream); margin-bottom: 0.45rem; }
.value-card p { font-size: 0.87rem; color: rgba(198,217,191,0.7); line-height: 1.75; margin-bottom: 0; }

/* ── STATS ── */
.stats-section { background: var(--cream); }
.stats-inner { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 3rem; border: 1.5px solid var(--sage-pale); border-radius: 10px; overflow: hidden; }
.stat-item { padding: 3rem 2.5rem; text-align: center; border-right: 1.5px solid var(--sage-pale); background: var(--white); transition: background 0.2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--sage-faint); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--forest); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* ── CTA ── */
.cta-section { background: var(--brick); text-align: center; padding: 6rem 5rem; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 20px 20px; }
.cta-section::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--cream) 0,var(--cream) 28px, var(--brick-light) 28px, var(--brick-light) 56px); opacity: 0.5; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); color: var(--cream); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p { font-family: 'Lora', serif; font-size: 1rem; color: rgba(246,241,230,0.85); max-width: 460px; margin: 0 auto 2.5rem; line-height: 1.8; position: relative; z-index: 1; }

/* ── FOOTER ── */
.site-footer { background: var(--forest); border-top: 4px solid var(--brick); padding: 2.5rem 5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-branding { display: flex; align-items: center; gap: 0.75rem; }
.footer-branding img { height: 44px; object-fit: contain; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.footer-brand-name span { color: var(--terracotta); font-style: italic; }
.footer-copy { font-size: 0.78rem; color: rgba(198,217,191,0.5); }
.footer-nav-links { display: flex; gap: 2rem; }
.footer-nav-links a { font-size: 0.78rem; color: rgba(198,217,191,0.55); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; }
.footer-nav-links a:hover { color: var(--cream); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-header { padding: 0 1.5rem; }
  .primary-navigation { display: none; }
  .hero-section { grid-template-columns: 1fr; min-height: auto; padding: 5.5rem 1.5rem 2rem; }
  .hero-left { padding: 1.5rem 0; }
  .hero-right { padding: 2rem 0; }
  .hero-circle { display: none; }
  .page-section { padding: 4rem 1.5rem; }
  .how-grid, .values-grid, .platforms-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1.5px solid var(--sage-pale); }
  .stat-item:last-child { border-bottom: none; }
  .platforms-header { grid-template-columns: 1fr; gap: 1rem; }
  .site-footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .cta-section { padding: 4rem 1.5rem; }
}
@media (max-width: 560px) {
  .how-grid, .values-grid, .platforms-grid { grid-template-columns: 1fr; }
}
