﻿/* --- Hover Menüleri için (Masaüstü) --- */
@media (min-width: 992px) {
	.dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;
	}
}

/* --- Geniş Ekranlar (Tablet Pro vs) --- */
@media (max-width: 1200px) {
	.p-rl-126 {
		padding: 0 50px;
	}

	.px-9 {
		padding-left: 4rem !important;
		padding-right: 4rem !important;
	}
}

/* --- Orta ve Küçük Ekranlar (Tablet ve Mobil Genel) --- */
@media (max-width: 991.98px) {
	.p-rl-126 {
		padding: 0 20px;
	}

	.ml-15 {
		margin-left: 0 !important;
		margin-top: 10px;
	}

	.px-9 {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
	}

	.py-6 {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}

	/* Navbar Düzenlemeleri */
	.navbar-nav .nav-link {
		margin-left: 0;
		padding: 10px 15px;
		font-size: 18px;
	}

	.dropdown-menu {
		width: 100%;
		border-radius: 0;
		background-color: #000;
		border: none;
	}

		.dropdown-menu li a {
			color: #fff;
			padding: 10px 20px;
		}

			.dropdown-menu li a:hover {
				background-color: var(--primary-red);
				color: #fff;
			}

	/* Arama Alanı */
	.search-wrapper {
		justify-content: flex-start;
		padding: 10px 15px;
	}

		.search-wrapper.active .search-input-container {
			width: 100%;
		}

	/* Ürün Grid - Filtre Alanı Düzenlemeleri */
	.col-lg-2.mb-5,
	.col-lg-3.mb-5 {
		margin-bottom: 1.5rem !important;
	}

	.filter-group {
		margin-bottom: 1.5rem;
	}

	.filter-content {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

		.filter-content .custom-check {
			width: 45%;
			margin-bottom: 5px;
		}

	/* Hero Section Düzenlemeleri */
	.hero-slide-row {
		min-height: auto;
		flex-direction: column-reverse;
	}

	.hero-text-col {
		position: relative;
		padding: 3rem 2rem !important;
		width: 100%;
		text-align: center;
	}

	.hero-image-col {
		margin: 0;
		padding-top: 2rem;
	}

	.swiper-slide h1 {
		font-size: 50px;
	}

	.hero-nav-btns {
		bottom: 20px;
		right: 50%;
		transform: translateX(50%);
		left: auto;
	}

	/* Partner Bölümü Düzenlemeleri */
	.red-box, .white-box {
		padding: 4rem 2rem;
		text-align: center;
	}

	.btn-black, .btn-white, .btn-red-link {
		width: 100%;
	}

	.white-box .d-flex {
		flex-direction: column;
		gap: 20px;
	}

	.white-box svg {
		max-width: 100%;
		height: auto;
	}

	/* Özellik / İkon Sıraları Düzenlemesi */
	.d-flex.gap-5.px-9.py-6 {
		gap: 2rem !important;
		flex-wrap: wrap;
		justify-content: center !important;
	}

		.d-flex.gap-5.px-9.py-6 > div {
			width: 45%;
			display: flex;
			align-items: center;
			justify-content: flex-start;
			margin-bottom: 1rem;
		}

	/* Map Section */
	.map-section {
		padding: 2rem 0;
	}

	#chartdiv {
		height: 400px;
	}

	.map-overlay-container {
		margin-top: 0;
		padding: 0 15px;
		z-index: 20;
	}

	.map-overlay-card {
		padding: 2rem;
	}
}

/* --- Tablet / Masaüstü Geçişi --- */
@media (min-width: 768px) {
	.product-card {
		flex-direction: row; /* Masaüstünde yatay */
	}

	.product-image-wrapper {
		flex: 0 0 40%;
		max-width: 40%;
		min-height: 250px;
		border-right: 1px solid #eee;
		border-bottom: none;
	}

	.product-content {
		flex: 0 0 60%;
		max-width: 60%;
		align-items: flex-start;
		text-align: left;
	}
}

