/**
 * Prosaic Steel — global redesign layer (loads after Bootstrap + legacy styles.css).
 * Goals: responsive type, readable body copy, faster paint (carousel), a11y, SEO-friendly defaults.
 * Outfit loads via Google Fonts link in HTML (not @import — avoids render-blocking CSS chain).
 */

:root {
  --ps-brand: #af2824;
  --ps-brand-hover: #8c1f1c;
  --ps-text: #1a1a1a;
  --ps-text-muted: #4a4a4a;
  --ps-bg: #ffffff;
  --ps-surface: #f6f7f8;
  --ps-font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* All headings: Outfit (geometric sans, pairs with Source Sans 3) */
  --ps-font-heading: "Outfit", "Source Sans 3", system-ui, sans-serif;
  --ps-font-display: "Oswald", "Source Sans 3", system-ui, sans-serif;
  --ps-radius: 0.5rem;
  --ps-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --ps-page-gutter: clamp(0.75rem, 3vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
}

/* Full-width layout: use full viewport; keep comfortable side padding only */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 100% !important;
  width: 100%;
  padding-left: var(--ps-page-gutter) !important;
  padding-right: var(--ps-page-gutter) !important;
}

.container-fluid {
  padding-left: var(--ps-page-gutter) !important;
  padding-right: var(--ps-page-gutter) !important;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ps-text) !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased;
}

body.fonts-loaded,
body.fonts-loaded p,
body.fonts-loaded li {
  font-family: var(--ps-font-sans) !important;
}

body.fonts-loaded h1,
body.fonts-loaded h2,
body.fonts-loaded h3,
body.fonts-loaded h4,
body.fonts-loaded h5,
body.fonts-loaded h6,
body.fonts-loaded .h1,
body.fonts-loaded .h2,
body.fonts-loaded .h3,
body.fonts-loaded .h4,
body.fonts-loaded .h5,
body.fonts-loaded .h6 {
  font-family: var(--ps-font-heading) !important;
}

/* Uniform heading scale (fluid) — all H tags use Outfit */
h1,
.h1 {
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--ps-brand) !important;
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--ps-brand) !important;
  letter-spacing: -0.02em;
}

h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--ps-font-heading) !important;
  font-weight: 600 !important;
  color: var(--ps-brand) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
}

h3,
.h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem) !important;
}

h4,
.h4 {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem) !important;
  font-weight: 600 !important;
}

h5,
.h5 {
  font-size: clamp(0.98rem, 0.9rem + 0.25vw, 1.05rem) !important;
  font-weight: 600 !important;
}

h6,
.h6 {
  font-size: clamp(0.95rem, 0.88rem + 0.2vw, 1rem) !important;
  font-weight: 500 !important;
}

p,
li,
td,
th {
  font-family: var(--ps-font-sans) !important;
  color: var(--ps-text-muted);
}

p {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem) !important;
  line-height: 1.65 !important;
  text-align: start !important;
  max-width: none;
}

a:focus-visible,
button:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* ----- Homepage hero carousel: readable white type on photos ----- */
.banner-bg .carousel {
  position: relative;
}

.banner-bg .carousel-item {
  position: relative;
}

.banner-bg .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.carousel img {
  height: auto !important;
  min-height: 220px;
  max-height: min(85vh, 720px);
  width: 100% !important;
  aspect-ratio: 1920 / 720;
  object-fit: cover;
}

.carousel-caption {
  max-width: none !important;
  left: var(--ps-page-gutter) !important;
  right: var(--ps-page-gutter) !important;
  width: auto !important;
  z-index: 2;
  text-align: left !important;
  bottom: 28% !important;
  padding-bottom: 0;
}

.carousel h1,
.carousel h3,
.carousel p {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.carousel h1 {
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(1.5rem, 3vw, 2.75rem) !important;
  font-weight: 700 !important;
  width: 100% !important;
  max-width: 42rem;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
  text-transform: none !important;
}

.carousel h3 {
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(0.95rem, 2vw, 1.35rem) !important;
  font-weight: 600 !important;
  width: 100% !important;
  max-width: 36rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.95;
}

.carousel p {
  width: 100% !important;
  max-width: 36rem !important;
}

@media (max-width: 767.98px) {
  .banner-bg .carousel-item::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.75) 100%
    );
  }

  .carousel-caption {
    bottom: 12% !important;
  }

  .carousel h1 {
    font-size: clamp(1.25rem, 5vw, 1.65rem) !important;
  }
}

/* ----- Inner page banner (title + breadcrumb on photo) ----- */
.inner-bg {
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 4.5rem 0 2.5rem !important;
}

