/**
 * Footer Styles - Beevora Theme
 *
 * @package beevora
 */

/* ========================================================================
   Newsletter Section
   ======================================================================== */
.bv-newsletter {
	background: #8a5c1a;
	padding: 40px 0;
	text-align: center;
}

.bv-newsletter__inner {
	max-width: 600px;
	margin: 0 auto;
}

.bv-newsletter__title {
	color: #fff;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.bv-newsletter__desc {
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 15px;
	margin: 0 0 24px;
	line-height: 1.6;
}

/* MC4WP Form Styling */
.bv-newsletter__form .mc4wp-form {
	display: flex;
	justify-content: center;
}

.bv-newsletter__form .mc4wp-form-fields {
	display: flex;
	width: 100%;
	max-width: 460px;
	background: transparent;
	justify-content: space-between;
	gap: 20px;
}

.bv-newsletter__form p {
	margin: 0;
}

.bv-newsletter__form p:first-of-type {
	width: 80%;
}

.bv-newsletter__form p input#email {
	background: #fff;
	border-radius: 26px;
	width: 100%;
}

.bv-newsletter__form .mc4wp-form-fields input[type="email"] {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 20px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 14px;
	color: #333;
	background: transparent;
	min-width: 0;
}

.bv-newsletter__form .mc4wp-form-fields input[type="email"]::placeholder {
	color: #aaa;
}

.bv-newsletter__form .mc4wp-form-fields input[type="submit"] {
	background: var(--beevora-gold, #ce9f47);
	color: #fff;
	border: none;
	padding: 15px 30px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 14px;
	font-weight: 700;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bv-newsletter__form .mc4wp-form-fields input[type="submit"]:hover {
	background: var(--beevora-brown, #5d3615);
}

/* MC4WP Messages */
.bv-newsletter__form .mc4wp-response {
	margin-top: 12px;
}

.bv-newsletter__form .mc4wp-response .mc4wp-alert {
	color: #fff;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 8px;
	display: inline-block;
}

.bv-newsletter__form .mc4wp-response .mc4wp-alert p {
	margin: 0;
}

.bv-newsletter__form .mc4wp-success .mc4wp-alert {
	background: rgba(255, 255, 255, 0.2);
}

.bv-newsletter__form .mc4wp-error .mc4wp-alert {
	background: rgba(220, 53, 69, 0.3);
}

@media (max-width: 575.98px) {
	.bv-newsletter {
		padding: 30px 0;
	}

	.bv-newsletter__title {
		font-size: 22px;
	}

	.bv-newsletter__desc {
		font-size: 13px;
		margin-bottom: 18px;
	}

	.bv-newsletter__form .mc4wp-form-fields {
		flex-direction: column;
		border-radius: 12px;
		gap: 0;
	}

	.bv-newsletter__form p:first-of-type {
		width: 100%;
		margin-bottom: 10px;
	}

	.bv-newsletter__form .mc4wp-form-fields input[type="email"] {
		border-bottom: 1px solid #eee;
		border-radius: 0;
		text-align: center;
	}

	.bv-newsletter__form .mc4wp-form-fields input[type="submit"] {
		border-radius: 25px;
		width: 100%;
	}
}

/* ========================================================================
   Trust Badges Bar
   ======================================================================== */
.footer-badges-bar {
	background-color: #a1691e;
	padding: 22px 0;
}

.badges-row {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.badge-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.badge-icon {
	width: 80px;
	height: 80px;
	object-fit: contain;
	border-radius: 50%;
	padding: 0;
	flex-shrink: 0;
}

.badge-title {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
	line-height: 1.3;
}

/* ========================================================================
   Main Footer
   ======================================================================== */
.site-footer {
	background-color: #fff;
	color: var(--beevora-brown, #5d3615);
	padding: 0;
}

.footer-main {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 40px;
	padding: 30px 0 25px;
}

/* Footer Logo Column */
.footer-col-logo {
	display: flex;
	align-items: center;
}

.footer-logo-link {
	display: inline-block;
}

.footer-logo {
	max-height: 65px;
	width: auto;
}

/* Quick Links Column */
.footer-col-links {
	text-align: center;
}

.footer-heading {
	color: var(--beevora-brown, #5d3615);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 10px;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px 30px;
}

.footer-menu li a {
	color: var(--beevora-brown, #5d3615);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s ease;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.footer-menu li a:hover {
	color: var(--beevora-gold, #ce9f47);
}

/* Contact & Social Column */
.footer-col-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

/* Social Links */
.footer-social {
	display: flex;
	gap: 8px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: #86612c;
	color: #fff;
	border: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background-color: var(--beevora-gold, #ce9f47);
	color: #fff;
	transform: translateY(-2px);
}

.social-link svg {
	width: 15px;
	height: 15px;
}

/* Contact Info */
.footer-contact-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.footer-contact-link {
	color: var(--beevora-brown, #5d3615);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: color 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

.footer-contact-link span {
	font-weight: 700;
	font-size: 14px;
	color: var(--beevora-brown, #5d3615);
}

.footer-contact-link:hover {
	color: var(--beevora-gold, #ce9f47);
}

/* ========================================================================
   Copyright Bar
   ======================================================================== */
.footer-bottom {
	background-color: #fff;
	border-top: 1px solid rgba(93, 54, 21, 0.1);
	padding: 12px 0;
}

.copyright-text {
	text-align: center;
	color: rgba(93, 54, 21, 0.5);
	font-size: 12px;
	margin: 0;
	font-family: var(--beevora-font-ar, 'Cairo', sans-serif);
}

/* ========================================================================
   Responsive - Tablet
   ======================================================================== */
@media (max-width: 991.98px) {
	.footer-main {
		grid-template-columns: 1fr 1fr;
		gap: 25px;
		padding: 25px 0 20px;
	}

	.footer-col-logo {
		grid-column: 1 / -1;
		justify-content: center;
	}

	.footer-col-links {
		text-align: center;
	}

	.footer-col-contact {
		align-items: center;
	}

	.footer-contact-info {
		align-items: center;
	}

	.footer-contact-link {
		align-items: center;
	}

	.badge-icon {
		width: 60px;
		height: 60px;
	}

	.badge-title {
		font-size: 13px;
	}
}

/* ========================================================================
   Responsive - Mobile
   ======================================================================== */
@media (max-width: 575.98px) {
	.footer-badges-bar {
		padding: 15px 0;
	}

	.badges-row {
		flex-wrap: wrap;
		gap: 12px;
		justify-content: center;
	}

	.badge-item {
		flex: 0 0 calc(50% - 8px);
		min-width: 0;
	}

	.badge-icon {
		width: 45px;
		height: 45px;
	}

	.badge-title {
		font-size: 12px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px 0 15px;
		text-align: center;
	}

	.footer-col-logo {
		justify-content: center;
	}

	.footer-logo {
		max-height: 50px;
	}

	.footer-col-contact {
		align-items: center;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-contact-info {
		align-items: center;
	}

	.footer-contact-link {
		align-items: center;
	}

	.footer-menu {
		flex-direction: column;
		gap: 8px;
	}
}
