/**
 * Light Luxury Footer Styling - Cornel Aesthetics
 * 
 * Minimalist footer design with:
 * - Flexbox two-column layout (copyright left, legal links right)
 * - Subtle border-top divider
 * - Burgundy hover states for brand consistency
 * - Responsive mobile stacking with centered text
 * 
 * @package CornelTheme
 * @version 1.0.0
 */

/* ============================================================================
   FOOTER WRAPPER - Light Luxury Layout
   ============================================================================ */

.luxury-footer-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	border-top: 1px solid #EAEAEA;
	background-color: #FAFAFA;
	box-sizing: border-box;
}

/* ============================================================================
   LEFT SIDE - Copyright Notice
   ============================================================================ */

.footer-copyright {
	font-size: 13px;
	color: #555555;
	line-height: 1.6;
}

.footer-copyright p {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	letter-spacing: 0.3px;
}

/* ============================================================================
   RIGHT SIDE - Legal Links Navigation
   ============================================================================ */

.footer-legal-links {
	display: flex;
	align-items: center;
	gap: 0; /* Using margin-left for spacing instead */
}

.footer-legal-links a {
	font-size: 13px;
	color: #555555;
	text-decoration: none;
	margin-left: 25px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	letter-spacing: 0.3px;
	transition: color 0.3s ease;
	white-space: nowrap; /* Prevent link text wrapping */
}

/* Remove margin-left from first link */
.footer-legal-links a:first-child {
	margin-left: 0;
}

/* ============================================================================
   HOVER STATE - Burgundy Brand Color
   ============================================================================ */

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	color: #8B1E25; /* Burgundy brand color */
	text-decoration: none;
	outline: none;
}

/* Subtle underline on focus for accessibility */
.footer-legal-links a:focus-visible {
	text-decoration: underline;
	outline: 2px solid #8B1E25;
	outline-offset: 2px;
}

/* ============================================================================
   ACTIVE STATE - Current Page Indicator
   ============================================================================ */

.footer-legal-links a:active {
	color: #6B1520; /* Darker burgundy for active state */
}

/* ============================================================================
   RESPONSIVE DESIGN - Mobile Layout (max-width: 768px)
   ============================================================================ */

@media (max-width: 768px) {
	.luxury-footer-wrapper {
		flex-direction: column;
		text-align: center;
		gap: 20px;
		padding: 30px 20px;
	}

	.footer-copyright {
		text-align: center;
		width: 100%;
	}

	.footer-legal-links {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.footer-legal-links a {
		margin-left: 10px;
		margin-right: 10px;
	}

	.footer-legal-links a:first-child {
		margin-left: 10px; /* Restore margin for mobile centering */
	}
}

/* ============================================================================
   TABLET ADJUSTMENTS (max-width: 1024px)
   ============================================================================ */

@media (max-width: 1024px) and (min-width: 769px) {
	.luxury-footer-wrapper {
		padding: 35px 20px;
	}

	.footer-legal-links a {
		margin-left: 20px;
	}
}

/* ============================================================================
   SMALL MOBILE DEVICES (max-width: 480px)
   ============================================================================ */

@media (max-width: 480px) {
	.luxury-footer-wrapper {
		padding: 25px 15px;
	}

	.footer-copyright,
	.footer-legal-links a {
		font-size: 12px;
	}

	.footer-legal-links a {
		margin-left: 8px;
		margin-right: 8px;
	}
}

/* ============================================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================================ */

/* Improve text contrast for WCAG compliance */
@media (prefers-contrast: high) {
	.footer-copyright p,
	.footer-legal-links a {
		color: #2D2D2D; /* Darker text for high contrast mode */
	}

	.footer-legal-links a:hover,
	.footer-legal-links a:focus {
		color: #8B1E25;
		font-weight: 600;
	}
}

/* Reduce motion for users with vestibular disorders */
@media (prefers-reduced-motion: reduce) {
	.footer-legal-links a {
		transition: none;
	}
}

/* ============================================================================
   PRINT STYLES - Clean Footer for Printing
   ============================================================================ */

@media print {
	.luxury-footer-wrapper {
		border-top: 1px solid #000;
		background-color: transparent;
		padding: 20px 0;
	}

	.footer-legal-links a {
		color: #000;
		text-decoration: underline;
	}

	.footer-legal-links a:after {
		content: " (" attr(href) ")";
		font-size: 10px;
	}
}

/* ============================================================================
   DARK MODE SUPPORT (Optional Future Enhancement)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
	.luxury-footer-wrapper {
		background-color: #1A1A1A;
		border-top-color: #333333;
	}

	.footer-copyright p,
	.footer-legal-links a {
		color: #CCCCCC;
	}

	.footer-legal-links a:hover,
	.footer-legal-links a:focus {
		color: #D4A5A5; /* Lighter burgundy for dark mode */
	}
}

/* ============================================================================
   END OF FOOTER STYLING
   ============================================================================ */
