/* BargainHuntingBoot.com - Rugged Outdoor Aesthetic */

:root {
  --color-earth: #2C1810;
  --color-leather: #8B4513;
  --color-tan: #D2B48C;
  --color-cream: #FDF5E6;
  --color-forest: #228B22;
  --color-moss: #3D5A3D;
  --color-rust: #B7410E;
  --color-gold: #DAA520;
  --color-charcoal: #36454F;
  --color-white: #FFFFFF;
  
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.12);
  --shadow-md: 0 4px 12px rgba(44, 24, 16, 0.15);
  --shadow-lg: 0 8px 24px rgba(44, 24, 16, 0.2);
}

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

body {
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-earth);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-earth);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-tan);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-header nav a {
  color: var(--color-cream);
  text-decoration: none;
  margin-left: 24px;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-earth) 0%, var(--color-charcoal) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D2B48C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-tan);
  margin-bottom: 32px;
  position: relative;
}

.search-box {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-body);
}

.search-box button {
  padding: 16px 32px;
  background: var(--color-rust);
  color: var(--color-white);
  border: none;
  border-radius: 0 4px 4px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-box button:hover {
  background: var(--color-leather);
}

/* Page Headers */
.page-header {
  background: var(--color-earth);
  padding: 48px 0;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--color-tan);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--color-tan);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  padding: 48px 0;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-earth);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.brand-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-earth);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.2s;
}

.brand-card:hover {
  border-color: var(--color-leather);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.brand-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.brand-card p {
  color: var(--color-leather);
  font-weight: 600;
}

.brand-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.brand-card-full {
  background: var(--color-white);
  padding: 32px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-earth);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-leather);
  transition: all 0.2s;
}

.brand-card-full:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.brand-card-full h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 8px;
}

.brand-card-full .price-range {
  color: var(--color-leather);
  font-weight: 600;
  margin-bottom: 12px;
}

.brand-card-full .description {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tag {
  background: var(--color-cream);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-charcoal);
}

/* Metro Grid */
.metro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.metro-card {
  background: var(--color-white);
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-earth);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.metro-card:hover {
  background: var(--color-earth);
  color: var(--color-cream);
}

.metro-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.metro-card .state {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* View All Link */
.view-all {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: var(--color-leather);
  font-weight: 600;
  text-decoration: none;
}

.view-all:hover {
  color: var(--color-rust);
  text-decoration: underline;
}

/* Retailer Cards */
.retailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.retailer-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.retailer-card.featured {
  border: 2px solid var(--color-gold);
  position: relative;
}

.retailer-card.featured::before {
  content: '⭐ Top Pick';
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-earth);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.retailer-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-earth);
}

.retailer-card p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.retailer-card .phone a {
  color: var(--color-earth);
  text-decoration: none;
}

.retailer-card .phone a:hover {
  color: var(--color-leather);
}

.retailer-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn-secondary {
  padding: 8px 16px;
  background: var(--color-cream);
  color: var(--color-earth);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--color-tan);
}

.retailer-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-leather);
  font-weight: 600;
  text-decoration: none;
}

.retailer-link:hover {
  color: var(--color-rust);
}

/* No Results */
.no-local-stores {
  background: var(--color-white);
  padding: 48px;
  border-radius: 8px;
  text-align: center;
}

.no-local-stores p {
  margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
  background: var(--color-moss);
  color: var(--color-cream);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-cream);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cta-btn {
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.cta-btn.amazon {
  background: #FF9900;
  color: #111;
}

.cta-btn.rei {
  background: #4A7C59;
  color: white;
}

.cta-btn.zappos {
  background: #00A0C6;
  color: white;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Affiliate Grid */
.affiliate-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.affiliate-card {
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  background: var(--color-white);
  border: 2px solid var(--color-tan);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.affiliate-card .retailer-logo {
  width: 160px;
  height: 48px;
  object-fit: contain;
}

.affiliate-card .store-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-earth);
}

.affiliate-card .store-benefit {
  font-size: 0.875rem;
  color: var(--color-moss);
  font-weight: 600;
}

.affiliate-card .cta {
  font-weight: 600;
  color: var(--color-leather);
  background: var(--color-tan);
  padding: 8px 16px;
  border-radius: 4px;
}

.affiliate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-leather);
}

.affiliate-card.brand-store {
  border-color: var(--color-gold);
  border-width: 3px;
}

.affiliate-card-large.brand-store {
  border: 3px solid var(--color-gold);
}

/* Large Affiliate Cards */
.online-retailers-section.highlight {
  background: var(--color-earth);
  color: var(--color-cream);
  padding: 48px 0;
}

.online-retailers-section.highlight h2,
.online-retailers-section.highlight p {
  color: var(--color-cream);
}

.affiliate-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.affiliate-card-large {
  padding: 24px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.affiliate-card-large .retailer-logo {
  width: 180px;
  height: 54px;
  object-fit: contain;
}

.affiliate-card-large .store-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-earth);
}

.affiliate-card-large .store-benefit,
.affiliate-card-large .benefits {
  display: block;
  font-size: 0.9rem;
  color: var(--color-moss);
  font-weight: 600;
}

.affiliate-card-large .cta-large {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-leather);
  color: var(--color-cream);
  border-radius: 4px;
  font-weight: 600;
}

.affiliate-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Related Links */
.related-searches {
  background: var(--color-cream);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.related-links a {
  padding: 8px 16px;
  background: var(--color-white);
  color: var(--color-earth);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.related-links a:hover {
  background: var(--color-earth);
  color: var(--color-cream);
}

/* Brand Links */
.brand-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-link {
  padding: 12px 20px;
  background: var(--color-white);
  color: var(--color-earth);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.brand-link:hover {
  background: var(--color-leather);
  color: var(--color-white);
}

/* Region Sections */
.region-section {
  margin-bottom: 40px;
}

.region-section h2 {
  text-align: left;
  border-bottom: 2px solid var(--color-tan);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.metro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metro-link {
  padding: 8px 16px;
  background: var(--color-white);
  color: var(--color-earth);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.metro-link:hover {
  background: var(--color-leather);
  color: var(--color-white);
}

/* Footer */
.site-footer {
  background: var(--color-earth);
  color: var(--color-tan);
  padding: 32px 0;
  text-align: center;
}

.site-footer p {
  margin-bottom: 8px;
}

.affiliate-disclosure {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .search-box {
    flex-direction: column;
  }
  
  .search-box input,
  .search-box button {
    border-radius: 4px;
  }
  
  .search-box button {
    margin-top: 8px;
  }
  
  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }
  
  .site-header nav a {
    margin: 0 12px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .retailer-actions {
    flex-direction: column;
  }
}
