/**
 * Fragranz Fables Luxury Footer Stylesheet
 *
 * Scoped BEM architecture for high-end perfume branding.
 * Fully compatible with Elementor Free.
 *
 * @package FragranzFables\ElementorFooter
 */

:root {
	--ff-footer-bg: #0B0A08;
	--ff-footer-gold: #D4AF37;
	--ff-footer-gold-dark: #B8860B;
	--ff-footer-gold-light: #F3E5AB;
	--ff-footer-gold-hover: #E5C65A;
	--ff-footer-text: #F7F3EA;
	--ff-footer-muted: #B8B1A5;
	--ff-footer-font-serif: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-footer-font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Base Footer Shell
   ========================================================================== */

.ff-footer {
	position: relative;
	background-color: var(--ff-footer-bg);
	color: var(--ff-footer-text);
	font-family: var(--ff-footer-font-sans);
	font-size: 14px;
	line-height: 1.6;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	z-index: 1;
}

.ff-footer *,
.ff-footer *::before,
.ff-footer *::after {
	box-sizing: border-box;
}

/* Optional Overlay */
.ff-footer__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* ==========================================================================
   Subtle Decorative Wing Background
   ========================================================================== */

.ff-footer__decorative-wing {
	position: absolute;
	top: 45%;
	left: 50%;
	width: 750px;
	height: 380px;
	transform: translate(-50%, -50%);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	pointer-events: none;
	z-index: 1;
	opacity: 0.08;
	mix-blend-mode: screen;
	transition: opacity 0.3s ease;
}

/* ==========================================================================
   Inner Container & Grid Layout
   ========================================================================== */

.ff-footer__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.ff-footer__main {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	row-gap: 40px;
	column-gap: 50px;
}

/* ==========================================================================
   Brand Column
   ========================================================================== */

.ff-footer__brand {
	flex: 0 0 38%;
	max-width: 38%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ff-footer__logo-wrap {
	margin-bottom: 18px;
}

.ff-footer__logo-link {
	display: inline-block;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.ff-footer__logo-link:hover {
	opacity: 0.88;
}

.ff-footer__logo-img {
	display: block;
	height: auto;
	width: 190px;
	max-width: 100%;
	object-fit: contain;
}

.ff-footer__brand-title {
	margin: 0 0 10px 0;
	font-family: var(--ff-footer-font-serif);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ff-footer-text);
}

.ff-footer__brand-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.22s ease;
}

.ff-footer__brand-title a:hover {
	color: var(--ff-footer-gold);
}

.ff-footer__tagline {
	margin: 0 0 16px 0;
	font-family: var(--ff-footer-font-serif);
	font-size: 15px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--ff-footer-gold);
	line-height: 1.5;
}

.ff-footer__description {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ff-footer-muted);
	max-width: 440px;
}

.ff-footer__description p {
	margin: 0 0 10px 0;
}

.ff-footer__description p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Navigation Columns (Shop & Discover)
   ========================================================================== */

.ff-footer__column {
	display: flex;
	flex-direction: column;
}

.ff-footer__col-shop {
	flex: 0 0 18%;
	max-width: 18%;
}

.ff-footer__col-discover {
	flex: 0 0 20%;
	max-width: 20%;
}

.ff-footer__col-follow {
	flex: 0 0 18%;
	max-width: 18%;
}

.ff-footer__heading {
	margin: 0 0 24px 0;
	font-family: var(--ff-footer-font-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ff-footer-gold);
	line-height: 1.2;
}

.ff-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-footer__menu-item {
	margin-bottom: 14px;
	line-height: 1.4;
}

.ff-footer__menu-item:last-child {
	margin-bottom: 0;
}

.ff-footer__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--ff-footer-muted);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: 0.03em;
	transition: color 0.22s ease;
	cursor: pointer;
}

.ff-footer__link-icon {
	margin-right: 8px;
	display: inline-flex;
	align-items: center;
	color: var(--ff-footer-gold);
}

.ff-footer__link:hover,
.ff-footer__link:focus {
	color: var(--ff-footer-gold);
}

/* Underline Reveal Animation */
.ff-footer--has-underline-effect .ff-footer__link::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 1px;
	background-color: var(--ff-footer-gold);
	transition: width 0.25s ease;
}

.ff-footer--has-underline-effect .ff-footer__link:hover::after,
.ff-footer--has-underline-effect .ff-footer__link:focus::after {
	width: 100%;
}

/* ==========================================================================
   Social Profiles (Follow Column)
   ========================================================================== */

.ff-footer__social-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ff-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ff-footer-muted);
	font-size: 13.5px;
	font-weight: 400;
	letter-spacing: 0.03em;
	transition: color 0.22s ease;
}

.ff-footer__social-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: rgba(212, 175, 55, 0.08);
	border: 1px solid rgba(212, 175, 55, 0.25);
	transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ff-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ff-footer-gold);
	transition: color 0.25s ease;
}

.ff-footer__social-icon i {
	font-size: 17px;
	line-height: 1;
}

.ff-footer__social-icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.ff-footer__social-label {
	transition: color 0.22s ease;
}

.ff-footer__social-link:hover .ff-footer__social-icon-wrapper,
.ff-footer__social-link:focus .ff-footer__social-icon-wrapper {
	background-color: var(--ff-footer-gold);
	border-color: var(--ff-footer-gold);
	transform: translateY(-2px);
}

.ff-footer__social-link:hover .ff-footer__social-icon,
.ff-footer__social-link:focus .ff-footer__social-icon {
	color: #0B0A08;
}

.ff-footer__social-link:hover .ff-footer__social-label,
.ff-footer__social-link:focus .ff-footer__social-label {
	color: var(--ff-footer-gold);
}

/* ==========================================================================
   Divider
   ========================================================================== */

.ff-footer__divider {
	width: 100%;
	border: none;
	border-top: 1px solid var(--ff-footer-gold);
	opacity: 0.25;
	margin-top: 55px;
	margin-bottom: 30px;
}

/* ==========================================================================
   Bottom Bar (Copyright & Legal)
   ========================================================================== */

.ff-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 12.5px;
	color: var(--ff-footer-muted);
}

.ff-footer__copyright {
	letter-spacing: 0.03em;
}

.ff-footer__legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
}

.ff-footer__legal-link {
	color: var(--ff-footer-muted);
	text-decoration: none;
	letter-spacing: 0.03em;
	transition: color 0.22s ease;
}

.ff-footer__legal-link:hover,
.ff-footer__legal-link:focus {
	color: var(--ff-footer-gold);
}

/* ==========================================================================
   Accessibility & Focus States
   ========================================================================== */

.ff-footer a:focus-visible {
	outline: 2px solid var(--ff-footer-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ==========================================================================
   Prefers-Reduced-Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.ff-footer *,
	.ff-footer *::before,
	.ff-footer *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
