@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Sora:wght@700;800&display=swap');

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

:root {
    --navy:     #0A1628;
    --navy2:    #0E1F3D;
    --blue:     #1B4FD8;
    --blue2:    #2563EB;
    --blue-l:   #EFF6FF;
    --blue-m:   #BFDBFE;
    --blue-d:   #1D4ED8;
    --accent:   #E94560;
    --accent-l: #FFF0F3;
    --text:     #0F172A;
    --text2:    #334155;
    --text3:    #64748B;
    --text4:    #94A3B8;
    --bg:       #F8FAFC;
    --surface:  #FFFFFF;
    --border:   #E2E8F0;
    --border2:  #CBD5E1;
    --green:    #059669;
    --green-l:  #DCFCE7;
    --yellow:   #F59E0B;
    --yellow-l: #FEF3C7;
    --radius:   10px;
    --radius-lg: 16px;
    --shadow:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 16px 48px rgba(0,0,0,.1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- NAV ---- */
.bf-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 200;
}
.bf-nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 2rem; height: 68px;
    display: flex; align-items: center; gap: 1.5rem;
}
.bf-logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.bf-logo-mark {
    width: 38px; height: 38px;
    background: var(--navy); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: .7rem; font-weight: 800; color: #fff;
}
.bf-logo-name { font-family: 'Sora', sans-serif; font-size: .88rem; font-weight: 800; color: var(--text); display: block; line-height: 1.15; }
.bf-logo-sub  { font-size: .6rem; color: var(--text4); letter-spacing: .04em; display: block; }

