/* ==========================================================================
   MEMBCO — Laravel rebuild stylesheet
   Recreates the original WordPress theme's palette & typography:
   greens #007f42 / #58ba47 / #00a450, dark sections #1a1a1a,
   Roboto (body) + Roboto Condensed (nav/widget titles) + Pathway Gothic One.
   ========================================================================== */

:root {
  --brand-green-dark: #007f42;
  --brand-green: #58ba47;
  --brand-green-accent: #00a450;
  --brand-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #343e47;
  --heading-color: #222222;
  --border-light: #eeeeee;
}

* { box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-body);
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: var(--heading-color);
  margin-top: 0;
}

h1 { font-size: 42px; line-height: 1.2; color: #111; }
h2 { font-size: 32px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.3; }
h4 { font-size: 20px; line-height: 1.4; }

a { color: var(--brand-green-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-green-accent); }

.lead { font-size: 18px; line-height: 1.7; color: var(--text-muted); }

/* ---------------------------------- Buttons ---------------------------------- */
.btn-brand {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: .65rem 1.5rem;
  border-radius: 2px;
}
.btn-brand:hover { background-color: var(--brand-green-accent); border-color: var(--brand-green-accent); color: #fff; }

.btn-outline-brand {
  background: transparent;
  border: 1px solid var(--brand-green-dark);
  color: var(--brand-green-dark);
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: .65rem 1.5rem;
  border-radius: 2px;
}
.btn-outline-brand:hover { background: var(--brand-green-dark); color: #fff; }

.btn-outline-light {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: .65rem 1.5rem;
  border-radius: 2px;
}
.btn-outline-light:hover { background: #fff; color: var(--brand-dark); }

.btn-light {
  background: #fff;
  color: var(--brand-green-dark);
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  padding: .65rem 1.75rem;
  border-radius: 2px;
}
.btn-light:hover { background: var(--brand-dark); color: #fff; }

/* ---------------------------------- Header ---------------------------------- */
.top-bar {
  background: var(--brand-dark);
  color: #cfcfcf;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
}
.top-bar-inner { display: flex; justify-content: flex-end; gap: 2rem; padding: 8px 0; }
.top-bar-item i { color: var(--brand-green); margin-right: 6px; }
.top-bar-item a { color: #cfcfcf; }
.top-bar-item a:hover { color: var(--brand-green); }

.main-nav { background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: .75rem 0; transition: box-shadow .2s ease; }
.main-nav.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.main-nav .navbar-brand img { display: block; }

.main-nav .nav-link {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 15px;
  color: #292929;
  padding: .5rem 1rem;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active { color: var(--brand-green-dark); }

.main-nav .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border-radius: 0;
  padding: .5rem 0;
}
.main-nav .dropdown-item {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #333;
  padding: .5rem 1.25rem;
}
.main-nav .dropdown-item:hover { background: var(--brand-green-dark); color: #fff; }

/* ---------------------------------- Hero Slider ---------------------------------- */
.hero-slider .carousel-item { min-height: 560px; }
.hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide-content { max-width: 640px; color: #fff; padding: 3rem 0; }
.hero-slide-content h1 { color: #fff; font-size: 48px; margin-bottom: 1rem; }
.hero-slide-content p { font-size: 18px; line-height: 1.6; margin-bottom: 1.75rem; color: #e8e8e8; }
.hero-slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-slider .carousel-indicators [data-bs-target] { background-color: #fff; }

/* ---------------------------------- Page header (inner pages) ---------------------------------- */
.page-header {
  background: var(--brand-dark) url('/images/site/inner-header-bg.jpg') center/cover no-repeat;
  padding: 90px 0 40px;
  color: #fff;
  position: relative;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,.55); }
.page-header .container { position: relative; z-index: 1; }
.page-header .page-title { color: #fff; font-size: 38px; margin-bottom: .5rem; }
.page-header .breadcrumb { margin: 0; background: transparent; padding: 0; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: #d8d8d8; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; }
.page-header .breadcrumb-item.active { color: var(--brand-green); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #999; }

/* ---------------------------------- Sections ---------------------------------- */
section { padding: 60px 0; }
.intro-section { padding-bottom: 20px; }
.tabs-section { padding-top: 20px; }

.section-heading { margin-bottom: 2.5rem; position: relative; }
.section-heading h2 { position: relative; display: inline-block; padding-bottom: .75rem; }
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-green-dark);
}
.section-heading.text-left h2::after { left: 0; transform: none; }

.tabs-section .nav-pills .nav-link {
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  color: #292929;
  background: #f2f2f2;
  border-radius: 2px;
  margin: 0 .25rem;
}
.tabs-section .nav-pills .nav-link.active { background: var(--brand-green-accent); color: #fff; }
.tabs-section .tab-content { background: var(--brand-green-accent); color: #fff; padding: 2rem; border-radius: 2px; text-align: center; }
.tabs-section .tab-content p { margin: 0; font-size: 17px; }

.welcome-band { height: 60px; background-size: cover; background-position: center; }

.check-message {
  background: #f7f9f7;
  border-left: 3px solid var(--brand-green-dark);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  height: 100%;
}
.check-message i { color: var(--brand-green-dark); font-size: 22px; margin-top: 4px; }
.check-message p { margin: 0; color: var(--text-muted); }

.cta-band {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green-accent));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #eafcef; max-width: 560px; margin: 0 auto 1.5rem; }

/* ---------------------------------- Product cards ---------------------------------- */
.product-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,.08); }
.product-card-media { height: 180px; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-size: 19px; margin-bottom: .5rem; }
.product-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: .75rem; }
.product-card-link { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 13px; font-weight: 700; color: var(--brand-green-dark); }
.product-card-link i { margin-left: 4px; font-size: 11px; }

/* ---------------------------------- News cards ---------------------------------- */
.news-card { background: #fff; border: 1px solid var(--border-light); border-radius: 4px; overflow: hidden; height: 100%; }
.news-card-media { position: relative; height: 180px; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card-date {
  position: absolute; bottom: 0; left: 0;
  background: var(--brand-green-dark); color: #fff;
  font-family: 'Roboto Condensed', sans-serif; font-size: 12px;
  padding: 4px 10px;
}
.news-card-body { padding: 1.25rem; }
.news-card-body h3 { font-size: 18px; margin-bottom: .5rem; }
.news-card-body h3 a { color: var(--heading-color); }
.news-card-body h3 a:hover { color: var(--brand-green-dark); }
.news-card-body p { font-size: 14px; color: var(--text-muted); }
.news-card-link { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 13px; font-weight: 700; color: var(--brand-green-dark); }

/* ---------------------------------- Content pages ---------------------------------- */
.content-section p { color: var(--text-muted); margin-bottom: 1.1rem; }
.content-section h2 { margin-bottom: 1rem; }
.content-section h3 { margin: 1.5rem 0 1rem; }

.vision-mission-card {
  background: #f7f9f7;
  border-top: 3px solid var(--brand-green-dark);
  padding: 1.5rem;
  height: 100%;
  border-radius: 4px;
}
.vision-mission-card h3 { font-size: 20px; margin-bottom: .75rem; }
.vision-mission-card h3 i { color: var(--brand-green-dark); margin-right: 8px; }

.advantages-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.advantages-list li { position: relative; padding-left: 1.5rem; color: var(--text-muted); font-size: 15px; }
.advantages-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--brand-green-dark); position: absolute; left: 0; }

/* ---------------------------------- Product detail ---------------------------------- */
.product-meta-row { display: flex; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.product-meta-row .label { display: block; font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 12px; color: #999; }
.product-meta-row .value { display: block; font-size: 16px; color: var(--heading-color); font-weight: 400; }

.spec-table-wrap { margin: 1.5rem 0; }
.spec-table { border: 1px solid var(--border-light); font-size: 14px; }
.spec-table thead th {
  background: var(--brand-green-dark);
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  border: none;
  vertical-align: middle;
}
.spec-table tbody td { color: var(--text-muted); vertical-align: middle; border-color: var(--border-light); }
.spec-table tbody tr:nth-child(even) { background: #fafafa; }
.spec-table .spec-group-heading td {
  background: #eef6f0;
  color: var(--brand-green-dark);
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

.sidebar-card { background: #f7f9f7; border-radius: 4px; padding: 1.5rem; }
.sidebar-card .widget-title { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 15px; margin-bottom: 1rem; }

/* ---------------------------------- News article ---------------------------------- */
.news-article .post-date { font-family: 'Roboto Condensed', sans-serif; color: #999; font-size: 13px; text-transform: uppercase; margin-bottom: 1rem; }
.news-article-body { font-size: 16px; color: var(--text-muted); }

/* ---------------------------------- Contact / Inquire ---------------------------------- */
.contact-info-card { padding: 1.5rem; border-radius: 4px; color: #fff; background: var(--brand-green); height: 100%; }
.contact-info-card--dark { background: var(--brand-green-dark); }
.contact-info-card h4 { color: #fff; margin-bottom: .75rem; }
.contact-info-card h4 i { margin-right: 8px; }
.contact-info-card p { color: #eafcef; margin: 0; }
.contact-info-card a { color: #fff; text-decoration: underline; }

.membco-form .form-label { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 13px; color: #555; }
.membco-form .form-control { border-radius: 2px; border-color: #dcdcdc; padding: .6rem .75rem; }
.membco-form .form-control:focus { border-color: var(--brand-green-dark); box-shadow: 0 0 0 .2rem rgba(0,127,66,.15); }

.what-you-get-list { list-style: none; padding: 0; margin: 0; }
.what-you-get-list li { position: relative; padding: .75rem 0 .75rem 1.75rem; border-bottom: 1px solid var(--border-light); color: var(--text-muted); font-size: 14px; }
.what-you-get-list li:last-child { border-bottom: none; }
.what-you-get-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--brand-green-dark); position: absolute; left: 0; top: .75rem; }

.map-embed iframe { width: 100%; border-radius: 4px; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--brand-dark); color: #bdbdbd; }
.footer-main { padding: 60px 0 30px; }
.site-footer .widget-title { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; font-size: 15px; color: #fff; margin-bottom: 1.25rem; }
.site-footer p { color: #a9a9a9; font-size: 14px; }
.footer-about-img { max-width: 140px; }

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-list li:last-child { border-bottom: none; }
.footer-list a { color: #bdbdbd; font-size: 14px; }
.footer-list a:hover { color: var(--brand-green); }
.footer-list .post-date { display: block; font-size: 12px; color: #777; }

.get-in-touch-item { display: flex; gap: .75rem; align-items: flex-start; }
.get-in-touch-item i { color: var(--brand-green); font-size: 18px; margin-top: 3px; width: 20px; }
.get-in-touch-item p { margin: 0; font-size: 14px; }
.get-in-touch-item p span { color: #e6e6e6; }
.site-footer hr { border-color: rgba(255,255,255,.08); margin: .75rem 0; }

.footer-bottom { background: #111111; padding: 18px 0; font-size: 13px; }
.footer-bottom .copyright { color: #888; }
.social-list { list-style: none; display: flex; gap: .6rem; margin: 0; padding: 0; }
.social-list a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #bdbdbd;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.social-list a:hover { background: var(--brand-green-dark); color: #fff; }

/* ---------------------------------- Responsive ---------------------------------- */
@media (max-width: 991.98px) {
  .hero-slide, .hero-slider .carousel-item { min-height: 460px; }
  .hero-slide-content h1 { font-size: 34px; }
  .page-header { padding: 70px 0 30px; }
  .main-nav .navbar-nav { background: #fff; padding: 1rem 0; }
  .main-nav .btn-brand, .main-nav .btn-outline-brand { display: inline-block; margin: .4rem 0; }
  .advantages-list { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .hero-slide, .hero-slider .carousel-item { min-height: 400px; }
  .hero-slide-content h1 { font-size: 26px; }
  .hero-slide-content p { font-size: 15px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  section { padding: 40px 0; }
}
