/*
Theme Name: Turnwell Thrift
Theme URI: https://turnwellthrift.com
Author: Turnwell Thrift
Author URI: https://turnwellthrift.com
Description: A custom one-page theme for Turnwell Thrift — Turning Goods Into Good. Community thrift store in Addison, IL.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turnwell-thrift
Tags: one-page, custom-colors, custom-logo, custom-menu, full-width-template, responsive-layout
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --olive: #6B7545;
  --olive-dark: #4E5732;
  --olive-light: #8A9660;
  --copper: #B5712A;
  --copper-light: #D4924E;
  --cream: #F7F3EC;
  --warm-white: #FDFAF5;
  --charcoal: #2C2C28;
  --mid: #6B6B5E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* =============================================
   NAVIGATION
   ============================================= */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 117, 69, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--olive-dark);
  letter-spacing: 0.02em;
}

#site-nav .menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

#site-nav .menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

#site-nav .menu a:hover { color: var(--copper); }

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--olive-dark);
  padding: 120px 40px 80px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-1 {
  width: 680px; height: 680px;
  border: 2px solid rgba(181, 113, 42, 0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow 40s linear infinite;
}

.hero-ring-2 {
  width: 900px; height: 900px;
  border: 1px solid rgba(107, 117, 69, 0.18);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow 60s linear infinite reverse;
}

.hero-ring-3 {
  width: 460px; height: 460px;
  border: 3px solid rgba(181, 113, 42, 0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin-slow 25s linear infinite;
}

@keyframes spin-slow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ring { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 8px;
}

.hero-headline em {
  font-style: italic;
  color: var(--copper-light);
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(247, 243, 236, 0.65);
  margin-bottom: 32px;
  margin-top: 16px;
}

.hero-address {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.45);
  margin-bottom: 48px;
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: var(--warm-white);
  padding: 14px 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--copper-light); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(247, 243, 236, 0.35);
  color: var(--cream);
  padding: 14px 32px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
}

/* =============================================
   DIVIDER BAND
   ============================================= */
.divider-band {
  background: var(--copper);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.divider-band span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-white);
}

.divider-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(253, 250, 245, 0.45);
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
  display: block;
}

.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--olive-dark);
  margin-bottom: 24px;
}

.section-body {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Offset for fixed nav */
#about, #shop, #donate, #contact {
  scroll-margin-top: 68px;
}

/* =============================================
   ABOUT / MISSION
   ============================================= */
#about {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  background: var(--cream);
  border-left: 3px solid var(--olive-light);
  padding: 18px 20px;
  border-radius: 0 4px 4px 0;
}

.value-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-dark);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.6;
}

/* =============================================
   SHOP + DONATE
   ============================================= */
#shop {
  background: var(--cream);
  padding: 100px 40px;
}

.two-col-section {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.col-card {
  background: var(--warm-white);
  padding: 48px 44px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.col-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.col-card.shop-card::before { background: var(--olive); }
.col-card.donate-card::before { background: var(--copper); }

.col-card .section-headline { font-size: 1.8rem; }

.item-list {
  list-style: none;
  margin-top: 20px;
}

.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(107, 117, 69, 0.1);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.item-list li:last-child { border-bottom: none; }

/* =============================================
   DONATION GUIDELINES
   ============================================= */
#donate {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.donate-header {
  text-align: center;
  margin-bottom: 60px;
}

.donate-header p {
  color: var(--mid);
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
}

.guidelines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.guideline-box {
  padding: 36px;
  border-radius: 4px;
}

.guideline-box.accept {
  background: rgba(107, 117, 69, 0.08);
  border: 1px solid rgba(107, 117, 69, 0.2);
}

.guideline-box.decline {
  background: rgba(181, 113, 42, 0.07);
  border: 1px solid rgba(181, 113, 42, 0.2);
}

.guideline-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.guideline-box.accept h3 { color: var(--olive-dark); }
.guideline-box.decline h3 { color: var(--copper); }

.guideline-list {
  list-style: none;
}

.guideline-list li {
  font-size: 0.88rem;
  color: var(--mid);
  padding: 7px 0;
  border-bottom: 1px solid rgba(107, 117, 69, 0.1);
  line-height: 1.5;
}

.guideline-box.decline .guideline-list li {
  border-bottom-color: rgba(181, 113, 42, 0.1);
}

.guideline-list li:last-child { border-bottom: none; }

.golden-rule {
  background: var(--olive-dark);
  color: var(--cream);
  padding: 32px 40px;
  border-radius: 4px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}

.dropoff-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.dropoff-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--cream);
  border-radius: 4px;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(107, 117, 69, 0.18);
  line-height: 1;
  margin-bottom: 12px;
}

.dropoff-step h4 {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--olive-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dropoff-step p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
}

/* =============================================
   CONTACT / FIND US
   ============================================= */
#contact {
  background: var(--olive-dark);
  padding: 100px 40px;
  color: var(--cream);
}

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

#contact .section-eyebrow { color: var(--copper-light); }
#contact .section-headline { color: var(--cream); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
  min-width: 80px;
  margin-top: 2px;
}

.contact-val {
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.6;
}

.social-section { margin-top: 40px; }

.social-section h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.4);
  margin-bottom: 20px;
}

.social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1px solid rgba(181, 113, 42, 0.35);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(247, 243, 236, 0.65);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}

.social-chip:hover {
  border-color: var(--copper-light);
  color: var(--copper-light);
}

.mission-aside {
  background: rgba(247, 243, 236, 0.05);
  border: 1px solid rgba(247, 243, 236, 0.1);
  padding: 44px;
  border-radius: 4px;
}

.mission-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mission-body {
  font-size: 0.88rem;
  color: rgba(247, 243, 236, 0.55);
  line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--charcoal);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(247, 243, 236, 0.5);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(247, 243, 236, 0.25);
  letter-spacing: 0.08em;
  font-style: italic;
}

/* =============================================
   WORDPRESS ALIGNMENT HELPERS
   ============================================= */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  #site-nav { padding: 14px 20px; }
  #site-nav .menu { display: none; }
  #about { grid-template-columns: 1fr; gap: 40px; padding: 70px 24px; }
  .values-grid { grid-template-columns: 1fr; }
  #shop { padding: 70px 24px; }
  .two-col-section { grid-template-columns: 1fr; }
  #donate { padding: 70px 24px; }
  .guidelines-grid { grid-template-columns: 1fr; }
  .dropoff-steps { grid-template-columns: 1fr; }
  #contact { padding: 70px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  #hero { padding: 100px 24px 70px; }
  .hero-ring-1 { width: 340px; height: 340px; }
  .hero-ring-2 { width: 480px; height: 480px; }
  .hero-ring-3 { width: 240px; height: 240px; }
  #site-footer { padding: 24px; flex-direction: column; text-align: center; }
  .divider-band { gap: 12px; }
  .divider-dot { display: none; }
}