/* --- Mobil Telefonlar --- */
@media (max-width: 767.98px) {
	.top-bar .d-flex {
		justify-content: center !important;
		width: 100%;
	}

	.top-bar a {
		font-size: 14px;
	}

	/* Padding değerlerini tamamen sıfırla/düşür */
	.px-9 {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.py-6 {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

	.p-5 {
		padding: 1.5rem !important;
	}

	/* Başlıklar */
	.swiper-slide h1 {
		font-size: 38px;
	}

	.swiper-slide small {
		font-size: 16px;
	}

	.section-title {
		font-size: 3rem;
		text-align: center;
	}

	.section-subtitle {
		text-align: center;
	}

	.partner-section h2 {
		font-size: 42px;
	}

	.partner-section h3 {
		font-size: 32px;
	}

	.display-5 {
		font-size: 2.2rem;
	}

	.display-4 {
		font-size: 2rem;
	}

	.fs-5 {
		font-size: 1.1rem !important;
	}

	.col-md-8.offset-md-1 {
		margin-left: 0;
		width: 100%;
	}

	/* Kapasite, Voltaj, Marş Gücü Kutuları */
	.col-4 {
		width: 100%;
		margin-bottom: 10px;
	}

		.col-4 .p-3 {
			padding: 1rem !important;
			display: flex;
			justify-content: space-between;
			align-items: center;
			text-align: left !important;
		}

			.col-4 .p-3 small {
				margin-bottom: 0 !important;
				font-size: 1rem;
			}

		.col-4 .h4 {
			margin-bottom: 0;
			font-size: 1.2rem;
		}

	.row.g-3 {
		display: flex;
		flex-direction: column;
	}

	/* Aksiyon Butonları */
	.btn.bg-red {
		width: 100%;
	}

	/* İkonlu Özellik Sıraları */
	.d-flex.gap-5.px-9.py-6 > div {
		width: 100%;
		flex-direction: column;
		text-align: center;
		justify-content: center;
		gap: 5px;
	}

		.d-flex.gap-5.px-9.py-6 > div img {
			margin-bottom: 5px;
			height: 50px;
			width: auto;
		}

	/* Yuvarlak İkonlar */
	.d-flex.icons {
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px !important;
	}

	/* Bilgi Blokları */
	.product-properties .col-md-6 {
		padding: 2.5rem 1.5rem !important;
		text-align: center;
	}

	.product-properties h5 {
		font-size: 20px;
		line-height: 1.4;
		margin-bottom: 1.5rem;
	}

	/* Ürün Kartı Mobilde Alt Alta (Dikey) Dizilim */
	.product-card {
		flex-direction: column !important;
		align-items: center;
		text-align: center;
	}

	.product-image-wrapper {
		flex: none;
		width: 100% !important;
		max-width: 100% !important;
		height: 220px;
		min-height: auto !important;
		border-right: none !important;
		border-bottom: 1px solid #eee;
	}

	.product-content {
		flex: none;
		width: 100% !important;
		max-width: 100% !important;
		padding: 1.5rem 1rem !important;
		align-items: center;
	}

	.product-link {
		margin: 0 auto;
		width: 100%;
	}

	.product-title {
		font-size: 1.1rem;
	}

	.filter-content .custom-check {
		width: 100%;
	}

	/* Footer ve Sosyal Medya */
	footer {
		text-align: center;
	}

		footer .col-lg-3 {
			margin-bottom: 2rem;
		}

	.social-icons {
		justify-content: center;
		display: flex;
		gap: 15px;
	}

		.social-icons a {
			margin-right: 0 !important;
		}
}

/* --- Küçük Ekranlı Telefonlar --- */
@media (max-width: 576px) {
	.swiper-slide h1 {
		font-size: 32px;
	}

	.section-title {
		font-size: 2.2rem;
	}

	.partner-section h2 {
		font-size: 36px;
	}

	.partner-section h3 {
		font-size: 28px;
	}

	.display-5 {
		font-size: 1.8rem;
	}

	.hero-image-col img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.table-responsive {
		font-size: 0.85rem;
	}

		.table-responsive th {
			width: 40% !important;
		}

	.breadcrumb-item {
		font-size: 0.8rem;
	}

	.icons img {
		width: 70px;
		height: 70px;
	}

	.product-image-wrapper {
		height: 250px;
		padding: 10px;
	}
}
