/*
 * Footer Component
 *
 * Premium, minimal luxury fashion brand footer styling.
 * Logo, navigation, contact, copyright, social, payment area.
 *
 * No business logic or external dependencies.
 */

/* ========================================
   Footer Wrapper
   ======================================== */

.site-footer {
	background-color: #F5EFE3;
	color: #1C1C1A;
	padding: 3rem 0;
	margin-top: 4rem;
	border-top: 1px solid #2E1A24;
}

/* ========================================
   Footer Grid Container
   ======================================== */

.footer-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ========================================
   Footer Branding
   ======================================== */

.footer-branding {
	margin-bottom: 1rem;
}

.footer-logo {
	display: block;
	margin-bottom: 1rem;
	max-width: 150px;
	height: auto;
}

.footer-logo img {
	width: 100%;
	height: auto;
	display: block;
}

.footer-tagline {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #1C1C1A;
	margin: 0;
}

/* ========================================
   Footer Navigation
   ======================================== */

.footer-navigation {
	margin-bottom: 2rem;
}

.footer-navigation h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1C1C1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-navigation li {
	margin: 0;
	padding: 0;
}

.footer-navigation a {
	color: #1C1C1A;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease-out;
	display: inline-block;
}

.footer-navigation a:hover {
	color: #A8823D;
}

.footer-navigation a:focus-visible {
	outline: 2px solid #A8823D;
	outline-offset: 2px;
	color: #A8823D;
}

/* ========================================
   Footer Contact Information
   ======================================== */

.footer-contact {
	margin-bottom: 2rem;
}

.footer-contact h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1C1C1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #1C1C1A;
}

.footer-contact-item:last-child {
	margin-bottom: 0;
}

.footer-contact-item strong {
	font-weight: 600;
	min-width: 80px;
}

.footer-contact a {
	color: #1C1C1A;
	text-decoration: none;
	transition: color 0.2s ease-out;
}

.footer-contact a:hover {
	color: #A8823D;
	text-decoration: underline;
}

.footer-contact a:focus-visible {
	outline: 2px solid #A8823D;
	outline-offset: 2px;
	color: #A8823D;
}

/* ========================================
   Footer Social Links
   ======================================== */

.footer-social {
	margin-bottom: 2rem;
}

.footer-social h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1C1C1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
}

.footer-social-links li {
	margin: 0;
	padding: 0;
}

.footer-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #2E1A24;
	border-radius: 2px;
	color: #1C1C1A;
	text-decoration: none;
	font-size: 1rem;
	line-height: 1;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

.footer-social-links a:hover {
	background-color: #2E1A24;
	color: #F5EFE3;
	border-color: #2E1A24;
}

.footer-social-links a:focus-visible {
	outline: 2px solid #A8823D;
	outline-offset: 2px;
}

/* ========================================
   Footer Payment Area
   ======================================== */

.footer-payment {
	margin-bottom: 2rem;
	padding-top: 2rem;
	border-top: 1px solid #2E1A24;
}

.footer-payment h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1C1C1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-payment-methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.footer-payment-methods li {
	margin: 0;
	padding: 0;
}

.footer-payment-methods img {
	height: 30px;
	width: auto;
	display: block;
	opacity: 0.8;
	transition: opacity 0.2s ease-out;
}

.footer-payment-methods li:hover img {
	opacity: 1;
}

/* ========================================
   Footer Copyright
   ======================================== */

.footer-copyright {
	padding-top: 2rem;
	border-top: 1px solid #2E1A24;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #1C1C1A;
}

.footer-copyright p {
	margin: 0 0 0.75rem 0;
}

.footer-copyright p:last-child {
	margin-bottom: 0;
}

.footer-copyright a {
	color: #1C1C1A;
	text-decoration: none;
	transition: color 0.2s ease-out;
}

.footer-copyright a:hover {
	color: #A8823D;
	text-decoration: underline;
}

.footer-copyright a:focus-visible {
	outline: 2px solid #A8823D;
	outline-offset: 2px;
	color: #A8823D;
}

/* ========================================
   Footer Newsletter (Optional)
   ======================================== */

.footer-newsletter {
	margin-bottom: 2rem;
}

.footer-newsletter h3 {
	margin: 0 0 1rem 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1C1C1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-newsletter-form input[type="email"] {
	padding: 0.75rem;
	border: 1px solid #2E1A24;
	border-radius: 2px;
	background-color: white;
	color: #1C1C1A;
	font-size: 0.95rem;
	transition: border-color 0.2s ease-out;
}

.footer-newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: #A8823D;
	box-shadow: 0 0 0 2px rgba(168, 130, 61, 0.1);
}

.footer-newsletter-form input[type="email"]::placeholder {
	color: #8B5E52;
	opacity: 0.8;
}

.footer-newsletter-form button {
	padding: 0.75rem 1.5rem;
	background-color: #2E1A24;
	color: #F5EFE3;
	border: none;
	border-radius: 2px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease-out;
}

.footer-newsletter-form button:hover {
	background-color: #A8823D;
}

.footer-newsletter-form button:focus-visible {
	outline: 2px solid #A8823D;
	outline-offset: 2px;
}

/* ========================================
   Responsive: Tablet (48rem+)
   ======================================== */

@media (min-width: 48rem) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
		max-width: 1200px;
	}

	.footer-branding {
		grid-column: 1 / -1;
		margin-bottom: 1rem;
	}

	.footer-copyright {
		grid-column: 1 / -1;
	}

	.footer-payment {
		grid-column: 1 / -1;
	}

	.footer-newsletter-form {
		flex-direction: row;
	}

	.footer-newsletter-form input[type="email"] {
		flex: 1;
		min-width: 200px;
	}

	.footer-newsletter-form button {
		flex-shrink: 0;
	}
}

/* ========================================
   Responsive: Desktop (64rem+)
   ======================================== */

@media (min-width: 64rem) {
	.site-footer {
		padding: 4rem 0;
	}

	.footer-content {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		gap: 3rem;
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 2rem;
	}

	.footer-branding {
		grid-column: 1 / 2;
		grid-row: 1;
	}

	.footer-navigation {
		grid-column: 2 / 3;
		grid-row: 1;
	}

	.footer-contact {
		grid-column: 3 / 4;
		grid-row: 1;
	}

	.footer-social {
		grid-column: 4 / 5;
		grid-row: 1;
	}

	.footer-newsletter {
		grid-column: 1 / 3;
		grid-row: 2;
	}

	.footer-payment {
		grid-column: 3 / 5;
		grid-row: 2;
		border-top: none;
		margin-bottom: 0;
		padding-top: 0;
	}

	.footer-payment h3 {
		margin: 0 0 1rem 0;
	}

	.footer-copyright {
		grid-column: 1 / -1;
		margin-top: 2rem;
	}
}

/* ========================================
   Accessibility: Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
	.footer-navigation a,
	.footer-contact a,
	.footer-social-links a,
	.footer-copyright a,
	.footer-newsletter-form input,
	.footer-newsletter-form button,
	.footer-payment-methods img {
		transition: none;
	}
}