/*
======================================
    Footer Styles - 页脚样式
======================================
*/

/* Site Footer */
.site-footer {
	background: var(--bg0);
	display: flex;
	flex-direction: column;
	gap: 0px;
	align-items: flex-start;
	justify-content: flex-start;
	flex-shrink: 0;
	width: 100%;
	position: relative;
	color: var(--bg);
	margin-top: 5.2vw;
}

/* Footer Main */
.footer-main {
	padding: 50px 120px;
	display: flex;
	flex-direction: row;
	gap: 197px;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	flex-shrink: 0;
	position: relative;
	background-image: url(../../assets/images/footer-bg.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Footer Brand Section */
.footer-brand-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	justify-content: center;
	flex: 1;
	max-width: 500px;
	position: relative;
}

.footer-logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.footer-logo {
	height: 46px;
	width: auto;
	position: relative;
	object-fit: contain;
}

.footer-tagline {
	color: var(--bg);
	text-align: center;
	font-family: var(--body-font-family);
	font-size: 34px;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
}

.footer-social-icons {
	display: flex;
	flex-direction: row;
	gap: 0;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: auto;
	position: relative;
	overflow: visible;
}

.footer-social-icons .social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--bg);
	transition: all 0.3s ease;
	text-decoration: none;
}

.footer-social-icons .social-icon:hover {
	background: var(--brand-promary);
	color: var(--bg0);
	transform: translateY(-3px);
}

.footer-social-icons .social-icon svg {
	width: 20px;
	height: 20px;
}

/* Footer Content */
.footer-content {
	display: flex;
	flex-direction: column;
	gap: 50px;
	align-items: flex-start;
	justify-content: flex-start;
	flex: 2;
	position: relative;
}

/* Newsletter Section */
.newsletter-section {
	display: flex;
	flex-direction: row;
	gap: 0px;
	row-gap: 20px;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-content: flex-start;
	flex-shrink: 0;
	max-width: 641px;
	width: 100%;
	position: relative;
}

.newsletter-title {
	color: var(--bg);
	text-align: left;
	font-family: var(--title-font-family);
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	position: relative;
	width: 100%;
}

.newsletter-form {
	display: flex;
	flex-direction: row;
	gap: 0px;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	flex-wrap: wrap;
}

.email-input-wrapper {
	background: var(--bg);
	padding: 10px 20px;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	flex-shrink: 0;
	flex: 1;
	min-width: 300px;
	height: 56px;
	position: relative;
	border: none;
}

.email-input-wrapper .email-input {
	color: var(--dark);
	text-align: left;
	font-family: var(--title-font-family);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	font-weight: var(--title-font-weight);
	position: relative;
	border: none;
	outline: none;
	background: transparent;
	width: 100%;
}

.email-input-wrapper .email-input::placeholder {
	color: var(--dark);
	opacity: 1;
}


button.button { 
	background: var(--brand-promary);
	padding: 10px 20px;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 50px;
	position: relative;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
}

.subscribe-button,.elux-button {
	background: var(--brand-promary);
	padding: 10px 50px;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 56px;
	position: relative;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
}

.subscribe-button:hover,.elux-button:hover,button.button:hover {
	background: #7aaa00;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(183, 255, 0, 0.3);
	color: #fff;
}

.subscribe-text,.elux-button-text {
	color: var(--bg0);
	text-align: left;
	font-family: var(--title-font-family);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	font-weight: var(--title-font-weight);
	text-transform: uppercase;
	position: relative;
}

.subscribe-button:disabled,.elux-button:disabled,button.button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.subscribe-loading,.elux-button-loading {
	display: inline-block;
	vertical-align: middle;
}

/* Newsletter Message */
.newsletter-message {
	position: absolute;
    bottom: -2px;
    left: 0;
    transform: translateY(100%);
	padding: 12px 20px;
	border-radius: 4px;
	font-family: var(--body-font-family);
	font-size: 14px;
	line-height: 1.5;
	animation: slideDown 0.3s ease;
}

.newsletter-message-success {
	background: rgba(76, 175, 80, 0.1);
	color: #4CAF50;
	border: 1px solid rgba(76, 175, 80, 0.3);
}

