/* --------------------------------------------------------------------------
   RAINBOW BUILDERS SUPPLIES -- MAKITA SA REDESIGN SYSTEM
   Primary Accent: Deep Teal (#007A87) / Dark Teal (#005F69)
   Brand Badge: Crimson Red (#CC0000)
   Secondary Dark: Slate Navy (#0E1726 / #131B2E)
   Background: #FFFFFF / #F4F6F8
-------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  --mb-teal: #007A87;
  --mb-teal-dark: #005F69;
  --mb-teal-light: #E6F3F5;
  --mb-red: #CC0000;
  --mb-navy: #0E1726;
  --mb-navy-dark: #0A101C;
  --mb-slate: #131B2E;
  --mb-gray-bg: #F4F6F8;
  --mb-gray-border: #E0E6ED;
  --mb-text-dark: #1F2937;
  --mb-text-muted: #6B7280;
  --mb-font-display: 'Oswald', 'Archivo Black', sans-serif;
  --mb-font-body: 'Inter', sans-serif;
  --mb-max-width: 1320px;
}

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

body {
  font-family: var(--mb-font-body);
  background-color: var(--mb-gray-bg);
  color: var(--mb-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION (MAKITA SA EXACT MATCH)
-------------------------------------------------------------------------- */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--mb-slate);
}

