/*
Theme Name: KaroTEK
Theme URI: https://karotek.com
Author: KaroTEK
Description: KaroTEK - İleri Beton Teknolojileri Kurumsal Web Sitesi
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: delta-karot
*/

/* Kritik: Tailwind yüklenmese bile header/footer ve body görünsün (inner sayfa sorunları için) */
body {
	background: #fff;
	min-height: 100vh;
}

header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 50 !important;
	background: #F8F7F4 !important;
	border-bottom: 1px solid #e5e7eb !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

footer {
	background: #1E3A5F !important;
	color: #fff !important;
}

main {
	padding-top: 112px;
	min-height: 50vh;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #1E3A5F;
}

::-webkit-scrollbar-thumb {
	background: #F97316;
	border-radius: 4px;
}

.text-stroke {
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
	color: transparent;
}

.zoom-container {
	overflow: hidden;
}

.zoom-img {
	transition: transform 0.7s ease;
}

.zoom-container:hover .zoom-img {
	transform: scale(1.1);
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

#scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	background: #F97316;
	z-index: 100;
	width: 0%;
	transition: width 0.1s;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #1E3A5F;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.animate-scroll {
	animation: scroll 40s linear infinite;
}

.gallery-item {
	transition: all 0.3s ease;
}

.gallery-item.hidden {
	display: none;
}

table.tech-table th {
	background-color: #F97316;
	color: white;
	padding: 12px;
	text-align: left;
}

table.tech-table td {
	border-bottom: 1px solid #e5e7eb;
	padding: 12px;
}

table.tech-table tr:nth-child(even) {
	background-color: #f3f4f6;
}

/* Kullanıcı içeriği (DB'den gelen sayfa/hizmet) - Tailwind sınıfları yedek CSS ile çalışsın */
.prose,
.prose-lg {
	color: #4b5563;
	line-height: 1.75;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	color: #1E3A5F;
	font-weight: 700;
	margin: 1em 0 0.5em;
}

.prose p {
	margin-bottom: 1rem;
}

.prose img {
	max-width: 100%;
	height: auto;
}

.flex {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.grid {
	display: grid;
}

.gap-4 {
	gap: 1rem;
}

.gap-6 {
	gap: 1.5rem;
}

.gap-12 {
	gap: 3rem;
}

.items-center {
	align-items: center;
}

.justify-center {
	justify-content: center;
}

.text-center {
	text-align: center;
}

/* Delta renkler (DB içeriğinde sınıf adı kullanılırsa) */
.bg-delta-black {
	background-color: #1E3A5F !important;
}

.bg-delta-red {
	background-color: #F97316 !important;
}

.bg-delta-light {
	background-color: #EDF2F4 !important;
}

.bg-delta-gray {
	background-color: #2B2D42 !important;
}

.text-delta-red {
	color: #F97316 !important;
}

.text-delta-black {
	color: #1E3A5F !important;
}

.text-white {
	color: #fff !important;
}

.text-gray-400 {
	color: #9ca3af !important;
}

.text-gray-500 {
	color: #6b7280 !important;
}

.text-gray-600 {
	color: #4b5563 !important;
}

/* Hakkımızda layout sınıfları */
.border-l-4 {
	border-left-width: 4px;
}

.border-delta-red {
	border-color: #F97316;
}

.border-delta-gray {
	border-color: #2B2D42;
}

.border-gray-700 {
	border-color: #374151;
}

.shadow-2xl {
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 768px) {
	.lg\:flex-row {
		flex-direction: row;
	}

	.lg\:w-1\/2 {
		width: 50%;
	}

	.lg\:flex {
		display: flex;
	}
}

@media (min-width: 1024px) {
	.lg\:gap-16 {
		gap: 4rem;
	}
}

/* Custom Logo Wrapper */
.custom-logo-wrapper img,
.custom-logo-link img {
	height: 100px;
	width: auto;
	object-fit: contain;
}

.custom-logo-wrapper {
	display: flex;
	align-items: center;
}

.preloader-logo {
	height: 100px;
	width: auto;
	object-fit: contain;
}

.footer-logo img,
.footer-logo .custom-logo-link img {
	max-height: 60px;
	width: auto;
	object-fit: contain;
}