/* Banner photo: set via inline background-image on .inner-bg[data-bg] (works on file:// and live) */
.inner-bg[data-bg] {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-us-visual {
  will-change: transform;
  transform: perspective(300px) rotateX(2deg) rotateY(1deg);
}

/* All content tables scroll horizontally on small screens */
.about-bg .table-responsive,
section .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.about-bg table,
section table {
  min-width: 100%;
}

.text-note {
  font-size: x-small;
}

.table thead tr,
.table tr.text-center-row {
  text-align: center;
}

.about-bg td .table-responsive,
section td .table-responsive {
  margin-bottom: 0;
}

.inner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.62) 100%
  );
  z-index: 0;
}

.inner-bg > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.inner-bg h1 {
  color: #fff !important;
  text-align: center !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
  margin-bottom: 1.25rem !important;
}

.breadcrumb-bg {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(4px);
  max-width: 100%;
  margin: 0 auto;
}

.breadcrumb-bg ul li {
  color: rgba(255, 255, 255, 0.88) !important;
  border-right-color: rgba(255, 255, 255, 0.3) !important;
}

.breadcrumb-bg ul li a {
  color: #fff !important;
  font-weight: 600;
}

.breadcrumb-bg ul li a:hover {
  color: #f5c4c2 !important;
  text-decoration: underline !important;
}

@media (max-width: 767.98px) {
  .inner-bg {
    min-height: auto;
    padding: 2.5rem 0 1.75rem !important;
  }

  .inner-bg h1 {
    font-size: clamp(1.15rem, 4.5vw, 1.5rem) !important;
    margin-bottom: 1rem !important;
  }

  .breadcrumb-bg {
    border-radius: 0.5rem !important;
  }

  .breadcrumb-bg ul li {
    display: block;
    border-right: none !important;
    line-height: 1.6 !important;
    padding: 0.15rem 0.5rem;
  }
}

/* ----- Main navigation ----- */
header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.nav-bg {
  padding-left: var(--ps-page-gutter) !important;
  padding-right: var(--ps-page-gutter) !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-bg .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.nav-bg .navbar-light,
.nav-bg .navbar.bg-light {
  background: transparent !important;
}

.nav-bg .navbar-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.35rem;
}

