/*
 * Barakeh — Modern Industrial Premium / visual layer v1.
 * Design-only overrides. No product data, Odoo API, or content changes.
 * Applied only to the development homepage until signed off.
 */
:root {
  --bk-ink: #102a43;
  --bk-navy: #0b2b4a;
  --bk-green: #10a95d;
  --bk-soft: #f4f8f8;
  --bk-border: #e6ecef;
  --bk-shadow: 0 24px 65px rgba(7, 35, 63, .10);
}
html { scroll-padding-top: 92px; }
body { background: #fff; }
a, button { outline-offset: 4px; }
:focus-visible { outline: 3px solid #32b878; }

/* Refined, recognizable corporate navigation */
.topbar {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,48,73,.07);
  box-shadow: 0 4px 24px rgba(7,35,63,.025);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.topbar.bk-scrolled {
  background: rgba(255,255,255,.985);
  box-shadow: 0 12px 38px rgba(7,35,63,.10);
}
.topbar-inner { min-height: 94px; }
.main-nav { gap: 8px; }
.main-nav a {
  position: relative;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: .005em;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible {
  background: #eef7f1;
  color: #087343;
}
.topbar-actions { gap: 12px; margin-left: 8px; }
.language-btn {
  border-radius: 12px;
  background: #f6f9f9;
  border-color: var(--bk-border);
}
.quote-btn, .hero-cta {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(16,169,93,.20);
  transition: background .23s, transform .23s, box-shadow .23s;
}
.quote-btn:hover,.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(16,169,93,.28);
}

/* Image stays governed by Odoo's live homepage hero_image_url */
.hero, .hero-inner { min-height: min(710px, 80svh); }
.hero { background-position: center 48%; isolation: isolate; }
.hero-overlay {
  background:
    linear-gradient(91deg, rgba(6,29,52,.93) 0%, rgba(7,39,65,.77) 39%, rgba(7,39,65,.27) 74%, rgba(7,39,65,.08) 100%),
    linear-gradient(0deg, rgba(7,36,56,.40), transparent 58%);
}
.hero::after {
  content:"";
  position:absolute;
  z-index: 0;
  right: -110px;
  bottom: -310px;
  width: 630px;
  height: 630px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  pointer-events:none;
  box-shadow: 0 0 0 100px rgba(255,255,255,.015), 0 0 0 200px rgba(255,255,255,.012);
}
.hero-copy { max-width: 840px; padding-block: 88px; }
.hero-eyebrow {
  width: fit-content;
  max-width:100%;
  padding: 10px 16px;
  border-radius: 99px;
  background: rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.20);
  color:#e1f7eb;
  letter-spacing:.17em;
  font-size: 11px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow span { background:#39d58b; height: 6px; width: 6px; border-radius: 50%; }
.hero h1 {
  max-width: 870px;
  font-size: clamp(48px, 6.2vw, 96px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.06em;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(0,0,0,.12);
}
.hero p {
  margin: 28px 0 30px;
  max-width: 610px;
  color: #e5edf2;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.62;
}
.hero-cta { min-height: 56px; padding-inline: 26px; font-size: 15px; }

/* Product visual system; compatible with cards replaced by Odoo's JS */
.section { padding-block: clamp(68px, 7vw, 112px); }
.section-head { margin-bottom: 40px; }
.section-head h2, .applications-intro h2, .support-title h2, .contact-grid h2 {
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.eyebrow { letter-spacing: .15em; }
.text-link { padding: 12px 0; }
.product-range { background: linear-gradient(180deg,#fff 0%,#fff 78%,#f8fafb 100%); }
.product-grid { gap: 26px; }
.product-card {
  overflow: hidden;
  border: 1px solid #eaf0f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 32px rgba(11,43,74,.055);
  transition: transform .3s cubic-bezier(.2,.75,.3,1), box-shadow .3s, border-color .3s;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--bk-shadow);
  border-color: #d2e4dc;
}
.card-media {
  aspect-ratio: 1.58 / 1;
  border-radius: 0;
  box-shadow: none;
  transition: transform .65s cubic-bezier(.2,.75,.3,1);
}
.product-card:hover .card-media { transform: scale(1.045); }
.product-card-copy { padding: 24px 26px 26px; background:#fff; position: relative; }
.product-card h3 { font-size: 22px; line-height:1.22; }
.product-card p { font-size: 14px; line-height: 1.62; }
.product-card span { margin-top: 7px; }
.product-card i { transition:transform .2s; }
.product-card:hover i { transform:translateX(5px); }

.applications {
  background: #f4f8f8;
  border-block: 1px solid #e8eeef;
}
.applications-layout { gap: clamp(45px, 5vw, 100px); }
.applications-intro { position: sticky; top: 132px; }
.application-list { border:0; display: grid; gap: 16px; }
.application-row {
  min-height: 146px;
  padding: 12px;
  border:1px solid var(--bk-border);
  border-radius: 16px;
  background: #fff;
  grid-template-columns: 205px minmax(0,1fr) 35px;
  gap: 22px;
  box-shadow:0 5px 18px rgba(10,44,66,.035);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.application-row:hover {
  transform: translateY(-3px);
  border-color:#cbe1d7;
  box-shadow:0 14px 28px rgba(10,44,66,.08);
}
.application-thumb {
  width:205px;
  height:126px;
  border-radius:10px;
}
.application-row h3 { font-size: 21px; line-height:1.25; }
.application-row p { font-size: 13px; }
.application-row > .material-symbols-rounded { font-size:26px; }

.support-strip {
  padding-block: 72px;
  color:#fff;
  background: linear-gradient(115deg,#0a2d4d 0%,#0e4058 75%,#126049 100%);
  border:0;
}
.support-strip .eyebrow { color:#9ce3bc; }
.support-strip .support-title h2 { color:#fff; }
.support-copy { border-left-color:rgba(255,255,255,.27); }
.support-copy p { color:#d7e4eb; font-size:16px; }
.catalogue-link { color:#fff; }
.catalogue-link > .material-symbols-rounded:first-child { color:#73d3ae; }
.catalogue-link > .material-symbols-rounded:last-child { color:#73d3ae; }
.contact-cta {
  padding-block: 78px;
  background: linear-gradient(108deg,#f0f8f5,#eaf7f0);
}
.footer { padding-block: 62px; background:#08263e; }

/* Supports real RTL content when a translated route is implemented */
html[dir="rtl"] .brand img, html[dir="rtl"] .footer-brand img { object-position:right center; }
html[dir="rtl"] .main-nav { margin-left:0; margin-right:auto; }
html[dir="rtl"] .topbar-actions { margin-left:0; margin-right:8px; }
html[dir="rtl"] .support-copy, html[dir="rtl"] .contact-copy {
  padding-left:0; padding-right:44px; border-left:0; border-right:1px solid rgba(255,255,255,.25);
}
html[dir="rtl"] .product-card:hover i,
html[dir="rtl"] .application-row:hover > .material-symbols-rounded { transform:translateX(-5px); }

/* Accessible motion; content remains visible if JS or API is unavailable */
@media (prefers-reduced-motion: no-preference) {
  html.bk-motion .bk-reveal { opacity:0; transform:translateY(20px); }
  html.bk-motion .bk-reveal.bk-visible {
    opacity:1;
    transform:translateY(0);
    transition:opacity .58s ease, transform .58s cubic-bezier(.2,.7,.2,1);
  }
}
@media (max-width:1200px) {
  .main-nav { gap:2px; }
  .main-nav a { padding: 10px 8px; }
  .application-row { grid-template-columns: 170px minmax(0,1fr) 28px; gap:16px; }
  .application-thumb { width:170px; height:115px; }
}
@media (max-width:1020px) {
  .topbar-inner { min-height:76px; }
  .hero, .hero-inner { min-height: 590px; }
  .applications-intro { position:static; }
}
@media (max-width:768px) {
  .hero, .hero-inner { min-height: min(690px, 86svh); }
  .hero-copy { max-width:100%; padding-block:70px; }
  .hero h1 { max-width: 12ch; font-size:clamp(39px,10.5vw,62px); line-height:1.08; letter-spacing:-.045em; }
  .hero p { max-width: 36ch; font-size:clamp(16px,4.3vw,20px); }
  .hero-overlay {
    background:linear-gradient(90deg,rgba(6,29,52,.94),rgba(7,39,65,.74));
  }
  .hero::after { display:none; }
  .section { padding-block: 66px; }
  .product-grid { gap:22px; }
  .product-card-copy { padding:22px; }
  .application-row {
    grid-template-columns:minmax(0,1fr) 28px;
    gap:14px;
    padding:14px;
  }
  .application-thumb { grid-column:1/-1; width:100%; height:auto; aspect-ratio:16/9; }
  .application-row h3 { font-size:19px; }
  .support-strip { padding-block:56px; }
  .support-copy { border-top-color:rgba(255,255,255,.25); }
  .contact-cta { padding-block:56px; }
  html[dir="rtl"] .support-copy, html[dir="rtl"] .contact-copy {
    padding:22px 0 0; border-right:0; border-top:1px solid rgba(255,255,255,.25);
  }
}
@media (max-width:480px) {
  .hero h1 { font-size:clamp(36px,10vw,48px); overflow-wrap:normal; }
  .hero-eyebrow { letter-spacing:.08em; padding:9px 12px; }
  .product-card-copy { padding:19px; }
  .site-shell { width:calc(100% - 32px); }
}
