/* Big Red's Barn — Custom Organic Redesign
   Palette: Crimson Red, Honey Gold, Sage Green, Warm Cream, Espresso Text */
:root {
  --primary: #b91c1c;
  --primary-hover: #991b1b;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --bg-cream: #fdfbf7;
  --bg-soft: #fbf5eb;
  --bg-card: #ffffff;
  --text-dark: #291d17;
  --text-muted: #6b5c54;
  --border: #eedecf;
  --border-hover: #d7c1ae;
  --radius: 24px;
  --radius-sm: 12px;
  --maxw: 1100px;
  --font-sans: 'Nunito', sans-serif;
  --font-title: 'Baloo 2', cursive;
  --font-mono: monospace;
  --shadow: 0 10px 25px rgba(41, 29, 23, 0.05);
  --shadow-lg: 0 20px 45px rgba(41, 29, 23, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.15);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-inner .badge {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn--red {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.25);
}

.btn--red:hover {
  background: var(--primary-hover);
  transform: translateY(-2px) scale(1.02);
}

.btn--gold {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15);
}

.btn--gold:hover {
  background: var(--accent-light);
  color: var(--text-dark);
  transform: translateY(-2px) scale(1.02);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--border);
}

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

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
  height: 86px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 52px;
  width: auto;
  border-radius: 0;
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-mobile-phone,
.nav-mobile-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  font-weight: 800;
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--text-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(100px, 14vw, 170px) 0 clamp(130px, 18vw, 200px);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 98%, 0 92%);
}

.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Split Column layouts */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
}

.checklist svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Service / Product Cards */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.svc-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 10px 20px rgba(217, 119, 6, 0.05);
}

.svc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 2px solid var(--border);
}

.svc-card .body {
  padding: 28px;
}

.svc-card h3 {
  margin-bottom: 8px;
}

.svc-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Customer Reviews */
.review-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 10px 20px rgba(185, 28, 28, 0.05);
}

.review-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.review-card:hover::after {
  transform: scaleX(1);
}

.review-card .stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card p {
  font-style: italic;
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.review-card .author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: auto;
}

/* Location CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
}

/* Interior Page Hero */
.page-hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-cream) 100%);
  border-bottom: 2px solid var(--border);
  padding: 70px 0;
}

.crumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.crumb a {
  color: var(--primary);
}

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

.page-hero h1 {
  margin-bottom: 6px;
}

/* Footer styling */
.site-footer {
  background: var(--text-dark);
  color: #eedecf;
  padding: 70px 0 25px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-grid a:hover {
  color: var(--accent-light);
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(238, 222, 207, 0.15);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(238, 222, 207, 0.4);
}

.footer-credit a {
  color: var(--accent);
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 76px;
  }
  .nav-phone,
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-cream);
    border-bottom: 2px solid var(--border);
    padding: 16px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a {
    display: block;
    width: 100%;
    padding: 12px;
  }
  .nav-links.open .nav-mobile-phone,
  .nav-links.open .nav-mobile-cta {
    display: block;
    width: 100%;
    list-style: none;
  }
  .nav-links.open .nav-mobile-phone {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
  }
  .nav-links.open .nav-mobile-phone a {
    display: block;
    padding: 12px;
    font-weight: 700;
    color: var(--primary);
  }
  .nav-links.open .nav-mobile-cta {
    padding: 8px 0 4px;
    border-top: 2px solid var(--border);
    margin-top: 8px;
  }
  .nav-links.open .nav-mobile-cta .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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