/**
 * İstanbul Av Market — Özel Footer (referans layout)
 */

.iam-footer-wrap {
	background: transparent !important;
	padding: 0 !important;
}

.iam-footer-wrap .main-footer {
	padding: 0 !important;
	max-width: 100% !important;
}

/* ── Ana wrapper + arka plan ── */
.iam-footer {
	position: relative;
	color: #fff;
	font-family: inherit;
}

.iam-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--iam-footer-bg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 0;
}

.iam-footer::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14, 21, 9, 0.88) 0%,
		rgba(47, 79, 47, 0.85) 40%,
		rgba(14, 21, 9, 0.92) 100%
	);
	z-index: 1;
}

.iam-footer > * {
	position: relative;
	z-index: 2;
}

.iam-footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Özellik şeridi ── */
.iam-footer-features {
	padding: 48px 0 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iam-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.iam-feature {
	text-align: center;
	padding: 0 12px;
}

.iam-feature-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.iam-feature-icon svg {
	width: 48px;
	height: 48px;
}

.iam-feature h4 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.iam-feature p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}

/* ── E-bülten barı ── */
.iam-footer-newsletter {
	background: rgba(0, 0, 0, 0.55);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
}

.iam-newsletter-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
}

.iam-newsletter-title {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
}

.iam-newsletter-form {
	display: flex;
	align-items: stretch;
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
}

.iam-newsletter-form input[type="email"] {
	flex: 1;
	border: none;
	background: #fff;
	color: #222;
	padding: 12px 16px;
	font-size: 14px;
	outline: none;
	min-width: 0;
}

.iam-newsletter-form input[type="email"]::placeholder {
	color: #999;
}

.iam-newsletter-form button {
	width: 48px;
	border: none;
	background: #111;
	color: #fff;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.iam-newsletter-form button:hover {
	background: var(--iam-gold-bright, #ffc107);
	color: #111;
}

.iam-newsletter-social {
	display: flex;
	align-items: center;
	gap: 12px;
}

.iam-follow-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
}

.iam-newsletter-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.iam-newsletter-social a:hover {
	background: var(--iam-gold-bright, #ffc107);
	border-color: var(--iam-gold-bright, #ffc107);
	color: #111;
	transform: translateY(-2px);
}

/* ── Link kolonları ── */
.iam-footer-links {
	padding: 48px 0 40px;
}

.iam-links-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px;
}

.iam-link-col h4 {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(255, 193, 7, 0.35);
}

.iam-link-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.iam-link-col li {
	margin-bottom: 9px;
}

.iam-link-col a {
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	text-decoration: none;
	line-height: 1.5;
	transition: color 0.2s ease, padding-left 0.2s ease;
	display: inline-block;
}

.iam-link-col a:hover {
	color: var(--iam-gold-bright, #ffc107);
	padding-left: 4px;
}

/* ── Ödeme rozetleri ── */
.iam-footer-payments {
	padding: 28px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iam-payments-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.iam-payment-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.iam-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	white-space: nowrap;
}

.iam-badge-card {
	background: rgba(255, 255, 255, 0.92);
	color: #1a1a1a;
	border-color: transparent;
	font-weight: 800;
}

.iam-badge-ssl {
	background: rgba(107, 142, 35, 0.5);
	border-color: rgba(255, 193, 7, 0.4);
	color: #fff;
}

/* ── Copyright ── */
.iam-footer-copyright {
	background: rgba(0, 0, 0, 0.65);
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.iam-footer-copyright p {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.iam-footer-copyright .iam-footer-credit {
	margin-top: 10px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}

.iam-footer-copyright a {
	color: var(--iam-gold, #e6b800);
	text-decoration: none;
}

.iam-footer-copyright a:hover {
	color: var(--iam-gold-bright, #ffc107);
}

/* Eski Woodmart copyright gizle */
.iam-footer-wrap .copyrights-wrapper,
.iam-footer-wrap .wd-copyrights {
	display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.iam-features-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.iam-links-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.iam-newsletter-inner {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 16px;
	}

	.iam-newsletter-form {
		margin: 0 auto;
	}

	.iam-newsletter-social {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.iam-footer::before {
		background-attachment: scroll;
	}

	.iam-features-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.iam-links-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.iam-payments-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.iam-payment-left,
	.iam-payment-right {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.iam-footer-container {
		padding: 0 16px;
	}

	.iam-features-grid {
		grid-template-columns: 1fr;
	}

	.iam-links-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.iam-link-col {
		text-align: center;
	}

	.iam-link-col h4 {
		text-align: center;
	}

	.iam-newsletter-form {
		max-width: 100%;
	}

	.iam-follow-label {
		display: none;
	}
}
