/* Custom Premium Global Footer Stylesheet
   Companion design to the EuropaMed custom header
   ========================================================================== */

:root {
	--footer-bg: #04060a; /* Obsidian base */
	--footer-border-color: rgba(255, 255, 255, 0.05);
	--footer-accent-gold: #d0a642;
	--footer-accent-gold-rgb: 208, 166, 66;
	--footer-accent-brand: #537889;
	--footer-text-muted: rgba(255, 255, 255, 0.65);
	--footer-font-title: 'Outfit', sans-serif;
	--footer-font-body: 'Inter', sans-serif;
}

.avm-global-footer {
	background: var(--footer-bg);
	border-top: 1px solid var(--footer-accent-gold) !important;
	color: #ffffff;
	position: relative;
	z-index: 999;
	overflow: hidden;
	font-family: var(--footer-font-body);
}

/* Subtle corner ambient glow */
.avm-global-footer::before {
	content: '';
	position: absolute;
	bottom: -200px;
	right: -200px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--footer-accent-gold-rgb), 0.05) 0%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.avm-footer-container {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 80px;
	position: relative;
	z-index: 2;
}

/* =========================================================================
   Top Footer: Column Grid
   ========================================================================= */
.avm-footer-top {
	padding: 90px 0 60px;
	border-bottom: 1px solid var(--footer-border-color);
}

.avm-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 60px;
}

/* Column 1: Brand details & negative logo crop */
.avm-footer-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 60px; /* Lock height at 60px visual size */
	overflow: hidden;
	margin-bottom: 24px;
}

.avm-footer-logo img {
	width: 381px !important;
	height: 381px !important;
	max-height: none !important;
	margin-top: -156px !important;
	margin-bottom: -165px !important;
	display: block;
}

.avm-footer-secondary-logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 12px;
	margin-bottom: 20px;
}

.avm-footer-secondary-logo img {
	height: 100px !important; /* Visual height set to 100px */
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain !important;
	display: block;
	margin: 0 !important;
}

.avm-footer-tagline {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--footer-text-muted);
	margin: 0 0 28px;
	max-width: 320px;
}

/* Social links icons */
.avm-footer-socials {
	display: flex;
	gap: 16px;
}

.avm-social-link {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.6);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
}

.avm-social-link svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avm-social-link:hover {
	background: rgba(var(--footer-accent-gold-rgb), 0.1);
	border-color: var(--footer-accent-gold);
	color: var(--footer-accent-gold);
	box-shadow: 0 0 15px rgba(var(--footer-accent-gold-rgb), 0.25);
}

.avm-social-link:hover svg {
	transform: scale(1.15);
}

/* =========================================================================
   Columns Layout & Typography
   ========================================================================= */
.avm-footer-col-title {
	font-family: var(--footer-font-title);
	font-size: 15px;
	font-weight: 800;
	color: var(--footer-accent-gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 30px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--footer-accent-gold);
	display: inline-block;
}

.avm-footer-nav ul,
.avm-footer-contact-info {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.avm-footer-nav ul li a {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--footer-text-muted) !important;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	display: inline-block;
}

.avm-footer-nav ul li a:hover {
	color: var(--footer-accent-gold) !important;
	transform: translateX(6px);
}

/* Column 4: Contact */
.avm-footer-contact-info li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--footer-text-muted);
}

.avm-footer-contact-info li a {
	color: var(--footer-text-muted) !important;
	text-decoration: none;
	transition: color 0.3s ease;
}

.avm-footer-contact-info li a:hover {
	color: var(--footer-accent-gold) !important;
}

.avm-contact-icon {
	font-size: 16px;
	color: var(--footer-accent-gold);
	flex-shrink: 0;
}

