/* ============================================================
   FEED DOG CO. — Main Stylesheet
   Aesthetic: Vintage Warmth + Industrial Workshop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --dark:       #1c1814;
  --dark-2:     #27211c;
  --dark-3:     #332d26;
  --gold:       #c8922a;
  --gold-light: #e0a83c;
  --gold-dim:   #8a6420;
  --cream:      #f0e8d5;
  --cream-dim:  #a89878;
  --red:        #7d1f2e;
  --red-light:  #9e2a3c;
  --border:     #3a3028;
  --border-gold:#5a4820;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     4px;
  --max-width:  1140px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--cream);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--cream-dim); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utility Classes ── */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.text-gold  { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

/* Stitch divider */
.stitch {
  border: none;
  border-top: 2px dashed var(--border-gold);
  opacity: 0.5;
  margin: 3rem 0;
}

/* Section spacing */
section { padding: 5rem 0; }
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub   { max-width: 600px; font-size: 1.05rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-red {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--cream);
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 24, 20, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--cream); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--cream-dim);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta { margin-left: 1rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 6rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(200, 146, 42, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(125, 31, 46, 0.1) 0%, transparent 50%);
}
/* Gear decoration */
.hero-gear {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23c8922a' d='M100 10 L110 40 L140 25 L130 55 L160 60 L140 80 L160 100 L140 120 L160 140 L130 145 L140 175 L110 160 L100 190 L90 160 L60 175 L70 145 L40 140 L60 120 L40 100 L60 80 L40 60 L70 55 L60 25 L90 40 Z'/%3E%3Ccircle fill='none' stroke='%23c8922a' stroke-width='8' cx='100' cy='100' r='45'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-content { position: relative; max-width: 680px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  margin-top: 4rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  flex-direction: column;
}
.hero-badge strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1;
}
.hero-badge span {
  font-size: 0.8rem;
  color: var(--cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--dark-2);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--dark-3); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p  { font-size: 0.95rem; }
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.feature-link::after { content: '→'; }

/* ── Machine Cards (Shop) ── */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.machine-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.machine-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
}
.machine-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.machine-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--cream-dim);
  font-size: 2.5rem;
}
.machine-img-placeholder span {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.machine-body { padding: 1.5rem; }
.machine-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-sold     { background: rgba(125, 31, 46, 0.3); color: #e87a8a; border: 1px solid var(--red); }
.badge-avail    { background: rgba(200, 146, 42, 0.15); color: var(--gold); border: 1px solid var(--gold-dim); }
.badge-repair   { background: rgba(60, 80, 120, 0.3); color: #8aaae0; border: 1px solid #3a4870; }
.badge-featured { background: rgba(125, 31, 46, 0.5); color: #f0a0aa; border: 1px solid var(--red-light); }
.machine-brand  { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.2rem; }
.machine-name   { font-family: var(--font-serif); font-size: 1.25rem; color: var(--cream); margin-bottom: 0.4rem; }
.machine-desc   { font-size: 0.875rem; color: var(--cream-dim); margin-bottom: 1rem; line-height: 1.55; }
.machine-price  { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold); margin-bottom: 1rem; }
.machine-actions { display: flex; gap: 0.75rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 5rem 0 4rem;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; }

/* ── Services / Pricing ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.service-price-note { font-size: 0.8rem; color: var(--cream-dim); margin-bottom: 1.25rem; }
.service-list { list-style: none; }
.service-list li {
  font-size: 0.9rem;
  color: var(--cream-dim);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; margin-top: 0.45rem; flex-shrink: 0; }

/* ── Process Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.step {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 2px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 auto 1rem;
}
.step h4 { color: var(--cream); margin-bottom: 0.4rem; }
.step p  { font-size: 0.875rem; }

/* ── Schedule Booking Cards ── */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.booking-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition);
}
.booking-card:hover { border-color: var(--gold-dim); }
.booking-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.booking-card h3 { margin-bottom: 0.4rem; }
.booking-card p  { font-size: 0.9rem; margin-bottom: 1.5rem; }
.booking-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.booking-meta-item {
  font-size: 0.8rem;
  color: var(--cream-dim);
}
.booking-meta-item strong { display: block; color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Schedule Embed Placeholder ── */
.schedule-embed {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  color: var(--cream-dim);
  font-size: 0.9rem;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  padding: 3rem;
}
.schedule-embed-icon { font-size: 3rem; opacity: 0.4; }

/* ── About / Story ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-frame {
  aspect-ratio: 3/4;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.3;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: 1.25rem; }

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.contact-detail p { margin: 0; font-size: 0.9rem; }
.contact-detail strong { display: block; color: var(--cream); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-dim); }
.form-group select option { background: var(--dark-2); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Banner Strip ── */
.banner-strip {
  background: var(--red);
  padding: 1.25rem 0;
  text-align: center;
}
.banner-strip p {
  color: var(--cream);
  margin: 0;
  font-size: 0.95rem;
}
.banner-strip a { color: var(--gold-light); text-decoration: underline; }

/* ── CTA Section ── */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 146, 42, 0.07), transparent 70%);
}
.cta-section h2 { margin-bottom: 1rem; position: relative; }
.cta-section p  { max-width: 520px; margin: 0 auto 2rem; position: relative; }
.cta-actions    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 0.75rem; font-size: 1.25rem; }
.footer-brand p { font-size: 0.875rem; max-width: 260px; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--cream-dim); font-size: 0.875rem; }
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: var(--cream-dim); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: var(--cream-dim); font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .about-img-frame { aspect-ratio: 16/9; }
}

@media (max-width: 700px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--dark); border-bottom: 1px solid var(--border); padding: 1.5rem 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
  .form-row  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-badges { gap: 1.5rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