.bf-nav-search {
    flex: 1; max-width: 480px;
    display: flex; align-items: center;
    background: var(--bg); border: 1.5px solid var(--border2);
    border-radius: 10px; padding: 0 1rem; gap: .5rem; transition: all .15s;
}
.bf-nav-search:focus-within { border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(37,99,235,.1); background: #fff; }
.bf-nav-search input { flex: 1; border: none; background: transparent; font-size: .9rem; color: var(--text); outline: none; padding: .7rem 0; font-family: inherit; }
.bf-nav-search input::placeholder { color: var(--text4); }
.bf-nav-search button { background: var(--blue2); border: none; border-radius: 7px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; flex-shrink: 0; }

.bf-nav-links { margin-left: auto; display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.bf-nav-links a { font-size: .85rem; font-weight: 500; color: var(--text3); padding: .4rem .85rem; border-radius: 8px; transition: all .15s; white-space: nowrap; }
.bf-nav-links a:hover, .bf-nav-links a.active { color: var(--blue2); background: var(--blue-l); }
.bf-nav-cta { background: var(--navy) !important; color: #fff !important; font-weight: 700 !important; }
.bf-nav-cta:hover { background: var(--navy2) !important; }

.bf-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: .5rem; }
.bf-hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; display: block; }
.bf-mobile-nav { display: none; padding: .75rem 2rem 1rem; border-top: 1px solid var(--border); background: #fff; flex-direction: column; gap: .3rem; }
body.nav-open .bf-mobile-nav { display: flex; }
.bf-mobile-nav a { padding: .55rem 0; font-size: .9rem; color: var(--text2); border-bottom: 1px solid var(--border); }

/* ---- HERO ---- */
.bf-hero { background: var(--navy); padding: 4.5rem 0 3.5rem; position: relative; overflow: hidden; }
.bf-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 70% 40%, rgba(37,99,235,.3) 0%, transparent 65%); pointer-events: none; }
.bf-hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 420px; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.bf-hero-eyebrow { display: inline-flex; align-items: center; gap: .4rem; background: rgba(37,99,235,.2); border: 1px solid rgba(37,99,235,.4); border-radius: 20px; padding: .3rem .85rem; font-size: .72rem; font-weight: 700; color: #93C5FD; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.bf-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.03em; margin-bottom: .85rem; }
.bf-hero h1 em { font-style: normal; color: #60A5FA; }
.bf-hero-sub { font-size: .95rem; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 500px; margin-bottom: 2rem; }
.bf-hero-checks { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.bf-hero-check { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: rgba(255,255,255,.6); }
.bf-hero-check::before { content: '✓'; color: #34D399; font-weight: 700; }
.bf-hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---- CONTAINER ---- */
.bf-container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.bf-section { padding: 3.5rem 0; }
.bf-section-white { background: var(--surface); border-top: 1px solid var(--border); }
.bf-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.75rem; gap: 1rem; flex-wrap: wrap; }
.bf-section-head h2 { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.bf-section-head p { font-size: .88rem; color: var(--text3); margin-top: .3rem; }

/* ---- BUTTONS ---- */
.bf-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.25rem; border-radius: 9px; font-size: .88rem; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: all .15s; text-decoration: none; }
.bf-btn-primary { background: var(--blue2); color: #fff; }
.bf-btn-primary:hover { background: var(--blue-d); }
.bf-btn-dark { background: var(--navy); color: #fff; }
.bf-btn-dark:hover { background: var(--navy2); }
.bf-btn-white { background: #fff; color: var(--text); border: 1px solid var(--border); }
.bf-btn-white:hover { background: var(--bg); }
.bf-btn-ghost { background: transparent; color: var(--text3); border: 1px solid var(--border); }
.bf-btn-ghost:hover { background: var(--bg); color: var(--text); }
.bf-btn-accent { background: var(--accent); color: #fff; }
.bf-btn-accent:hover { opacity: .9; }
.bf-btn-lg { padding: .8rem 1.75rem; font-size: .95rem; }
.bf-btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.bf-btn-full { width: 100%; justify-content: center; }

/* ---- CARDS ---- */
.bf-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.bf-biz-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.bf-biz-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bf-biz-card-cover { height: 90px; background: var(--navy); position: relative; overflow: hidden; }
.bf-biz-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.bf-biz-card-cover-default { background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%); }
.bf-biz-card-logo { position: absolute; bottom: -20px; left: 1rem; width: 48px; height: 48px; border-radius: 10px; border: 3px solid #fff; overflow: hidden; background: #fff; }
.bf-biz-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.bf-biz-card-logo-init { width: 100%; height: 100%; background: var(--blue2); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: .85rem; font-weight: 800; color: #fff; }
.bf-biz-card-body { padding: 1.4rem 1rem .9rem; flex: 1; }
.bf-biz-card-name { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-biz-card-type { font-size: .78rem; color: var(--text3); margin-bottom: .4rem; }
.bf-biz-card-desc { font-size: .82rem; color: var(--text3); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .75rem; }
.bf-biz-card-meta { display: flex; gap: .75rem; font-size: .75rem; color: var(--text4); }
.bf-biz-card-footer { padding: .75rem 1rem; border-top: 1px solid var(--border); }
.bf-verified-badge { display: inline-flex; align-items: center; gap: .2rem; font-size: .7rem; font-weight: 600; color: var(--green); background: var(--green-l); padding: .15rem .5rem; border-radius: 20px; }

/* ---- BIZNIS PROFIL ---- */
.bf-profile-hero { background: var(--navy); padding: 2.5rem 0 1.5rem; position: relative; }
.bf-profile-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 65%); pointer-events: none; }
.bf-profile-cover { position: absolute; inset: 0; z-index: 0; }
.bf-profile-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.bf-profile-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: flex-end; gap: 1.5rem; position: relative; z-index: 1; }
.bf-profile-logo-wrap { width: 80px; height: 80px; border-radius: 18px; border: 3px solid rgba(255,255,255,.3); overflow: hidden; background: rgba(255,255,255,.1); flex-shrink: 0; }
.bf-profile-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.bf-profile-logo-init { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; color: #fff; }
.bf-profile-meta { flex: 1; }
.bf-profile-name { font-family: 'Sora', sans-serif; font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 800; color: #fff; margin-bottom: .2rem; }
.bf-profile-type { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.bf-profile-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.bf-profile-badge { display: inline-flex; align-items: center; gap: .3rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: .2rem .7rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.bf-profile-body { max-width: 1100px; margin: 0 auto; padding: 1.5rem 2rem 3rem; display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; }
.bf-profile-main { min-width: 0; }
.bf-profile-side { display: flex; flex-direction: column; gap: 1rem; }

/* ---- PCARD (profil card sekcije) ---- */
.bf-pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.bf-pcard-head { padding: .85rem 1.25rem; font-size: .82rem; font-weight: 700; color: var(--text2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.bf-pcard-body { padding: 1.1rem 1.25rem; }

/* ---- FEED POST ---- */
.bf-post { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.bf-post:last-child { border-bottom: none; }
.bf-post-type-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .6rem; border-radius: 20px; font-size: .7rem; font-weight: 700; margin-bottom: .5rem; }
.bf-post-type-update  { background: var(--blue-l);   color: var(--blue2); }
.bf-post-type-promo   { background: #FEF3C7;          color: #92400E; }
.bf-post-type-product { background: var(--green-l);   color: #065F46; }
.bf-post-type-coupon  { background: var(--accent-l);  color: var(--accent); }
.bf-post-type-event   { background: #F3E8FF;           color: #6B21A8; }
.bf-post-type-status  { background: var(--bg);         color: var(--text3); }
.bf-post-title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.bf-post-text { font-size: .875rem; color: var(--text2); line-height: 1.65; }
.bf-post-img { margin: .75rem 0; border-radius: 10px; overflow: hidden; max-height: 320px; }
.bf-post-img img { width: 100%; height: 100%; object-fit: cover; }
.bf-post-coupon { background: var(--accent-l); border: 1.5px dashed var(--accent); border-radius: 10px; padding: .85rem 1rem; margin: .75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bf-post-coupon-code { font-family: monospace; font-size: 1.1rem; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.bf-post-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-size: .83rem; font-weight: 600; color: var(--blue2); }
.bf-post-date { font-size: .75rem; color: var(--text4); margin-top: .5rem; }

/* ---- SHOWROOM ---- */
.bf-showroom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.bf-showroom-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.bf-showroom-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.bf-showroom-item:hover img { transform: scale(1.04); }
.bf-showroom-price { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.65); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .5rem; text-align: center; }

/* ---- CONTACT FORM ---- */
.bf-form-group { margin-bottom: .85rem; }
.bf-form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--text2); margin-bottom: .35rem; }
.bf-form-input { width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: 9px; font-size: .88rem; color: var(--text); font-family: inherit; outline: none; transition: border-color .15s; background: var(--surface); }
.bf-form-input:focus { border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.bf-form-input.error { border-color: var(--accent); }
textarea.bf-form-input { resize: vertical; min-height: 90px; }

/* ---- FOLLOW CARD ---- */
.bf-follow-success { background: var(--green-l); border: 1px solid #6EE7B7; border-radius: 10px; padding: .85rem; text-align: center; font-size: .88rem; color: #065F46; font-weight: 600; }
.bf-follow-error { background: #FEE2E2; border: 1px solid #FCA5A5; border-radius: 10px; padding: .85rem; text-align: center; font-size: .85rem; color: #991B1B; }

/* ---- FOOTER ---- */
.bf-footer { background: var(--navy); padding: 3rem 0 0; }
.bf-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.bf-footer-brand .bf-footer-logo { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: .65rem; font-weight: 800; color: #fff; margin-bottom: .85rem; }
.bf-footer-brand p { font-size: .83rem; color: rgba(255,255,255,.35); line-height: 1.7; }
.bf-footer-brand a { color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.15); }
.bf-footer-col { display: flex; flex-direction: column; gap: .5rem; }
.bf-footer-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); margin-bottom: .25rem; }
.bf-footer-col a { font-size: .83rem; color: rgba(255,255,255,.45); transition: color .15s; }
.bf-footer-col a:hover { color: rgba(255,255,255,.8); }
.bf-footer-cta { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.1rem; background: var(--blue2); color: #fff !important; border-radius: 9px; font-size: .83rem; font-weight: 700; }
.bf-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem 2rem; max-width: 1280px; margin: 0 auto; font-size: .78rem; color: rgba(255,255,255,.25); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---- SHARE BUTTONS ---- */
.bf-share-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 8px; font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none; transition: opacity .15s; cursor: pointer; border: none; font-family: inherit; }
.bf-share-btn:hover { opacity: .85; }

/* ---- UTILITIES ---- */
.bf-text-muted { color: var(--text3); }
.bf-text-sm    { font-size: .82rem; }
.bf-mt1        { margin-top: .5rem; }
.bf-mt2        { margin-top: 1rem; }
.bf-mb1        { margin-bottom: .5rem; }
.bf-alert { padding: .85rem 1rem; border-radius: 9px; font-size: .88rem; margin-bottom: 1rem; }
.bf-alert-success { background: var(--green-l); color: #065F46; border: 1px solid #6EE7B7; }
.bf-alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.bf-alert-info    { background: var(--blue-l); color: var(--blue-d); border: 1px solid var(--blue-m); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .bf-hero-inner { grid-template-columns: 1fr; }
    .bf-footer-inner { grid-template-columns: 1fr 1fr; }
    .bf-profile-body { grid-template-columns: 1fr; }
    .bf-profile-side { order: -1; }
}
@media (max-width: 768px) {
    .bf-nav-search  { display: none; }
    .bf-nav-links   { display: none; }
    .bf-hamburger   { display: flex; }
    .bf-hero        { padding: 3rem 0 2.5rem; }
    .bf-section     { padding: 2.5rem 0; }
    .bf-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .bf-card-grid   { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .bf-profile-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .bf-container, .bf-nav-inner, .bf-profile-inner, .bf-profile-body { padding-left: 1rem; padding-right: 1rem; }
    .bf-hero-inner { padding-left: 1rem; padding-right: 1rem; }
    .bf-card-grid { grid-template-columns: 1fr; }
}
