/*
Theme Name:  GrandRestaurant Child
Theme URI:   https://www.istanbulkirpidesiduzce.com/
Description: İstanbul Kır Pidesi Düzce için GrandRestaurant child teması. Ana temaya dokunmadan özelleştirme yapmak için kullanılır.
Author:      İstanbul Kır Pidesi Düzce
Template:    grandrestaurant
Version:     1.3.2
Text Domain: grandrestaurant-child
*/

/* ==================================================================
   Footer alt bandı (yorum / GBP / menü / telif satırı) düzeni
   Eski hali: inline icon-list öğeleri dağınık sarıyor, ikonlar
   metinden kopuyordu. Temiz, ortalı, tek satır (mobilde dikey).
   ================================================================== */
.elementor-element-84415c7 .elementor-icon-list-items.elementor-inline-items {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 32px;
	margin: 0 !important;
	padding: 20px 16px 8px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.elementor-element-84415c7 .elementor-icon-list-item.elementor-inline-item {
	display: inline-flex !important;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
.elementor-element-84415c7 .elementor-icon-list-item:before,
.elementor-element-84415c7 .elementor-icon-list-item:after {
	display: none !important;
}
.elementor-element-84415c7 .elementor-icon-list-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: static !important;
	margin: 0 !important;
}
.elementor-element-84415c7 .elementor-icon-list-icon svg {
	width: 15px;
	height: 15px;
}
.elementor-element-84415c7 .elementor-icon-list-text {
	line-height: 1.5;
	white-space: nowrap;
}
.elementor-element-84415c7 a:hover .elementor-icon-list-text {
	color: #ff4c4c;
	transition: color 0.2s ease;
}
@media (max-width: 767px) {
	.elementor-element-84415c7 .elementor-icon-list-items.elementor-inline-items {
		flex-direction: column;
		gap: 14px;
		padding: 22px 16px 10px !important;
	}
	.elementor-element-84415c7 .elementor-icon-list-item.elementor-inline-item {
		width: 100%;
		justify-content: center;
	}
	.elementor-element-84415c7 .elementor-icon-list-text {
		white-space: normal;
		text-align: center;
		flex: 0 1 auto;
	}
}

/* ==================================================================
   IKP eklenen bölümler (İlgili Sayfalar + GBP barı) etkileşim cilası
   ================================================================== */
.ikp-related a {
	transition: all 0.2s ease;
}
.ikp-related a:hover {
	border-color: #ff4c4c !important;
	color: #ff4c4c !important;
	transform: translateY(-1px);
}
.ikp-gbp a {
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.ikp-gbp a:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}
@media (max-width: 480px) {
	.ikp-gbp a[href*="maps"],
	.ikp-gbp a[href*="g.page"] {
		display: block !important;
		margin: 8px auto !important;
		max-width: 320px;
	}
}

/* ==================================================================
   Footer ana alanı: geniş ekranlarda dengeli dağılım
   (logo | menü | iletişim üçlüsü ortalanmış, eşit aralıklı)
   ================================================================== */
@media (min-width: 1025px) {
	.elementor-element-2723088 > .e-con-inner {
		max-width: 1280px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		gap: 40px 60px !important;
	}
	.elementor-element-25ef182 {
		width: auto !important;
		max-width: 300px !important;
		flex: 0 0 auto !important;
	}
	.elementor-element-9cfa913 {
		width: auto !important;
		flex: 0 0 auto !important;
	}
	.elementor-element-30a3611 {
		width: auto !important;
		max-width: 560px !important;
		flex: 0 1 auto !important;
	}
}

/* Footer alt sırası: bant tam genişlik, gerçek ortalama */
.elementor-element-ae0a626 > .e-con-inner {
	max-width: 100% !important;
	flex-wrap: wrap !important;
}
.elementor-element-c3d8dca,
.elementor-element-a4bd359 {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
}
.elementor-element-84415c7 .elementor-icon-list-items.elementor-inline-items {
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ==================================================================
   İçerik düzeni: tablolu bölümlerde dar kolon sıkışmasını kaldır.
   Tablo içeren satırların kolonları alt alta tam genişlik olur
   (kir-pidesi, cenazepidesi, toplu-pide vb. yarım-boş kolon sorunu).
   ================================================================== */
@media (min-width: 768px) {
	[data-elementor-type="wp-page"] .e-con-inner:has(.e-con table),
	[data-elementor-type="wp-page"] .e-con:has(> .e-con table) {
		flex-wrap: wrap !important;
	}
	[data-elementor-type="wp-page"] .e-con-inner:has(.e-con table) > .e-con,
	[data-elementor-type="wp-page"] .e-con:has(> .e-con table) > .e-con {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 100% !important;
	}
}

/* ==================================================================
   Fiyat tabloları: tüm sayfalarda modern menü görünümü
   ================================================================== */
[data-elementor-type="wp-page"] table {
	width: 100% !important;
	max-width: 980px;
	margin: 26px auto !important;
	border-collapse: separate !important;
	border-spacing: 0;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 14px;
	overflow: hidden;
}
[data-elementor-type="wp-page"] table th,
[data-elementor-type="wp-page"] table thead td {
	background: rgba(255, 255, 255, 0.07);
	padding: 14px 22px;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
[data-elementor-type="wp-page"] table td {
	text-align: left;
	padding: 13px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	font-size: 16px;
	line-height: 1.5;
	vertical-align: middle;
}
[data-elementor-type="wp-page"] table tr:last-child td {
	border-bottom: none;
}
[data-elementor-type="wp-page"] table tr:hover td {
	background: rgba(255, 255, 255, 0.045);
}
[data-elementor-type="wp-page"] table td:last-child {
	text-align: right;
	font-weight: 700;
	color: #ff6b5e;
	white-space: nowrap;
	font-size: 17px;
}
[data-elementor-type="wp-page"] table th:last-child {
	text-align: right;
}
@media (max-width: 640px) {
	[data-elementor-type="wp-page"] table td,
	[data-elementor-type="wp-page"] table th {
		padding: 11px 14px;
		font-size: 15px;
	}
}

/* Menümüz: eski 800px sınırını kaldır, grupları ferahlat */
.menu-price-container {
	max-width: 1040px !important;
	margin: 0 auto !important;
	width: 100% !important;
}
.page-id-1439 [data-elementor-type="wp-page"] h2 {
	text-align: center;
	font-size: 30px !important;
	letter-spacing: 1px;
	margin: 44px auto 6px !important;
	color: #f0b429 !important;
}
.page-id-1439 [data-elementor-type="wp-page"] h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 12px auto 0;
	background: #ff4c4c;
	border-radius: 2px;
}

/* ==================================================================
   Header'daki telefon bandı: dev kırmızı kutu -> zarif CTA hapı
   ================================================================== */
.elementor-element-8000080 .elementor-widget-container {
	background: linear-gradient(135deg, #c62828, #e53935) !important;
	border-radius: 999px !important;
	padding: 8px 26px !important;
	box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
	display: inline-block;
}
.elementor-element-8000080 .elementor-heading-title {
	font-size: 26px !important;
	line-height: 1.3 !important;
	letter-spacing: 0.5px;
	color: #fff !important;
}
.elementor-element-8000080 {
	text-align: center;
}
@media (max-width: 767px) {
	.elementor-element-8000080 .elementor-heading-title {
		font-size: 20px !important;
	}
	.elementor-element-8000080 .elementor-widget-container {
		padding: 6px 18px !important;
	}
}

/* Enjekte H1: şeffaf header'ın altında kalmasın (menumuz, acikpide) */
h1.ikp-h1 {
	margin-top: clamp(150px, 14vw, 180px) !important;
	color: #f5efe6;
}