.header-top-bar {
  background-color: var(--mb-slate);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

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

.header-brand-badge {
  background-color: var(--mb-red);
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-brand-badge .brand-logo-text {
  font-family: var(--mb-font-display);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-utility-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-utility-nav a {
  color: #D1D5DB;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.header-utility-nav a:hover {
  color: #FFFFFF;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 6px 36px 6px 14px;
  color: #FFFFFF;
  font-size: 13px;
  width: 220px;
  outline: none;
}

.header-search-input::placeholder {
  color: #9CA3AF;
}

.header-search-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Navbar Banner */
.main-nav-bar {
  background-color: var(--mb-teal);
  border-bottom: 2px solid var(--mb-teal-dark);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  display: block;
  padding: 14px 22px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: var(--mb-teal-dark);
}

.header-phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   HERO SECTION (CRYSTAL CLEAR -- NO FADE / SHADOW)
-------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-color: #E2E8F0;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* NO dark gradient overlay / NO dark shadow mask */
}

.hero-container {
  width: 100%;
  max-width: var(--mb-max-width);
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.hero-headline-title {
  font-family: var(--mb-font-display);
  font-size: 64px;
  line-height: 0.95;
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subhead-banner {
  background-color: var(--mb-teal);
  color: #FFFFFF;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFFFF;
  color: var(--mb-navy);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 16px 32px;
  border: 2px solid #FFFFFF;
  border-radius: 2px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-cta-btn:hover {
  background-color: var(--mb-teal);
  color: #FFFFFF;
  border-color: var(--mb-teal);
}

/* Hero Badge Sticker Overlay */
.hero-badge-sticker {
  position: absolute;
  top: 60px;
  right: 60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #00A3B4 0%, var(--mb-teal-dark) 100%);
  border: 3px dashed #FFFFFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  transform: rotate(-12deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 3;
}

.hero-badge-sticker .sticker-top {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge-sticker .sticker-main {
  font-family: var(--mb-font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 4px 0;
}

.hero-badge-sticker .sticker-bottom {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #E6F3F5;
}

/* --------------------------------------------------------------------------
   SECTION: "WHAT'S NEW" PRODUCT SLIDER / CARDS GRID
-------------------------------------------------------------------------- */
.whats-new-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.section-header-banner {
  text-align: center;
  margin-bottom: 40px;
}

.header-banner-pill {
  display: inline-block;
  background-color: var(--mb-teal);
  color: #FFFFFF;
  font-family: var(--mb-font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 10px 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--mb-gray-border);
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--mb-teal);
}

.product-image-wrap {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: #FAFBFD;
  border-radius: 4px;
  padding: 16px;
}

.product-image-wrap img {
  max-height: 150px;
  object-fit: contain;
}

.product-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.product-teal-bar {
  width: 4px;
  height: 38px;
  background-color: var(--mb-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--mb-navy);
  line-height: 1.35;
}

.product-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mb-teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 8px;
}

.product-view-link:hover {
  color: var(--mb-teal-dark);
}

.section-cta-row {
  text-align: center;
}

.btn-teal-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--mb-teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.btn-teal-outline:hover {
  background-color: var(--mb-teal-dark);
}

/* --------------------------------------------------------------------------
   SECTION: "GET TO KNOW US" (50/50 SPLIT SECTION)
-------------------------------------------------------------------------- */
.about-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background-color: var(--mb-teal);
}

.about-split-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.about-split-content {
  background-color: var(--mb-teal);
  color: #FFFFFF;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-subhead {
  font-size: 18px;
  font-weight: 600;
  color: #E6F3F5;
  margin-bottom: 6px;
}

.about-title {
  font-family: var(--mb-font-display);
  font-size: 44px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.about-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #F0F9FA;
  margin-bottom: 30px;
}

.btn-white {
  display: inline-block;
  background-color: #FFFFFF;
  color: var(--mb-navy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 32px;
  border-radius: 2px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.btn-white:hover {
  background-color: var(--mb-navy);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   SECTION: "WARRANTY & TRADE COMMITMENT"
-------------------------------------------------------------------------- */
.commitment-section {
  position: relative;
  background-color: var(--mb-slate);
  color: #FFFFFF;
  padding: 80px 0;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
}

.commitment-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14, 23, 38, 0.85);
}

.commitment-container {
  position: relative;
  z-index: 2;
  max-width: var(--mb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.commitment-content {
  max-width: 650px;
}

.commitment-subhead {
  color: var(--mb-teal);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.commitment-title {
  font-family: var(--mb-font-display);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.commitment-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #D1D5DB;
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   SECTION: POS INTEGRATION & WATCH IN ACTION
-------------------------------------------------------------------------- */
.pos-section {
  padding: 60px 0;
  background-color: var(--mb-gray-bg);
}

.pos-banner-title {
  background-color: #FFFFFF;
  border: 1px solid var(--mb-gray-border);
  padding: 16px 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pos-banner-title h3 {
  font-family: var(--mb-font-display);
  font-size: 28px;
  color: var(--mb-navy);
  text-transform: uppercase;
}

.pos-banner-title span {
  color: var(--mb-teal);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.pos-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pos-card {
  background: #FFFFFF;
  border: 1px solid var(--mb-gray-border);
  border-radius: 4px;
  padding: 24px;
}

.pos-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--mb-teal-light);
  color: var(--mb-teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.pos-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--mb-navy);
  margin-bottom: 8px;
}

.pos-card p {
  font-size: 13px;
  color: var(--mb-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION: "GET IN TOUCH" (CONTACT FORM & BRANCHES)
-------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  background-color: var(--mb-navy-dark);
  background-image: url('images/contact-bg.webp');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 70px 0;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 16, 28, 0.92);
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: var(--mb-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.contact-header {
  margin-bottom: 40px;
}

.contact-header h2 {
  font-family: var(--mb-font-display);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.contact-header-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.branch-accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.branch-accordion-header {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.branch-accordion-header span {
  color: var(--mb-teal);
}

.branch-accordion-body {
  padding: 0 18px 16px 18px;
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 2px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--mb-navy);
  outline: none;
}

.form-input::placeholder {
  color: #9CA3AF;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--mb-teal);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  align-self: flex-start;
  padding: 14px 40px;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--mb-teal-dark);
}

/* --------------------------------------------------------------------------
   FOOTER (MAKITA SA MATCH)
-------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--mb-navy);
  color: #9CA3AF;
  font-size: 13px;
}

.footer-top {
  padding: 60px 0 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--mb-font-display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #D1D5DB;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: var(--mb-teal);
}

.footer-bottom-bar {
  background-color: var(--mb-navy-dark);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #6B7280;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE & TABLET)
-------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-split-section {
    grid-template-columns: 1fr;
  }
  .hero-headline-title {
    font-size: 48px;
  }
  .hero-badge-sticker {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-top-inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .header-top-right {
    width: 100%;
    justify-content: space-between;
  }
  .nav-links {
    overflow-x: auto;
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .pos-cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-headline-title {
    font-size: 36px;
  }
  .hero-subhead-banner {
    font-size: 13px;
  }
}
