@charset "utf-8";
/* CSS Document */
/*
*
* ANA SAYFA BİLGİ MERKEZİ ALANI 
Posts
*/
.blog-section {
	background-color: #f2f2f2;
	background-image: url("../images/bg-ANASAYFA-bilMrk.webp");
	height: 720px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.blog-inner-wrapper {
	position: relative;
	max-width: 1260px;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
}

.blog-container {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	gap: 20px;
	padding: 40px 0;
	max-width: 100%;
	margin: 0 auto;
	/* Scroll bar'Ä± gizle */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE & Edge */
}

	.blog-container::-webkit-scrollbar {
		display: none; /* Chrome, Safari */
	}

.blog-card {
	flex: 0 0 auto;
	width: 400px;
	height: 800px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Scroll ButonlarÄ± */
.scroll-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #007bff;
	color: #fff;
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	z-index: 10;
	cursor: pointer;
	opacity: 0.9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	background-color: rgba(79,83,90,0.40);
	color: #fff;
	backdrop-filter: blur(4px);
	border: 1px solid #fff;
}

	.scroll-button:hover {
		opacity: 1;
	}

.scroll-left {
	left: -24px;
}

.scroll-right {
	right: -24px;
}

#blogScrollContainer {
	scroll-behavior: smooth;
}

/*
*
* Posts
*/
img.lazy {
	display: block;
	width: 100%;
	min-height: 200px;
	object-fit: cover;
	background-color: #eee;
	opacity: 0;
}

img.loaded {
	opacity: 1;
	transition: opacity 0.5s ease;
}

.blog-card {
	width: 400px;
	height: 450px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* ðŸ”¥ Alt kenara itmek iÃ§in */
	padding: 15px;
	position: relative;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

	.blog-card.animate {
		opacity: 1;
		transform: translateY(0);
	}

	.blog-card:nth-child(1) {
		transition-delay: 0s;
	}

	.blog-card:nth-child(2) {
		transition-delay: 0.1s;
	}

	.blog-card:nth-child(3) {
		transition-delay: 0.2s;
	}

	.blog-card:nth-child(4) {
		transition-delay: 0s;
	}

	.blog-card:nth-child(5) {
		transition-delay: 0.1s;
	}

	.blog-card:nth-child(6) {
		transition-delay: 0.2s;
	}

.post {
	text-align: justify;
	display: flex;
	flex-direction: column;
	flex-grow: 1; /* ðŸ”¥ Kutunun kalanÄ±nÄ± kaplasÄ±n */
	position: relative;
	min-height: 400px;
}

.post-modern-figure {
	position: relative;
	overflow: hidden;
	display: block;
	margin-bottom: 15px;
	height: 250px;
}

	.post-modern-figure img {
		width: 100%;
		transition: all .3s ease;
	}

	.post-modern-figure:hover img {
		transform: scale(1.05);
	}

.post-modern-time {
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 12px 14px 4px;
	color: rgba(177, 145, 44, 0.9);
	font-size: 18px;
	line-height: .3;
	letter-spacing: .01em;
	text-transform: uppercase;
	z-index: 2;
	background: #ffffff;
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 800;
}

	.post-modern-time::before {
		position: absolute;
		content: '';
		top: 0;
		left: 0;
		width: 100%;
		height: 15px;
		background: inherit;
		transform: translate3d(0, -100%, 0) skewX(30deg);
		transform-origin: 50% 100%;
		will-change: transform;
	}

	.post-modern-time .post-modern-time-number {
		font-size: 1.5em;
	}

	.post-modern-time * + .post-modern-time-month {
		margin-left: 0px;
	}

.post-modern-text {
	letter-spacing: .025em;
	color: #747474;
	padding: 0 10px;
	font-size: 0.9em;
	line-height: 1em;
}

.post-modern-title a {
	margin-top: 20px;
	text-decoration: none;
	font-weight: bold;
	padding: 10px;
	font-weight: 700;
	font-style: normal;
	color: #232325;
	text-align: left;
}

.devami {
	margin-top: auto;
	text-decoration: none;
	font-weight: bold;
	padding: 8px 12px;
	font-size: 14px;
	color: rgba(177, 145, 44, 0.9);
	border-radius: 4px;
}


/*
*
* ANA SAYFA YENİ ÜRÜN ALANI 
Posts
*/

.urunler-wrapper {
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	position: relative;
	padding: 10px 0 20px;
}

.urunler-inner {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	width: max-content;
	transition: transform .65s cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.urun-kutu {
	flex: 0 0 auto;
	width: 230px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(0,0,0,.05);
	box-shadow: 0 4px 12px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.03);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.urun-kutu:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
	border-color: rgba(0,0,0,.08);
}


.urun-gorsel-wrapper {
	width: 100%;
	height: 165px;
	background: linear-gradient(to bottom, #fafafa, #f2f2f2);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.urun-gorsel {
	width: 88%;
	object-fit: contain;
	transition: transform .5s ease, filter .4s ease;
}

.urun-kutu:hover .urun-gorsel {
	transform: scale(1.05);
}


.urun-bilgi {
	padding: 16px;
}

	.urun-bilgi .fw-bold {
		font-size: 1rem;
		margin-bottom: 6px;
		transition: color .3s ease;
	}

.urun-kutu:hover .fw-bold {
	color: #c49f29;
	line-height: 1.2;
}

.urun-bilgi .text-muted {
	font-size: .92rem;
	line-height: 1.35;
}



/* Oklar sadece masaüstünde */
.urun-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,.06);
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 15px rgba(0,0,0,.10);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1;
	color: #3d3f42;
	cursor: pointer;
	z-index: 20;
	transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.urun-nav:hover {
	transform: translateY(-50%) scale(1.08);
	background: #fff;
	box-shadow: 0 5px 22px rgba(0,0,0,.2);
}

.urun-nav i {
	font-size: 1.1rem;
}

.urun-prev {
	left: -20px;
}

.urun-next {
	right: -20px;
}

@media (max-width: 1024px) {
	.blog-card {
		width: 48%;
	}
}

@media (max-width: 768px) {

	/*  --- Bilgi merkezi alanı ---   */
	.scroll-button {
		display: none !important;
	}

		.scroll-button i {
			display: none !important;
		}

	.blog-section {
		height: auto;
		padding: 40px 0;
	}

	/* --- Yeni ürün alanı ---   */
	.urunler-wrapper {
		display: block;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		position: relative;
		padding-bottom: 10px;
	}

	.urunler-inner {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 8px;
		width: max-content;
		float: none !important;
		position: static !important;
	}

	.urun-kutu {
		flex: 0 0 auto;
		width: 160px;
		scroll-snap-align: start;
	}

	.urun-nav {
		display: none;
	}
}


/*
ANA SAYFA REFERANSLAR*/
.referansA-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	align-items: center;
	padding: 25px 20px;
	background-color: #4e555c;
}

