﻿/* /public_html/assets/css/style.css */

/* -------------------------------------------------------
   Brand + UX system (hierarchy, contrast, spacing)
--------------------------------------------------------*/
:root{
  --brand:#f5b301;              /* CM Bakers yellow */
  --brand-2:#111827;
  --brand-soft: rgba(245,179,1,.16);

  --warm:#7a4a1f;
  --warm-soft: rgba(122,74,31,.10);

  --bg:#f7f8fb;
  --surface:#ffffff;
  --surface-2:#f3f4f6;

  --text:#0f172a;
  --muted:#64748b;

  --border:#e5e7eb;
  --shadow: 0 14px 40px rgba(2,8,23,.10);
  --shadow-sm: 0 8px 20px rgba(2,8,23,.08);

  --r-xl:22px;
  --r-lg:16px;
  --r-md:12px;

  --container: 1480px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.sep{ opacity:.6; margin:0 12px; }

/* Full-bleed utility (inside .container main) */
.fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* -------------------------------------------------------
   Buttons
--------------------------------------------------------*/
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--surface);
  font-weight:800;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active{ transform: translateY(0px); box-shadow:none; }

.btn-primary{
  background: var(--brand);
  border-color: rgba(17,24,39,.12);
  color:#111;
}
.btn-primary:hover{ background:#ffc533; }

.btn-wa{ border-color: rgba(17,24,39,.14); }
.btn-sm{ padding:9px 12px; }

.btn-outline{
  background: transparent;
  border-color: rgba(15,23,42,.18);
}
.btn-outline:hover{ background: rgba(15,23,42,.04); }

/* -------------------------------------------------------
   Topbar
--------------------------------------------------------*/
.topbar{
  border-bottom:1px solid rgba(17,24,39,.10);
  background: var(--brand);
  color:#111;
  font-size:14px;
}
.topbar a{ color:#111; }

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:12px;
  flex-wrap:wrap;
}
.topbar-left{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.topbar-left span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight: 900;
  color:#111;
}
.topbar-left .sep{
  font-weight: 900;
  color:#111;
  opacity: 1;
}

/* -------------------------------------------------------
   Header (center logo + split menus)
--------------------------------------------------------*/
.site-header{
  position:sticky;
  top:0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,.9);
  z-index:50;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.header-split{
  display:grid;
  grid-template-columns: auto auto auto;
  justify-content:center;
  align-items:center;
  gap:34px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav-left{ justify-content:flex-start; }
.nav-right{ justify-content:flex-end; }

.nav a{
  position:relative;
  padding:10px 14px;
  border-radius:999px;
  color: var(--muted);
  font-weight:900;
  letter-spacing:.2px;
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background: transparent;
  transform: scaleX(0);
  transform-origin:center;
  transition: transform .12s ease, background .12s ease;
}
.nav a:hover{
  color: var(--text);
  background: rgba(15,23,42,.04);
}
.nav a:hover::after{
  background: rgba(245,179,1,.75);
  transform: scaleX(1);
}
.nav a.active{
  color:#111;
  background: var(--brand-soft);
  border:1px solid rgba(245,179,1,.35);
}
.nav a.active::after{
  background: rgba(245,179,1,.95);
  transform: scaleX(1);
}

.logo-center{ display:flex; justify-content:center; }
.logo-center a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:104px;
  height:104px;
  border-radius:999px;
  background: var(--surface);
  border:2px solid rgba(245,179,1,.45);
  box-shadow: 0 14px 30px rgba(2,8,23,.10);
  transition: transform .12s ease, box-shadow .12s ease;
}
.logo-center a:hover{ transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.logo-center img{
  width:100px;
  height:100px;
  object-fit:contain;
  border-radius:999px;
}

/* Main spacing */
.main{ padding:26px 0 34px; }

/* -------------------------------------------------------
   FULL-WIDTH MASTER SLIDER (60% viewport height)
--------------------------------------------------------*/
.hero.hero-slider{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 60vh;
  min-height: 0;
  max-height: none;
  position:relative;
  overflow:hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-color:#111;
  background-image: var(--left-bg);
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
}

.hero.hero-slider::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(90deg, rgba(7,11,18,.72) 0%, rgba(7,11,18,.34) 40%, rgba(7,11,18,.44) 100%);
  z-index:0;
}

.hero.hero-slider::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,.14), rgba(0,0,0,.10) 42%, rgba(0,0,0,.28));
  z-index:0;
}

