/* ====================================================================
   custom.css - Dreams Rent özel eklemeleri
   Tema: style.css üzerine ek / override stiller
   ==================================================================== */

/* Araç kodu rozeti (liste kartlarında) */
.car-code-badge {
	display: inline-block;
	font-size: 12px;
	color: #6B7280;
	background: #F4F4F6;
	border-radius: 5px;
	padding: 2px 8px;
	margin-top: 4px;
}

/* "Araç Kiralanmıştır" rozeti - kart üzerinde */
.listing-item .listing-img .rented-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	z-index: 10;
	background: rgba(220, 38, 38, 0.92);
	color: #ffffff;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 8px;
	border-radius: 6px;
	letter-spacing: 0.2px;
}

/* "Araç Kiralanmıştır" rozeti - detay sayfası galeri üstü (büyük) */
.rented-badge-lg {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 20;
	background: rgba(220, 38, 38, 0.95);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 8px;
}

.car-detail-gallery {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 0;
	background: #ffffff;
	border: 1px solid #F1F1F1;
}
.car-detail-layout .car-booking-box {
	position: sticky;
	top: 100px;
}
.car-spec-panel {
	background: #ffffff;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 20px;
	height: 100%;
}
.car-spec-panel-title {
	font-size: 18px;
	font-weight: 700;
	color: #161A30;
	margin-bottom: 16px;
}
.car-detail-gallery img {
	border-radius: 12px;
	width: 100%;
}
.car-main-slider .slide-images img {
	border-radius: 12px;
}
/* Owl başlatılana kadar ilk görseli göster (display:none sorunu) */
.car-detail-gallery .car-main-slider.owl-carousel:not(.owl-loaded) {
	display: block !important;
}
.car-detail-gallery .car-main-slider.owl-carousel:not(.owl-loaded) .slide-images {
	display: none;
}
.car-detail-gallery .car-main-slider.owl-carousel:not(.owl-loaded) .slide-images:first-child {
	display: block;
}

/* Sayfa başlığı (Page Header) - basit ortak alan */
.page-header-area {
	background: #F8F4ED url('../img/bg/banner-bg-01.png') no-repeat right top;
	background-size: 280px;
	padding: 110px 0 60px;
	margin-bottom: 0;
}
.page-header-content h1 {
	font-size: 36px;
	font-weight: 700;
	color: #161A30;
	margin-bottom: 10px;
}
.page-header-content p {
	color: #6B7280;
	margin-bottom: 0;
}

/* İç sayfalar header — açık arka plan üzerinde okunaklı menü */
.header.header-four.header-inner {
	background: #ffffff;
	box-shadow: 0 10px 40px rgba(202, 202, 202, 0.15);
}
.header.header-four.header-inner.header-fixed {
	background: #ffffff;
	box-shadow: 0 3px 20px rgba(197, 197, 197, 0.2);
}
.header.header-four.header-inner .header-nav .logo .dark-logo {
	display: block;
}
.header.header-four.header-inner .header-nav .logo .white-logo {
	display: none;
}
@media (min-width: 992px) {
	.header.header-four.header-inner .header-nav .main-nav > li > a {
		color: #1D3557;
	}
	.header.header-four.header-inner .header-nav .main-nav > li.active > a,
	.header.header-four.header-inner .header-nav .main-nav > li > a:hover {
		color: #FFA633;
	}
}

/* Araç detay - özellik kartları */
.car-spec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.car-spec-grid-side {
	grid-template-columns: 1fr;
	margin-top: 0;
	gap: 12px;
}
.car-spec-grid-side .car-spec-item {
	min-height: auto;
	padding: 14px 16px;
}
.car-spec-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #F9FAFB;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 18px 16px;
	min-height: 88px;
}
.car-spec-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFF8EE;
	border-radius: 10px;
}
.car-spec-icon img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}
.car-spec-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.car-spec-label {
	font-size: 12px;
	color: #6B7280;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.car-spec-value {
	font-size: 15px;
	font-weight: 700;
	color: #161A30;
	line-height: 1.3;
	word-break: break-word;
}
@media (max-width: 991.98px) {
	.car-spec-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.car-spec-grid-side {
		grid-template-columns: repeat(2, 1fr);
	}
	.car-detail-layout .car-booking-box {
		position: static;
	}
}
@media (max-width: 575.98px) {
	.car-spec-grid,
	.car-spec-grid-side {
		grid-template-columns: 1fr;
	}
}

.car-description h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
}
.car-description {
	background: #ffffff;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 24px;
}
.car-description p {
	color: #4B5563;
	line-height: 1.8;
}

/* Booking / Kirala kutusu (detay sayfası sağ sütun) */
.car-booking-box {
	background: #ffffff;
	border: 1px solid #EDEDED;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.car-booking-price h6 {
	font-size: 28px;
	font-weight: 700;
	color: #161A30;
	margin-bottom: 16px;
}
.car-booking-price h6 span {
	font-size: 14px;
	font-weight: 400;
	color: #6B7280;
}
.car-booking-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	border-top: 1px solid #F1F1F1;
	border-bottom: 1px solid #F1F1F1;
	padding: 14px 0;
}
.car-booking-meta li {
	margin-bottom: 6px;
	font-size: 14px;
	color: #4B5563;
}
.car-booking-meta li:last-child {
	margin-bottom: 0;
}