.logo-box {
	flex: 1 1 100px; 
	max-width: 150px;
	min-width: 100px; 
	min-height: 90px;
	border: 1px solid #7d868e;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition:
		transform .35s ease,
		box-shadow .35s ease,
		border-color .35s ease,
		background-color .35s ease;
	background-color: #fff;
}

	.logo-box.borderless {
		border-color: transparent;
		box-shadow: none;
		background: transparent;
	}

	.logo-box img {
		max-width: 80%;
		filter: grayscale(100%);
		transition: filter 0.3s ease;
		opacity: 0.8;
		mix-blend-mode: luminosity;
		transition:
		filter .45s ease,
		opacity .45s ease,
		transform .35s ease;
	}

	.logo-box:hover img {
		mix-blend-mode: normal;
		opacity: 1;
		transform: scale(1.04);
	}

	.logo-box:hover {
		transform: translateY(-3px) scale(1.03);
		border-color: #d8dde5;
		box-shadow:
			0 8px 20px rgba(0,0,0,.06);
	}

/* Son kutu: buton */

.see-all-button {
	display: inline-block;
	padding: 8px 12px;
	font-size: 0.9rem;
	text-decoration: none;
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	transition: background 0.3s ease, color 0.3s ease;
}

	.see-all-button:hover {
		background-color: #333;
		color: #fff;
	}

/* ANASAYFA REFERANS ALANI BİTTİ    */




@media (max-width: 768px) {
	.referansA-wrapper {
		flex-wrap: nowrap; 
		justify-content: flex-start; 
		overflow-x: auto; 
		
		/* Yumuşak kaydırma ve Snap (Mıknatıs) özellikleri */
		scroll-snap-type: x mandatory; 
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch; /* iOS cihazlarda akıcı kaydırma sağlar */
		
		
		padding: 20px 10px;
	}

	.referansA-wrapper::-webkit-scrollbar {
		display: none;
	}
	.referansA-wrapper {
		-ms-overflow-style: none;  /* IE ve Edge için */
		scrollbar-width: none;  /* Firefox için */
	}

	.logo-box {
		flex: 0 0 95px; 
		min-height: 63px !important;
		scroll-snap-align: center; 
	}
	.logo-box img {
		mix-blend-mode: normal;
	}
	.urun-bilgi .text-muted {
		font-size: .75rem;
		line-height: 1;
	}
}

@media (max-width: 575.98px) {
	/*  --- Bilgi merkezi alanı ---   */
	.blog-section .blog-slider-container {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding: 0 16px;
	}

	.blog-slider-container::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		width: 48px;
		height: 100%;
		background: linear-gradient(to left, white, transparent);
		pointer-events: none;
	}

	.blog-section .blog-card {
		flex: 0 0 83%;
		scroll-snap-align: start;
		margin-right: 9px;
	}

	.blog-section .blog-item:last-child {
		margin-right: 0;
	}

	/* --- Yeni ürün alanı ---   */
	.urun-kutu {
		width: 180px;
	}

	.urunler-inner {
		gap: 12px;
	}
}