/* Reviews Badge */
.avm-footer-reviews-badge {
	margin-top: 30px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.avm-footer-reviews-badge:hover {
	border-color: rgba(var(--footer-accent-gold-rgb), 0.3);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.avm-footer-review-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	text-decoration: none;
	gap: 4px;
	transition: transform 0.2s ease;
}

.avm-footer-review-item:hover {
	transform: translateY(-2px);
}

.avm-review-logo-text {
	font-family: var(--footer-font-title);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.avm-review-logo-text.tp-color {
	color: #00b67a; /* Trustpilot Green */
}

.avm-review-logo-text.google-color {
	color: #ffffff;
}

.avm-review-stars {
	display: flex;
	gap: 2px;
	font-size: 11px;
}

/* Trustpilot star color */
.avm-footer-tp .avm-review-stars {
	color: #00b67a;
}

/* Google star color */
.avm-footer-google .avm-review-stars {
	color: #FBBC05;
}

.avm-review-score {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 600;
}

.avm-footer-reviews-divider {
	width: 1px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
}

/* Map Indicator styling */
.avm-footer-map {
	margin-top: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.01);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.avm-footer-map iframe {
	display: block;
	border-radius: 8px;
}

/* =========================================================================
   Bottom Bar & Copyright
   ========================================================================= */
.avm-footer-bottom {
	padding: 30px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
}

.avm-footer-bottom-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.avm-footer-copy {
	margin: 0;
	line-height: 1.5;
}

.avm-footer-bottom-links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.avm-footer-bottom-links a {
	color: rgba(255, 255, 255, 0.4) !important;
	text-decoration: none;
	transition: color 0.3s ease;
}

.avm-footer-bottom-links a:hover {
	color: var(--footer-accent-gold) !important;
}

.avm-footer-divider {
	color: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   Responsive Grid Adaptations
   ========================================================================= */
/* =========================================================================
   Responsive Grid Adaptations & Layout Optimizations
   ========================================================================= */

/* Tablet Viewports (1024px and down) */
@media (max-width: 1024px) {
	.avm-footer-container {
		padding: 0 40px;
	}

	.avm-footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 50px;
	}

	/* Center brand column on tablet for a cleaner balanced design */
	.avm-footer-brand-col {
		grid-column: span 3;
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.avm-footer-logo {
		justify-content: center;
		height: 55px; /* Shrink height for tablet */
		margin-bottom: 20px;
	}

	.avm-footer-logo img {
		width: 349px !important;
		height: 349px !important;
		margin-top: -143px !important;
		margin-bottom: -151px !important;
	}

	.avm-footer-secondary-logo {
		justify-content: center;
		margin-top: 12px;
		margin-bottom: 20px;
	}

	.avm-footer-secondary-logo img {
		height: 70px !important;
		width: auto !important;
		max-width: 100% !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.avm-footer-tagline {
		max-width: 550px;
		margin-bottom: 20px;
	}

	.avm-footer-contact-col {
		grid-column: span 1;
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.avm-footer-contact-info {
		align-items: flex-start;
	}

	.avm-footer-reviews-badge,
	.avm-footer-map {
		margin-top: 25px;
		width: 100%;
		max-width: 400px;
		justify-content: flex-start;
	}
}

/* Mobile Viewports (768px and down) */
@media (max-width: 768px) {
	.avm-footer-container {
		padding: 0 24px; /* Matches mobile header padding */
	}

	.avm-footer-top {
		padding: 60px 0 40px;
	}

	.avm-footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.avm-footer-brand-col,
	.avm-footer-contact-col {
		grid-column: span 1;
	}

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

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

	.avm-footer-reviews-badge,
	.avm-footer-map {
		justify-content: center;
	}

	.avm-footer-logo {
		justify-content: center;
		height: 45px;
		margin-bottom: 16px;
	}

	.avm-footer-logo img {
		width: 286px !important;
		height: 286px !important;
		margin-top: -117px !important;
		margin-bottom: -124px !important;
	}

	.avm-footer-secondary-logo {
		justify-content: center;
		margin-top: 10px;
		margin-bottom: 16px;
	}

	.avm-footer-secondary-logo img {
		height: 60px !important;
		width: auto !important;
		max-width: 100% !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}

	.avm-footer-tagline {
		font-size: 13.5px;
		max-width: 100%;
	}

	.avm-footer-col-title {
		margin-bottom: 20px;
	}

	.avm-footer-bottom {
		padding: 24px 0;
	}

	/* Center align footer copyrights and policy links on mobile */
	.avm-footer-bottom-flex {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}

	.avm-footer-bottom-links {
		gap: 10px;
	}

	.avm-footer-reviews-badge,
	.avm-footer-map {
		padding: 12px 16px;
		gap: 12px;
	}
}

/* Disclaimer text */
.avm-footer-disclaimer {
	margin-top: 20px;
	font-size: 11px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.35);
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 15px;
}
