/* ═══════════════════════════════════════════════════════
   OTOGALERIO CORE — FOOTER WIDGET v1.6
   ═══════════════════════════════════════════════════════ */

.ogc-footer {
	--f-bg:           #1a3f92;
	--f-bg-grad:      linear-gradient(180deg, #1a3f92 0%, #131a30 100%);
	--f-text:         rgba(255,255,255,.82);
	--f-text-strong:  #ffffff;
	--f-muted:        rgba(255,255,255,.55);
	--f-border:       rgba(255,255,255,.10);
	--f-accent:       #e10c14;
	--f-accent-2:     #ff5252;
	--f-accent-deep:  #a00910;
	--f-link:         rgba(255,255,255,.82);
	--f-link-hover:   #ff5252;
	--f-radius:       12px;
	--f-radius-lg:    20px;
	--f-max-w:        1280px;

	/* İkon renkleri — Elementor controller'lar override ediyor */
	--f-icon-social-color:        var(--f-accent);
	--f-icon-social-bg:           rgba(255,255,255,0.07);
	--f-icon-social-color-hover:  #ffffff;
	--f-icon-social-bg-hover:     var(--f-accent);

	--f-icon-service-color:       var(--f-accent);
	--f-icon-service-bg:          rgba(255,255,255,0.07);
	--f-icon-service-color-hover: #ffffff;
	--f-icon-service-bg-hover:    var(--f-accent);

	--f-icon-contact-color:       var(--f-accent);
	--f-icon-contact-bg:          rgba(255,255,255,0.07);
	--f-icon-contact-color-hover: #ffffff;
	--f-icon-contact-bg-hover:    var(--f-accent);

	position: relative;
	background: var(--f-bg-grad);
	color: var(--f-text);
	font-family: inherit;
	overflow: hidden;
}

.ogc-footer__container {
	max-width: var(--f-max-w);
	margin: 0 auto;
	padding: 0 24px;
}

/* Üst aksent — daha canlı turuncu gradient */
.ogc-footer__top-accent {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 5px;
	background: linear-gradient(90deg,
		#ff5252 0%,
		var(--f-accent) 30%,
		var(--f-accent-deep) 60%,
		var(--f-accent) 100%);
	z-index: 2;
	box-shadow: 0 2px 12px rgba(225,12,20,.45);
}

/* Subtle background glow */
.ogc-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 15% 25%, rgba(225,12,20,.10) 0%, transparent 40%),
		radial-gradient(circle at 85% 70%, rgba(255,82,82,.06) 0%, transparent 45%);
	pointer-events: none;
}
.ogc-footer > * { position: relative; z-index: 1; }

/* ─── CTA STRIP — Yeniden tasarlandı (canlı, dinamik) ─── */
.ogc-footer__cta-strip {
	background:
		radial-gradient(circle at 100% 0%, rgba(255,255,255,.18) 0%, transparent 50%),
		linear-gradient(135deg, var(--f-accent) 0%, #ef3a42 50%, var(--f-accent-deep) 100%);
	padding: 36px 0;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Animasyonlu noktasal pattern (subtle) */
.ogc-footer__cta-strip::before {
	content: '';
	position: absolute;
	top: -30%; right: -10%;
	width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}
.ogc-footer__cta-strip::after {
	content: '';
	position: absolute;
	bottom: -50%; left: -5%;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(0,0,0,.10) 0%, transparent 65%);
	border-radius: 50%;
	pointer-events: none;
}

.ogc-footer__cta-strip .ogc-footer__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	position: relative;
	z-index: 2;
}