.nav-bg .navbar-nav .nav-link {
  font-family: var(--ps-font-heading) !important;
  font-size: clamp(0.72rem, 0.65rem + 0.35vw, 0.88rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ps-text) !important;
  padding: 0.5rem 0.55rem !important;
  border-radius: 0.25rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-bg .navbar-nav .nav-link:hover,
.nav-bg .navbar-nav .nav-link:focus {
  color: var(--ps-brand) !important;
  background: rgba(175, 40, 36, 0.08);
}

.nav-bg .navbar-nav .nav-item:last-child .nav-link {
  color: var(--ps-brand) !important;
}

.nav-bg .navbar-toggler {
  border-color: rgba(175, 40, 36, 0.35);
  padding: 0.35rem 0.55rem;
}

@media (min-width: 992px) {
  .nav-bg .navbar-collapse {
    align-items: center;
  }
}

@media (max-width: 991.98px) {
  .nav-bg .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-bg .navbar-nav .nav-link {
    padding: 0.6rem 0.25rem !important;
  }
}

/* Enquire CTA removed site-wide */
.menu-enquire-now,
form.d-flex:has(.menu-enquire-now) {
  display: none !important;
}

/* ----- Content + sidebar layout (content wider, sidebar narrower) ----- */
@media (min-width: 992px) {
  .about-bg .row > .content-area.col-lg-8 {
    flex: 0 0 auto;
    width: 78%;
    max-width: 78%;
  }

  .about-bg .row > .col-lg-4:has(aside) {
    flex: 0 0 auto;
    width: 22%;
    max-width: 22%;
  }
}

/* Tablet/phone: stack — avoid 50/50 split from col-sm-6 */
@media (max-width: 991.98px) {
  .about-bg .row > .content-area,
  .about-bg .row > .col-lg-4 {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
}

.about-bg .row > .col-lg-4 aside {
  position: sticky;
  top: 5.5rem;
}

.side-menu-tittle {
  font-family: var(--ps-font-heading) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.75rem !important;
  margin-bottom: 0.5rem !important;
  border-radius: var(--ps-radius) var(--ps-radius) 0 0 !important;
  box-shadow: none !important;
}

.side-menu {
  padding: 0.5rem 0.65rem !important;
  margin-bottom: 1rem !important;
  border-radius: 0 0 var(--ps-radius) var(--ps-radius) !important;
  border: 1px solid #e8eaed !important;
  border-top: none !important;
  box-shadow: none !important;
}

.side-menu ul li {
  line-height: 1.45 !important;
  padding: 0.2rem 0;
}

.side-menu ul li a {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  word-break: break-word;
  display: block !important;
}

.side-menu ul li a:before {
  font-size: 0.7rem !important;
  padding-right: 0.35rem !important;
  flex-shrink: 0;
}

/* Promo / cards: subtle modern container without breaking Bootstrap grid */
.promo-area,
.about-bg .container {
  border-radius: var(--ps-radius);
}

.navbar-brand img {
  max-height: 52px;
  width: auto;
  height: auto;
  aspect-ratio: 200 / 52;
}


/* ----- Footer: readable contrast, clear separation from content ----- */
footer {
  clear: both;
  position: relative;
  z-index: 1;
}

footer .bottom-bg {
  background: linear-gradient(180deg, #2f2c2c 0%, #232020 40%, #1a1818 100%) !important;
  color: #e8e8e8 !important;
  padding-top: 2.75rem !important;
  padding-bottom: 2.25rem !important;
  border-top: 4px solid var(--ps-brand);
}

footer .bottom-area {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

footer .bottom-area h3 {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

footer .bottom-area ul li {
  line-height: 1.85 !important;
}

footer .bottom-area ul li a {
  color: #dce1e6 !important;
  font-weight: 500;
}

footer .bottom-area ul li a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

footer .bottom-area ul li a::before,
footer .bottom-area ul li a:before {
  color: var(--ps-brand) !important;
  opacity: 0.95;
}

footer .bottom-area-border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

footer .bottom-country ul li,
footer .bottom-links ul li {
  color: #c5c9ce !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

footer .bottom-links ul li a {
  color: #dce1e6 !important;
}

footer .bottom-links ul li a:hover {
  color: #fff !important;
}

footer .footer-bg {
  background-color: #121212 !important;
  color: #d8dce1 !important;
  padding: 1.35rem 1rem 1.75rem !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  border-top: 1px solid rgba(175, 40, 36, 0.35);
}

footer .footer-bg a {
  color: #f0f2f4 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer .footer-bg a:hover {
  color: #fff !important;
}

/* Undo global body copy color inside footer columns */
footer li {
  color: inherit !important;
}

footer .bottom-bg p {
  color: #d0d4d8;
  max-width: none;
}

/* Skip link (add <a href="#main-content" class="ps-skip-link"> in templates when wrapping main) */
.ps-skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ps-brand);
  color: #fff !important;
  font-weight: 600;
}

.ps-skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* WhatsApp float — fixed size (do not use %; breaks with position:fixed) */
.whatsapp {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  line-height: 0;
}

.whatsapp a {
  display: block;
}

.whatsapp i,
.whatsapp .fa-whatsapp,
.whatsapp .fab.fa-whatsapp {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 3.25rem !important;
  height: 3.25rem !important;
  font-size: 0 !important;
  line-height: 1 !important;
  border-radius: 50%;
  background-color: #25d366 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  position: static !important;
  bottom: auto !important;
  left: auto !important;
}

@media (max-width: 767.98px) {
  .whatsapp {
    bottom: 1rem;
    left: 1rem;
  }

  .whatsapp i,
  .whatsapp .fa-whatsapp,
  .whatsapp .fab.fa-whatsapp {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }
}

/* ----- Homepage product grid ----- */
.products-bg {
  padding: clamp(2.5rem, 5vw, 4rem) var(--ps-page-gutter) !important;
}

.products-bg .container-fluid > .row:first-child {
  text-align: center;
  margin-bottom: 1.5rem;
}

.products-bg .container-fluid > .row:first-child h3 {
  color: var(--ps-brand) !important;
  font-size: clamp(0.9rem, 1.1vw, 1rem) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem !important;
}

.products-bg h1 {
  color: #1a1a1a !important;
  font-family: var(--ps-font-display) !important;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem) !important;
  font-weight: 400 !important;
  margin-bottom: 0 !important;
}

.products-bg .container-fluid > .row:last-child {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.products-bg .container-fluid > .row:last-child > [class*="col-"] {
  display: flex;
}

.products-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--ps-radius);
  margin-bottom: 0 !important;
  background-color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.products-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}

.products-box > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}

.products-box img,
.products-box .product-card-img {
  width: 100%;
  height: clamp(200px, 24vw, 260px);
  object-fit: cover;
  object-position: center;
  margin-bottom: 0 !important;
  display: block;
  flex-shrink: 0;
}

.products-box h3 {
  margin: 0 !important;
  padding: 1rem 0.75rem 1.15rem !important;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  color: var(--ps-brand) !important;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