.btn-whatsapp-rent {
	background-color: #25D366 !important;
	border-color: #25D366 !important;
	color: #ffffff !important;
}
.btn-whatsapp-rent:hover {
	background-color: #1DA851 !important;
	border-color: #1DA851 !important;
	color: #ffffff !important;
}

.rented-notice {
	background: #FEF2F2;
	border: 1px solid #FECACA;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	margin-top: 10px;
}
.rented-notice i {
	font-size: 28px;
	color: #DC2626;
	margin-bottom: 8px;
	display: inline-block;
}
.rented-notice p {
	font-weight: 600;
	color: #DC2626;
	margin-bottom: 4px;
}
.rented-notice span {
	font-size: 13px;
	color: #7F1D1D;
}

/* Neden Bizi Seçmelisiniz kartları */
.why-choose-card {
	background: #ffffff;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 30px 24px;
	text-align: center;
	height: 100%;
	transition: all 0.3s ease;
}
.why-choose-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	transform: translateY(-4px);
}
.why-choose-card i {
	font-size: 40px;
	color: #FFA633;
	margin-bottom: 16px;
	display: inline-block;
}
.why-choose-card h5 {
	font-weight: 700;
	margin-bottom: 10px;
}
.why-choose-card p {
	color: #6B7280;
	margin-bottom: 0;
}

.section-heading {
	margin-bottom: 40px;
}
.section-heading h2 {
	font-size: 32px;
	font-weight: 700;
	color: #161A30;
	margin-bottom: 10px;
}
.section-heading p {
	color: #6B7280;
}

/* İletişim sayfası */
.contact-info-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.contact-info-card {
	background: #ffffff;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 24px 20px;
	text-align: center;
}
.contact-info-card i {
	font-size: 32px;
	color: #FFA633;
	margin-bottom: 12px;
	display: inline-block;
}
.contact-info-card h5 {
	font-weight: 700;
	margin-bottom: 6px;
}
.contact-info-card p {
	margin-bottom: 0;
	color: #4B5563;
}
.contact-form-wrap {
	background: #ffffff;
	border: 1px solid #F1F1F1;
	border-radius: 12px;
	padding: 36px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.contact-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.contact-form-actions .cf-turnstile {
	flex-shrink: 0;
}

.contact-map-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #F1F1F1;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	background: #f8fafc;
}
.contact-map-wrap iframe {
	display: block;
	width: 100%;
	min-height: 380px;
	border: 0;
}

@media (max-width: 991.98px) {
	.contact-info-stack {
		margin-bottom: 8px;
	}
}

/* WhatsApp yüzen buton (tüm sayfalarda sağ alt köşe) */
.whatsapp-float {
	position: fixed;
	bottom: 90px;
	right: 20px;
	width: 58px;
	height: 58px;
	background-color: #25D366;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	z-index: 998;
	transition: transform 0.2s ease;
}
.whatsapp-float:hover {
	color: #ffffff;
	transform: scale(1.08);
}

@media (max-width: 991px) {
	.car-booking-box {
		position: static;
		margin-top: 24px;
	}
	.page-header-content h1 {
		font-size: 28px;
	}
}

/* Mobil alt iletişim çubuğu (telefon + WhatsApp) */
.mobile-action-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	z-index: 1000;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
	padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-action-bar__btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	color: #ffffff;
	font-size: 26px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.mobile-action-bar__btn:hover,
.mobile-action-bar__btn:active {
	color: #ffffff;
	opacity: 0.92;
}
.mobile-action-bar__call {
	background-color: #3B82F6;
}
.mobile-action-bar__whatsapp {
	background-color: #25D366;
}

@media (max-width: 991.98px) {
	body {
		padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
	}
	.whatsapp-float {
		display: none !important;
	}
	.progress-wrap {
		bottom: 68px;
	}
}

/* Pagination basit stil */
.pagination .page-link {
	color: #161A30;
	border-radius: 6px;
	margin: 0 3px;
}
.pagination .page-item.active .page-link {
	background-color: #FFA633;
	border-color: #FFA633;
	color: #ffffff;
}

/* Alert kutuları (iletişim formu) */
.alert {
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 20px;
}
.alert-success {
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}
.alert-danger {
	background: #FEF2F2;
	color: #991B1B;
	border: 1px solid #FECACA;
}

/* Ana sayfa banner slider */
.home-banner-slider {
	position: relative;
}
.home-banner-slider .owl-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	margin: 0;
	pointer-events: none;
	z-index: 5;
}
.home-banner-slider .owl-nav button {
	pointer-events: auto;
	width: 42px;
	height: 42px;
	border-radius: 50% !important;
	background: #ffffff !important;
	color: #161A30 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.home-banner-slider .owl-nav button:hover {
	background: #FFA633 !important;
	color: #ffffff !important;
}
.home-banner-slider .owl-nav .owl-prev {
	position: absolute;
	left: -12px;
}
.home-banner-slider .owl-nav .owl-next {
	position: absolute;
	right: -12px;
}
.home-banner-slider .owl-dots {
	margin-top: 20px;
	text-align: center;
}
.home-banner-slider .owl-dots .owl-dot span {
	width: 10px;
	height: 10px;
	margin: 4px;
	background: #D1D5DB;
}
.home-banner-slider .owl-dots .owl-dot.active span {
	background: #FFA633;
}
@media (max-width: 991.98px) {
	.home-banner-slider .owl-nav {
		display: none;
	}
}

/* Eksik footer dekor görselleri için 404 isteklerini engelle */
.footer::before,
.footer::after {
	display: none !important;
}
