/* === DanWill Herbals — Custom Styles === */
/* Unique classes, no generic naming */

:root {
  --dw-forest: #2d5a3d;
  --dw-moss: #4a7c59;
  --dw-sage: #8ba888;
  --dw-cream: #f5f0e8;
  --dw-bark: #5c3d2e;
  --dw-gold: #c9a94e;
  --dw-linen: #faf7f2;
  --dw-shadow: rgba(45, 90, 61, 0.12);
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  color: #3a3a3a;
  background: var(--dw-linen);
}

/* === Top Navigation === */
.dw-topnav {
  background: var(--dw-forest);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px var(--dw-shadow);
}

.dw-topnav .navbar-brand {
  color: var(--dw-cream);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.dw-topnav .navbar-brand img {
  height: 36px;
  margin-right: 8px;
}

.dw-topnav .nav-link {
  color: var(--dw-cream) !important;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.dw-topnav .nav-link:hover {
  color: var(--dw-gold) !important;
}

/* === Welcome Band (not hero) === */
.dw-welcome {
  background: linear-gradient(135deg, var(--dw-forest) 0%, var(--dw-moss) 100%);
  color: var(--dw-cream);
  padding: 4rem 0;
  text-align: center;
}

.dw-welcome h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.dw-welcome .dw-tagline {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Assortment (products) === */
.dw-assortment {
  padding: 4rem 0;
  background: var(--dw-cream);
}

.dw-assortment h2 {
  color: var(--dw-forest);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.dw-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--dw-shadow);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  margin-bottom: 2rem;
}

.dw-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.18);
}

.dw-product-card .dw-card-img {
  height: 220px;
  background: var(--dw-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dw-product-card .dw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dw-product-card .dw-card-body {
  padding: 1.5rem;
}

.dw-product-card .dw-card-title {
  color: var(--dw-forest);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.dw-product-card .dw-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

.dw-product-card .dw-card-herbs {
  font-size: 0.85rem;
  color: var(--dw-moss);
  font-style: italic;
  margin-bottom: 1rem;
}

.dw-product-card .dw-price-tag {
  font-size: 1.3rem;
  color: var(--dw-bark);
  font-weight: bold;
}

.dw-product-card .dw-price-unit {
  font-size: 0.8rem;
  color: #888;
  font-weight: normal;
}

/* === Philosophy (about) === */
.dw-philosophy {
  padding: 4rem 0;
  background: var(--dw-linen);
}

.dw-philosophy h2 {
  color: var(--dw-forest);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.dw-philosophy p {
  line-height: 1.8;
  font-size: 1.02rem;
  color: #444;
}

.dw-philosophy .dw-value-icon {
  font-size: 2rem;
  color: var(--dw-moss);
  margin-bottom: 0.5rem;
}

.dw-philosophy .dw-value-title {
  font-weight: bold;
  color: var(--dw-forest);
  margin-bottom: 0.3rem;
}

/* === Brewing Guide === */
.dw-brewing {
  padding: 4rem 0;
  background: var(--dw-cream);
}

.dw-brewing h2 {
  color: var(--dw-forest);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.dw-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dw-forest);
  color: var(--dw-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.dw-step-title {
  text-align: center;
  color: var(--dw-forest);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.dw-step-text {
  text-align: center;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* === Voices (testimonials) === */
.dw-voices {
  padding: 4rem 0;
  background: var(--dw-linen);
}

.dw-voices h2 {
  color: var(--dw-forest);
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.dw-voice-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 3px 12px var(--dw-shadow);
  margin-bottom: 1.5rem;
}

.dw-voice-card .dw-voice-text {
  font-style: italic;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.dw-voice-card .dw-voice-author {
  color: var(--dw-moss);
  font-weight: bold;
  font-size: 0.9rem;
}

/* === Contact === */
.dw-reachus {
  padding: 4rem 0;
  background: var(--dw-forest);
  color: var(--dw-cream);
}

.dw-reachus h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.dw-reachus .dw-contact-line {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.dw-reachus .dw-contact-line strong {
  display: inline-block;
  min-width: 100px;
}

/* === Footer === */
.dw-footer {
  background: #1a3a25;
  color: var(--dw-sage);
  padding: 2rem 0;
  font-size: 0.85rem;
}

.dw-footer a {
  color: var(--dw-sage);
  text-decoration: none;
  transition: color 0.2s;
}

.dw-footer a:hover {
  color: var(--dw-cream);
}

/* === Cookie Consent === */
.dw-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dw-forest);
  color: var(--dw-cream);
  padding: 1rem 0;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.dw-consent-bar.dw-visible {
  display: block;
}

.dw-consent-bar .dw-consent-text {
  font-size: 0.88rem;
  line-height: 1.5;
}

.dw-consent-bar .dw-consent-text a {
  color: var(--dw-gold);
}

.dw-consent-bar .btn {
  background: var(--dw-gold);
  border: none;
  color: #1a3a25;
  font-weight: bold;
  padding: 0.4rem 1.5rem;
  font-size: 0.88rem;
}

.dw-consent-bar .btn:hover {
  background: #d4b85e;
}

/* === Responsive === */
@media (max-width: 768px) {
  .dw-welcome {
    padding: 2.5rem 0;
  }
  .dw-welcome h1 {
    font-size: 1.6rem;
  }
  .dw-assortment,
  .dw-philosophy,
  .dw-brewing,
  .dw-voices {
    padding: 2.5rem 0;
  }
  .dw-product-card .dw-card-img {
    height: 180px;
  }
}
