/* ==========================================================================
   Modern theme layer — Allianz.com.tr tarzı sade, kurumsal görünüm.
   style.css'in ÜZERİNE yüklenir, mevcut yapıyı bozmadan yeniden renklendirir.
   ========================================================================== */

:root{
	--sw-navy:#00205B;
	--sw-navy-dark:#001845;
	--sw-blue:#0057A0;
	--sw-accent:#E30513;
	--sw-grey-bg:#F4F6F9;
	--sw-text:#1B1F27;
	--sw-radius:14px;
	--sw-shadow:0 10px 30px rgba(0,32,91,.08);
}

body{
	color:var(--sw-text);
	font-family:'Segoe UI',Arial,sans-serif;
}

/* ---------- Header ---------- */
.sw-header{
	background:#fff;
	box-shadow:0 2px 12px rgba(0,32,91,.08);
	position:sticky;
	top:0;
	z-index:999;
}
.sw-h-top{ background:var(--sw-navy); }
.sw-logo img{ max-height:56px; }

.sw-h-sosyalmedya ul{ display:flex; gap:10px; justify-content:flex-end; list-style:none; margin:14px 0 6px; padding:0; }
.sw-h-sosyalmedya ul li a{
	display:inline-block;
	padding:10px 20px;
	border-radius:30px;
	font-weight:600;
	font-size:14px;
	text-decoration:none;
	transition:.2s ease;
}
.sw-h-sosyalmedya ul li a.teklifal{ background:var(--sw-accent); color:#fff; }
.sw-h-sosyalmedya ul li a.teklifal:hover{ background:#b8040f; }
.sw-h-sosyalmedya ul li a.isbasvuru{ background:var(--sw-grey-bg); color:var(--sw-navy); }
.sw-h-sosyalmedya ul li a.isbasvuru:hover{ background:#e4e9f2; }

/* Masaüstünde yatay menü — mobilde orijinal aç/kapa (sw-menuTab) davranışını bozmamak için sadece >=992px'te uygulanır */
@media (min-width:992px){
	.sw-menu ul{ display:flex; gap:6px; list-style:none; margin:0; padding:0; justify-content:flex-end; }
	.sw-menu ul li a{
		display:inline-block;
		padding:12px 16px;
		color:var(--sw-navy);
		font-weight:600;
		text-decoration:none;
		border-radius:8px;
		transition:.2s ease;
	}
	.sw-menu ul li a:hover{ background:var(--sw-grey-bg); color:var(--sw-blue); }
}
/* Mobilde: orijinal template'in display:none/slideToggle aç-kapa davranışı korunur, sadece görünüm sadeleştirilir */
@media (max-width:991px){
	.sw-header{ padding:0 !important; display:flex; flex-direction:column; }
	.sw-h-top{ display:none; }

	/* Üstteki whatsapp/tel/instagram/mail ikonları — dar/dağınık floating kutucuklar yerine tek sıra lacivert şerit */
	.sw-mobil-iletisim{
		position:static !important;
		display:flex !important;
		justify-content:center;
		gap:10px;
		background:var(--sw-navy);
		padding:10px 12px;
		order:-1;
	}
	.sw-mobil-iletisim a{
		width:36px !important; height:36px !important; line-height:36px !important;
		border-radius:50% !important;
		background:rgba(255,255,255,.12) !important;
		font-size:15px !important;
		margin:0 !important;
	}

	.sw-logo{ text-align:center; margin:14px 0 10px; }
	.sw-logo img{ max-height:44px; }

	.sw-h-sosyalmedya{ float:none !important; }
	.sw-h-sosyalmedya ul{ display:flex !important; justify-content:center; gap:10px; float:none !important; margin:0 0 14px; }
	.sw-h-sosyalmedya ul li{ float:none !important; }
	.sw-h-sosyalmedya ul li a{ width:auto !important; height:auto !important; }

	.sw-menu{ padding:0 16px 14px; }
	.sw-menu .sw-menuTab{
		border-radius:10px !important;
		text-align:center;
		font-size:15px !important;
		padding:13px !important;
		background:var(--sw-navy) !important;
	}
	.sw-menu ul{ background:var(--sw-navy) !important; text-align:left !important; }
	.sw-menu ul li a{ color:#fff; font-weight:600; text-align:left !important; padding:14px 20px !important; }
}

.sw-mobil-iletisim a{ background:var(--sw-navy); }

/* Hero slaytı — mobilde dikey (metin üstte, dev görsel altta) yerine yatay/kompakt kart */
@media (max-width:767px){
	.sw-slide .owl-slide{ padding:14px 0 !important; border-radius:14px !important; }
	.sw-slide .container .row{ display:flex !important; flex-wrap:nowrap !important; align-items:center !important; }
	.sw-slide .sw-box{ margin:0 !important; flex:0 0 54% !important; max-width:54% !important; }
	.sw-slide .sw-img{ flex:0 0 46% !important; max-width:46% !important; height:auto !important; }
	.sw-slide .sw-box h2{ font-size:1.05rem !important; margin-bottom:8px !important; line-height:1.25 !important; }
	.sw-slide .sw-box p{ font-size:.75rem !important; margin-bottom:10px !important; line-height:1.35 !important; }
	.sw-slide .sw-box-more{ display:inline-block !important; width:auto !important; padding:7px 14px !important; font-size:11px !important; line-height:1.4 !important; }
	.sw-slide .sw-img img{ max-height:130px !important; position:relative !important; }
}

/* ---------- Hero / Slide ---------- */
.sw-slide{ background:linear-gradient(120deg,var(--sw-navy) 0%,var(--sw-blue) 100%); }
.sw-slide .sw-box h2{ color:#fff; font-weight:800; font-size:2.4rem; }
.sw-slide .sw-box p{ color:#dbe4f5; }
.sw-slide .sw-box-more{
	display:inline-block;
	background:var(--sw-accent);
	color:#fff;
	padding:12px 26px;
	border-radius:30px;
	font-weight:700;
	text-decoration:none;
	margin-top:12px;
}
.sw-slide .sw-box-more:hover{ background:#b8040f; }

/* ---------- Quick quote widget (Allianz tarzı hızlı teklif kutusu) ---------- */
.sw-quick-quote{
	background:#fff;
	border-radius:var(--sw-radius);
	box-shadow:var(--sw-shadow);
	margin:-60px auto 40px;
	max-width:1140px;
	padding:26px 30px;
	position:relative;
	z-index:10;
}
.sw-quick-quote h3{ color:var(--sw-navy); font-weight:800; margin-bottom:6px; }
.sw-quick-quote p{ color:#5b6373; margin-bottom:18px; }
.sw-quick-quote-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.sw-quick-quote-tabs a{
	padding:10px 18px;
	border-radius:30px;
	background:var(--sw-grey-bg);
	color:var(--sw-navy);
	font-weight:600;
	font-size:14px;
	text-decoration:none;
}
.sw-quick-quote-tabs a.active,
.sw-quick-quote-tabs a:hover{ background:var(--sw-navy); color:#fff; }
.sw-quick-quote-form{ display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end; }
.sw-quick-quote-form .form-group{ flex:1 1 200px; margin:0; }
.sw-quick-quote-form label{ font-size:13px; font-weight:600; color:var(--sw-navy); }
.sw-quick-quote-form .form-control{ border-radius:8px; border:1px solid #dce2ec; padding:10px 14px; height:auto; }
.sw-quick-quote-form .btn-quote{
	background:var(--sw-accent);
	color:#fff;
	border:none;
	border-radius:8px;
	padding:12px 30px;
	font-weight:700;
	white-space:nowrap;
}
.sw-quick-quote-form .btn-quote:hover{ background:#b8040f; }
.sw-quick-quote-form .btn-quote:disabled{ opacity:.7; cursor:default; }
.sw-quick-quote-result{ margin-top:16px; padding:14px 18px; border-radius:8px; font-weight:600; font-size:14px; }
.sw-quick-quote-result.ok{ background:#e6f4ea; color:#1e7a34; }
.sw-quick-quote-result.err{ background:#fdeaea; color:#a3221f; }

/* ---------- Ürün kartları ---------- */
.sw-main-iki .sw-box{
	background:#fff;
	border-radius:var(--sw-radius);
	box-shadow:var(--sw-shadow);
	overflow:hidden;
	transition:transform .2s ease,box-shadow .2s ease;
}
.sw-main-iki .sw-box:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(0,32,91,.14); }
.sw-main-iki .sw-box-body h3{ color:var(--sw-navy); font-weight:700; }
.sw-box-more{ color:var(--sw-blue); font-weight:700; }

/* ---------- Neden bölümü ---------- */
.sw-main-uc{ background:var(--sw-grey-bg); }
.sw-main-uc .sw-box{ text-align:center; }
.sw-main-uc h3{ color:var(--sw-navy); font-weight:700; }

/* ---------- Başlıklar ---------- */
.sw-title h2{ color:var(--sw-navy); font-weight:800; }
.sw-page-header{ background:var(--sw-navy); }
.sw-page-header .sw-title{ color:#fff; }
.sw-page-header .breadcrumb a,
.sw-page-header .breadcrumb li{ color:#cfd8ea; }

/* ---------- Butonlar ---------- */
.btn-primary{
	background:var(--sw-accent) !important;
	border-color:var(--sw-accent) !important;
	border-radius:8px;
	font-weight:700;
	padding:10px 26px;
}
.btn-primary:hover{ background:#b8040f !important; border-color:#b8040f !important; }

/* ---------- Footer ---------- */
.sw-footer{ background:var(--sw-navy-dark); color:#c7d0e2; }
.sw-footer h2{ color:#fff; font-weight:700; }
.sw-footer a{ color:#c7d0e2; }
.sw-footer a:hover{ color:#fff; }
.sw-footer-copyright{ border-top:1px solid rgba(255,255,255,.1); }

/* ---------- Responsive ---------- */
@media (max-width: 991px){
	.sw-quick-quote{ margin-top:20px; }
	.sw-menu ul,.sw-h-sosyalmedya ul{ justify-content:flex-start; }
}
