:root {
	--bb-dark: #12141a;
	--bb-red: #e6332a;
	--bb-red-dark: #c22821;
	--bb-gray: #6b7280;
	--bb-light: #f5f6f8;
	--bb-border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: 'Poppins', Arial, sans-serif;
	color: #1c1e22;
	line-height: 1.6;
	background: #fff;
}

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--bb-gray); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.bb-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Floating buttons */
.bb-floating-buttons {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 999;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.bb-float-btn {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.bb-float-call { background: var(--bb-red); }
.bb-float-whatsapp { background: #25D366; }

/* Header */
.bb-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--bb-dark);
	color: #fff;
}
.bb-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	gap: 24px;
}
.bb-logo-text { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: #fff; }
.bb-logo-text em { color: var(--bb-red); font-style: normal; }
.bb-nav { flex: 1; display: flex; justify-content: center; }
.bb-nav-list { display: flex; gap: 32px; }
.bb-nav-list a { font-weight: 500; font-size: 15px; opacity: .9; }
.bb-nav-list a:hover { opacity: 1; color: var(--bb-red); }
.bb-header-phone {
	font-weight: 600;
	background: var(--bb-red);
	padding: 10px 18px;
	border-radius: 30px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 8px;
}
.bb-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .5px;
	cursor: pointer;
}
.bb-menu-toggle i { font-size: 20px; }

/* Hero */
.bb-hero {
	background: var(--bb-dark);
	color: #fff;
	overflow: hidden;
	position: relative;
}
.bb-hero-fullbg { min-height: 620px; display: flex; align-items: center; }
.bb-hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.bb-hero-video-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bb-hero-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(18,20,26,.92) 0%, rgba(18,20,26,.75) 45%, rgba(18,20,26,.4) 100%);
}
.bb-hero-inner {
	position: relative;
	z-index: 1;
	padding: 90px 24px;
	width: 100%;
}
.bb-hero-text { max-width: 620px; }
.bb-hero-text h1 { font-size: 44px; margin-bottom: 20px; }
.bb-hero-text h1 span { color: var(--bb-red); }
.bb-hero-text p { color: #c7cad1; font-size: 17px; max-width: 460px; }

.bb-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .5px;
	text-transform: uppercase;
	transition: transform .15s ease, background .15s ease;
}
.bb-btn-primary { background: var(--bb-red); color: #fff; }
.bb-btn-primary:hover { background: var(--bb-red-dark); transform: translateY(-2px); }
.bb-btn-light { background: #fff; color: var(--bb-dark); }
.bb-btn-light:hover { transform: translateY(-2px); }

/* Features */
.bb-features { padding: 60px 0; border-bottom: 1px solid var(--bb-border); }
.bb-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: center;
}
.bb-feature i { font-size: 34px; color: var(--bb-red); margin-bottom: 14px; }
.bb-feature h3 { font-size: 19px; }

/* About */
.bb-about { padding: 90px 0; background: var(--bb-light); }
.bb-about-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 60px; align-items: start; }
.bb-eyebrow {
	display: inline-block;
	color: var(--bb-red);
	font-weight: 700;
	letter-spacing: 2px;
	font-size: 13px;
	margin-bottom: 10px;
}
.bb-about-text h2 { font-size: 32px; }
.bb-about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.bb-stat {
	background: #fff;
	border-radius: 10px;
	padding: 24px 18px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.05);
}
.bb-stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--bb-red); }
.bb-stat-label { font-size: 13px; color: var(--bb-gray); }

