/*
Theme Name: Heemankshi Bakers
Theme URI: https://example.com/
Author: Heemankshi Bakers
Description: Clean, responsive bakery business theme with hero slider and clickable 5-card product slider.
Version: 1.0.0
Text Domain: heemankshi-bakers
*/

:root{
    --hb-purple:#29156f;
    --hb-yellow:#fff000;
    --hb-purple-dark:#1d0d52;
    --hb-brown:#29156f;
    --hb-gold:#f1df00;
    --hb-cream:#f8f7ff;
    --hb-dark:#17122b;
    --hb-muted:#6f6259;
    --hb-white:#ffffff;
    --hb-shadow:0 12px 35px rgba(42,25,15,.12);
    --hb-radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--hb-dark);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(1180px,92%);margin:auto}

/* Top Bar */
.hb-topbar{background:var(--hb-purple);color:#fff;font-size:14px}
.hb-topbar-inner{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hb-top-left,.hb-top-right{display:flex;align-items:center;gap:20px}
.hb-topbar a:hover{color:#ffd27b}

/* Header */
.hb-header{background:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 3px 18px rgba(0,0,0,.06)}
.hb-header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.hb-brand{display:flex;align-items:center;gap:12px;min-width:250px}
.hb-logo-mark{width:62px;height:62px;border:0;border-radius:12px;display:grid;place-items:center;color:var(--hb-yellow);font-size:28px;overflow:hidden}
.hb-brand-text strong{display:block;font-family:Georgia,serif;font-size:25px;color:var(--hb-brown);line-height:1.05}
.hb-brand-text span{font-size:12px;font-weight:700;color:#555}
.hb-nav{display:flex;align-items:center;gap:28px}
.hb-nav a{font-weight:600;color:#28221e;position:relative;padding:34px 0}
.hb-nav a:after{content:"";position:absolute;left:0;bottom:24px;width:0;height:3px;background:var(--hb-gold);transition:.25s}
.hb-nav a:hover:after,.hb-nav a.active:after{width:100%}
.hb-cta{background:var(--hb-gold);color:#fff!important;padding:13px 20px!important;border-radius:10px;white-space:nowrap}
.hb-cta:after{display:none!important}
.hb-menu-btn{display:none;border:0;background:none;font-size:28px;cursor:pointer}

/* Hero */
.hb-hero{position:relative;overflow:hidden;min-height:520px;background:#2a1a12}
.hb-hero-slide{display:none;min-height:520px;background-size:cover;background-position:center}
.hb-hero-slide.active{display:block;animation:hbFade .6s ease}
@keyframes hbFade{from{opacity:.35}to{opacity:1}}
.hb-hero-overlay{min-height:520px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(20,10,5,.84),rgba(20,10,5,.25),rgba(20,10,5,.05))}
.hb-hero-content{max-width:590px;color:#fff}
.hb-kicker{color:#f2b63e;font-family:cursive;font-size:30px;margin-bottom:5px}
.hb-hero h1{font-size:58px;line-height:1.04;margin:0 0 18px;font-weight:800}
.hb-hero p{font-size:18px;max-width:540px;margin:0 0 28px;color:#f6f2ef}
.hb-btn{display:inline-block;background:#f2b63e;color:#21140b;font-weight:800;padding:15px 24px;border-radius:12px}
.hb-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
.hb-hero-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.hb-hero-dot{width:10px;height:10px;border-radius:50%;background:#fff;opacity:.65;cursor:pointer}
.hb-hero-dot.active{background:#f2b63e;opacity:1;width:28px;border-radius:10px}

/* Five Product Photos */
.hb-products-strip{background:#fff;padding:28px 0 35px}
.hb-slider-wrap{position:relative;overflow:hidden}
.hb-product-track{display:flex;gap:14px;transition:transform .6s ease;will-change:transform}
.hb-product-card{flex:0 0 calc((100% - 56px)/5);border-radius:14px;overflow:hidden;position:relative;min-height:220px;background:#ddd;box-shadow:var(--hb-shadow);cursor:pointer}
.hb-product-card img{width:100%;height:220px;object-fit:cover;transition:transform .5s}
.hb-product-card:hover img{transform:scale(1.06)}
.hb-product-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.8))}
.hb-product-card-content{position:absolute;z-index:2;left:18px;right:12px;bottom:14px;color:#fff}
.hb-product-card h3{margin:0;font-size:21px}
.hb-product-card p{margin:2px 0 0;font-size:13px;opacity:.9}
.hb-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:42px;height:42px;border:0;border-radius:50%;background:rgba(35,25,20,.72);color:#fff;font-size:25px;cursor:pointer}
.hb-slider-arrow:hover{background:var(--hb-gold)}
.hb-prev{left:10px}.hb-next{right:10px}
.hb-product-dots{display:flex;justify-content:center;gap:8px;margin-top:18px}
.hb-product-dot{width:9px;height:9px;border-radius:50%;background:#bbb;border:0;cursor:pointer}
.hb-product-dot.active{background:var(--hb-gold);width:25px;border-radius:10px}

/* Feature Strip */
.hb-features{background:var(--hb-cream);padding:30px 0}
.hb-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hb-feature{display:flex;gap:14px;align-items:center;padding:10px 18px;border-right:1px solid #ddd}
.hb-feature:last-child{border-right:0}
.hb-feature-icon{font-size:30px;color:var(--hb-gold)}
.hb-feature strong{display:block;color:var(--hb-brown)}
.hb-feature span{font-size:13px;color:var(--hb-muted)}

/* Sections */
.hb-section{padding:75px 0}
.hb-section.alt{background:var(--hb-cream)}
.hb-eyebrow{text-align:center;color:var(--hb-gold);font-weight:800;text-transform:uppercase;letter-spacing:2px}
.hb-section h2{text-align:center;font-size:40px;margin:5px 0 12px;color:var(--hb-brown)}
.hb-section-intro{text-align:center;color:var(--hb-muted);max-width:680px;margin:0 auto 35px}
.hb-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hb-simple-card{padding:28px;background:#fff;border-radius:var(--hb-radius);box-shadow:var(--hb-shadow)}
.hb-simple-card h3{margin-top:0;color:var(--hb-brown)}
.hb-contact-box{background:var(--hb-brown);color:#fff;border-radius:20px;padding:45px;text-align:center}
.hb-contact-box h2{color:#fff}

/* Footer */
.hb-footer{background:var(--hb-purple-dark);color:#eee;padding:45px 0 20px}
.hb-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.hb-footer h3{color:#f2b63e;margin-top:0}
.hb-footer a{color:#ddd}
.hb-footer a:hover{color:#f2b63e}
.hb-copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;text-align:center;color:#aaa;font-size:13px}

/* WordPress admin bar safety */
.admin-bar .hb-header{top:32px}

/* Responsive */
@media(max-width:1050px){
    .hb-nav{gap:16px}
    .hb-nav a{font-size:14px}
    .hb-brand{min-width:auto}
    .hb-product-card{flex-basis:calc((100% - 28px)/3)}
}
@media(max-width:800px){
    .hb-topbar{display:none}
    .hb-header-inner{min-height:72px}
    .hb-menu-btn{display:block}
    .hb-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:15px 4%;box-shadow:0 12px 25px rgba(0,0,0,.1);flex-direction:column;align-items:stretch;gap:0}
    .hb-nav.open{display:flex}
    .hb-nav a{padding:13px 0}
    .hb-nav a:after{bottom:5px}
    .hb-hero,.hb-hero-slide,.hb-hero-overlay{min-height:500px}
    .hb-hero h1{font-size:43px}
    .hb-feature-grid{grid-template-columns:repeat(2,1fr)}
    .hb-feature{border-right:0}
    .hb-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
    .hb-brand-text strong{font-size:19px}
    .hb-logo-mark{width:50px;height:50px;font-size:22px}
    .hb-hero,.hb-hero-slide,.hb-hero-overlay{min-height:560px}
    .hb-hero h1{font-size:36px}
    .hb-hero p{font-size:16px}
    .hb-product-card{flex-basis:calc((100% - 14px)/2)}
    .hb-product-card img{height:190px}
    .hb-feature-grid,.hb-cards,.hb-footer-grid{grid-template-columns:1fr}
    .hb-feature{padding:10px 0}
    .hb-section h2{font-size:32px}
}

/* Brand logo */
.hb-logo-mark img{width:100%;height:100%;object-fit:cover}
.hb-brand-text strong{color:var(--hb-purple)}
.hb-nav a:after{background:var(--hb-yellow)}
.hb-cta{background:var(--hb-purple)!important;color:#fff!important}
.hb-cta:hover{background:var(--hb-purple-dark)!important}
.hb-btn{background:var(--hb-yellow);color:var(--hb-purple-dark)}
.hb-btn:hover{background:#ffe600}
.hb-product-dot.active{background:var(--hb-purple)}
.hb-product-card:hover{outline:3px solid rgba(255,240,0,.7)}
.hb-footer h3{color:var(--hb-yellow)}
.hb-eyebrow{color:var(--hb-purple)}
.hb-contact-box{background:var(--hb-purple)}
