/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Inter:wght@400;500&display=swap');

/* === GLOBAL RESET & TYPOGRAPHY === */
body {
  /* font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; */
  font-size: 16px;
  color: #222;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
a {
  color: #005577;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== Global Colors ===== */
body {
  background-color: #fdfdfd !important;
  color: #2e2e2e !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #073642 !important;
}

/* ===== Links ===== */
a, a:visited {
  color: #b87333 !important;
}
a:hover, a:focus {
  color: #268bd2 !important;
}

/* ===== Primary / Accent ===== */
.btn-primary,
.bg-primary {
  background-color: #002b36 !important;
  border-color: #002b36 !important;
  color: #ffffff !important;
}
.btn-primary:hover {
  background-color: #073642 !important;
  border-color: #073642 !important;
}

/* ===== Secondary Button ===== */
.btn-secondary,
.bg-secondary {
  background-color: #b87333 !important; /* copper */
  border-color: #b87333 !important;
  color: #ffffff !important; /* white text for contrast */
}
.btn-secondary:hover {
  background-color: #8c5525 !important; /* darker copper hover */
  border-color: #8c5525 !important;
}

.text-primary {
  color: #002b36 !important;
}

.bg-accent1 {
  background-color: #268bd2 !important;
  color: #ffffff !important;
}
.bg-accent2 {
  background-color: #839496 !important;
  color: #ffffff !important;
}

/* Style "Visit the site" links inside the .views-field-field-link container */
.views-field-field-link a {
  display: inline-block !important;
  padding: 0.5rem 1rem !important;
  background-color: #b87333 !important; /* copper */
  color: #ffffff !important;
  border: 1px solid #b87333 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.views-field-field-link a:hover {
  background-color: #8c5525 !important; /* darker copper */
  border-color: #8c5525 !important;
  color: #ffffff !important;
}


/* ===== Cards (generic) ===== */
.card {
  background-color: #ffffff !important;
  color: #2e2e2e !important;
}
.card a {
  color: #b87333 !important;
}

/* ===== Footer ===== */
footer,
.footer,
.site-footer {
  background-color: #073642 !important;
  color: #ffffff !important;
}
footer a,
.footer a {
  color: #b87333 !important;
}
footer a:hover {
  color: #268bd2 !important;
}

/* ===== Secondary Header ===== */
.secondary-header {
  background-color: #b87333 !important;
  color: #ffffff !important;
}
.secondary-header a {
  color: #ffffff !important;
}

/* ===== Top Header ===== */
.top-header {
  background-color: #ffffff !important;
  color: #073642 !important;
}
.top-header a {
  color: #073642 !important;
}

/* ===== Side Header / Mobile Menu ===== */
.side-header,
.mobile-menu {
  background-color: #fdf6e3 !important;
  color: #2e2e2e !important;
}
.side-header a,
.mobile-menu a {
  color: #2e2e2e !important;
}

/* ===== Page Title Bar ===== */
.page-title {
  background-color: #268bd2 !important;
  color: #ffffff !important;
}

/* ===== Grays ===== */
.gray-light { color: #93a1a1 !important; }
.gray-lighter { color: #eee8d5 !important; }
.silver { color: #dcdcdc !important; }

/* === CONTAINER LAYOUT (homepage grid) === */
.view-showcase-grid {
  /* max-width: 1200px; 
  margin: 2rem auto;
  padding: 0 1rem;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem !important; /* more space between cards */
}

/* === GRID ITEM cards (use .views-col per your markup) === */
.views-view-responsive-grid__item {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  align-items: center !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  margin-bottom: 2rem !important;       /* extra breathing room */
}
.views-view-responsive-grid__item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  transform: translateY(-2px) !important;
}

/* Push the tag list to the bottom to normalize card heights */
.view-showcase-grid .views-col .field--name-field-tags {
  margin-top: auto !important;
}

/* === TITLE STYLING – larger & not orange === */
.view-showcase-grid .views-col .field--name-title a {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #073642 !important;
  text-decoration: none !important;
}
.view-showcase-grid .views-col .field--name-title a:hover {
  color: #268bd2 !important;
}
.view-showcase-grid .views-col .field--name-title {
  margin-bottom: 0.75rem !important;
}

/* === IMAGES === */
.view-showcase-grid .views-col img {
  margin-bottom: 1rem !important;
  max-width: 200px !important;
  height: auto !important;
  border-radius: 4px !important;
}

/* === SUMMARY/DESCRIPTION === */
.view-showcase-grid .views-col .field--name-body {
  font-size: 0.95rem !important;
  color: #444 !important;
  margin-bottom: 1rem !important;
}

/* === TAG LINKS under cards === */
.view-showcase-grid .views-col .field--name-field-tags a {
  color: #b87333 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.view-showcase-grid .views-col .field--name-field-tags a:hover {
  color: #268bd2 !important;
  text-decoration: underline !important;
}

/* === CTA links in cards: make "Visit the site"/"View project" look like buttons === */
/* Targets the last paragraph's link in the body, plus any link given .btn/.button/.cta */
.view-showcase-grid .views-col .field--name-body p:last-of-type > a,
.view-showcase-grid .views-col .field--name-body a.btn,
.view-showcase-grid .views-col .field--name-body a.button,
.view-showcase-grid .views-col .field--name-body a.cta {
  display: inline-block !important;
  padding: 0.5rem 1rem !important;
  background-color: #b87333 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  border: 1px solid #b87333 !important;
  margin-top: 0.5rem !important;
}
.view-showcase-grid .views-col .field--name-body p:last-of-type > a:hover,
.view-showcase-grid .views-col .field--name-body a.btn:hover,
.view-showcase-grid .views-col .field--name-body a.button:hover,
.view-showcase-grid .views-col .field--name-body a.cta:hover {
  background-color: #8c5525 !important;
  border-color: #8c5525 !important;
  color: #ffffff !important;
}

/* Style links in product page field--name-field-link as secondary buttons */
.field--name-field-link a {
  display: inline-block !important;
  padding: 0.5rem 1rem !important;
  background-color: #b87333 !important; /* copper */
  color: #ffffff !important;
  border: 1px solid #b87333 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.field--name-field-link a:hover {
  background-color: #8c5525 !important; /* darker copper */
  border-color: #8c5525 !important;
  color: #ffffff !important;
}


/* === REMOVE DUPLICATE FIELD LABELS (fallback) === */
.node--type-work .field__label { display: none; }

/* === EXTRA image container rules (fallbacks from earlier) === */
.views-field.views-field-field-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border-radius: 6px;
}
.views-field-field-image img {
  width: 100%;
  height: 200px; /* or 250px */
  object-fit: cover;
  display: block;
}

/* Accessibility skip link (unchanged) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Heading on product pages (unchanged) */
.views-field-title,
.field--name-title{
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-family: 'Merriweather', serif !important;
}

.field-content a {
  color: #073642 !important;
}

/* Spacing next to product image (unchanged) */
.field.field--name-field-image.field--type-image.field--label-hidden.field__item  {
  padding-right: 1rem;
}

/* === HIDE "Showcase Grid" heading === */
h2.block-title {
  display: none !important;
}

/* Headings: Merriweather (serif) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif !important;
  font-weight: 700 !important;
  color: #073642; /* keep your heading color */
  line-height: 1.3;
}

/* Slightly bigger heading sizes for visual hierarchy */
h1 { font-size: 2.4rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.6rem !important; }
h4 { font-size: 1.3rem !important; }
h5, h6 { font-size: 1.1rem !important; }

/* Body text: Inter (sans-serif) */
body, p, li {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 1rem;
  line-height: 1.6;
}

/* Optional: Make buttons match body font for consistency */
button, 
input[type="submit"], 
.btn, 
a.button, 
a.btn-primary, 
a.btn-secondary {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
}

/* Give the tags on the cards some breathing room */
.views-field-field-tags {
    margin-top:1rem;
}

/* Headshot image formatting */
.intro-headshot {
  display: block;
  max-width: 250px;
  max-height: 286px;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
}

/* Force text color on secondary buttons in all states */
a.btn.btn-secondary,
a.btn.btn-secondary:link,
a.btn.btn-secondary:visited,
a.btn.btn-secondary:hover,
a.btn.btn-secondary:active,
button.btn.btn-secondary {
  color: #ffffff !important;
}

/* Keep the background/hover you already use */
a.btn.btn-secondary,
button.btn.btn-secondary {
  background-color: #b87333 !important;
  border-color: #b87333 !important;
}
a.btn.btn-secondary:hover,
button.btn.btn-secondary:hover {
  background-color: #8c5525 !important;
  border-color: #8c5525 !important;
}

a.btn.btn-primary,
a.btn.btn-primary:link,
a.btn.btn-primary:visited,
a.btn.btn-primary:hover,
a.btn.btn-primary:active {
  color: #ffffff !important;
}

.views-field-field-link a,
.views-field-field-link a:link,
.views-field-field-link a:visited,
.views-field-field-link a:hover,
.views-field-field-link a:active {
  color: #ffffff !important;
}