/* Products */
.bb-products { padding: 90px 0; }
.bb-section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.bb-section-head h2 { font-size: 32px; }
.bb-section-head-light .bb-eyebrow,
.bb-section-head-light h2 { color: #fff; }
.bb-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.bb-product-card {
	border: 1px solid var(--bb-border);
	border-radius: 12px;
	padding: 30px 24px;
	transition: box-shadow .2s ease, transform .2s ease;
}
.bb-product-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.bb-product-icon {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	background: rgba(230,51,42,.1);
	color: var(--bb-red);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
}
.bb-product-card h3 { font-size: 18px; }
.bb-product-card p { font-size: 14px; }

/* Testimonials */
.bb-testimonials { background: var(--bb-dark); color: #fff; padding: 90px 0; }
.bb-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.bb-testimonial {
	background: rgba(255,255,255,.05);
	border-radius: 12px;
	padding: 28px;
}
.bb-testimonial p { color: #d7d9de; font-style: italic; }
.bb-testimonial-author { font-weight: 700; color: var(--bb-red); }
.bb-testimonial-note { text-align: center; font-size: 12px; color: #8b8f98; margin-top: 30px; }

/* CTA */
.bb-cta { background: var(--bb-red); color: #fff; padding: 50px 0; }
.bb-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bb-cta-inner h2 { font-size: 26px; margin-bottom: 6px; }
.bb-cta-inner p { color: rgba(255,255,255,.85); margin: 0; }

/* Footer */
.bb-footer { background: #0c0e12; color: #c7cad1; padding: 70px 0 0; }
.bb-footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 30px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.bb-footer-logo { display: inline-block; margin-bottom: 14px; }
.bb-footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.bb-footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.bb-footer-col a:hover { color: var(--bb-red); }
.bb-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.bb-footer-contact i { color: var(--bb-red); margin-top: 3px; }
.bb-social { display: flex; gap: 10px; margin-top: 16px; }
.bb-social a {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	display: flex; align-items: center; justify-content: center;
}
.bb-social a:hover { background: var(--bb-red); }
.bb-footer-bottom { text-align: center; padding: 22px 0; font-size: 13px; }

.bb-scrolltop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bb-red);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
}

/* Generic pages */
.bb-page-content { padding: 70px 0; min-height: 40vh; }
.bb-page-title { font-size: 34px; margin-bottom: 24px; }

@media (max-width: 900px) {
	.bb-nav, .bb-header-phone { display: none; }
	.bb-menu-toggle { display: flex; }
	.bb-hero-fullbg { min-height: 480px; }
	.bb-hero-inner { padding: 60px 24px; }
	.bb-about-inner { grid-template-columns: 1fr; }
	.bb-about-stats { grid-template-columns: 1fr 1fr; }
	.bb-products-grid { grid-template-columns: repeat(2, 1fr); }
	.bb-testimonials-grid { grid-template-columns: 1fr; }
	.bb-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.bb-hero-text h1 { font-size: 32px; }
	.bb-products-grid { grid-template-columns: 1fr; }
	.bb-footer-top { grid-template-columns: 1fr; }
}

.bb-nav.bb-nav-open .bb-nav-list {
	display: flex;
}
@media (max-width: 900px) {
	.bb-nav-list {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bb-dark);
		flex-direction: column;
		padding: 20px 24px;
		display: none;
	}
	.bb-nav.bb-nav-open { display: block; position: relative; }
	.bb-nav.bb-nav-open .bb-nav-list { display: flex; }
}

/* Dropdown submenu (Ürünlerimiz) */
.bb-nav-list li { position: relative; }
.bb-nav-list li.menu-item-has-children > a::after {
	content: '\f107';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-left: 6px;
	font-size: 11px;
}
.bb-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 260px;
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(0,0,0,.18);
	padding: 10px;
	z-index: 50;
}
.bb-nav-list li:hover > .sub-menu { display: block; }
.bb-nav-list .sub-menu li a {
	color: #1c1e22;
	display: block;
	padding: 9px 14px;
	border-radius: 6px;
	font-size: 14px;
	opacity: 1;
}
.bb-nav-list .sub-menu li a:hover { background: var(--bb-light); color: var(--bb-red); }
@media (max-width: 900px) {
	.bb-nav-list .sub-menu {
		position: static;
		box-shadow: none;
		background: rgba(255,255,255,.04);
		display: none;
	}
	.bb-nav-list li.menu-item-has-children.bb-submenu-open > .sub-menu { display: block; }
	.bb-nav-list .sub-menu li a { color: #d7d9de; }
}

/* Product card as link */
.bb-product-card-link { display: block; color: inherit; }
.bb-products-grid-photo { grid-template-columns: repeat(4, 1fr); }
.bb-product-card-photo {
	display: block;
	color: inherit;
	border: 1px solid var(--bb-border);
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
	background: #fff;
}
.bb-product-card-photo:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-4px); }
.bb-product-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--bb-light); }
.bb-product-photo img { width: 100%; height: 100%; object-fit: cover; }
.bb-product-card-body { padding: 20px; }
.bb-product-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.bb-product-card-body p { font-size: 13px; margin-bottom: 0; }
@media (max-width: 900px) { .bb-products-grid-photo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bb-products-grid-photo { grid-template-columns: 1fr; } }
.bb-product-more { font-size: 13px; font-weight: 700; color: var(--bb-red); display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.bb-products-more { text-align: center; margin-top: 40px; }

/* Generic page hero */
.bb-page-hero { background: var(--bb-dark); color: #fff; padding: 70px 0 50px; text-align: center; }
.bb-page-hero h1 { font-size: 36px; margin-top: 6px; }
.bb-page-hero p { color: #c7cad1; max-width: 560px; margin: 10px auto 0; }

/* Ürün (product) single page */
.bb-urun-hero { background: var(--bb-light); padding: 50px 0; }
.bb-urun-hero-inner { display: flex; align-items: center; gap: 24px; }
.bb-urun-icon {
	width: 74px; height: 74px;
	border-radius: 14px;
	background: rgba(230,51,42,.12);
	color: var(--bb-red);
	display: flex; align-items: center; justify-content: center;
	font-size: 32px;
	flex-shrink: 0;
}
.bb-urun-hero h1 { font-size: 28px; margin: 4px 0 0; }
.bb-urun-content { padding: 60px 0 90px; }
.bb-urun-content-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.bb-urun-text p { white-space: pre-line; color: #444; font-size: 16px; }
.bb-urun-sidebar { background: var(--bb-light); border-radius: 12px; padding: 24px; }
.bb-urun-sidebar h3 { font-size: 17px; margin-bottom: 14px; }
.bb-urun-list li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 14px; color: #333; }
.bb-urun-list li a i { color: var(--bb-red); width: 18px; text-align: center; }
.bb-urun-list li a:hover, .bb-urun-list li.is-active a { background: #fff; color: var(--bb-red); }
.bb-urun-cta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bb-border); }
.bb-urun-cta p { font-size: 14px; margin-bottom: 12px; }
.bb-urun-cta .bb-btn { width: 100%; justify-content: center; }

/* Blog listing */
.bb-blog-list, .bb-blog-home { padding: 80px 0; }
.bb-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bb-blog-card { border: 1px solid var(--bb-border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.bb-blog-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.bb-blog-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bb-light); }
.bb-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bb-blog-thumb-placeholder { display: flex; align-items: center; justify-content: center; font-size: 40px; color: rgba(230,51,42,.25); }
.bb-blog-card-body { padding: 20px; }
.bb-blog-date { font-size: 12px; color: var(--bb-gray); }
.bb-blog-card-body h3 { font-size: 18px; margin: 6px 0 10px; }
.bb-blog-card-body p { font-size: 14px; }
.bb-blog-more { font-size: 13px; font-weight: 700; color: var(--bb-red); display: inline-flex; gap: 6px; align-items: center; }
.bb-pagination { text-align: center; margin-top: 40px; }
.bb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 6px; margin: 0 3px; background: var(--bb-light); color: #333; }
.bb-pagination .page-numbers.current { background: var(--bb-red); color: #fff; }

/* Single post */
.bb-blog-meta { color: #c7cad1 !important; }
.bb-single-thumb { margin-bottom: 30px; border-radius: 12px; overflow: hidden; }
.bb-single-back { margin-top: 40px; }

/* Blog + sidebar layout */
.bb-blog-layout { display: grid; grid-template-columns: 2.3fr 1fr; gap: 40px; align-items: start; }
.bb-blog-grid-sidebar { grid-template-columns: repeat(2, 1fr); }
.bb-blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.bb-sidebar-box { background: var(--bb-light); border-radius: 12px; padding: 24px; }
.bb-sidebar-box h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--bb-border); }
.bb-sidebar-list li { margin-bottom: 4px; }
.bb-sidebar-list li a { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 8px; }
.bb-sidebar-list li a:hover { background: #fff; }
.bb-sidebar-post-title { font-size: 14px; font-weight: 600; color: #1c1e22; }
.bb-sidebar-post-date { font-size: 12px; color: var(--bb-gray); }
.bb-sidebar-products li a { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; padding: 9px 10px; }
.bb-sidebar-products li a i { color: var(--bb-red); width: 18px; text-align: center; }
.bb-sidebar-cta { background: var(--bb-dark); color: #fff; text-align: center; }
.bb-sidebar-cta h3 { color: #fff; border-color: rgba(255,255,255,.15); }
.bb-sidebar-cta p { color: #c7cad1; font-size: 14px; }
.bb-sidebar-cta .bb-btn { width: 100%; justify-content: center; margin-top: 6px; }

/* Contact page */
.bb-contact { padding: 70px 0 90px; }
.bb-contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.bb-contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.bb-contact-item i { font-size: 22px; color: var(--bb-red); margin-top: 4px; }
.bb-contact-item h4 { font-size: 16px; margin-bottom: 4px; }
.bb-contact-item p { margin: 0; }
.bb-contact-map { border-radius: 12px; overflow: hidden; margin-top: 10px; }
.bb-contact-form-wrap { background: var(--bb-light); border-radius: 12px; padding: 34px; }
.bb-contact-form-wrap h3 { font-size: 20px; margin-bottom: 20px; }
.bb-contact-form input, .bb-contact-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--bb-border);
	border-radius: 8px;
	margin-bottom: 16px;
	font-family: inherit;
	font-size: 14px;
}
.bb-contact-form button { border: none; cursor: pointer; }
.bb-form-success { background: #e7f8ee; color: #1c7c46; padding: 16px; border-radius: 8px; }
.bb-form-error { background: #fde8e7; color: var(--bb-red-dark); padding: 16px; border-radius: 8px; margin-bottom: 16px; }

@media (max-width: 900px) {
	.bb-urun-content-inner { grid-template-columns: 1fr; }
	.bb-blog-grid { grid-template-columns: 1fr 1fr; }
	.bb-contact-inner { grid-template-columns: 1fr; }
	.bb-blog-layout { grid-template-columns: 1fr; }
	.bb-blog-grid-sidebar { grid-template-columns: 1fr 1fr; }
	.bb-blog-sidebar { position: static; }
}
@media (max-width: 560px) {
	.bb-blog-grid { grid-template-columns: 1fr; }
	.bb-blog-grid-sidebar { grid-template-columns: 1fr; }
}
