/**
 * Axtron Footer Styles
 */

.axtron-footer {
	background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
	color: #ffffff;
	font-family: "Montserrat", system-ui, sans-serif;
	padding: 3rem 0 0 0;
}

.axtron-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 3rem 1.5rem;
}

/* Mobile: 1 column layout */
@media (max-width: 639px) {
	.axtron-footer__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding: 2.5rem 1rem;
	}
}

/* Tablet: 2x2 grid */
@media (min-width: 640px) {
	.axtron-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		padding: 3rem;
	}
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
	.axtron-footer__inner {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		gap: 4rem;
		padding: 4rem 3rem;
	}
}

/* --- Footer Sections --- */

.axtron-footer__section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* About Section */
.axtron-footer__about {
	grid-column: 1;
}

@media (min-width: 640px) {
	.axtron-footer__about {
		grid-column: 1 / -1;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 2rem;
	}
}

@media (min-width: 1024px) {
	.axtron-footer__about {
		grid-column: 1;
		flex-direction: column;
		align-items: flex-start;
	}
}

.axtron-footer__logo {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.axtron-footer__logo-img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.axtron-footer__about-text {
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	flex: 1;
}

@media (min-width: 640px) {
	.axtron-footer__about-text {
		font-size: 0.8125rem;
	}
}

/* Links Sections */
.axtron-footer__links-section {
	gap: 1.25rem;
}

.axtron-footer__section-title {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 0.5rem 0;
	color: #ffffff;
}

@media (min-width: 640px) {
	.axtron-footer__section-title {
		font-size: 1rem;
	}
}

.axtron-footer__links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.axtron-footer__link-item {
	margin: 0;
}

.axtron-footer__link {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.9375rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

@media (min-width: 640px) {
	.axtron-footer__link {
		font-size: 0.875rem;
	}
}

.axtron-footer__link::before {
	content: '›';
	font-weight: bold;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.axtron-footer__link:hover {
	color: #ffffff;
	padding-left: 0.5rem;
}

.axtron-footer__link:hover::before {
	opacity: 1;
}

/* Contact Section */
.axtron-footer__contact {
	gap: 1.5rem;
}

.axtron-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9375rem;
}

@media (min-width: 640px) {
	.axtron-footer__contact-item {
		font-size: 0.875rem;
	}
}

.axtron-footer__contact-icon {
	font-size: 1.5rem;
	flex-shrink: 0;
}

.axtron-footer__contact-link {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s ease;
}

.axtron-footer__contact-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Social Icons */
.axtron-footer__socials {
	display: flex;
	gap: 1rem;
	margin-top: 0.5rem;
}

.axtron-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.axtron-footer__social-link:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

.axtron-footer__social-link svg {
	width: 20px;
	height: 20px;
}

/* --- Locations Section --- */

.axtron-footer__locations-container {
	background: rgba(0, 0, 0, 0.15);
	padding: 1.5rem 0;
	margin-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
	.axtron-footer__locations-container {
		padding: 2rem 0;
		margin-top: 1.5rem;
	}
}

.axtron-footer__locations-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: #ffffff;
	text-align: center;
}

@media (min-width: 640px) {
	.axtron-footer__locations-title {
		font-size: 1.25rem;
		margin-bottom: 1.5rem;
	}
}

.axtron-footer__locations-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.axtron-footer__locations-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.axtron-footer__locations-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

.axtron-footer__location {
	background: rgba(255, 255, 255, 0.08);
	padding: 0.875rem 1rem;
	border-radius: 8px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

@media (min-width: 640px) {
	.axtron-footer__location {
		padding: 1rem 1.25rem;
	}
}

.axtron-footer__location:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.axtron-footer__location-name {
	font-size: 0.875rem;
	font-weight: 700;
	margin: 0 0 0.375rem 0;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.axtron-footer__location-name {
		font-size: 0.9375rem;
		margin-bottom: 0.5rem;
	}
}

.axtron-footer__location-icon {
	font-size: 1rem;
	flex-shrink: 0;
}

.axtron-footer__location-link {
	color: #ffffff;
	text-decoration: none;
}

.axtron-footer__location-link:hover {
	text-decoration: underline;
}

.axtron-footer__location-address {
	font-size: 0.75rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 0.625rem 0;
}

.axtron-footer__location-map {
	margin: 0 0 0.6rem;
}

.axtron-footer__location-map-link {
	font-size: 0.75rem;
	font-weight: 700;
	color: #bfdbfe;
	text-decoration: underline;
}

.axtron-footer__location-map-link:hover {
	color: #ffffff;
}

@media (min-width: 640px) {
	.axtron-footer__location-address {
		font-size: 0.75rem;
		margin-bottom: 0.75rem;
	}
}

.axtron-footer__location-phones {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

@media (min-width: 640px) {
	.axtron-footer__location-phones {
		gap: 0.5rem;
	}
}

.axtron-footer__location-phone {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
}

@media (min-width: 640px) {
	.axtron-footer__location-phone {
		font-size: 0.75rem;
	}
}

.axtron-footer__phone-icon {
	font-size: 1rem;
	flex-shrink: 0;
}

.axtron-footer__phone-link {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.3s ease;
	word-break: break-all;
}

.axtron-footer__phone-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* --- Copyright Section --- */

.axtron-footer__copyright-container {
	background: rgba(0, 0, 0, 0.3);
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
	.axtron-footer__copyright-container {
		padding: 2rem 0;
	}
}

.axtron-footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	line-height: 1.5;
	padding: 0 1rem;
}

.axtron-footer__credit {
	margin: 0.35rem 0 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
	line-height: 1.45;
	padding: 0 1rem;
}

.axtron-footer__credit-link {
	color: inherit;
	text-decoration: underline;
}

.axtron-footer__credit-link:hover {
	color: #ffffff;
}

@media (min-width: 640px) {
	.axtron-footer__copyright {
		font-size: 0.75rem;
		padding: 0 1.5rem;
	}
}

/* Responsive Adjustments */

@media (max-width: 639px) {
	.axtron-footer {
		padding: 2rem 0 0 0;
	}

	.axtron-footer__section-title {
		font-size: 1rem;
	}

	.axtron-footer__locations-container {
		padding: 2rem 0;
		margin-top: 1.5rem;
	}

	.axtron-footer__locations-title {
		font-size: 1.25rem;
		margin-bottom: 1.5rem;
	}

	.axtron-footer__locations-grid {
		gap: 1.5rem;
	}

	.axtron-footer__location {
		padding: 1.25rem;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.axtron-footer__link,
	.axtron-footer__contact-link,
	.axtron-footer__phone-link,
	.axtron-footer__social-link,
	.axtron-footer__location {
		transition: none;
	}
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.axtron-footer {
		background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
	}
}