.hero-slider,
.hero-slider-inner,
.hero-slides,
.hero-slide,
.hero-content,
.hero-controls{
  position:relative;
  z-index:1;
}

.hero-slider-inner{
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 36px 0;
}

.hero-slides{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.hero-slide{
  display:none;
  grid-template-columns: 1fr;
  gap:18px;
  align-items:end;
  animation: heroFade .35s ease both;
}
.hero-slide.is-active{ display:grid; }

@keyframes heroFade{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

.badge{
  display:inline-flex;
  padding:7px 12px;
  border:1px solid rgba(245,179,1,.92);
  border-radius:999px;
  background: rgba(245,179,1,.92);
  color:#111;
  font-weight:900;
  font-size:13px;
  box-shadow: 0 10px 24px rgba(245,179,1,.22);
}

.hero-content{
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: 760px;
}

.hero h1{
  margin:12px 0 12px;
  font-size:58px;
  line-height:1.02;
  letter-spacing:-1.1px;
  color:#fff;
  text-shadow: 0 14px 28px rgba(0,0,0,.45);
}
.hero p{
  margin:0 0 18px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 10px 22px rgba(0,0,0,.35);
  max-width: 54ch;
  font-size:19px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-actions .btn{
  min-width: 154px;
  padding: 13px 18px;
}
.hero-actions .btn-outline{
  background: rgba(7,11,18,.42);
  border-color: rgba(255,255,255,.22);
  color:#fff;
}
.hero-actions .btn-outline:hover{
  background: rgba(7,11,18,.58);
}

.hero-media,
.hero-media-card,
.hero-media-main,
.hero-media-overlay,
.hero-media-caption,
.hero-media-title,
.hero-media-sub,
.hero-media-bottom{ display:none !important; }

.hero-controls{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
}
.hero-btn{
  width:58px;
  height:58px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background: rgba(7,11,18,.45);
  color:#fff;
  cursor:pointer;
  font-size:22px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 40px rgba(2,8,23,.22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.hero-btn:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 44px rgba(2,8,23,.28);
  background: rgba(245,179,1,.92);
  color:#111;
  border-color: rgba(245,179,1,.95);
}
.hero-btn:focus-visible,
.hero-dot:focus-visible{
  outline: 2px solid rgba(245,179,1,.96);
  outline-offset: 3px;
}

.hero-dots{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex:1;
  padding: 10px 14px;
  max-width: max-content;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(7,11,18,.45);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(2,8,23,.18);
}
.hero-dot{
  width:34px;
  height:8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.26);
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, width .16s ease, border-color .16s ease;
}
.hero-dot.is-active{
  background: rgba(245,179,1,.98);
  border-color: rgba(245,179,1,.98);
  width:52px;
}

/* -------------------------------------------------------
   Sections + Cards
--------------------------------------------------------*/
.section{ margin-top:26px; }

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
}
.section-title h2{
  margin:0;
  font-size:24px;
  letter-spacing:-.2px;
}
.section-title a.muted:hover{ text-decoration: underline; }

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}


.about-grid{ grid-template-columns: repeat(3, 1fr); }
.careers-grid{ grid-template-columns: repeat(2, 1fr); }
.contact-grid{ grid-template-columns: 1.2fr .8fr; }

.products-search{
  display:flex;
  gap:10px;
  align-items:center;
}
.products-search input[name="q"]{
  min-width:0;
  width:min(320px, 100%);
}
.card{
  border:1px solid rgba(229,231,235,.9);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(2,8,23,.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(245,179,1,.35);
}

.card-img{
  height:180px;
  background: var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
}

.card-body{ padding:16px; }
.card-title{
  margin:0 0 6px;
  font-weight:950;
  letter-spacing:-.2px;
}
.card-meta{
  font-size:13px;
  color: var(--muted);
  margin-bottom:12px;
}

.price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.price{
  font-weight:950;
  letter-spacing:-.2px;
}

/* Featured products refined */
.grid-featured{ grid-template-columns: repeat(4, 1fr); }

.product-card .card-body{ padding:14px 14px 16px; }

.product-img{
  position:relative;
  height:200px;
}
.product-img img{
  width:100%;
  height:200px;
  object-fit:cover;
}
.product-img-placeholder{
  width:100%;
  height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  background: var(--surface-2);
}
.product-chip{
  position:absolute;
  left:12px;
  top:12px;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(229,231,235,.9);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
}

/* Product header (name + price pill) */
.product-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.product-name{
  font-weight:950;
  letter-spacing:-.2px;
}
.product-price{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(245,179,1,.18);
  border: 1px solid rgba(245,179,1,.35);
  color:#111;
  font-weight:950;
  font-size:12px;
  white-space:nowrap;
}
.product-cta{
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

/* Inputs */
input[type="text"]{ outline:none; }
input[type="text"]:focus{
  border-color: rgba(245,179,1,.55) !important;
  box-shadow: 0 0 0 4px rgba(245,179,1,.18);
}

/* Full-width bands */
.fullband{
  width:100%;
  margin: 28px 0;
  padding: 22px 0 30px;
}
.fullband-featured{
  background: rgba(245,179,1,.12);
  border-top: 1px solid rgba(245,179,1,.22);
  border-bottom: 1px solid rgba(245,179,1,.22);
}

/* Footer */
.footer{
  border-top:1px solid rgba(229,231,235,.9);
  background:#0b1220;
  color:#e5e7eb;
  margin-top:28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr 1.1fr 1.2fr;
  gap:22px;
  padding:28px 0;
}
.footer-col{ min-width:0; }
.footer-brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  margin-bottom:10px;
}
.footer-logo{
  width:54px;
  height:54px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid rgba(229,231,235,.2);
  background: rgba(255,255,255,.04);
  padding:4px;
}
.footer-brand{
  font-weight:950;
  font-size:20px;
  letter-spacing:-.2px;
  color:#fff;
}
.footer-desc{
  margin:0;
  color: rgba(229,231,235,.82);
  line-height:1.65;
}
.footer-title{
  font-weight:950;
  margin-bottom:12px;
  letter-spacing:-.2px;
  color:#fff;
}
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin:9px 0; }
.footer-links a,
.footer-contact-value{
  color:#e5e7eb;
  opacity:.92;
  text-decoration:none;
}
.footer-links a:hover,
.footer-contact-value:hover{ opacity:1; text-decoration: underline; }
.footer-contact-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.footer-contact-label{
  display:block;
  font-size:12px;
  font-weight:800;
  color: rgba(229,231,235,.62);
  text-transform:uppercase;
  letter-spacing:.4px;
}
.footer-contact-value{
  display:block;
  line-height:1.5;
}
.footer-bottom{
  border-top:1px solid rgba(229,231,235,.12);
  padding:14px 0;
}
.map-wrap{
  border-radius: var(--r-lg);
  overflow:hidden;
  border:1px solid rgba(229,231,235,.12);
}
.map-wrap iframe{
  width:100%;
  height:190px;
  border:0;
}

/* -------------------------------------------------------
   Responsive
--------------------------------------------------------*/
@media (max-width: 1100px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .grid-featured{ grid-template-columns: repeat(2, 1fr); }

  .hero.hero-slider{
    height: 68vh;
    min-height: 560px;
    max-height: 860px;
  }

  .hero-slide{ grid-template-columns: 1fr; }
  .hero h1{ font-size:44px; }
  .hero p{ font-size:17px; }
  .hero-content{ max-width: 620px; }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
  .footer-col:last-child{
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px){
  .about-grid,
  .careers-grid,
  .contact-grid{ grid-template-columns: 1fr; }

  .section-title{
    align-items:flex-start;
    flex-direction:column;
  }

  .products-search{
    width:100%;
    flex-wrap:wrap;
  }

  .products-search input[name="q"]{
    width:100%;
  }
}

@media (max-width: 620px){
  .container{ width: calc(100% - 28px); }

  .topbar-inner{
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    gap: 8px;
    padding: 10px 0;
  }
  .topbar-left, .topbar-right{
    width:100%;
    display:flex;
    justify-content:center !important;
    gap:10px;
  }
  .topbar-right .btn{
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero.hero-slider{
    height: 78vh;
    min-height: 0;
    max-height: none;
  }

  .hero-slider-inner{ padding: 18px 0 22px; }
  .hero-slides{ width: calc(100% - 28px); }
  .hero h1{ font-size:34px; }
  .hero p{ font-size:16px; }

  .hero-controls{
    width: calc(100% - 28px);
    bottom: 18px;
  }
  .hero-btn{
    width:50px;
    height:50px;
  }
  .hero-dots{
    gap:8px;
    padding: 9px 12px;
  }
  .hero-dot{
    width:24px;
  }
  .hero-dot.is-active{
    width:38px;
  }

  .hero-content{
    max-width: 100%;
  }

  /* footer stack */
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .map-wrap iframe{
    height: 240px;
  }
}









