/**
 * Futuros Vinotinto FC - Header, Navigation & Footer Styles
 */

/* Header & Navbar - Floating Full-bleed */
.fv-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--fv-header-height);
	background: transparent;
	z-index: 1000;
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fv-header.is-scrolled {
	background: rgba(61, 0, 13, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(214, 168, 75, 0.25);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.fv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

/* Brand Logo */
.fv-header__logo {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--fv-white);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.fv-header__logo-img {
	height: 48px;
	width: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Desktop Navigation */
.fv-nav-desktop__list {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
}

.fv-nav-desktop__list a {
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	padding: 6px 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.fv-nav-desktop__list a:hover {
	color: var(--fv-gold);
}

.fv-nav-desktop__list a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--fv-gold);
	transition: var(--fv-transition);
}

.fv-nav-desktop__list a:hover::after {
	width: 100%;
}

/* Header Action Buttons */
.fv-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Mobile Toggle Hamburger */
.fv-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.fv-nav-toggle span {
	width: 100%;
	height: 2px;
	background-color: var(--fv-white);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, background-color 0.25s ease;
	border-radius: 2px;
	transform-origin: center;
}

.fv-nav-toggle.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
	background-color: var(--fv-gold);
}

.fv-nav-toggle.is-active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.fv-nav-toggle.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
	background-color: var(--fv-gold);
}

.fv-nav-mobile {
	position: absolute;
	top: var(--fv-header-height);
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--fv-header-height));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background-color: rgba(43, 8, 15, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 2px solid var(--fv-gold);
	padding: 24px 20px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	pointer-events: none;
	transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
	            transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
	            visibility 0.32s ease;
}

.fv-nav-mobile.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.fv-nav-mobile__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fv-nav-mobile__link {
	display: block;
	color: var(--fv-white);
	font-size: 16px;
	font-weight: 600;
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fv-nav-mobile__link:hover {
	color: var(--fv-gold);
	padding-left: 8px;
}

.fv-nav-mobile__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

/* Footer Template */
.fv-footer {
	background-color: var(--fv-vinotinto-dark);
	color: var(--fv-white);
	padding-top: 80px;
	border-top: 4px solid var(--fv-vinotinto);
}

.fv-footer__inner {
	display: grid;
	grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
	gap: 40px;
	padding-bottom: 60px;
}

.fv-footer__col--brand .fv-logo-shield--footer {
	margin-bottom: 16px;
}

.fv-footer__title {
	font-size: 26px;
	color: var(--fv-gold);
	margin-bottom: 12px;
}

.fv-footer__desc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	margin-bottom: 20px;
}

.fv-footer__social {
	display: flex;
	gap: 16px;
}

.fv-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fv-gold);
	border: 1px solid rgba(214, 168, 75, 0.4);
	padding: 8px 16px;
	border-radius: var(--fv-radius-sm);
	transition: background-color var(--fv-transition-fast), color var(--fv-transition-fast), border-color var(--fv-transition-fast), transform var(--fv-transition-fast);
}

.fv-footer__social-link:hover {
	background-color: var(--fv-gold);
	color: var(--fv-vinotinto-dark);
	border-color: var(--fv-gold);
	transform: translateY(-2px);
}

.fv-footer__social-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

.fv-footer__subtitle {
	font-size: 20px;
	color: var(--fv-white);
	margin-bottom: 20px;
	border-bottom: 2px solid var(--fv-gold);
	padding-bottom: 8px;
	display: inline-block;
}

.fv-footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fv-footer__links li {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

.fv-footer__links a:hover {
	color: var(--fv-gold);
	padding-left: 4px;
}

.fv-footer__text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 20px;
}

.fv-footer__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fv-footer__bottom {
	background-color: rgba(17, 17, 17, 0.6);
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.fv-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.fv-footer__credits {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

.fv-footer__credits-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--fv-white);
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: color var(--fv-transition-fast), transform var(--fv-transition-fast);
}

.fv-footer__credits-link:hover {
	color: var(--fv-gold);
	transform: translateY(-1px);
}

.fv-footer__credits-logo {
	height: 32px;
	width: auto;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
	transition: transform var(--fv-transition-fast);
}

.fv-footer__credits-link:hover .fv-footer__credits-logo {
	transform: scale(1.08);
}

.fv-footer__credits-name {
	font-family: var(--fv-font-heading);
	font-size: 16px;
	letter-spacing: 1px;
}

.fv-footer__credits-copy {
	color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
	.fv-nav-desktop {
		display: none;
	}

	.fv-nav-toggle {
		display: flex;
	}

	.fv-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.fv-header__actions .fv-btn {
		display: none;
	}

	.fv-footer__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.fv-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
		justify-content: center;
	}

	.fv-footer__credits {
		justify-content: center;
	}
}