.newsletter-message-error {
	background: rgba(244, 67, 54, 0.1);
	color: #F44336;
	border: 1px solid rgba(244, 67, 54, 0.3);
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Footer Links Section */
.footer-links-section {
	display: flex;
	flex-direction: row;
	gap: 7vw;
	align-items: flex-start;
	justify-content: flex-start;
	flex-shrink: 0;
	position: relative;
	flex-wrap: wrap;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
	justify-content: flex-start;
	flex-shrink: 0;
	min-width: 115px;
	position: relative;
}

.footer-title {
	color: var(--bg);
	text-align: left;
	font-family: var(--title-font-family);
	font-size: var(--title-font-size);
	line-height: var(--title-line-height);
	font-weight: var(--title-font-weight);
	text-transform: uppercase;
	position: relative;
	width: 100%;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	flex-shrink: 0;
	position: relative;
}

.footer-menu > li > a,
.footer-link-email {
	color: var(--cd);
	text-align: left;
	font-family: var(--body-font-family);
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	font-weight: var(--body-font-weight);
	position: relative;
	text-decoration: none;
	transition: all 0.3s ease;
	display: block;
	width: 100%;
}

.footer-menu > li > a:hover,
.footer-link-email:hover {
	color: var(--brand-promary);
	padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
	background: var(--c3);
	padding: 10px 0;
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: center;
	width: 100%;
	flex-shrink: 0;
	position: relative;
}

.copyright-text {
	color: var(--cd);
	text-align: center;
	font-family: var(--body-font-family);
	font-size: var(--body-font-size);
	line-height: var(--body-line-height);
	font-weight: var(--body-font-weight);
	position: relative;
}

/*
======================================
    Responsive Styles - 响应式样式
======================================
*/

/* 平板横屏及以下 - Tablet Landscape */
@media (max-width: 1280px) {
	.footer-main {
		padding: 40px 80px;
		gap: 100px;
	}

	.footer-links-section {
		gap: 50px;
	}
}

/* 平板竖屏 - Tablet Portrait */
@media (max-width: 1024px) {
	.footer-main {
		padding: 40px 60px;
		gap: 60px;
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-brand-section {
		max-width: 100%;
		align-items: flex-start;
	}

	.footer-tagline {
		text-align: left;
	}

	.footer-social-icons {
		justify-content: flex-start;
	}

	.footer-content {
		width: 100%;
	}

	.newsletter-section {
		max-width: 100%;
	}

	.footer-links-section {
		gap: 40px;
	}
}

/* 手机横屏 - Mobile Landscape */
@media (max-width: 768px) {
	.footer-main {
		padding: 30px 40px;
		gap: 40px;
	}

	.newsletter-title {
		font-size: 20px;
	}

	.email-input-wrapper {
		min-width: 200px;
	}

	.subscribe-button {
		padding: 10px 30px;
		width: 100%;
	}

	.footer-links-section {
		gap: 30px;
	}

	.footer-column {
		min-width: 100px;
	}
}

/* 手机竖屏 - Mobile Portrait */
@media (max-width: 576px) {
	.footer-main {
		padding: 30px 20px;
		gap: 30px;
	}

	.footer-logo {
		height: 40px;
	}

	.footer-tagline {
		font-size: 14px;
	}

	.footer-social-icons {
		gap: 15px;
	}

	.footer-social-icons .social-icon {
		width: 36px;
		height: 36px;
	}

	.newsletter-title {
		font-size: 18px;
	}

	.newsletter-section {
		gap: 15px;
	}

	.email-input-wrapper {
		width: 100%;
		min-width: 100%;
		padding: 10px 15px;
	}

	.email-input-wrapper .email-input {
		font-size: 14px;
	}

	.subscribe-button {
		width: 100%;
		padding: 10px 20px;
	}

	.footer-links-section {
		flex-direction: column;
		gap: 25px;
		width: 100%;
	}

	.footer-column {
		width: 100%;
	}

	.footer-column-title {
		font-size: 14px;
	}

	.footer-link,
	.footer-link-email {
		font-size: 14px;
		line-height: 20px;
	}

	.copyright-text {
		font-size: 14px;
		padding: 0 20px;
	}
}