/* Sol kısım — ikon + metin */
.ogc-footer__cta-content {
	display: flex;
	align-items: center;
	gap: 22px;
	flex: 1 1 auto;
	min-width: 0;
}
.ogc-footer__cta-icon-box {
	width: 64px; height: 64px;
	background: rgba(255,255,255,0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1.5px solid rgba(255,255,255,0.30);
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
	transition: transform .35s var(--ogc-easing);
}
.ogc-footer__cta-strip:hover .ogc-footer__cta-icon-box {
	transform: rotate(-8deg) scale(1.05);
}
.ogc-footer__cta-icon-box i,
.ogc-footer__cta-icon-box svg {
	width: 30px; height: 30px;
	font-size: 30px;
	color: #ffffff !important;
	fill: #ffffff !important;
}

.ogc-footer__cta-text { color: #fff; min-width: 0; flex: 1 1 auto; }
.ogc-footer__cta-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(255,255,255,0.22);
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}
.ogc-footer__cta-title {
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 800;
	margin: 0 0 4px;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #ffffff;
}
.ogc-footer__cta-sub {
	font-size: 14.5px;
	margin: 0;
	color: rgba(255,255,255,.95);
	font-weight: 500;
	line-height: 1.5;
}

.ogc-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	color: var(--f-bg);
	padding: 16px 30px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 15.5px;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0,0,0,.22);
	transition: transform .3s var(--ogc-easing), box-shadow .3s var(--ogc-easing), background .3s;
	white-space: nowrap;
	flex-shrink: 0;
	letter-spacing: -0.01em;
	border: 2px solid transparent;
}
.ogc-footer__cta-btn:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 14px 36px rgba(0,0,0,.30);
	color: var(--f-bg);
	background: #fff;
}
.ogc-footer__cta-btn .ogc-footer__cta-btn-arrow {
	width: 26px;
	height: 26px;
	background: var(--f-accent);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .3s var(--ogc-easing), background .3s;
}
.ogc-footer__cta-btn:hover .ogc-footer__cta-btn-arrow {
	transform: translateX(4px);
	background: var(--f-bg);
}
.ogc-footer__cta-btn .ogc-footer__cta-btn-arrow i,
.ogc-footer__cta-btn .ogc-footer__cta-btn-arrow svg {
	width: 13px; height: 13px;
	font-size: 13px;
	color: #fff !important;
	fill: #fff !important;
}

/* ─── Main Grid ─── */
.ogc-footer__main {
	padding: 64px 0 40px;
}
.ogc-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 48px;
}

/* ─── Brand Column ─── */
.ogc-footer__col--brand .ogc-footer__logo {
	display: inline-block;
	margin-bottom: 22px;
	line-height: 0;
}
.ogc-footer__col--brand .ogc-footer__logo img {
	height: 56px;
	width: auto;
	max-width: 240px;
}
.ogc-footer__tagline {
	font-size: 14.5px;
	line-height: 1.75;
	margin: 0 0 26px;
	color: var(--f-text);
	max-width: 360px;
}
.ogc-footer__tagline strong {
	color: var(--f-accent-2);
	font-weight: 700;
}

/* Social icons */
.ogc-footer__socials {
	display: flex;
	gap: 10px;
}
.ogc-footer__social {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--f-icon-social-bg);
	border: 1px solid var(--f-border);
	border-radius: 50%;
	color: var(--f-icon-social-color);
	transition: background .3s, color .3s, transform .3s, border-color .3s, box-shadow .3s;
}
.ogc-footer__social:hover {
	background: var(--f-icon-social-bg-hover);
	color: var(--f-icon-social-color-hover);
	border-color: var(--f-icon-social-bg-hover);
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(225,12,20,.35);
}
.ogc-footer__social i,
.ogc-footer__social svg {
	width: 17px;
	height: 17px;
	font-size: 17px;
	color: inherit;
	fill: currentColor;
}
.ogc-footer__social svg path,
.ogc-footer__social svg circle,
.ogc-footer__social svg rect { fill: currentColor; }

/* ─── Column Heading ─── */
.ogc-footer__heading {
	font-size: 16px;
	font-weight: 700;
	color: var(--f-text-strong);
	margin: 0 0 24px;
	letter-spacing: -0.01em;
	position: relative;
	padding-bottom: 14px;
	display: inline-block;
}
.ogc-footer__heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	background: linear-gradient(90deg, var(--f-accent) 0%, var(--f-accent-2) 100%);
	border-radius: 2px;
}

/* ─── Link lists ─── */
.ogc-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ogc-footer__links li {
	margin: 0 0 12px;
}
.ogc-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--f-link);
	text-decoration: none;
	font-size: 14.5px;
	transition: color .2s var(--ogc-easing), padding-left .2s var(--ogc-easing);
	line-height: 1.5;
}
.ogc-footer__links a::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--f-accent);
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.5);
	transition: opacity .2s, transform .2s;
}
.ogc-footer__links a:hover {
	color: var(--f-link-hover);
	padding-left: 4px;
}
.ogc-footer__links a:hover::before {
	opacity: 1;
	transform: scale(1);
}

/* Service icons variant */
.ogc-footer__links--with-icons a {
	gap: 12px;
}
.ogc-footer__links--with-icons a::before { display: none; }
.ogc-footer__links--with-icons .ogc-link-icon {
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--f-icon-service-bg);
	border-radius: 9px;
	color: var(--f-icon-service-color);
	flex-shrink: 0;
	transition: background .3s, color .3s, transform .3s;
}
.ogc-footer__links--with-icons .ogc-link-icon i,
.ogc-footer__links--with-icons .ogc-link-icon svg {
	width: 15px;
	height: 15px;
	font-size: 15px;
	color: inherit;
	fill: currentColor;
}
.ogc-footer__links--with-icons .ogc-link-icon svg path,
.ogc-footer__links--with-icons .ogc-link-icon svg circle,
.ogc-footer__links--with-icons .ogc-link-icon svg rect { fill: currentColor; }
.ogc-footer__links--with-icons a:hover .ogc-link-icon {
	background: var(--f-icon-service-bg-hover);
	color: var(--f-icon-service-color-hover);
	transform: scale(1.08);
}

/* WordPress menu support */
.ogc-footer__links.menu,
.ogc-footer__links .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ogc-footer__links .sub-menu {
	margin-left: 14px;
	margin-top: 8px;
}

/* ─── Contact Block ─── */
.ogc-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.ogc-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--f-text);
	text-decoration: none;
	transition: color .2s;
}
.ogc-footer__contact-item:hover {
	color: var(--f-link-hover);
}
.ogc-footer__contact-item:hover .ogc-footer__contact-icon {
	background: var(--f-icon-contact-bg-hover);
	color: var(--f-icon-contact-color-hover);
	transform: scale(1.08);
}
.ogc-footer__contact-icon {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--f-icon-contact-bg);
	border: 1px solid var(--f-border);
	border-radius: 11px;
	color: var(--f-icon-contact-color);
	flex-shrink: 0;
	transition: background .3s, color .3s, transform .3s;
}
.ogc-footer__contact-icon i,
.ogc-footer__contact-icon svg {
	width: 17px;
	height: 17px;
	font-size: 17px;
	color: inherit;
	fill: currentColor;
}
.ogc-footer__contact-icon svg path,
.ogc-footer__contact-icon svg circle,
.ogc-footer__contact-icon svg rect { fill: currentColor; }
.ogc-footer__contact-icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.ogc-footer__contact-content { line-height: 1.45; }
.ogc-footer__contact-content strong {
	display: block;
	color: var(--f-text-strong);
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 2px;
}
.ogc-footer__contact-content small {
	display: block;
	color: var(--f-muted);
	font-size: 12.5px;
}

/* ─── Bottom Bar ─── */
.ogc-footer__bottom {
	border-top: 1px solid var(--f-border);
	padding: 22px 0;
	font-size: 13px;
	color: var(--f-muted);
}
.ogc-footer__bottom .ogc-footer__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.ogc-footer__copyright { color: var(--f-muted); }
.ogc-footer__copyright strong { color: var(--f-text-strong); font-weight: 600; }
.ogc-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.ogc-footer__legal a {
	color: var(--f-muted);
	text-decoration: none;
	transition: color .2s;
	font-size: 13px;
}
.ogc-footer__legal a:hover { color: var(--f-accent-2); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
	.ogc-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
	.ogc-footer__col--brand {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		align-items: start;
		padding-bottom: 32px;
		margin-bottom: 16px;
		border-bottom: 1px solid var(--f-border);
	}
	.ogc-footer__col--brand .ogc-footer__logo,
	.ogc-footer__col--brand .ogc-footer__tagline { grid-column: 1 / 2; }
	.ogc-footer__col--brand .ogc-footer__socials { grid-column: 2 / 3; }
}

@media (max-width: 880px) {
	.ogc-footer__cta-strip .ogc-footer__container {
		flex-direction: column;
		text-align: center;
		gap: 22px;
	}
	.ogc-footer__cta-content { flex-direction: column; gap: 14px; }
	.ogc-footer__main { padding: 48px 0 32px; }
	.ogc-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.ogc-footer__col--brand { grid-template-columns: 1fr; }
	.ogc-footer__col--brand .ogc-footer__logo,
	.ogc-footer__col--brand .ogc-footer__tagline,
	.ogc-footer__col--brand .ogc-footer__socials { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.ogc-footer__container { padding: 0 18px; }
	.ogc-footer__cta-icon-box { width: 56px; height: 56px; }
	.ogc-footer__cta-icon-box i,
	.ogc-footer__cta-icon-box svg { width: 26px; height: 26px; font-size: 26px; }
	.ogc-footer__cta-title { font-size: 19px; }
	.ogc-footer__cta-sub { font-size: 13px; }
	.ogc-footer__cta-btn { padding: 14px 24px; font-size: 14px; }
	.ogc-footer__main { padding: 40px 0 24px; }
	.ogc-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.ogc-footer__col--brand .ogc-footer__logo img { height: 48px; }
	.ogc-footer__bottom { text-align: center; font-size: 12.5px; }
	.ogc-footer__bottom .ogc-footer__container { flex-direction: column; gap: 14px; }
	.ogc-footer__legal { justify-content: center; gap: 16px; }
}

.elementor-editor-active .ogc-footer { min-height: 200px; }
