.gallery-item img,
.gallery-main img {
	display: block;
	width: 100%;
	object-fit: contain;
}

.gallery-caption,
.storia .image-caption {
	text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
	font-weight: 600;
}

.gallery-item img,
.gallery-main img,
.photo-thumbnail img,
.video-thumbnail img {
	object-position: center;
}

.photo-lightbox-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10001;
	width: 56px;
	height: 56px;
	background: rgba(0, 0, 0, .6);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s, box-shadow .2s;
	outline: 0;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
	user-select: none;
}

.lightbox .lightbox-content,
.story-item,
.video-overlay .video-player {
	position: relative;
}

@media (max-width:900px) {
	.lightbox-image {
		max-width: 98vw;
		max-height: 80vh;
	}

	.photo-lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 1.5rem;
	}

	.photo-lightbox-prev {
		left: 6px;
	}

	.photo-lightbox-next {
		right: 6px;
	}
}

@media (max-width:600px) {
	.lightbox-image {
		max-width: 100vw;
		max-height: 60vh;
	}

	.lightbox-close {
		width: 38px;
		height: 38px;
		font-size: 1.5rem;
	}

	.photo-lightbox-nav {
		width: 32px;
		height: 32px;
		font-size: 1.2rem;
	}
}

.photo-lightbox-nav:hover,
.video-lightbox-nav:hover {
	background: #e10600;
	color: #fff;
	transform: translateY(-50%) scale(1.12);
	box-shadow: 0 12px 35px rgba(225, 6, 0, .4);
}

.photo-lightbox-prev,
.video-lightbox-prev {
	left: 20px;
}

.photo-lightbox-next,
.video-lightbox-next {
	right: 20px;
}

.story-items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 2rem;
}

.story-item {
	background: rgba(255, 255, 255, .95);
	border-radius: 15px;
	padding: 2rem;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
	border-left: 5px solid var(--primary-color);
	transition: .4s;
	overflow: hidden;
}

.story-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), #ff4757, gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s
}

.about-preview-card:hover::before,
.enhanced-card:hover::before,
.story-item:hover::before,
.value-card:hover::before {
	transform: scaleX(1)
}

.story-item:hover {
	transform: translateY(-5px) translateX(5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
	border-left-width: 8px
}

.story-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--primary-color), #ff4757);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: #fff;
	margin-bottom: 1rem;
	box-shadow: 0 4px 15px rgba(225, 6, 0, .3);
	transition: .3s
}

.story-item h3,
.story-year {
	color: var(--primary-color)
}

.story-item:hover .story-icon {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 8px 25px rgba(225, 6, 0, .4)
}

.story-year {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: rgba(225, 6, 0, .1);
	padding: .4rem .8rem;
	border-radius: 20px;
	font-size: .9rem;
	font-weight: 600;
	border: 2px solid rgba(225, 6, 0, .2)
}

.story-item h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.3
}

.story-item p {
	color: #555;
	line-height: 1.7;
	margin: 0;
	font-size: 1rem
}

.section-intro {
	color: #666;
	font-size: 1.1rem;
	margin-bottom: 2rem;
	font-style: italic;
	line-height: 1.5
}

.animate-fade-up {
	transition: .6s
}

.animate-fade-up.animate,
.galleria-animate-on-scroll.visible,
.image-container:hover .image-overlay {
	opacity: 1;
	transform: translateY(0)
}

@media (max-width:768px) {
	.story-items {
		gap: 1.2rem
	}

	.story-item {
		padding: 1.5rem
	}

	.story-icon {
		width: 60px;
		height: 60px;
		font-size: 1.7rem
	}

	.story-year {
		position: static;
		display: inline-block;
		margin-bottom: 1rem
	}

	.story-item h3 {
		font-size: 1.2rem
	}
}

.territorio-content {
	padding-right: 2rem
}

.territorio-highlight {
	background: linear-gradient(135deg, rgba(225, 6, 0, .05), rgba(255, 215, 0, .05));
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	border-left: 5px solid var(--primary-color);
	transition: .3s
}

.territorio-highlight:hover {
	transform: translateX(5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, .1)
}

.territorio-highlight h3 {
	color: var(--primary-color);
	font-size: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 700
}

.territorio-highlight p {
	color: #555;
	line-height: 1.7;
	font-size: 1.1rem;
	margin: 0
}

.territorio-features {
	display: flex;
	flex-direction: column;
	gap: 1.5rem
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, .8);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
	transition: .3s
}

.feature-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, .12)
}

.feature-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(45deg, var(--primary-color), #ff4757);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: #fff;
	flex-shrink: 0;
	box-shadow: 0 4px 15px rgba(225, 6, 0, .3)
}

.feature-content h4 {
	color: var(--primary-color);
	font-size: 1.2rem;
	margin: 0 0 .5rem;
	font-weight: 600
}

.feature-content p {
	color: #666;
	line-height: 1.6;
	margin: 0;
	font-size: .95rem
}

.territorio-gallery {
	display: flex;
	flex-direction: column;
	gap: 1rem
}

.gallery-main {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	transition: .4s;
	background: #f8f9fa
}

.gallery-main:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25)
}

.gallery-overlay,
.item-overlay,
.storia .image-overlay {
	transform: translateY(100%);
	left: 0;
	color: #fff;
	bottom: 0;
	right: 0
}

.gallery-main img {
	height: auto;
	max-height: 300px;
	transition: transform .6s
}

.about-image-container:hover .about-image,
.event-card:hover .card-img,
.gallery-main:hover img,
.video-slide:hover .video-thumbnail img {
	transform: scale(1.05)
}

.gallery-overlay,
.storia .image-overlay {
	position: absolute;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	padding: 2rem 1.5rem 1.5rem;
	transition: transform .4s
}

.cookie-banner.show,
.gallery-item:hover .item-overlay,
.gallery-main:hover .gallery-overlay,
.storia .image-container:hover .image-overlay {
	transform: translateY(0)
}

.gallery-caption {
	font-size: 1.1rem
}

.btn,
.item-overlay,
.photo-date {
	font-weight: 500
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem
}

.gallery-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
	transition: .3s;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center
}

.gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, .2)
}

.gallery-item img {
	height: auto;
	transition: transform .4s
}

.enhanced-card:hover .card-img,
.gallery-item:hover img,
.image-container:hover img,
.storia .image-container:hover .story-image {
	transform: scale(1.1)
}

.item-overlay {
	position: absolute;
	background: rgba(0, 0, 0, .8);
	padding: .5rem;
	font-size: .85rem;
	text-align: center;
	transition: transform .3s
}

@media (max-width:768px) {
	.territorio-content {
		padding-right: 0;
		margin-bottom: 2rem
	}

	.territorio-highlight {
		padding: 1.5rem
	}

	.feature-item {
		flex-direction: column;
		text-align: center;
		padding: 1.2rem
	}

	.gallery-main img {
		height: auto;
		min-height: 200px
	}

	.gallery-item img {
		height: auto;
		min-height: 100px
	}
}

.storia .row {
	position: relative;
	min-height: 100vh;
	align-items: flex-start
}

.storia .col-md-6.animate-slide-left {
	position: sticky;
	top: 10vh;
	height: fit-content;
	align-self: flex-start
}

.storia .image-container {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	transition: .4s
}

.storia .image-container:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25)
}

.storia .story-image {
	width: 100%;
	height: auto;
	min-height: 400px;
	object-fit: cover;
	transition: transform .6s
}

.storia .image-caption {
	font-size: 1.2rem
}

.video-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10001;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: #fff;
	font-size: 2.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: .3s;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
	outline: 0;
	opacity: .85
}

.photo-gallery,
.photo-info,
.photo-slide,
.photo-swiper,
.photo-thumbnail {
	position: relative
}

.photo-swiper {
	width: 100%;
	height: 500px;
	padding: 0 !important;
	overflow: visible;
	position: relative;
}

.about-preview-card,
.card,
.card-img-container,
.enhanced-card,
.enhanced-footer,
.hero,
.photo-gallery,
.photo-slide,
.photo-thumbnail,
.stats-section,
.video-gallery,
.video-slide {
	overflow: hidden
}

.photo-swiper .swiper-wrapper,
.video-swiper .swiper-wrapper {
	display: flex;
	align-items: center
}

.photo-slide {
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 24px;
	transition: .6s cubic-bezier(.25, .46, .45, .94);
	box-shadow: 0 25px 50px rgba(0, 0, 0, .15), 0 12px 20px rgba(0, 0, 0, .1);
	width: 350px !important;
	height: auto !important;
	min-height: 0 !important;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	transform: translateY(0)
}

.photo-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(225, 6, 0, .1), rgba(255, 215, 0, .1));
	opacity: 0;
	transition: opacity .4s;
	z-index: 1;
	border-radius: 24px
}

.photo-slide:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 35px 70px rgba(0, 0, 0, .25), 0 20px 30px rgba(225, 6, 0, .15);
	border-color: rgba(255, 255, 255, .25)
}

.activity-details img:hover::after,
.enhanced-card:hover .card-overlay,
.enhanced-faq-item:hover::before,
.event-card:hover .card-overlay,
.faq-item.active .enhanced-faq-answer::before,
.photo-slide:hover::before,
.pricing-table:hover::before,
.video-slide:hover::before {
	opacity: 1
}

.photo-thumbnail {
	height: 280px;
	background: linear-gradient(135deg, #1a1a1a, #000);
	border-radius: 20px 20px 0 0
}

.photo-thumbnail::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .4));
	z-index: 2
}

.photo-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	transition: transform .6s cubic-bezier(.25, .46, .45, .94);
	z-index: 1;
	position: relative
}

.photo-slide:hover .photo-thumbnail img {
	transform: scale(1.08)
}

.photo-info {
	padding: 25px 30px 30px;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
	border-radius: 0 0 20px 20px;
	border-top: 1px solid rgba(255, 255, 255, .1)
}

.photo-info::before,
.video-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent)
}

.photo-info h3 {
	margin: 0 0 15px;
	font-size: 20px;
	color: #fff;
	font-weight: 700;
	letter-spacing: .5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	line-height: 1.3
}

.photo-date {
	color: #aaa;
	font-size: 14px;
	margin: 0;
	opacity: .9;
	letter-spacing: .3px;
	text-transform: uppercase
}

/* === SWIPER NAVIGATION BUTTONS === */
.swiper-button-next,
.swiper-button-prev {
	width: 50px;
	height: 50px;
	background: rgba(225, 6, 0, .9) !important;
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	color: #fff !important;
	transition: .3s;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
	z-index: 1000 !important;
	margin-top: 0 !important;
	pointer-events: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background: #e10600 !important;
	transform: scale(1.15);
	box-shadow: 0 12px 35px rgba(225, 6, 0, .4)
}

/* Hide default Swiper icons */
.swiper-button-next::after,
.swiper-button-prev::after {
	content: '';
	display: none
}

/* Custom icons for photo slider */
.photo-swiper .swiper-button-next,
.photo-swiper .swiper-button-prev {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 50px;
	height: 50px;
}

.photo-swiper .swiper-button-next {
	right: 10px;
	left: auto;
}

.photo-swiper .swiper-button-prev {
	left: 10px;
	right: auto;
}

.photo-swiper .swiper-button-next .nav-icon,
.photo-swiper .swiper-button-prev .nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.photo-swiper .swiper-button-next .nav-icon svg,
.photo-swiper .swiper-button-prev .nav-icon svg {
	width: 32px;
	height: 32px;
	display: block;
}

/* Fallback text icons for video slider and others */
.swiper-button-next::before,
.swiper-button-prev::before {
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	border: none;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	content: '';
}

.swiper-button-next::before,
.video-swiper .swiper-button-next::before {
	content: '›'
}

.swiper-button-prev::before,
.video-swiper .swiper-button-prev::before {
	content: '‹'
}

/* Hide text icons when SVG is present */
.photo-swiper .swiper-button-next::before,
.photo-swiper .swiper-button-prev::before {
	display: none;
}

/* Hide swiper navigation when lightbox is active */
.lightbox.active ~ section .photo-swiper .swiper-button-next,
.lightbox.active ~ section .photo-swiper .swiper-button-prev,
body:has(.lightbox.active) .photo-swiper .swiper-button-next,
body:has(.lightbox.active) .photo-swiper .swiper-button-prev {
	display: none !important;
}

.photo-gallery .section-title,
.video-gallery .section-title {
	font-size: 2.5rem;
	color: #fff;
	margin-bottom: 60px;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	z-index: 2;
	text-align: center
}

.loading-photos {
	text-align: center;
	padding: 60px 20px;
	font-size: 18px;
	color: var(--text-light);
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	margin: 20px 0;
	animation: 2s ease-in-out infinite pulse
}

.loading-photos::after {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid var(--primary-color);
	border-radius: 50%;
	border-top-color: transparent;
	animation: 1s linear infinite spin;
	margin-left: 10px;
	vertical-align: middle
}

.photo-gallery {
	padding: 80px 0 0 !important;
	background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
	margin-bottom: 0 !important
}

.photo-gallery::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.03"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	pointer-events: none
}

.photo-gallery .section-title {
	position: relative
}

.video-gallery {
	padding: 0 0 80px !important;
	background: linear-gradient(135deg, #2c3e50, #34495e);
	position: relative;
	margin-top: 0 !important
}

.video-gallery::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
	pointer-events: none
}

.video-gallery .section-title {
	position: relative;
	padding-top: 80px
}

.nav-toggle span,
.nav-toggle::before {
	margin-bottom: 5px !important
}

.video-slide {
	background: rgba(255, 255, 255, .08);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 24px;
	transition: .6s cubic-bezier(.25, .46, .45, .94);
	position: relative;
	box-shadow: 0 25px 50px rgba(0, 0, 0, .2), 0 12px 20px rgba(0, 0, 0, .15);
	width: 450px !important;
	height: auto !important;
	min-height: 0 !important;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start
}

.enhanced-stat,
.lightbox,
.play-button {
	backdrop-filter: blur(10px)
}

.video-slide::before {
	content: '';
	z-index: 1;
	border-radius: 24px
}

.video-slide:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 35px 70px rgba(0, 0, 0, .3), 0 20px 30px rgba(52, 73, 94, .25);
	border-color: rgba(255, 255, 255, .25)
}

.video-thumbnail {
	border-radius: 20px 20px 0 0
}

.video-thumbnail::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .6));
	z-index: 2
}

.video-content {
	padding: 25px 30px 30px;
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(135deg, #2c3e50, #1a252f);
	border-radius: 0 0 20px 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	position: relative
}

.play-button {
	border: 2px solid rgba(255, 255, 255, .3);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	box-shadow: 0 15px 35px rgba(0, 0, 0, .3)
}

.card,
.navbar {
	box-shadow: var(--shadow)
}

.play-button:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, .4)
}

.play-button::before {
	content: '▶';
	margin-left: 3px
}

.btn-outline.btn-active,
.btn.btn-active {
	background-color: var(--primary-color) !important;
	color: #fff !important;
	border-color: var(--primary-color) !important
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}

:root {
	--primary-color: #e10600;
	--secondary-color: #ffd700;
	--text-color: #333;
	--text-light: #666;
	--bg-color: #fff;
	--bg-light: #f8f9fa;
	--border-color: #e9ecef;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	--shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
	--transition: all 0.3s ease;
	--font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, sans-serif
}

body {
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color)
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px
}

.col-md-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8 {
	padding: 0 15px
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px
}

.col-md-3 {
	flex: 0 0 25%
}

.col-md-4 {
	flex: 0 0 33.333333%
}

.col-md-6 {
	flex: 0 0 50%
}

.col-md-8 {
	flex: 0 0 66.666667%
}

.col-md-12 {
	flex: 0 0 100%
}

.cookie-content,
.nav-brand {
	align-items: center
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	text-decoration: none;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	transition: var(--transition);
	min-width: 120px
}

.btn-outline:hover,
.btn-primary,
.category-btn.active,
.category-btn:hover,
.filter-btn.active,
.filter-btn:hover {
	background-color: var(--primary-color);
	color: #fff
}

.btn-primary:hover {
	background-color: #c70500;
	transform: translateY(-2px)
}

.nav-link.btn-primary,
.nav-link.btn-primary:hover {
	color: #fff !important
}

.btn:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none !important
}

.btn:hover,
.nav-link:hover {
	transform: translateY(-1px)
}

.btn:disabled:hover {
	background-color: var(--primary-color) !important;
	transform: none !important
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(225, 6, 0, .1);
	transition: .2s
}

.form-group input:invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 2px rgba(220, 53, 69, .1)
}

.form-group input:valid {
	border-color: #28a745
}

.btn,
.form-group input,
.form-group textarea,
.nav-link {
	transition: .2s
}

.btn:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

.nav-link:hover {
	color: var(--primary-color)
}

.btn-secondary,
.social-link:hover,
.user-role.socio {
	background-color: var(--secondary-color);
	color: var(--text-color)
}

.btn-outline,
.btn-white {
	color: var(--primary-color)
}

.btn-secondary:hover {
	background-color: #e6c200;
	transform: translateY(-2px)
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--primary-color)
}

.btn-white {
	background-color: #fff
}

.btn-white:hover {
	background-color: #f8f9fa
}

.btn-link {
	background-color: transparent;
	color: var(--text-light);
	text-decoration: underline;
	min-width: auto
}

.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, .9);
	color: #fff;
	padding: 20px;
	z-index: 1000;
	transform: translateY(100%);
	transition: var(--transition)
}

.cookie-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px
}

.cookie-actions,
.nav-brand,
.nav-brand-link {
	display: flex;
	gap: 10px
}

.cookie-actions {
	flex-wrap: wrap
}

.navbar {
	background-color: #fff;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px
}

.nav-brand-link {
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: opacity .2s
}

.nav-brand-link:hover {
	opacity: .8
}

.nav-brand-link:visited {
	color: inherit
}

.brand-text,
.contact-card a:hover,
.nav-link.active,
.nav-link:hover {
	color: var(--primary-color)
}

.logo {
	height: 40px;
	width: auto
}

.banner-logo {
	height: 50px;
	width: auto;
	max-width: 300px;
	object-fit: contain
}

.about-image,
.card-img,
.social-post img {
	object-fit: cover
}

.brand-text {
	font-size: 18px;
	font-weight: 600
}

.nav-toggle {
	display: none !important;
	background: 0 0;
	border: none;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
	padding: 10px;
	position: relative;
	z-index: 1000;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center
}

.nav-toggle span,
.nav-toggle::after,
.nav-toggle::before {
	display: block !important;
	width: 25px !important;
	height: 3px !important;
	background: #e10600 !important;
	transition: .3s !important;
	border-radius: 1px !important
}

.nav-toggle::before {
	content: ''
}

.nav-toggle::after {
	content: ''
}

.card,
.nav-link,
.nav-link::after {
	transition: var(--transition)
}

.nav-toggle.active::before {
	transform: rotate(-45deg) translate(-6px, 6px)
}

.nav-toggle.active span {
	opacity: 0
}

.nav-toggle.active::after {
	transform: rotate(45deg) translate(-6px, -6px)
}

.nav-menu {
	display: flex;
	list-style: none;
	align-items: center;
	gap: 30px
}

.nav-link {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	position: relative
}

.auth-links a:hover,
.auth-switch a:hover,
.checkbox-label a:hover,
.cookie-btn,
.login-help a:hover,
.quick-contacts a:hover,
.transport-info a:hover {
	text-decoration: underline
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color)
}

.nav-link.active::after,
.nav-link:hover::after {
	width: 100%
}

.hero {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: #fff;
	padding: 120px 0 80px;
	text-align: center
}

.hero-content {
	max-width: 900px;
	margin: 0 auto
}

.cta-content p,
.hero-subtitle {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: .9
}

.hero-actions {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap
}

.login-section,
.map-section,
.missione,
.social-gallery,
.storia,
section {
	padding: 80px 0
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 50px;
	color: #fff
}

.about-preview,
.calendar-day:hover {
	background-color: var(--bg-light)
}

.about-preview h2,
.missione h2,
.storia h2 {
	font-size: 2.2rem;
	margin-bottom: 30px;
	color: var(--primary-color)
}

.about-preview p {
	font-size: 1.1rem;
	margin-bottom: 20px;
	color: var(--text-light)
}

.card {
	background-color: #fff;
	border-radius: 10px;
	margin-bottom: 30px
}

.card:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-5px)
}

.card-content,
.social-posts {
	padding: 20px
}

.card-content h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: var(--primary-color)
}

.card-content p {
	color: var(--text-light);
	line-height: 1.6
}

.cta-section {
	background-color: var(--primary-color);
	color: #fff;
	text-align: center
}

.cta-content h2 {
	font-size: 2.5rem;
	margin-bottom: 20px
}

.footer {
	background-color: #333;
	color: #fff;
	padding: 50px 0 20px
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 30px
}

.footer-section,
.stat-item,
.text-center {
	text-align: center
}

.footer-section:first-child {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background-color: rgba(255, 255, 255, .03);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .1)
}

.footer-section:first-child p {
	margin-bottom: 15px;
	font-size: .75rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 1px
}

.enhanced-footer {
	background: linear-gradient(135deg, #2c2c2c 0, #1a1a1a 100%);
	position: relative
}

.enhanced-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #e10600, gold, #e10600)
}

.enhanced-footer .footer-main {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 50px;
	margin-bottom: 40px
}

.enhanced-footer .footer-brand {
	padding-right: 30px
}

.enhanced-footer .footer-sections {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch
}

.enhanced-footer .footer-section {
	min-height: 100%;
	animation: .6s ease-out fadeInUp
}

.enhanced-footer .support-section {
	justify-self: center;
	width: 100%;
	max-width: 350px
}

.enhanced-footer .footer-section h4 {
	position: relative;
	padding-left: 20px
}

.enhanced-footer .footer-section h4::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: gold;
	border-radius: 50%
}

.enhanced-footer .footer-section ul li a:hover {
	color: gold;
	padding-left: 15px
}

.enhanced-footer .enhanced-social:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 8px 25px rgba(255, 255, 255, .2)
}

.enhanced-footer .brand-card {
	background: linear-gradient(135deg, rgba(255, 215, 0, .08), rgba(225, 6, 0, .05));
	border-radius: 12px;
	padding: 30px;
	border: 1px solid rgba(255, 215, 0, .15);
	text-align: center
}

.enhanced-footer .brand-card .footer-logo {
	width: 80px;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	margin-bottom: 20px
}

.enhanced-footer .brand-card h4 {
	color: gold;
	margin-bottom: 15px;
	font-size: 1.4rem
}

.enhanced-footer .brand-card p {
	color: #ccc;
	line-height: 1.6;
	max-width: 300px;
	margin: 0 auto 20px;
	font-size: .95rem
}

.enhanced-footer .contact-info-footer {
	margin-bottom: 25px
}

.enhanced-footer .contact-info-footer p {
	color: #999;
	font-size: .9rem;
	margin-bottom: 8px
}

.enhanced-footer .contact-info-footer p:last-child {
	margin-bottom: 0
}

.enhanced-footer .contact-info-footer span {
	color: gold
}

.enhanced-footer .contact-info-footer a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.enhanced-footer .contact-info-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.enhanced-footer .links-card {
	background: linear-gradient(135deg, rgba(225, 6, 0, .06), rgba(255, 255, 255, .03));
	border-radius: 12px;
	padding: 25px;
	border: 1px solid rgba(225, 6, 0, .15);
	display: flex;
	flex-direction: column;
	justify-content: space-between
}

.enhanced-footer .links-card h4 {
	color: gold;
	margin-bottom: 20px;
	font-size: 1.1rem;
	border-bottom: 2px solid #e10600;
	padding-bottom: 10px;
	display: inline-block
}

.enhanced-footer .links-card ul {
	list-style: none;
	padding: 0;
	margin-bottom: 20px
}

.enhanced-footer .links-card ul li {
	margin-bottom: 12px
}

.enhanced-footer .links-card ul li a {
	color: #ccc;
	text-decoration: none;
	transition: .3s;
	display: flex;
	align-items: center
}

.enhanced-footer .links-card ul li a span {
	color: gold;
	margin-right: 8px
}

.enhanced-footer .links-card .social-section {
	text-align: center;
	padding-top: 15px;
	border-top: 1px solid rgba(225, 6, 0, .2)
}

.enhanced-footer .links-card .social-section p {
	color: #999;
	font-size: .85rem;
	margin-bottom: 12px
}

.enhanced-footer .links-card .social-links {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 15px
}

.card-icon,
.enhanced-footer .support-section .sponsor-btn-container,
.enhanced-footer .support-section h4,
.enhanced-footer .support-section p {
	margin-bottom: 20px;
	text-align: center
}

.enhanced-footer .links-card .enhanced-social {
	background: #1877f2;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: .3s;
	box-shadow: 0 3px 10px rgba(24, 119, 242, .3)
}

.enhanced-footer .links-card .enhanced-social[href*=instagram] {
	background: linear-gradient(45deg, #f09433 0, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	box-shadow: 0 3px 10px rgba(188, 24, 136, .3)
}

.enhanced-footer .links-card .enhanced-social[href*=telegram] {
	background: #08c;
	box-shadow: 0 3px 10px rgba(0, 136, 204, .3)
}

.enhanced-footer .links-card .secondary-links {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap
}

.enhanced-footer .links-card .secondary-links a {
	color: gold;
	text-decoration: none;
	font-size: .8rem
}

.enhanced-footer .support-section {
	background: linear-gradient(135deg, rgba(225, 6, 0, .1), rgba(255, 215, 0, .05));
	border-radius: 12px;
	padding: 25px;
	border: 1px solid rgba(255, 215, 0, .2)
}

.enhanced-footer .support-section .sponsor-btn,
.section-badge {
	border-radius: 25px;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(225, 6, 0, .3)
}

.enhanced-footer .support-section h4 {
	color: gold;
	font-size: 1.2rem
}

.enhanced-footer .support-section p {
	color: #ccc;
	font-size: .95rem;
	line-height: 1.5
}

.enhanced-footer .support-section .sponsor-btn {
	display: inline-block;
	padding: 14px 28px;
	background: linear-gradient(45deg, #e10600, #f44);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: .3s
}

.enhanced-footer .support-section .sponsor-alternatives {
	text-align: center;
	font-size: .85rem;
	color: #999
}

.enhanced-footer .support-section .sponsor-alternatives p {
	margin-bottom: 8px
}

.enhanced-footer .support-section .sponsor-alternatives a {
	color: gold;
	text-decoration: none;
	margin-right: 15px
}

.enhanced-footer .footer-secondary {
	border-top: 1px solid #444;
	padding-top: 30px;
	margin-top: 40px;
	text-align: center
}

.enhanced-footer .footer-secondary p {
	font-size: .75rem;
	color: #999;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px
}


@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.enhanced-footer .footer-section:nth-child(2) {
	animation-delay: .1s
}

.enhanced-footer .footer-section:nth-child(3) {
	animation-delay: .2s
}


.activities-section .section-title {
	color: #333 !important;
	margin-bottom: 10px !important
}

.activities-section .section-subtitle {
	margin-top: 0 !important
}

.activities-section .text-center,
.hero-actions {
	margin-top: 40px
}

.stats-section .section-badge {
	background: rgba(255, 255, 255, .2);
	color: #fff
}

.loading-screen.dark .loading-content h3,
.stats-section .section-title {
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	background: none !important;
	text-shadow: 
		3px 3px 6px rgba(0, 0, 0, 0.7),
		0 0 20px rgba(225, 6, 0, 0.3),
		0 0 40px rgba(225, 6, 0, 0.2);
	font-weight: 700;
	position: relative;
	animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
	0% {
		text-shadow: 
			3px 3px 6px rgba(0, 0, 0, 0.7),
			0 0 20px rgba(225, 6, 0, 0.3),
			0 0 40px rgba(225, 6, 0, 0.2);
	}
	100% {
		text-shadow: 
			3px 3px 6px rgba(0, 0, 0, 0.7),
			0 0 25px rgba(225, 6, 0, 0.4),
			0 0 50px rgba(225, 6, 0, 0.3),
			0 0 75px rgba(225, 6, 0, 0.1);
	}
}

.stats-section .section-subtitle {
	color: rgba(255, 255, 255, .9)
}

.footer-bottom .privacy-links {
	letter-spacing: 2px;
	font-size: .95em;
	color: #222
}

.footer-bottom .privacy-links a {
	color: #e67e22;
	text-decoration: underline
}

.footer-bottom .privacy-links .separator {
	margin: 0 10px
}

.hero {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/foto/PHOTO-2023-09-23-11-12-59.jpg') center/cover;
	position: relative
}

.hero-content,
.page-header .container {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 60px 0
}

.hero-logo {
	width: 120px;
	height: auto;
	margin-bottom: 30px;
	filter: drop-shadow(0 4px 15px rgba(0, 0, 0, .3));
	animation: 3s ease-in-out infinite float
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-10px)
	}
}

.hero-title {
	font-weight: 700;
	font-size: 3rem;
	margin-bottom: 30px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, .3)
}

.hero-actions .btn {
	margin: 0 15px;
	padding: 15px 35px;
	font-size: 1.1rem;
	border-radius: 50px;
	transition: .3s;
	box-shadow: 0 5px 20px rgba(0, 0, 0, .2)
}

.hero-actions .btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.section-badge {
	display: inline-block;
	background: linear-gradient(135deg, #e10600, #ff4500);
	color: #fff;
	padding: 8px 20px;
	font-size: .9rem;
	font-weight: 600;
	margin-bottom: 15px
}

.admin-table th,
.category-btn,
.faq-category-badge,
.user-role {
	text-transform: uppercase;
	letter-spacing: .5px
}

.section-header {
	margin-bottom: 40px;
	text-align: center
}

.section-subtitle {
	font-size: 1.1rem;
	color: #666;
	margin-bottom: 0
}

.footer-section h4,
.stat-icon {
	margin-bottom: 20px
}

.enhanced-card {
	background: #fff;
	border-radius: 20px;
	padding: 25px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
	border: 1px solid rgba(225, 6, 0, .1);
	transition: .4s cubic-bezier(.175, .885, .32, 1.275);
	position: relative;
	height: 100%
}

.about-preview-card::before,
.enhanced-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #e10600, gold);
	transform: scaleX(0);
	transition: transform .3s
}

.enhanced-card:hover {
	transform: translateY(-10px) scale(1.02);
	box-shadow: 0 20px 60px rgba(225, 6, 0, .15)
}

.card-img-container {
	position: relative;
	border-radius: 15px;
	margin-bottom: 20px
}

.card-img {
	transition: transform .5s;
	width: 100%;
	height: 200px
}

.card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	padding: 30px 20px 20px;
	opacity: 0;
	transition: opacity .3s
}

.overlay-text {
	color: #fff;
	font-weight: 600;
	font-size: .9rem
}

.about-preview {
	background: linear-gradient(135deg, #f8f9fa 0, #e9ecef 100%);
	position: relative;
	padding: 60px 0
}

.about-preview-card {
	background: #fff;
	border-radius: 25px;
	padding: 50px 40px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
	border: 2px solid rgba(225, 6, 0, .05);
	transition: .3s;
	position: relative
}

.about-preview-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 30px 80px rgba(225, 6, 0, .15)
}

.about-content {
	padding: 20px 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center
}

.about-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, .15);
	margin: 20px
}

.about-image {
	transition: transform .5s;
	width: 100%;
	height: auto;
	max-height: 400px
}

.stats-section {
	background: linear-gradient(135deg, #e10600, #ff4500);
	color: #fff;
	position: relative
}

.stats-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>')
}

.enhanced-stat {
	text-align: center;
	background: rgba(255, 255, 255, .1);
	border-radius: 20px;
	padding: 40px 25px;
	border: 1px solid rgba(255, 255, 255, .2);
	transition: .3s;
	position: relative;
	z-index: 2
}

.enhanced-stat:hover {
	transform: translateY(-10px);
	background: rgba(255, 255, 255, .2);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .3)
}

.stat-icon {
	font-size: 3rem;
	display: block
}

.counter {
	font-size: 3.5rem;
	font-weight: 800;
	color: gold;
	display: block;
	margin: 20px 0;
	font-family: 'Arial Black', sans-serif
}

.form-label,
.password-strength-label {
	font-weight: 500;
	margin-bottom: 5px;
	display: block
}

.cookie-btn:hover,
.footer-section h4,
.footer-section ul li a:hover,
.stat-number {
	color: var(--secondary-color)
}

.animate-fade-up {
	opacity: 0;
	transform: translateY(30px);
	animation: .8s forwards fadeUp
}

.animate-fade-in,
.animate-section {
	opacity: 0;
	animation: 1s forwards fadeIn
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.lightbox-image,
.partner-logo {
	object-fit: contain;
	object-fit: contain
}

.footer-section ul {
	list-style: none
}

.footer-section ul li,
.password-strength,
.profile-section p,
.quick-contacts p,
.transport-info p {
	margin-bottom: 10px
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: var(--transition)
}

.footer-logo {
	width: 60px;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	margin-bottom: 15px
}

.social-links {
	display: flex;
	gap: 15px;
	justify-content: center
}

.social-link {
	display: inline-block;
	width: 40px;
	height: 40px;
	background-color: var(--primary-color);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition)
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #555;
	color: #ccc
}

.img-responsive {
	max-width: 100%;
	height: auto;
	border-radius: 10px
}

.form-label {
	color: var(--text-color)
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: 5px;
	font-size: 16px;
	transition: var(--transition)
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: 0;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(225, 6, 0, .1)
}

.form-textarea {
	resize: vertical;
	min-height: 120px
}

.password-validation {
	margin-top: 10px;
	padding: 12px;
	background-color: #f8f9fa;
	border-radius: 5px;
	border: 1px solid #e9ecef;
	font-size: 14px
}

.password-validation.show {
	display: block;
	animation: .3s fadeIn
}

.password-validation.hide {
	display: none
}

.password-strength-bar {
	width: 100%;
	height: 8px;
	background-color: #e9ecef;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 8px
}

.password-strength-fill {
	height: 100%;
	transition: .3s;
	border-radius: 4px
}

.calendar-day,
.calendar-nav button {
	cursor: pointer;
	transition: var(--transition)
}

.password-strength-fill.weak {
	width: 25%;
	background-color: #dc3545
}

.password-strength-fill.medium {
	height: auto !important;
	min-height: 0 !important;
	position: relative;
	padding: 0 !important;
	overflow: visible;
	width: 75%;
	background-color: #28a745
}

.password-strength-fill.strong {
	width: 100%;
	background-color: #007bff
}

.password-requirements {
	list-style: none;
	margin: 0
}

.password-requirements li {
	padding: 3px 0 3px 20px;
	position: relative;
	color: #6c757d;
	font-size: 13px
}

.password-requirements li:before {
	content: "✗";
	position: absolute;
	left: 0;
	color: #dc3545;
	font-weight: 700
}

.password-match.valid,
.password-requirements li.valid {
	color: #28a745
}

.password-requirements li.valid:before {
	content: "✓";
	color: #28a745
}

.form-input.valid {
	border-color: #28a745;
	box-shadow: 0 0 0 3px rgba(40, 167, 69, .1)
}

.form-input.invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, .1)
}

.password-match {
	margin-top: 5px;
	font-size: 13px;
	padding: 5px 0
}

.password-match.invalid {
	color: #dc3545
}

@keyframes fadeIn {
	from {
		transform: translateY(-10px);
		opacity: 0
	}

	to {
		transform: translateY(0);
		opacity: 1
	}
}

.calendar,
.documents-list {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--shadow);
	overflow: hidden
}

.calendar-header {
	background-color: var(--primary-color);
	color: #fff;
	padding: 20px;
	text-align: center
}

.calendar-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px
}

.calendar-nav button {
	background: 0 0;
	border: none;
	color: #fff;
	font-size: 18px;
	padding: 5px 10px;
	border-radius: 3px
}

.calendar-nav button:hover {
	background-color: rgba(255, 255, 255, .2)
}

.calendar-title {
	font-size: 1.5rem;
	font-weight: 600
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background-color: var(--border-color)
}

.calendar-day {
	background-color: #fff;
	padding: 15px 10px;
	text-align: center;
	min-height: 80px;
	position: relative
}

.calendar-day.has-event {
	background-color: #fff3cd
}

.calendar-day.has-event::after {
	content: "";
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	background-color: var(--primary-color);
	border-radius: 50%
}

.calendar-day-header {
	background-color: var(--bg-light);
	font-weight: 600;
	color: var(--text-color);
	padding: 10px
}

.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .95);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	animation: .3s ease-out lightboxFadeIn
}

.lightbox.active,
.video-overlay.active {
	display: flex
}

@keyframes lightboxFadeIn {
	from {
		opacity: 0;
		backdrop-filter: blur(0px)
	}

	to {
		opacity: 1;
		backdrop-filter: blur(10px)
	}
}

.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	position: relative;
	animation: .4s cubic-bezier(.25, .46, .45, .94) lightboxZoomIn
}

.lightbox-close,
.lightbox-nav {
	position: absolute;
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(10px);
	color: #fff;
	transition: .3s;
	display: flex;
	cursor: pointer
}

@keyframes lightboxZoomIn {
	from {
		transform: scale(.8);
		opacity: 0
	}

	to {
		transform: scale(1);
		opacity: 1
	}
}

.lightbox-image {
	max-width: 100%;
	max-height: 100%;
	border-radius: 15px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, .5)
}

.lightbox-close {
	top: -50px;
	right: -10px;
	border-radius: 50%;
	font-size: 24px;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .3)
}

.lightbox-close:hover {
	background: rgba(255, 255, 255, .2);
	transform: scale(1.1)
}

.lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	font-size: 28px;
	width: 60px;
	height: 60px;
	align-items: center;
	justify-content: center;
	box-shadow: 0 15px 35px rgba(0, 0, 0, .3)
}

.faq-item,
.login-form {
	background-color: #fff
}

.login-form h2,
.partner-name {
	color: var(--primary-color)
}

.faq-question,
.project-header {
	justify-content: space-between
}

.faq-icon,
.faq-question,
.partner-item {
	transition: var(--transition)
}

.faq-item,
.login-form,
.mission-item,
.partner-item {
	box-shadow: var(--shadow)
}

.lightbox-nav:hover {
	background: rgba(255, 255, 255, .2);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .4)
}

.lightbox-prev {
	left: -80px
}

.lightbox-next {
	right: -80px
}

.login-form {
	max-width: 400px;
	margin: 0 auto;
	padding: 40px;
	border-radius: 10px
}

.login-form h2 {
	text-align: center;
	margin-bottom: 30px
}

.login-prompt {
	padding: 60px 0;
	background-color: var(--bg-light);
	min-height: 100vh;
	display: none;
	align-items: center;
	justify-content: center;
}

.login-prompt.show {
	display: flex !important;
}

.auth-prompt {
	max-width: 500px;
	margin: 0 auto;
	padding: 40px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--shadow);
	text-align: center;
}

.auth-prompt h2 {
	color: var(--primary-color);
	margin-bottom: 20px;
}

.auth-prompt p {
	margin-bottom: 15px;
	line-height: 1.6;
	color: #666;
}

.contact-info {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	margin: 20px 0;
	text-align: left;
}

.contact-info p {
	margin-bottom: 10px;
	color: #333;
}

.auth-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 25px;
}

.faq-item {
	margin-bottom: 20px
}

.faq-question {
	background-color: var(--bg-light);
	border: none;
	width: 100%;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 500;
	display: flex;
	align-items: center
}

.partner-name,
.team-role {
	font-weight: 600
}

.faq-question:hover {
	background-color: #e9ecef
}

.faq-item.active .faq-icon {
	transform: rotate(180deg)
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px
}

.partner-item:hover {
	box-shadow: var(--shadow-hover)
}

.page-header {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: #fff;
	padding: 100px 0 60px;
	text-align: center
}

.page-header h1 {
	margin-bottom: 20px;
	font-weight: 700
}

.attivita-hero,
.chi-siamo-header {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/corteostorico.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.attivita-header {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/banner.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.eventi-header {
	background: linear-gradient(135deg, rgba(225, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/foto/PHOTO-2024-02-11-12-41-19.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.partner-header {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/partner-hero.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.privacy-header {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/privacy-hero.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.mission-item {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #fff;
	border-radius: 10px;
	border-left: 4px solid var(--primary-color)
}

.contact-card h3,
.dashboard-card h3,
.mission-item h3,
.profile-section h4,
.team-role {
	color: var(--primary-color);
	margin-bottom: 15px
}

.valori {
	background-color: var(--bg-light);
	padding: 80px 0
}

.numeri {
	background-color: var(--primary-color);
	color: #fff;
	padding: 80px 0
}

.activity-frequency,
.document-info p,
.progress-text {
	color: var(--text-light);
	font-size: .9rem
}

.stat-card {
	text-align: center;
	padding: 30px;
	background-color: rgba(255, 255, 255, .1);
	border-radius: 10px;
	margin-bottom: 30px
}

.stat-label {
	opacity: .9
}

.activity-card {
	height: 100%;
	display: flex;
	flex-direction: column
}

.activity-card .card-content,
.document-info,
.event-info,
.newsletter-form .form-input {
	flex: 1
}

.activity-meta {
	display: flex;
	gap: 10px;
	margin-top: 20px
}

.activity-status,
.project-status {
	padding: 5px 10px;
	border-radius: 20px;
	font-size: .9rem;
	font-weight: 500
}

.activity-status.active,
.event-status.confirmed,
.project-status.completed {
	background-color: #d4edda;
	color: #155724
}

.activity-frequency {
	padding: 5px 10px;
	background-color: var(--bg-light);
	border-radius: 20px
}

.project-card {
	height: 100%
}

.project-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px
}

.event-status.pending,
.project-status.in-progress {
	background-color: #fff3cd;
	color: #856404
}

.project-status.planning {
	background-color: #d1ecf1;
	color: #0c5460
}

.project-progress {
	margin: 20px 0
}

.progress-bar {
	height: 8px;
	background-color: var(--border-color);
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 5px
}

.progress-fill,
.step-number {
	background-color: var(--primary-color)
}

.progress-fill {
	height: 100%;
	transition: width .3s
}

.event-info p,
.project-details p {
	margin-bottom: 5px;
	font-size: .9rem
}

.project-achievements {
	display: flex;
	justify-content: space-between;
	margin: 20px 0
}

.achievement {
	text-align: center;
	flex: 1
}

.achievement-number {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color)
}

.achievement-label {
	font-size: .8rem;
	color: var(--text-light)
}

.project-period {
	font-style: italic;
	color: var(--text-light);
	margin-top: 10px
}

.participation-step {
	text-align: center;
	margin-bottom: 40px
}

.step-number {
	width: 60px;
	height: 60px;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 auto 20px
}

.login-notice,
.newsletter-section {
	background-color: var(--bg-light);
	padding: 60px 0;
	text-align: center
}

.contact-form-section h2,
.members-welcome h2,
.notice-content h2 {
	color: var(--primary-color);
	margin-bottom: 20px
}

.event-card {
	position: relative;
	height: auto
}

.event-card .card-img-container {
	position: relative;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.event-card .card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform .3s
}

.event-card .card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .7);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity .3s
}

.event-date-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: linear-gradient(135deg, #e10600, #ff4500);
	color: #fff;
	padding: .5rem 1rem;
	border-radius: 20px;
	font-size: .9rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(225, 6, 0, .3);
	z-index: 10
}

.dashboard-card,
.event-summary,
.events-management {
	box-shadow: var(--shadow)
}

.past-event {
	opacity: .7;
	filter: grayscale(.3)
}

.past-event h2 {
	color: #b0b0b0 !important
}

.pulse-glow {
	animation: 2s ease-in-out infinite alternate pulseGlow
}

@keyframes pulseGlow {
	from {
		box-shadow: 0 4px 20px rgba(225, 6, 0, .2)
	}

	to {
		box-shadow: 0 8px 30px rgba(225, 6, 0, .4)
	}
}

.public-events-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem auto;
	padding: 0 1rem;
	justify-items: center;
	max-width: 1200px
}

.past-events-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 2px solid #eee
}

.past-section-title {
	color: #888;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
	text-align: center
}

.event-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .8);
	backdrop-filter: blur(5px);
	animation: .3s fadeIn
}

.faq-categories,
.stat {
	backdrop-filter: blur(10px)
}

.event-modal.active {
	display: flex;
	align-items: center;
	justify-content: center
}

.event-modal .modal-content {
	background-color: #fff;
	margin: 2rem;
	padding: 2rem;
	border-radius: 15px;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
	animation: .3s modalSlideIn
}

@keyframes modalSlideIn {
	from {
		transform: translateY(-50px);
		opacity: 0
	}

	to {
		transform: translateY(0);
		opacity: 1
	}
}

.event-modal #close-modal {
	position: absolute;
	top: 15px;
	right: 20px;
	background: 0 0;
	border: none;
	font-size: 2rem;
	color: #999;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: .3s
}

.event-modal #close-modal:hover {
	background: #f5f5f5;
	color: #e10600;
	transform: rotate(90deg)
}

.ux-notification {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
}

.ux-notification:hover {
	transform: translateX(0) scale(1.02) !important;
	box-shadow: 0 12px 35px rgba(0, 0, 0, .25) !important
}

.date-day {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1
}

.date-month {
	display: block;
	font-size: .8rem;
	margin-top: 2px
}

.event-details {
	margin: 15px 0
}

.event-details span {
	display: block;
	margin-bottom: 5px;
	font-size: .9rem;
	color: var(--text-light)
}

.members-only {
	border: 2px solid var(--secondary-color)
}

.document-item,
.management-tabs {
	border-bottom: 1px solid var(--border-color);
	display: flex
}

.members-only::before {
	content: "🔒";
	position: absolute;
	top: 15px;
	left: 15px;
	font-size: 1.2rem
}

.event-summary {
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 20px;
	position: static;
	margin-right: 20px;
	min-width: 80px
}

.login-demo,
.members-welcome {
	background-color: var(--bg-light)
}

.event-info h4 {
	margin-bottom: 10px;
	color: var(--primary-color)
}

.event-status {
	padding: 5px 10px;
	border-radius: 20px;
	font-size: .8rem;
	font-weight: 500
}

.dashboard-card,
.login-demo,
.members-welcome {
	border-radius: 10px;
	text-align: center
}

.newsletter-form {
	max-width: 500px;
	margin: 30px auto 0
}

.newsletter-form .form-group {
	display: flex;
	gap: 10px
}

.login-help {
	text-align: center;
	margin-top: 30px
}

.auth-switch a,
.checkbox-label a,
.login-help a,
.quick-contacts a,
.transport-info a {
	color: var(--primary-color);
	text-decoration: none
}

.login-demo {
	padding: 20px;
	margin-top: 20px
}

.login-demo code {
	background-color: #fff;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: monospace
}

.members-welcome {
	padding: 40px;
	margin-bottom: 40px
}

.member-profile,
.members-dashboard,
.members-documents,
.members-events {
	margin-bottom: 60px
}

.auth-form .form-group,
.contact-icon,
.dashboard-card p,
.dashboard-icon {
	margin-bottom: 20px
}

.dashboard-card {
	background-color: #fff;
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column
}

.dashboard-card p {
	color: var(--text-light);
	flex: 1
}

.member-profile h3,
.members-documents h3,
.members-events h3 {
	color: var(--primary-color);
	margin-bottom: 30px;
	font-size: 1.8rem
}

.document-item {
	align-items: center;
	padding: 20px
}

.collaboration-card li:last-child,
.document-item:last-child,
.opening-day:last-child,
.pricing-item:last-child {
	border-bottom: none
}

.document-icon {
	margin-right: 15px
}

.events-management {
	background: #fff;
	border-radius: 12px;
	overflow: hidden
}

.admin-table th,
.form-container h4,
.management-tabs {
	background: var(--light-bg)
}

.management-tabs .btn {
	flex: 1;
	border-radius: 0;
	margin: 0;
	border: none;
	padding: 15px 20px;
	font-weight: 600;
	transition: .3s
}

.management-tabs .btn.active-tab {
	background: var(--primary-color);
	color: #fff
}

.management-tabs .btn:not(.active-tab) {
	background: 0 0;
	color: var(--text-color)
}

.management-tabs .btn:not(.active-tab):hover {
	background: rgba(225, 6, 0, .1);
	color: var(--primary-color)
}

.form-container form,
.management-section {
	padding: 25px
}

.table-responsive {
	overflow-x: auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1)
}

.category-btn,
.faq-answer,
.faq-contact,
.faq-item,
.faq-question,
.faq-section,
.social-feed {
	overflow: hidden
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: .95rem
}

.admin-table td,
.admin-table th {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #eee;
	vertical-align: middle
}

.admin-table th {
	font-weight: 600;
	color: var(--text-color);
	font-size: .9rem
}

.admin-table tr:hover {
	background: rgba(225, 6, 0, .02)
}

.admin-table .event-title {
	font-weight: 600;
	color: var(--primary-color);
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap
}

.admin-table .event-date {
	color: #333 !important;
	font-size: .9rem !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
	opacity: 1 !important;
	visibility: visible !important
}

.admin-table .event-status {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: .8rem;
	font-weight: 500;
	text-transform: uppercase
}

.admin-table .status-published {
	background: #d4edda;
	color: #155724
}

.admin-table .status-draft {
	background: #fff3cd;
	color: #856404
}

.admin-table .status-cancelled {
	background: #f8d7da;
	color: #721c24
}

.admin-table .event-public {
	font-size: .9rem;
	color: #666
}

.admin-table .event-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding: 8px !important
}

.admin-table .btn-sm {
	padding: 6px 12px;
	font-size: .8rem;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: .2s;
	font-weight: 500;
	display: inline-block;
	margin-bottom: 0 !important;
	line-height: 1.2
}

.admin-table .btn-edit {
	background: #007bff;
	color: #fff
}

.admin-table .btn-edit:hover {
	background: #0056b3;
	transform: translateY(-1px)
}

.admin-table .btn-delete {
	background: #dc3545;
	color: #fff
}

.admin-table .btn-delete:hover {
	background: #c82333;
	transform: translateY(-1px)
}

.form-container {
	background: #fff;
	border-radius: 8px;
	padding: 0
}

.form-container h4 {
	margin: 0;
	padding: 20px 25px;
	border-bottom: 1px solid var(--border-color);
	color: var(--primary-color);
	font-weight: 600
}

.checkbox-group {
	display: flex;
	align-items: center;
	margin-top: 10px
}

.checkbox-label {
	display: flex;
	align-items: center;
	font-weight: 500;
	color: var(--text-color)
}

.checkmark {
	margin-left: 5px
}

.document-info h4 {
	margin-bottom: 5px;
	color: var(--primary-color)
}

.btn-sm {
	padding: 8px 16px;
	font-size: .9rem
}

.members-content {
	padding: 60px 0;
	background-color: var(--bg-light);
	min-height: 100vh;
	display: none
}

.members-content.show {
	display: block
}

.members-content .container,
.video-carousel-3d .container {
	max-width: 1200px
}

.content-section,
.profile-info {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: var(--shadow);
	margin-bottom: 30px
}

.content-section h3 {
	color: var(--primary-color);
	margin-bottom: 15px;
	font-size: 1.5rem
}

.content-section p {
	color: var(--text-light);
	margin-bottom: 20px
}

.user-info {
	background: linear-gradient(135deg, var(--primary-color), #c70500);
	padding: 30px;
	border-radius: 15px;
	margin-bottom: 40px;
	color: #fff;
	box-shadow: var(--shadow-hover)
}

.user-card {
	display: flex;
	align-items: center;
	margin-bottom: 30px
}

.user-details h3 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 600
}

.user-email {
	margin: 0 0 12px;
	opacity: .9;
	font-size: 1rem
}

.user-alt-email,
.user-phone {
	margin: 0 0 8px;
	opacity: .9;
	font-size: .9rem
}

.user-role {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: .85rem;
	font-weight: 600;
	margin-right: 10px
}

.membership-type {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 15px;
	font-size: .75rem;
	font-weight: 500;
	background-color: rgba(255, 255, 255, .15);
	color: #fff;
	margin-top: 5px
}

.user-role.utente {
	background-color: rgba(255, 255, 255, .2);
	color: #fff
}

.user-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px
}

.stat {
	background-color: rgba(255, 255, 255, .1);
	padding: 20px;
	border-radius: 10px;
	text-align: center
}

.stat-label {
	display: block;
	margin-bottom: 8px;
	text-transform: uppercase
}

.stat-value {
	display: block;
	font-size: 1.1rem;
	font-weight: 600
}

.status-active {
	color: #155724;
	font-weight: 600
}

.profile-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap
}

.gallery-filters {
	background-color: var(--bg-light);
	padding: 40px 0
}

.filter-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px
}

.category-btn,
.filter-btn {
	padding: 10px 20px;
	border: 2px solid var(--primary-color);
	background-color: #fff;
	color: var(--primary-color);
	border-radius: 25px;
	cursor: pointer;
	transition: var(--transition);
	font-weight: 500
}

.category-btn,
.faq-icon,
.faq-item,
.faq-question {
	transition: .4s cubic-bezier(.4, 0, .2, 1)
}

.social-feed {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: var(--shadow);
	margin-bottom: 30px
}

.social-header {
	background-color: var(--primary-color);
	color: #fff;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center
}

.social-header h3 {
	margin: 0
}

.social-header .social-link {
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .9rem
}

.social-post {
	display: flex;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border-color)
}

.social-post:last-child {
	border-bottom: none;
	margin-bottom: 0
}

.social-post img {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	margin-right: 15px
}

.social-post p {
	flex: 1;
	margin-bottom: 5px
}

.post-date {
	color: var(--text-light);
	font-size: .8rem
}

.faq-section {
	padding: 6rem 0;
	background: linear-gradient(135deg, #f8f9fa 0, #fff 30%, #f1f3f4 70%, #e8f0fe 100%);
	position: relative
}

.faq-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 30% 20%, rgba(225, 6, 0, .05) 0, transparent 50%), radial-gradient(circle at 70% 80%, rgba(255, 215, 0, .08) 0, transparent 50%);
	animation: 20s ease-in-out infinite backgroundFloat;
	z-index: 0
}

@keyframes backgroundFloat {

	0%,
	100% {
		transform: translate(-50%, -50%) rotate(0)
	}

	50% {
		transform: translate(-50%, -50%) rotate(180deg)
	}
}

.faq-categories {
	text-align: center;
	margin-bottom: 4rem;
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, .9);
	border-radius: 20px;
	padding: 3rem 2rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
	border: 1px solid rgba(255, 255, 255, .2)
}

.category-filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 3rem;
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(15px);
	border-radius: 25px;
	padding: 1.5rem 2rem;
	box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
	border: 1px solid rgba(255, 255, 255, .3)
}

.enhanced-filters {
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(15px);
	border-radius: 25px;
	padding: 2rem 2.5rem;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
	border: 1px solid rgba(255, 255, 255, .3)
}

.enhanced-cta,
.faq-item {
	backdrop-filter: blur(10px)
}

.category-btn {
	background: linear-gradient(135deg, #fff 0, #f8f9fa 100%);
	border: 2px solid #e0e6ed;
	color: #495057;
	padding: 1rem 2rem;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: .5rem;
	white-space: nowrap;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
	position: relative;
	font-size: .9rem
}

.enhanced-faq-item,
.faq-item {
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12)
}

.category-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
	transition: left .6s
}

.category-btn.active,
.category-btn:hover {
	background: linear-gradient(135deg, #e10600 0, #b91c1c 100%);
	border-color: #e10600;
	color: #fff
}

.category-btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 12px 30px rgba(225, 6, 0, .4)
}

.category-btn:hover::before,
.enhanced-faq-question:hover::before {
	left: 100%
}

.category-btn.active {
	box-shadow: 0 8px 25px rgba(225, 6, 0, .4);
	transform: scale(1.05);
	position: relative
}

.category-btn.active::after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, gold, #e10600, gold);
	border-radius: 32px;
	z-index: -1;
	animation: 2s linear infinite borderGlow
}

@keyframes borderGlow {

	0%,
	100% {
		background-position: 0 50%
	}

	50% {
		background-position: 100% 50%
	}
}

.btn-icon,
.info-icon {
	font-size: 1.2rem
}

.btn-count {
	background: rgba(255, 255, 255, .2);
	padding: .2rem .5rem;
	border-radius: 12px;
	font-size: .8rem;
	font-weight: 700;
	min-width: 20px;
	text-align: center
}

.category-btn.active .btn-count,
.category-btn:hover .btn-count {
	background: rgba(255, 255, 255, .3)
}

.faq-container {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1
}

.enhanced-faq-container {
	display: grid;
	gap: 2rem
}

.faq-item {
	background: rgba(255, 255, 255, .95);
	border-radius: 20px;
	border: 1px solid rgba(225, 6, 0, .1);
	position: relative
}

.enhanced-faq-item {
	border-radius: 20px;
	border: 1px solid rgba(225, 6, 0, .1)
}

.enhanced-faq-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e10600, gold, #e10600);
	background-size: 200% 100%;
	animation: 3s ease-in-out infinite shimmer;
	opacity: 0;
	transition: opacity .3s
}

@keyframes shimmer {
	0% {
		background-position: -200% 0
	}

	100% {
		background-position: 200% 0
	}
}

.enhanced-faq-item:hover,
.faq-item:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
	border-color: rgba(225, 6, 0, .4)
}

.enhanced-faq-question:hover,
.faq-question:hover {
	padding-left: 2.5rem;
	transform: scale(1.01)
}

.faq-question {
	background: linear-gradient(135deg, #fff 0, #f8f9fa 100%);
	padding: 2rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, .05);
	position: relative
}

.enhanced-faq-question {
	padding: 2rem;
	align-items: flex-start;
	gap: 1rem
}

.enhanced-faq-question::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(225, 6, 0, .05), transparent);
	transition: left .6s
}

.faq-question:hover {
	background: linear-gradient(135deg, #f8f9fa 0, #e9ecef 100%)
}

.faq-category-badge {
	background: linear-gradient(135deg, #e10600 0, #b91c1c 100%);
	color: #fff;
	padding: .3rem .8rem;
	border-radius: 15px;
	font-size: .75rem;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(225, 6, 0, .3);
	position: absolute;
	top: -8px;
	left: 1.5rem
}

.faq-icon,
.faq-title,
.price,
.stat-number {
	font-weight: 700
}

.faq-title {
	color: #333;
	font-size: 1.3rem;
	line-height: 1.4;
	flex: 1;
	margin-top: 1rem;
	letter-spacing: .3px;
	position: relative;
	z-index: 1
}

.enhanced-cta-buttons .btn,
.stat-label {
	text-transform: uppercase;
	letter-spacing: .5px
}

.faq-icon {
	font-size: 1.8rem;
	color: #e10600;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(225, 6, 0, .1);
	flex-shrink: 0;
	position: relative;
	z-index: 1
}

.enhanced-faq-answer,
.faq-answer {
	padding: 0 2rem;
	transition: .5s cubic-bezier(.4, 0, .2, 1);
	position: relative
}

.faq-item.active .faq-icon {
	transform: rotate(45deg) scale(1.1);
	color: #b91c1c;
	background: rgba(185, 28, 28, .15);
	box-shadow: 0 0 20px rgba(225, 6, 0, .3)
}

.faq-answer {
	max-height: 0;
	background: linear-gradient(135deg, #fff 0, #fafbfc 100%)
}

.enhanced-contact-section,
.faq-contact {
	background: linear-gradient(135deg, #e10600 0, #b91c1c 30%, #8b0a0a 70%, #660808 100%)
}

.enhanced-faq-answer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 2rem;
	right: 2rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(225, 6, 0, .2), transparent);
	opacity: 0;
	transition: opacity .3s
}

.faq-item.active .faq-answer {
	padding: 2rem;
	max-height: 1000px
}

.faq-item.active .enhanced-faq-answer {
	padding: 2rem
}

.answer-content {
	padding: 1rem 0
}

.answer-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #495057
}

.answer-actions {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap
}

.faq-contact {
	padding: 6rem 0;
	color: #fff;
	position: relative
}

.enhanced-contact-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, .1) 0, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .05) 0, transparent 50%);
	animation: 20s ease-in-out infinite backgroundFloat
}

.contact-cta {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 1
}

.enhanced-cta {
	background: rgba(255, 255, 255, .1);
	border-radius: 30px;
	padding: 4rem 3rem;
	border: 1px solid rgba(255, 255, 255, .2);
	box-shadow: 0 25px 50px rgba(0, 0, 0, .2)
}

.cta-icon {
	font-size: 4rem;
	margin-bottom: 2rem;
	display: inline-block;
	animation: 2s ease-in-out infinite bounce
}

@keyframes bounce {

	0%,
	100%,
	20%,
	50%,
	80% {
		transform: translateY(0)
	}

	40% {
		transform: translateY(-10px)
	}

	60% {
		transform: translateY(-5px)
	}
}

.contact-cta h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #fff
}

.contact-cta p {
	font-size: 1.2rem;
	margin-bottom: 3rem;
	opacity: .9;
	line-height: 1.6
}

.cta-buttons {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 3rem;
	flex-wrap: wrap
}

.enhanced-cta-buttons .btn {
	padding: 1rem 2rem;
	border-radius: 25px;
	font-weight: 600;
	transition: .3s;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .2)
}

.enhanced-cta-buttons .btn:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 15px 35px rgba(0, 0, 0, .3)
}

.contact-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap
}

.contact-item,
.info-grid {
	gap: 1rem;
	margin: 1rem 0
}

.stat-number {
	display: block;
	font-size: 2.5rem;
	color: gold;
	margin-bottom: .5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .3)
}

.contact-info-box,
.pricing-table {
	margin: 1.5rem 0;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
	position: relative;
	transition: .3s;
	overflow: hidden
}

.stat-label {
	font-size: .9rem;
	opacity: .8
}

.pricing-table {
	background: linear-gradient(135deg, #fff 0, #f8f9fa 100%);
	border-radius: 15px;
	padding: 2rem;
	border: 1px solid #e9ecef
}

.pricing-table::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #e10600, gold, #e10600);
	border-radius: 17px;
	z-index: -1;
	opacity: 0;
	transition: opacity .3s
}

.pricing-table:hover {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 15px 40px rgba(0, 0, 0, .15)
}

.pricing-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid #e9ecef
}

.contact-item,
.info-item {
	display: flex;
	align-items: center
}

.price {
	font-size: 1.3rem;
	color: #e10600
}

.contact-text,
.price-label {
	color: #495057;
	font-weight: 500
}

.contact-info-box {
	background: linear-gradient(135deg, #f8f9fa 0, #fff 100%);
	border-radius: 15px;
	padding: 2rem;
	border-left: 5px solid #e10600
}

.contact-info-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(225, 6, 0, .02) 0, transparent 50%);
	pointer-events: none
}

.contact-info-box:hover {
	transform: translateX(5px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, .12)
}

.contact-icon {
	font-size: 1.5rem;
	width: 40px;
	text-align: center
}

.contact-text {
	flex: 1
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
}

.info-item {
	background: rgba(225, 6, 0, .05);
	padding: 1rem;
	border-radius: 10px;
	gap: .5rem;
	transition: .3s
}

.highlight-box,
.important-note {
	align-items: center;
	gap: 1rem;
	margin: 1rem 0;
	display: flex
}

.info-item:hover {
	background: rgba(225, 6, 0, .1);
	transform: translateY(-2px)
}

.contact-card:hover,
.contact-form:hover,
.partner-item:hover {
	transform: translateY(-5px)
}

.highlight-box {
	background: linear-gradient(135deg, #d4edda 0, #c3e6cb 100%);
	border: 1px solid #28a745;
	border-radius: 10px;
	padding: 1.5rem
}

.highlight-icon {
	font-size: 2rem;
	color: #28a745
}

.important-note {
	background: rgba(255, 193, 7, .1);
	border-left: 4px solid #ffc107;
	padding: 1rem;
	border-radius: 0 10px 10px 0
}

.note-icon {
	font-size: 1.5rem;
	color: #ffc107
}

.training-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0
}

.training-list li {
	padding: .5rem 0;
	display: flex;
	align-items: center;
	gap: .5rem
}

@media (max-width:768px) {
	.storia .row {
		flex-direction: column;
		min-height: auto
	}

	.storia .col-md-6.animate-slide-left {
		position: static;
		top: auto;
		height: auto;
		margin-top: 2rem;
		order: -1
	}

	.storia .story-image {
		height: auto;
		min-height: 300px
	}

	.storia .image-overlay {
		position: static;
		background: rgba(225, 6, 0, .9);
		transform: none;
		padding: 1rem;
		text-align: center
	}

	.swiper-button-next,
	.swiper-button-prev {
		width: 40px;
		height: 40px
	}

	.swiper-button-next::before,
	.swiper-button-prev::before {
		font-size: 18px
	}

	#notification-container {
		top: 10px !important;
		right: 10px !important;
		left: 10px !important;
		max-width: none !important
	}

	.card-img-container {
		height: auto !important;
		aspect-ratio: 9/16 !important;
		overflow: hidden !important;
		border-radius: 15px;
		width: 100%;
		max-height: 300px
	}

	.card-img {
		height: 100% !important;
		width: 100% !important;
		object-fit: cover !important;
		object-position: center !important;
		border-radius: 15px
	}

	.about-preview .row {
		flex-direction: column;
		margin: 0 !important
	}

	.about-preview .col-md-6 {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin-bottom: 20px
	}

	.about-preview .col-md-6:first-child {
		order: 1
	}

	.about-preview .col-md-6:last-child {
		order: 2;
		margin-bottom: 0
	}

	.about-preview .col-md-6:last-child>div:last-child,
	.lightbox-nav,
	.nav-menu {
		display: none
	}


	.about-preview-card {
		padding: 30px 20px !important;
		margin: 0 15px !important
	}

	.hero-actions .btn {
		display: block;
		margin: 10px auto;
		max-width: 200px
	}

	.section-badge {
		font-size: .8rem;
		padding: 6px 16px
	}

	.enhanced-card {
		margin-bottom: 30px
	}

	.counter {
		font-size: 2.8rem
	}

	.about-content {
		padding: 20px 0;
		text-align: center
	}

	.about-image-container {
		margin: 20px 0
	}

	.lightbox-nav {
		width: 50px;
		height: 50px;
		font-size: 24px
	}

	.lightbox-prev {
		left: -60px
	}

	.lightbox-next {
		right: -60px
	}

	.lightbox-close {
		top: -40px;
		right: 0;
		width: 45px;
		height: 45px;
		font-size: 20px
	}

	.container {
		padding: 0 25px
	}

	.nav-toggle {
		display: flex !important
	}

	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #fff;
		box-shadow: var(--shadow);
		flex-direction: column;
		padding: 20px
	}

	.nav-menu.active {
		display: flex
	}

	.hero-title,
	.section-title,
	.stat-number {
		font-size: 2rem
	}

	.hero-subtitle {
		font-size: 1rem
	}

	.category-filters,
	.hero-actions {
		flex-direction: column;
		align-items: center
	}

	.col-md-3,
	.col-md-4,
	.col-md-6,
	.col-md-8 {
		flex: 0 0 100%;
		margin-bottom: 30px
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px
	}

	.enhanced-footer .footer-main {
		display: flex;
		flex-direction: column;
		gap: 30px;
		margin-bottom: 30px
	}

	.enhanced-footer .footer-brand {
		text-align: center;
		max-width: 100%
	}

	.enhanced-footer .footer-brand img {
		width: 60px !important;
		height: 60px !important
	}

	.enhanced-footer .footer-sections {
		display: flex;
		flex-direction: column;
		gap: 25px
	}

	.enhanced-footer .footer-section h4 {
		font-size: 1rem !important;
		text-align: center
	}

	.enhanced-footer .footer-section ul li {
		text-align: center;
		margin-bottom: 10px !important
	}

	.enhanced-footer .support-section {
		padding: 20px !important
	}

	.enhanced-footer .footer-secondary>div {
		grid-template-columns: 1fr !important;
		gap: 25px !important;
		text-align: center
	}

	.enhanced-footer .social-links {
		justify-content: center !important
	}

	.enhanced-footer .enhanced-social {
		width: 45px !important;
		height: 45px !important
	}

	.cookie-content {
		flex-direction: column;
		text-align: center
	}

	.cookie-actions {
		justify-content: center
	}

	.calendar-grid {
		font-size: 14px
	}

	.calendar-day {
		padding: 10px 5px;
		min-height: 60px
	}

	section {
		padding: 50px 0
	}

	.photo-slide,
	.video-slide {
		width: 320px !important;
		margin: 0 10px
	}

	.photo-thumbnail,
	.video-thumbnail {
		height: 240px
	}

	.photo-info {
		padding: 20px 25px 25px
	}

	.photo-info h3 {
		font-size: 18px;
		margin-bottom: 12px
	}

	.photo-date {
		font-size: 13px
	}

	.photo-gallery .section-title,
	.video-gallery .section-title {
		font-size: 2rem;
		margin-bottom: 40px;
		padding-top: 60px
	}

	.play-button {
		width: 60px;
		height: 60px;
		font-size: 20px
	}

	.public-events-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 0 .5rem
	}

	@media (min-width: 768px) and (max-width: 1024px) {
		.public-events-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}

	.event-modal .modal-content {
		margin: 1rem;
		padding: 1.5rem;
		width: calc(100% - 2rem);
		max-height: 85vh
	}

	.answer-actions,
	.event-summary,
	.management-tabs,
	.newsletter-form .form-group,
	.profile-actions {
		flex-direction: column
	}

	.table-responsive {
		font-size: .85rem
	}

	.admin-table td,
	.admin-table th {
		padding: 8px 10px
	}

	.admin-table .event-title {
		max-width: 120px
	}

	.admin-table {
		flex-direction: column;
		gap: 4px
	}

	.form-grid {
		grid-template-columns: 1fr !important
	}

	.form-container form,
	.management-section,
	.stat {
		padding: 15px
	}

	.user-info {
		padding: 20px;
		margin-bottom: 30px
	}

	.user-card {
		flex-direction: column;
		text-align: center;
		margin-bottom: 25px
	}

	.user-details h3 {
		font-size: 1.3rem
	}

	.user-stats {
		grid-template-columns: 1fr;
		gap: 15px
	}

	.page-header h1 {
		font-size: 2.5rem
	}

	.team-photo {
		width: 150px;
		height: 150px
	}

	.event-summary {
		text-align: center;
		margin-right: 0;
		margin-bottom: 15px
	}

	.project-achievements {
		flex-direction: column;
		gap: 20px
	}

	.category-btn {
		width: 100%;
		max-width: 300px;
		justify-content: center
	}

	.enhanced-faq-question {
		padding: 1.5rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem
	}

	.faq-category-badge {
		position: static;
		margin-bottom: .5rem
	}

	.faq-title {
		margin-top: 0
	}

	.faq-icon {
		position: absolute;
		top: 1.5rem;
		right: 1.5rem
	}

	.enhanced-cta {
		padding: 3rem 2rem
	}

	.contact-stats {
		gap: 2rem
	}
}

.page-header {
	background: linear-gradient(135deg, rgba(230, 6, 0, .9), rgba(255, 215, 0, .8)) center/cover, url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/contatti-hero.jpg') center/cover;
	position: relative;
	overflow: hidden
}

.page-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .3);
	z-index: 1
}

.page-header h1 {
	font-size: 3.5rem;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, .5)
}

.page-header p {
	opacity: .9;
	font-size: 1.3rem;
	color: rgba(255, 255, 255, .95);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, .5)
}

.contact-form {
	background: #fff;
	box-shadow: 0 15px 50px rgba(0, 0, 0, .1);
	border: 2px solid rgba(225, 6, 0, .1);
	transition: .3s
}

.contact-form:hover {
	box-shadow: 0 25px 70px rgba(225, 6, 0, .15)
}

.form-group input,
.form-group textarea {
	border: 2px solid rgba(225, 6, 0, .2);
	border-radius: 10px;
	padding: 15px;
	transition: .3s
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #e10600;
	box-shadow: 0 0 0 3px rgba(225, 6, 0, .1);
	outline: 0
}

.info-box,
.privacy-intro {
	border-left: 4px solid var(--primary-color)
}

.contact-info {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .1)
}

.animate-slide-left {
	opacity: 0;
	transform: translateX(50px);
	animation: .8s forwards slideLeft
}

.animate-slide-right {
	opacity: 0;
	transform: translateX(-50px);
	animation: .8s forwards slideRight
}

@keyframes fadeIn {
	to {
		opacity: 1
	}
}

@keyframes slideLeft {
	to {
		opacity: 1;
		transform: translateX(0)
	}
}

@keyframes slideRight {
	to {
		opacity: 1;
		transform: translateX(0)
	}
}

@media (max-width:768px) {
	.page-header h1 {
		font-size: 2.5rem
	}

	.contact-form,
	.contact-info {
		padding: 25px
	}

	.navbar .nav-toggle {
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 4px !important;
		padding: 10px !important;
		background: rgba(225, 6, 0, .1) !important;
		border: 2px solid #e10600 !important;
		border-radius: 5px !important;
		cursor: pointer !important;
		width: 40px !important;
		height: 40px !important;
		position: relative !important;
		z-index: 9999 !important
	}

	.navbar .nav-toggle span {
		width: 25px !important;
		height: 4px !important;
		background: #e10600 !important;
		display: block !important;
		border-radius: 2px !important;
		transition: .3s !important;
		opacity: 1 !important;
		visibility: visible !important;
		border: 1px solid #e10600 !important;
		box-shadow: 0 0 0 1px #e10600 !important
	}

	.navbar .nav-toggle.active span:first-child {
		transform: rotate(-45deg) translate(-6px, 6px) !important
	}

	.navbar .nav-toggle.active span:nth-child(2) {
		opacity: 0 !important
	}

	.navbar .nav-toggle.active span:nth-child(3) {
		transform: rotate(45deg) translate(-6px, -6px) !important
	}
}

.contact-card {
	background-color: #fff;
	padding: 40px;
	border-radius: 10px;
	box-shadow: var(--shadow);
	text-align: center;
	height: 100%;
	transition: var(--transition)
}

.contact-card:hover {
	box-shadow: var(--shadow-hover)
}

.access-message .alert,
.contact-form,
.contact-sidebar,
.map-container {
	box-shadow: var(--shadow)
}

.contact-card a {
	color: var(--text-color);
	text-decoration: none
}

.contact-form-section {
	padding: 80px 0;
	background-color: var(--bg-light)
}

.contact-form {
	background-color: #fff;
	padding: 40px;
	border-radius: 10px
}

.checkbox-label {
	display: flex;
	align-items: flex-start
}

.checkbox-label input[type=checkbox] {
	transform: scale(1.2);
	accent-color: var(--primary-color);
	height: 18px;
	flex-shrink: 0
}

.contact-sidebar {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	height: fit-content
}

.contact-sidebar h3 {
	color: var(--primary-color);
	margin-bottom: 20px;
	font-size: 1.3rem
}

.missione .image-container,
.opening-hours,
.storia .image-container {
	margin-bottom: 30px
}

.opening-day {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color)
}

.day {
	font-weight: 500
}

.hours {
	color: var(--text-light);
	text-align: right
}

.map-container {
	border-radius: 10px;
	overflow: hidden
}

.auth-form,
.partner-item,
.privacy-document {
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1)
}

.map-placeholder iframe {
	width: 100%;
	height: 400px;
	border: none
}

/* Enhanced Animations */
@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

@keyframes particleFloat {
	0% { transform: translateY(100vh) translateX(0px) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100px) translateX(100px) rotate(360deg); opacity: 0; }
}

.animate-slide-up {
	opacity: 0;
	animation: slideUp 0.8s ease-out forwards;
}

.animate-fade-in {
	opacity: 0;
	animation: fadeIn 0.6s ease-out forwards;
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Enhanced Page Header */
.enhanced-header {
	position: relative;
	background: linear-gradient(135deg, #e10600 0%, #d2001e 50%, #b8001b 100%);
	overflow: hidden;
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.header-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
}

.header-particles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	pointer-events: none;
}

.header-particles::before,
.header-particles::after {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(255, 215, 0, 0.6);
	border-radius: 50%;
	animation: particleFloat 15s infinite linear;
}

.header-particles::before {
	left: 20%;
	animation-delay: -5s;
}

.header-particles::after {
	left: 60%;
	animation-delay: -10s;
}

.header-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	padding: 0.5rem 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	color: #fff;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
}

.badge-icon {
	font-size: 1.2rem;
	animation: float 3s ease-in-out infinite;
}

.header-stats {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: #ffd700;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.stat-label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 500;
}

.stat-divider {
	width: 1px;
	height: 30px;
	background: rgba(255, 255, 255, 0.3);
}

/* Enhanced Sections */
.enhanced-section {
	position: relative;
	padding: 6rem 0;
	overflow: hidden;
}

.section-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-section-bg {
	background: linear-gradient(135deg, #343a40 0%, #495057 100%);
}

.section-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, #e10600, #ffd700);
	color: #fff;
	border-radius: 50px;
	padding: 0.5rem 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.section-decorative-line {
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #e10600, #ffd700);
	border-radius: 2px;
	margin: 2rem auto;
	position: relative;
}

.section-decorative-line::before,
.section-decorative-line::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	background: #e10600;
	border-radius: 50%;
	top: -2px;
}

.section-decorative-line::before {
	left: -12px;
}

.section-decorative-line::after {
	right: -12px;
	background: #ffd700;
}

/* Gallery Headers */
.gallery-header {
	text-align: center;
	margin-bottom: 4rem;
	position: relative;
	z-index: 2;
}

.section-title {
	font-size: 3rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, #e10600, #ffd700);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1.2;
}

.video-carousel-3d .section-title {
	color: #fff;
	-webkit-text-fill-color: #fff;
}

.gallery-subtitle {
	font-size: 1.2rem;
	color: #666;
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
	font-weight: 400;
}

.video-carousel-3d .gallery-subtitle {
	color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Loading States */
.enhanced-loading {
	text-align: center;
	padding: 4rem 2rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 25px;
	margin: 2rem 0;
	position: relative;
	overflow: hidden;
}

.enhanced-loading::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
	animation: shimmer 2s infinite;
}

.loading-container {
	position: relative;
	z-index: 2;
}

.enhanced-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(225, 6, 0, 0.2);
	border-top: 4px solid #e10600;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1.5rem;
}

.loading-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.loading-dots span {
	width: 8px;
	height: 8px;
	background: #ffd700;
	border-radius: 50%;
	animation: dotPulse 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(2) {
	animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
	animation-delay: 0.4s;
}

.loading-text {
	font-size: 1.1rem;
	color: #333;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.video-carousel-3d .loading-text {
	color: #fff;
}

.loading-progress {
	width: 200px;
	height: 4px;
	background: rgba(225, 6, 0, 0.2);
	border-radius: 2px;
	margin: 0 auto;
	overflow: hidden;
}

.progress-bar {
	width: 30%;
	height: 100%;
	background: linear-gradient(90deg, #e10600, #ffd700);
	border-radius: 2px;
	animation: progressSlide 2s infinite ease-in-out;
}

@keyframes shimmer {
	0% { left: -100%; }
	100% { left: 100%; }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes dotPulse {
	0%, 60%, 100% {
		transform: initial;
		opacity: 0.4;
	}
	30% {
		transform: scale(1.5);
		opacity: 1;
	}
}

@keyframes progressSlide {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(100%); }
	100% { transform: translateX(300%); }
}

/* Enhanced Swiper Styles */
.enhanced-swiper {
	position: relative;
	z-index: 2;
	padding: 2rem 0;
}

.enhanced-nav-btn {
	width: 60px !important;
	height: 60px !important;
	background: linear-gradient(135deg, #e10600, #ffd700) !important;
	border-radius: 50% !important;
	border: 3px solid rgba(255, 255, 255, 0.2) !important;
	box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3) !important;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
	backdrop-filter: blur(10px) !important;
}

.enhanced-nav-btn:hover {
	transform: scale(1.1) !important;
	box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4) !important;
}

.enhanced-nav-btn:after {
	display: none !important;
}

.nav-icon {
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
}

.enhanced-pagination .swiper-pagination-bullet {
	width: 12px !important;
	height: 12px !important;
	background: rgba(225, 6, 0, 0.3) !important;
	border: 2px solid transparent !important;
	transition: all 0.3s ease !important;
}

.enhanced-pagination .swiper-pagination-bullet-active {
	background: linear-gradient(135deg, #e10600, #ffd700) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
	transform: scale(1.3) !important;
}

/* Enhanced Gallery Cards */
.photo-slide, .video-slide {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.photo-slide:hover, .video-slide:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.photo-thumbnail, .video-thumbnail {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.photo-thumbnail img, .video-thumbnail img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-slide:hover .photo-thumbnail img,
.video-slide:hover .video-thumbnail img {
	transform: scale(1.1);
}

.photo-thumbnail::before, .video-thumbnail::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(225, 6, 0, 0.3), rgba(255, 215, 0, 0.3));
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.photo-slide:hover .photo-thumbnail::before,
.video-slide:hover .video-thumbnail::before {
	opacity: 1;
}

.photo-thumbnail::after {
	content: '🔍';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2rem;
	color: #fff;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 2;
}

.photo-slide:hover .photo-thumbnail::after {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.2);
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #e10600, #ffd700);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
	z-index: 2;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
}

.play-button::before {
	content: '▶';
	margin-left: 3px;
}

.video-slide:hover .play-button {
	transform: translate(-50%, -50%) scale(1.1);
	box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.photo-gallery, .photo-gallery .container, .photo-swiper {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.photo-gallery {
	margin-bottom: 0 !important;
}
/* Enhanced Lightbox */
.enhanced-lightbox {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	width: 100vw; height: 100vh;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-background {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(33,37,41,0.95));
	backdrop-filter: blur(20px);
}

.enhanced-lightbox.active {
	opacity: 1;
	pointer-events: auto;
}

.enhanced-lightbox-content {
	position: relative;
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.image-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.enhanced-image {
	max-width: 95vw;
	max-height: 85vh;
	width: auto;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.5);
	transition: all 0.3s ease;
	cursor: zoom-in;
}

.image-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 400px;
	margin-top: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
}

.image-counter {
	color: #fff;
	font-size: 0.9rem;
	font-weight: 500;
}

.image-actions {
	display: flex;
	gap: 0.5rem;
}

.action-btn {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.action-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.enhanced-close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #e10600, #dc3545);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10001;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
}

.enhanced-close-btn:hover {
	transform: scale(1.1) rotate(90deg);
	box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.close-icon {
	font-size: 1.8rem;
	color: #fff;
	font-weight: bold;
}

.enhanced-photo-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10001;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #e10600, #ffd700);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
}

.enhanced-photo-nav:hover {
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.photo-lightbox-prev { left: 20px; }
.photo-lightbox-next { right: 20px; }

.nav-arrow {
	font-size: 1.8rem;
	color: #fff;
	font-weight: bold;
}
/* Enhanced Video Overlay */
.enhanced-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay-background {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(33,37,41,0.95));
	backdrop-filter: blur(20px);
}

.enhanced-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.enhanced-player {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	max-width: 95vw;
	max-height: 95vh;
	z-index: 10000;
}

.video-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.enhanced-video {
	max-width: 95vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 15px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.video-title {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
}

.video-counter {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	font-weight: 500;
}

.enhanced-video-nav {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #e10600, #ffd700);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 8px 25px rgba(225, 6, 0, 0.3);
}

.enhanced-video-nav:hover {
	transform: scale(1.1);
	box-shadow: 0 12px 35px rgba(225, 6, 0, 0.4);
}

.enhanced-video-nav .nav-arrow {
	font-size: 2rem;
	color: #fff;
	font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.header-stats {
		flex-direction: column;
		gap: 1rem;
	}
	
	.stat-divider {
		width: 100px;
		height: 1px;
	}
}

@media (max-width: 900px) {
	.enhanced-header {
		min-height: 50vh;
	}
	
	.section-title {
		font-size: 2.5rem;
	}
	
	.enhanced-image { 
		max-width: 98vw; 
		max-height: 80vh; 
	}
	
	.enhanced-video {
		max-width: 90vw;
		max-height: 60vh;
	}
	
	.enhanced-player {
		flex-direction: column;
		gap: 1rem;
	}
	
	.enhanced-video-nav {
		width: 60px;
		height: 60px;
	}
	
	.enhanced-video-nav .nav-arrow {
		font-size: 1.5rem;
	}
}

@media (max-width: 600px) {
	.enhanced-header {
		min-height: 40vh;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.gallery-subtitle {
		font-size: 1rem;
	}
	
	.enhanced-image { 
		max-width: 100vw; 
		max-height: 60vh; 
	}
	
	.enhanced-close-btn, 
	.enhanced-photo-nav,
	.enhanced-video-nav { 
		width: 50px; 
		height: 50px; 
	}
	
	.close-icon,
	.nav-arrow { 
		font-size: 1.4rem; 
	}
	
	.enhanced-nav-btn {
		width: 50px !important;
		height: 50px !important;
	}
	
	.nav-icon {
		font-size: 1.2rem;
	}
	
	.photo-thumbnail img, 
	.video-thumbnail img {
		height: 200px;
	}
	
	.play-button {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}
	
	.header-badge,
	.section-badge {
		font-size: 0.8rem;
		padding: 0.4rem 1rem;
	}
	
	.enhanced-section {
		padding: 4rem 0;
	}
}

@media (max-width:480px) {
	.story-item {
		padding: 1.2rem;
		text-align: center
	}

	.story-icon {
		margin: 0 auto 1rem
	}

	.territorio-highlight {
		padding: 1.2rem
	}

	.territorio-highlight h3 {
		font-size: 1.3rem
	}

	.contact-card,
	.contact-sidebar {
		padding: 20px
	}

	.video-thumbnail {
		height: 180px
	}

	.card-content,
	.social-posts,
	.video-info {
		padding: 15px
	}

	.hero {
		padding: 100px 0 60px
	}

	.hero-logo,
	.partner-logo {
		width: 80px;
		height: auto
	}

	.hero-title {
		font-size: 1.8rem
	}

	.btn {
		padding: 10px 20px;
		font-size: 14px;
		min-width: 100px
	}

	.gallery-grid {
		grid-template-columns: 1fr
	}

	.partners-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 20px
	}
}

.cookie-types,
.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem
}

.partner-item {
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	transition: transform .3s
}

.partner-item.featured {
	border: 2px solid var(--primary-color);
	background: linear-gradient(135deg, #fff 0, #fefefe 100%)
}

.partner-logo {
	width: 120px;
	height: 80px;
	margin-bottom: 1rem
}

.collaboration-card h3,
.cookie-type h4,
.exercise-rights h3,
.partner-name,
.purpose-item h4,
.right-item h4 {
	color: var(--primary-color);
	margin-bottom: 1rem
}

.partner-description {
	color: var(--text-color);
	margin-bottom: 1rem;
	line-height: 1.6
}

.partner-collaboration {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1rem
}

.collab-since,
.collab-type {
	background: var(--secondary-color);
	color: var(--text-color);
	padding: .25rem .5rem;
	border-radius: 5px;
	font-size: .85rem;
	font-weight: 500
}

.partner-actions {
	margin-top: 1rem
}

.sponsors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem
}

.collaboration-card,
.testimonial-card {
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
	height: 100%
}

.collaboration-card ul,
.suggestions ul {
	list-style: none;
	padding: 0
}

.collaboration-card li {
	padding: .5rem 0;
	border-bottom: 1px solid #eee
}

.commercial-sponsors,
.testimonials {
	background: #f8f9fa;
	padding: 4rem 0
}

.testimonial-content {
	margin-bottom: 2rem
}

.testimonial-content p {
	font-style: italic;
	color: var(--text-color);
	line-height: 1.6
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 1rem
}

.author-photo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover
}

.author-info h4 {
	margin: 0;
	color: var(--primary-color)
}

.author-info p {
	margin: 0;
	color: var(--text-color);
	font-size: .9rem
}

.become-partner {
	background: linear-gradient(135deg, var(--primary-color), #c41e3a);
	color: #fff;
	padding: 4rem 0
}

.benefit-item,
.partnership-type {
	background: rgba(255, 255, 255, .1);
	border-radius: 10px;
	height: 100%;
	text-align: center
}

.become-partner h2,
.partnership-types h3 {
	color: #fff;
	text-align: center;
	margin-bottom: 2rem
}

.become-partner p,
.partnership-benefits,
.partnership-types,
.privacy-section {
	margin-bottom: 3rem
}

.become-partner p {
	text-align: center;
	font-size: 1.1rem
}

.benefit-item {
	padding: 2rem
}

.benefit-item h3,
.partnership-type h4 {
	color: var(--secondary-color);
	margin-bottom: 1rem
}

.partnership-type {
	padding: 1.5rem
}

.partnership-cta {
	text-align: center;
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap
}

.partnership-cta .btn {
	margin: .5rem
}

.privacy-content {
	padding: 2rem 0
}

.privacy-document {
	max-width: 900px;
	margin: 0 auto;
	background: #fff;
	padding: 3rem;
	border-radius: 10px
}

.privacy-intro {
	padding-left: 2rem;
	margin-bottom: 3rem
}

.info-box,
.purpose-item,
.right-item {
	background: #f8f9fa;
	padding: 1.5rem
}

.last-updated {
	color: var(--text-color);
	font-size: .9rem;
	margin-bottom: 1rem;
	font-style: italic
}

.privacy-section h2 {
	color: var(--primary-color);
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: .5rem;
	margin-bottom: 1.5rem
}

.privacy-section h3 {
	color: var(--primary-color);
	margin-top: 2rem;
	margin-bottom: 1rem
}

.privacy-section h4,
.purpose-item strong {
	color: var(--text-color)
}

.privacy-section h4 {
	margin-bottom: .5rem
}

.info-box {
	border-radius: 8px;
	margin: 1rem 0
}

.info-box p {
	margin: .5rem 0
}

.purpose-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem
}

.purpose-item {
	border-radius: 8px;
	border-top: 4px solid var(--primary-color)
}

.purpose-item p,
.suggestions li {
	margin-bottom: .5rem
}

.rights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-top: 2rem
}

.right-item {
	border-radius: 8px;
	text-align: center;
	border-top: 3px solid var(--primary-color)
}

.cookie-management,
.cookie-type,
.exercise-rights {
	padding: 2rem;
	border-radius: 8px
}

.exercise-rights {
	background: #fff3cd;
	border-left: 4px solid var(--secondary-color);
	margin-top: 2rem
}

.cookie-type {
	background: #f8f9fa;
	border-left: 4px solid var(--primary-color)
}

.cookie-management {
	background: #e7f3ff;
	border-left: 4px solid #06c;
	margin-top: 2rem
}

.cookie-management h3 {
	color: #06c;
	margin-bottom: 1rem
}

.auth-form h2,
.contact-item strong,
.cookie-btn {
	color: var(--primary-color)
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 2rem
}

.contact-item {
	background: #f8f9fa;
	padding: 1.5rem;
	border-radius: 8px;
	border-left: 4px solid var(--primary-color)
}

.contact-item strong {
	display: block;
	margin-bottom: .5rem
}

.cookie-btn {
	background: 0 0;
	border: none;
	cursor: pointer;
	font-size: inherit
}

.collaborations,
.main-partners {
	padding: 4rem 0
}

.auth-section {
	background: #f8f9fa
}

.auth-form {
	max-width: 400px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 10px
}

.auth-form h2 {
	text-align: center;
	margin-bottom: 2rem
}

.form-group {
	margin-bottom: 1.5rem
}

.form-group label {
	display: block;
	margin-bottom: .5rem;
	color: var(--text-color);
	font-weight: 500
}

.form-group input {
	width: 100%;
	padding: .75rem;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color .3s
}

.auth-form input:focus,
.auth-form select:focus,
.form-group input:focus {
	outline: 0;
	border-color: var(--primary-color)
}

.form-group input.error {
	border-color: #f44336
}

.form-group input.success {
	border-color: #4caf50
}

.auth-switch {
	text-align: center;
	margin-top: 1rem;
	color: var(--text-color)
}

.password-requirements {
	margin-top: .5rem;
	padding: 1rem;
	background: #f8f9fa;
	border-radius: 5px;
	border-left: 4px solid #ddd
}

.password-requirements p {
	margin: 0 0 .5rem;
	font-size: .9rem;
	color: var(--text-color)
}

.password-requirements ul {
	list-style: none;
	padding: 0;
	margin: 0
}

.requirement {
	padding: .25rem 0 .25rem 1.5rem;
	font-size: .85rem;
	color: #666;
	position: relative
}

.requirement:before {
	content: "✗";
	position: absolute;
	left: 0;
	color: #f44336;
	font-weight: 700
}

.requirement.met {
	color: #4caf50
}

.requirement.met:before {
	content: "✓";
	color: #4caf50
}

.password-strength {
	margin-top: .5rem
}

.strength-bar {
	height: 4px;
	background: #e0e0e0;
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: .25rem
}

.strength-fill {
	height: 100%;
	transition: width .3s, background-color .3s;
	width: 0%;
	background: #e0e0e0
}

.loading-overlay,
.loading-screen {
	width: 100%;
	top: 0;
	left: 0;
	height: 100%
}

.strength-text {
	font-size: .8rem;
	color: var(--text-color)
}

.loading-screen {
	position: fixed;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity .5s, visibility .5s
}

.auth-section,
.loading-overlay {
	align-items: center;
	display: flex
}

.loading-screen.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none
}

.loading-content {
	text-align: center;
	max-width: 300px
}

.loading-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--primary-color);
	margin: 0 auto 2rem
}

.loading-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-size: 1.2rem
}

.loading-content p {
	color: var(--text-color);
	font-size: .9rem;
	opacity: .8
}

.loading-dots::after {
	content: "";
	animation: 1.5s infinite dots
}

@keyframes dots {

	0%,
	20% {
		content: ""
	}

	40% {
		content: "."
	}

	60% {
		content: ".."
	}

	100%,
	80% {
		content: "..."
	}
}

.loading-overlay {
	position: absolute;
	background: rgba(255, 255, 255, .8);
	justify-content: center;
	z-index: 100
}

.loading-overlay .loading-spinner {
	width: 40px;
	height: 40px;
	border-width: 3px;
	margin: 0
}

.loading-screen.dark {
	background: rgba(51, 51, 51, .95)
}

.loading-screen.dark .loading-content p {
	color: #ccc
}

.loading-screen.dark .loading-spinner {
	border-color: #555;
	border-top-color: var(--secondary-color)
}

@media (max-width:480px) {
	.auth-form {
		margin: 1rem;
		padding: 1.5rem
	}

	.password-requirements {
		padding: .75rem
	}

	.loading-content {
		max-width: 250px;
		padding: 0 1rem
	}

	.loading-spinner {
		width: 50px;
		height: 50px
	}

	.loading-content h3 {
		font-size: 1.1rem
	}
}

.access-message {
	margin: 2rem 0;
	padding: 0
}

.access-message .alert {
	background: linear-gradient(135deg, #fff3cd 0, #ffeaa7 100%);
	border: 1px solid #f6e05e;
	border-radius: 12px;
	padding: 2rem;
	margin: 1rem 0
}

.access-message .alert-warning {
	border-left: 4px solid #f59e0b
}

.access-message h4 {
	color: #92400e;
	margin-bottom: 1rem;
	font-size: 1.25rem;
	font-weight: 600
}

.access-message p {
	color: #92400e;
	margin-bottom: .75rem;
	line-height: 1.6
}

.access-message p:last-child {
	margin-bottom: 0;
	font-weight: 600
}

.auth-section {
	min-height: calc(100vh - 200px);
	padding: 80px 0;
	background: linear-gradient(135deg, #667eea 0, #764ba2 100%)
}

.auth-container {
	max-width: 600px;
	margin: 0 auto;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
	overflow: hidden
}

.auth-header {
	text-align: center;
	padding: 40px 30px 20px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: #fff
}

.auth-header h1 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 600
}

.auth-header p {
	margin: 0;
	opacity: .9;
	font-size: 14px
}

.auth-form-container {
	padding: 30px
}

.auth-form .form-section {
	margin-bottom: 25px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	border-left: 4px solid var(--primary-color)
}

.auth-form .form-section h3 {
	margin: 0 0 15px;
	font-size: 16px;
	font-weight: 600;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	gap: 8px
}

.auth-form .form-row {
	display: block;
	margin-bottom: 0
}

.auth-form .form-row .form-group {
	flex: none
}

.error-page {
	min-height: 80vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 2rem
}

.error-code {
	font-size: 6rem;
	font-weight: 700;
	color: var(--primary-color, #2c5aa0);
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, .1)
}

.error-message {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: #333;
	font-weight: 600
}

.error-description {
	margin-bottom: 2rem;
	color: #666;
	max-width: 600px;
	font-size: 1.1rem;
	line-height: 1.6
}

.error-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center
}

.back-button,
.home-button {
	background: var(--primary-color, #2c5aa0);
	color: #fff;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 5px;
	transition: .3s;
	font-weight: 500;
	border: none;
	cursor: pointer
}

.back-button:hover,
.home-button:hover {
	background: var(--primary-dark, #1e3a5f);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, .2)
}

.back-button {
	background: #6c757d
}

.back-button:hover {
	background: #5a6268
}

.suggestions {
	margin-top: 3rem;
	max-width: 500px
}

.form-help,
.password-help {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #666
}

.suggestions h3 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.2rem
}

.suggestions a {
	color: var(--primary-color, #2c5aa0);
	text-decoration: none;
	transition: color .3s
}

.suggestions a:hover {
	color: var(--primary-dark, #1e3a5f);
	text-decoration: underline
}

.auth-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333
}

.auth-form input,
.auth-form select {
	width: 100%;
	padding: 12px;
	border: 2px solid #e1e1e1;
	border-radius: 8px;
	font-size: 16px;
	transition: border-color .3s;
	box-sizing: border-box;
	background-color: #fff
}

.auth-form input[readonly] {
	background-color: #f8f9fa;
	color: #6c757d;
	cursor: not-allowed;
	user-select: none;
	pointer-events: none
}

.form-help {
	font-style: italic;
	transition: color .3s
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.4
}

.checkbox-label input[type=checkbox] {
	width: auto;
	margin: 0;
	padding: 0
}

.btn-full {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative
}

.loading-spinner {
	width: 20px;
	height: 20px;
	border: 2px solid #ffffff40;
	border-top: 2px solid #fff;
	border-radius: 50%;
	animation: 1s linear infinite spin
}

@keyframes spin {
	0% {
		transform: rotate(0)
	}

	100% {
		transform: rotate(360deg)
	}
}

.status-message {
	margin: 20px 0;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-weight: 500;
	line-height: 1.4;
	display: none
}

.status-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb
}

.status-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb
}

.status-message.warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7
}

.status-message.info {
	background-color: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb
}

.status-message a {
	color: inherit;
	text-decoration: underline
}

.auth-links {
	text-align: center;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #e1e1e1
}

.auth-links p {
	margin: 8px 0;
	color: #666
}

.auth-links a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
	pointer-events: none;
	border-radius: 24px !important
}

.photo-slide,
.video-slide {
	cursor: pointer;
	user-select: none
}

.swiper-button-next,
.swiper-button-prev {
	cursor: pointer !important
}

.video-carousel-3d {
	padding: 80px 0 120px;
	background: linear-gradient(135deg, #667eea 0, #764ba2 100%);
	position: relative;
	overflow: hidden;
	min-height: 700px;
	margin-bottom: 20px
}

.gallery-header {
	text-align: center;
	margin-bottom: 60px;
	color: #fff
}

.gallery-header h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 15px;
	text-shadow: 0 4px 8px rgba(0, 0, 0, .3)
}

.gallery-header p {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	opacity: .9;
	font-weight: 300
}

.video-swiper {
	width: 100%;
	height: 500px;
	position: relative;
	padding: 50px 0;
	overflow: visible
}

.video-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255, 255, 255, .1) 0, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .1) 100%);
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none
}

.swiper-slide-active {
	transform: scale(1.1) !important;
	z-index: 10;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .3)
}

.video-thumbnail {
	position: relative;
	height: 280px;
	overflow: hidden;
	background: #000
}

.video-thumbnail img {
	object-fit: cover;
	z-index: 1;
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	transition: transform .5s
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background: rgba(225, 6, 0, .9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .3s;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
	color: #fff;
	font-size: 24px;
	border: none
}

.activity-details,
.image-overlay {
	transform: translateY(20px);
	opacity: 0
}

.play-button:hover {
	background: #e10600;
	transform: translate(-50%, -50%) scale(1.1)
}

.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
	width: 60px;
	height: 60px;
	background: rgba(225, 6, 0, .9) !important;
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	color: #fff !important;
	transition: .3s;
	box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
	z-index: 1000 !important;
	margin-top: 0 !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important
}

.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
	background: #e10600;
	transform: scale(1.15);
	box-shadow: 0 12px 35px rgba(225, 6, 0, .4)
}

.video-swiper .swiper-button-prev {
	left: 20px
}

.video-swiper .swiper-button-next {
	right: 20px
}

.video-swiper .swiper-button-disabled {
	opacity: .4;
	cursor: not-allowed
}

.video-swiper .swiper-button-disabled:hover {
	background: rgba(225, 6, 0, .9);
	transform: none
}

.photo-swiper .swiper-pagination,
.video-swiper .swiper-pagination {
	bottom: 10px;
	position: relative;
	margin-top: 30px
}

.photo-swiper .swiper-pagination-bullet,
.video-swiper .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, .3);
	border-radius: 50%;
	transition: .3s
}

.photo-swiper .swiper-pagination-bullet-active,
.video-swiper .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.2)
}

.video-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .9);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(5px)
}

.video-player {
	position: relative;
	max-width: calc(95vw - 140px);
	max-height: 90vh;
	background: transparent;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
	animation: .3s ease-out modalZoom;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 70px;
}

@keyframes modalZoom {
	from {
		transform: scale(.7);
		opacity: 0
	}

	to {
		transform: scale(1);
		opacity: 1
	}
}

.video-player video {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	background: #000;
	border-radius: 15px;
}

.close-button {
	position: absolute;
	top: -50px;
	right: 0;
	width: 40px;
	height: 40px;
	background: rgba(225, 6, 0, .9);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: .3s
}

.image-container,
.value-card {
	position: relative;
	overflow: hidden
}

.activity-lightbox .lightbox-close:hover,
.close-button:hover {
	background: #e10600;
	transform: scale(1.1)
}

.video-swiper .swiper-slide {
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: stretch !important
}

@media (max-width:768px) {

	.category-filters,
	.filter-buttons {
		justify-content: center
	}

	.cta-buttons,
	.social-post {
		flex-direction: column
	}

	.category-btn,
	.filter-btn {
		padding: 8px 15px;
		font-size: .9rem
	}

	.social-post img {
		width: 100%;
		height: 150px;
		margin-right: 0;
		margin-bottom: 10px
	}

	.auth-form-container,
	.contact-form {
		padding: 20px
	}

	.cta-buttons {
		align-items: center
	}

	.opening-day {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px
	}

	.hours {
		text-align: left
	}

	.partners-grid,
	.purpose-grid,
	.rights-grid {
		grid-template-columns: 1fr
	}

	.partnership-cta {
		flex-direction: column;
		align-items: center
	}

	.privacy-document {
		padding: 2rem
	}

	.auth-container {
		margin: 20px;
		max-width: none
	}

	.auth-header {
		padding: 30px 20px 15px
	}

	.video-carousel-3d {
		padding: 60px 0 100px;
		min-height: 600px
	}

	.video-swiper {
		height: 400px;
		padding: 30px 0
	}

	.video-slide {
		width: 320px !important;
		height: 400px
	}

	.video-thumbnail {
		height: 240px
	}

	.play-button {
		width: 60px;
		height: 60px;
		font-size: 20px
	}

	.video-swiper .swiper-button-next,
	.video-swiper .swiper-button-prev {
		width: 50px;
		height: 50px
	}

	.video-swiper .swiper-button-next::before,
	.video-swiper .swiper-button-prev::before {
		font-size: 18px
	}

	.video-swiper .swiper-button-prev {
		left: 10px
	}

	.video-swiper .swiper-button-next {
		right: 10px
	}

	.video-player {
		width: 95%;
		margin: 0 10px
	}
}

@media (max-width:480px) {

	.video-slide,
	.video-swiper {
		height: 350px
	}

	.video-carousel-3d {
		padding: 40px 0 80px;
		min-height: 500px
	}

	.gallery-header {
		margin-bottom: 40px
	}

	.video-slide {
		width: 280px !important
	}

	.video-thumbnail {
		height: 180px
	}

	.video-swiper .swiper-button-next,
	.video-swiper .swiper-button-prev {
		width: 45px;
		height: 45px
	}

	.video-swiper .swiper-button-next::before,
	.video-swiper .swiper-button-prev::before {
		font-size: 18px
	}

	.video-swiper .swiper-button-prev {
		left: 5px
	}

	.video-swiper .swiper-button-next {
		right: 5px
	}
}

.activity-details h3::after,
.value-card::before {
	content: '';
	height: 3px;
	background: linear-gradient(90deg, #e10600, gold)
}

@media (min-width:1200px) {
	.video-slide {
		width: 380px !important
	}
}

@media (min-width:1400px) {
	.video-slide {
		width: 360px !important
	}
}

.value-card {
	background: #fff;
	border-radius: 20px;
	padding: 30px 25px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
	border: 1px solid rgba(225, 6, 0, .05);
	transition: .4s cubic-bezier(.175, .885, .32, 1.275);
	height: 100%;
	text-align: center
}

.value-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: scaleX(0);
	transition: transform .3s
}

.hover-lift {
	transition: .3s cubic-bezier(.4, 0, .2, 1)
}

.hover-lift:hover {
	transform: translateY(-12px) scale(1.03);
	box-shadow: 0 25px 50px rgba(225, 6, 0, .15)
}

.value-card .card-icon {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center
}

.pulse-icon {
	animation: 2s infinite pulse
}

@keyframes pulse {

	0%,
	100% {
		opacity: .7;
		transform: scale(1)
	}

	50% {
		opacity: 1;
		transform: scale(1.05)
	}
}

.value-card h3 {
	margin-bottom: 15px;
	color: #333;
	font-size: 1.2rem;
	font-weight: 600
}

.value-card p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 0
}

.team-member {
	text-align: center;
	margin-bottom: 40px;
	transition: .3s;
	padding: 20px;
	border-radius: 15px
}

.team-member:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .15)
}

.team-photo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 20px;
	border: 4px solid var(--primary-color);
	transition: .3s
}

.team-member:hover .team-photo {
	transform: scale(1.05);
	box-shadow: 0 10px 25px rgba(225, 6, 0, .3)
}

.image-container {
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
	transition: .3s
}

.image-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .15)
}

.image-container img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .5s
}

.image-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	padding: 30px 20px 20px;
	transition: .4s
}

.image-caption {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	margin: 0;
	text-shadow: 0 2px 4px rgba(0, 0, 0, .5)
}

.mission-image,
.story-image {
	border-radius: 15px;
	max-width: 100%;
	height: auto
}

.activity-details {
	display: none;
	margin-top: 40px;
	transition: .5s cubic-bezier(.175, .885, .32, 1.275);
	background: linear-gradient(135deg, #fff 0, #f8f9fa 100%);
	border-radius: 25px;
	padding: 60px;
	box-shadow: 0 20px 60px rgba(225, 6, 0, .08), 0 10px 30px rgba(0, 0, 0, .05), inset 0 1px 0 rgba(255, 255, 255, .9);
	border: 1px solid rgba(225, 6, 0, .1);
	position: relative;
	overflow: hidden;
	margin-bottom: 30px
}

.activity-details.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
	animation: .6s ease-out slideUpFadeIn
}

@keyframes slideUpFadeIn {
	0% {
		opacity: 0;
		transform: translateY(30px) scale(.95)
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1)
	}
}

.activity-details::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #e10600, #ff4757, gold);
	border-radius: 25px 25px 0 0
}

.activity-details::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(225, 6, 0, .03) 0, transparent 70%);
	pointer-events: none
}

.activity-details h3 {
	color: #e10600;
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 30px;
	text-align: center;
	position: relative;
	padding-bottom: 15px
}

.activity-details h3::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	border-radius: 2px
}

.activity-content {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 30px;
	align-items: start
}

.activity-images {
	display: flex;
	flex-direction: column;
	gap: 15px;
	min-width: 280px
}

.activity-details img {
	width: 100%;
	max-width: 280px;
	height: 200px;
	object-fit: cover;
	border-radius: 15px;
	cursor: pointer;
	transition: .4s cubic-bezier(.175, .885, .32, 1.275);
	box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
	border: 3px solid transparent;
	cursor: zoom-in;
	position: relative
}

.activity-details img:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 15px 35px rgba(225, 6, 0, .2);
	border-color: rgba(225, 6, 0, .3)
}

.activity-text {
	padding: 10px 0
}

.activity-details p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #444;
	margin-bottom: 25px;
	text-align: justify
}

.activity-details ul {
	list-style: none;
	padding: 0;
	margin: 20px 0
}

.activity-details li {
	background: rgba(225, 6, 0, .05);
	margin: 10px 0;
	padding: 15px 20px;
	border-radius: 12px;
	border-left: 4px solid #e10600;
	font-size: 1rem;
	color: #555;
	transition: .3s;
	position: relative
}

.activity-details li::before {
	content: '➤';
	position: absolute;
	left: -8px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: #e10600;
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center
}

.activity-details li:hover {
	background: rgba(225, 6, 0, .08);
	transform: translateX(8px);
	box-shadow: 0 5px 15px rgba(225, 6, 0, .1)
}

.card.card-active,
.enhanced-card.card-active {
	transform: translateY(-15px) scale(1.08);
	box-shadow: 0 25px 50px rgba(225, 6, 0, .15), 0 15px 35px rgba(0, 0, 0, .1);
	z-index: 10;
	border-color: rgba(225, 6, 0, .3)
}

.enhanced-card.card-active::before {
	transform: scaleX(1);
	height: 6px
}

@media (max-width:768px) {
	.activity-details {
		padding: 40px 30px;
		margin-top: 30px
	}

	.activity-details h3 {
		font-size: 1.8rem;
		margin-bottom: 20px
	}

	.activity-content {
		grid-template-columns: 1fr;
		gap: 20px
	}

	.activity-images {
		min-width: auto;
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 10px
	}

	.activity-details img {
		min-width: 200px;
		height: 150px
	}

	.activity-details li {
		padding: 12px 15px;
		font-size: .95rem
	}
}

@media (max-width:480px) {
	.activity-details {
		padding: 20px 15px;
		border-radius: 15px
	}

	.activity-details h3 {
		font-size: 1.6rem
	}

	.activity-images {
		flex-direction: column
	}

	.activity-details img {
		min-width: auto;
		max-width: 100%
	}

	.activity-details p {
		font-size: 1rem;
		text-align: left
	}
}

.activity-lightbox {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .9);
	opacity: 0;
	transition: opacity .3s
}

.activity-lightbox.active {
	display: flex;
	opacity: 1;
	align-items: center;
	justify-content: center
}

.activity-lightbox .lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	align-items: center
}

.activity-lightbox .lightbox-image {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
	animation: .3s ease-out lightboxZoom
}

@keyframes lightboxZoom {
	from {
		transform: scale(.8);
		opacity: 0
	}

	to {
		transform: scale(1);
		opacity: 1
	}
}

.activity-lightbox .lightbox-close {
	position: absolute;
	top: -50px;
	right: -10px;
	background: rgba(225, 6, 0, .9);
	color: #fff;
	border: none;
	font-size: 2rem;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .3s;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3)
}

.activity-lightbox .lightbox-caption {
	color: #fff;
	text-align: center;
	padding: 15px;
	font-size: 1rem;
	max-width: 600px
}

.activity-details img::after {
	content: '🔍';
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(225, 6, 0, .9);
	color: #fff;
	padding: 5px 8px;
	border-radius: 50px;
	font-size: .8rem;
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none
}

@media (max-width:768px) {
	.activity-lightbox .lightbox-close {
		top: -40px;
		right: 0;
		width: 35px;
		height: 35px;
		font-size: 1.5rem
	}

	.activity-lightbox .lightbox-image {
		max-height: 80vh
	}

	.activity-lightbox .lightbox-caption {
		font-size: .9rem;
		padding: 10px
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

@keyframes galleriaSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

@keyframes galleriaFadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes galleriaFloat {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(-10px)
	}
}

@keyframes galleriaPulse {

	0%,
	100% {
		transform: scale(1)
	}

	50% {
		transform: scale(1.05)
	}
}

@keyframes particleFloat {
	0% {
		transform: translateY(100vh) translateX(0) rotate(0);
		opacity: 0
	}

	10%,
	90% {
		opacity: 1
	}

	100% {
		transform: translateY(-100px) translateX(100px) rotate(360deg);
		opacity: 0
	}
}

.galleria-animate-slide-up {
	opacity: 0;
	animation: .8s ease-out forwards galleriaSlideUp
}

.galleria-animate-fade-in {
	opacity: 0;
	animation: .6s ease-out forwards galleriaFadeIn
}

.galleria-animate-on-scroll {
	opacity: 0;
	transform: translateY(50px);
	transition: .8s cubic-bezier(.25, .46, .45, .94)
}

.galleria-enhanced-header {
	position: relative;
	background: linear-gradient(135deg, #e10600 0, #d2001e 50%, #b8001b 100%);
	overflow: hidden;
	min-height: 60vh;
	display: flex;
	align-items: center
}

.galleria-header-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, .1) 0, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .05) 0, transparent 50%), radial-gradient(circle at 40% 80%, rgba(255, 215, 0, .08) 0, transparent 50%)
}

.galleria-header-particles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none
}

.galleria-particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(255, 215, 0, .6);
	border-radius: 50%;
	animation: 15s linear infinite particleFloat
}

.galleria-particle:first-child {
	left: 10%;
	animation-delay: 0s
}

.galleria-particle:nth-child(2) {
	left: 20%;
	animation-delay: -2s
}

.galleria-particle:nth-child(3) {
	left: 30%;
	animation-delay: -4s
}

.galleria-particle:nth-child(4) {
	left: 40%;
	animation-delay: -6s
}

.galleria-particle:nth-child(5) {
	left: 50%;
	animation-delay: -8s
}

.galleria-particle:nth-child(6) {
	left: 60%;
	animation-delay: -10s
}

.galleria-particle:nth-child(7) {
	left: 70%;
	animation-delay: -12s
}

.galleria-particle:nth-child(8) {
	left: 80%;
	animation-delay: -14s
}

.galleria-particle:nth-child(9) {
	left: 90%;
	animation-delay: -16s
}

/* ===== TOUCH-FRIENDLY IMPROVEMENTS =====
   Migliora l'usabilità touch su dispositivi mobili
   Applica le linee guida WCAG 2.1 per accessibility
   ========================================== */

/* Touch Target Size Improvements */
/* Ensure minimum 44x44px touch targets (WCAG 2.1 Level AA) */
@media (hover: none) and (pointer: coarse) {

	/* Primary buttons and links */
	.btn,
	.touch-target,
	.nav-link,
	.social-link,
	.card .btn {
		min-width: 48px !important;
		min-height: 48px !important;
		padding: 12px 20px !important;
		margin: 4px !important;
		border-radius: 8px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-decoration: none !important;
		transition: all 0.3s ease !important;
	}

	/* Navigation toggle button */
	.nav-toggle {
		min-width: 48px !important;
		min-height: 48px !important;
		padding: 12px !important;
		margin: 8px !important;
	}

	/* Form inputs */
	input[type="text"],
	input[type="email"],
	input[type="password"],
	input[type="tel"],
	textarea,
	select {
		min-height: 48px !important;
		padding: 12px 16px !important;
		font-size: 16px !important;
		/* Prevents iOS zoom */
		line-height: 1.5 !important;
		border-radius: 8px !important;
	}

	/* Lightbox controls */
	.lightbox-close,
	.photo-lightbox-nav,
	.video-lightbox-nav {
		min-width: 56px !important;
		min-height: 56px !important;
		font-size: 1.8rem !important;
	}

	/* Gallery and carousel controls */
	.swiper-button-next,
	.swiper-button-prev {
		width: 56px !important;
		height: 56px !important;
	}

	/* Cookie banner buttons */
	.cookie-banner .btn {
		min-height: 48px !important;
		padding: 12px 24px !important;
		margin: 6px !important;
	}

	/* FAQ accordion triggers */
	.faq-question {
		min-height: 56px !important;
		padding: 16px 20px !important;
		font-size: 16px !important;
	}

	/* Card buttons and links */
	.card .btn,
	.enhanced-card .btn {
		width: 100% !important;
		min-height: 52px !important;
		margin-top: 16px !important;
	}
}

/* Enhanced Touch Feedback */
@media (hover: none) and (pointer: coarse) {

	/* Tap highlighting */
	* {
		-webkit-tap-highlight-color: rgba(225, 6, 0, 0.2) !important;
		-webkit-touch-callout: none;
	}

	/* Interactive elements active states */
	.btn:active,
	.nav-link:active,
	.touch-target:active,
	.social-link:active {
		transform: scale(0.98) !important;
		background-color: #c70500 !important;
		transition: all 0.1s ease !important;
	}

	/* Form input focus states */
	input:focus,
	textarea:focus,
	select:focus {
		border-color: #E10600 !important;
		box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.2) !important;
		outline: 2px solid #E10600 !important;
		outline-offset: 2px !important;
	}
}

/* Improved Spacing for Touch */
@media (max-width: 768px) {

	/* Increase spacing between interactive elements */
	.btn+.btn,
	.nav-link+.nav-link,
	.social-link+.social-link {
		margin-left: 12px !important;
	}

	/* Vertical spacing */
	.form-group {
		margin-bottom: 24px !important;
	}

	/* Navigation menu spacing */
	.nav-menu.active {
		padding: 20px !important;
	}

	.nav-menu.active .nav-link {
		padding: 16px 20px !important;
		margin: 4px 0 !important;
		border-radius: 8px !important;
		width: 100% !important;
	}

	/* Card grid spacing */
	.card-grid,
	.enhanced-card-grid {
		gap: 20px !important;
	}

	/* Gallery thumbnail spacing */
	.gallery-item {
		margin: 8px !important;
	}

	/* FAQ item spacing */
	.faq-item {
		margin-bottom: 16px !important;
	}

	/* Footer link spacing */
	.footer-section ul li {
		margin-bottom: 12px !important;
	}

	.footer-section ul li a {
		padding: 8px 12px !important;
		display: inline-block !important;
		border-radius: 6px !important;
	}
}

/* Accessibility Improvements */
@media (max-width: 768px) {

	/* Skip link for keyboard navigation */
	.skip-link {
		position: absolute !important;
		top: -40px !important;
		left: 6px !important;
		background: #E10600 !important;
		color: white !important;
		padding: 8px 16px !important;
		text-decoration: none !important;
		border-radius: 4px !important;
		font-weight: bold !important;
		z-index: 10000 !important;
		transition: top 0.3s ease !important;
	}

	.skip-link:focus {
		top: 6px !important;
	}

	/* Focus indicators */
	.btn:focus,
	.nav-link:focus,
	.social-link:focus {
		outline: 3px solid #E10600 !important;
		outline-offset: 2px !important;
		box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.3) !important;
	}

	/* High contrast mode improvements */
	@media (prefers-contrast: high) {

		.btn,
		.nav-link {
			border: 2px solid currentColor !important;
		}
	}

	/* Reduced motion preferences */
	@media (prefers-reduced-motion: reduce) {

		*,
		*::before,
		*::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
		}
	}
}

/* Gesture and Swipe Improvements */
@media (hover: none) and (pointer: coarse) {

	/* Prevent text selection on interactive elements */
	.btn,
	.nav-toggle,
	.lightbox-nav,
	.swiper-button-next,
	.swiper-button-prev {
		-webkit-user-select: none !important;
		-moz-user-select: none !important;
		-ms-user-select: none !important;
		user-select: none !important;
	}

	/* Smooth scrolling for touch */
	html {
		scroll-behavior: smooth !important;
		-webkit-overflow-scrolling: touch !important;
	}

	/* Better scrollable areas */
	.nav-menu,
	.gallery-container,
	.events-list {
		-webkit-overflow-scrolling: touch !important;
		overscroll-behavior: contain !important;
	}

	/* Improved carousel/slider controls */
	.swiper-container {
		touch-action: pan-y pinch-zoom !important;
	}

	/* Prevent unwanted zoom on inputs */
	input[type="text"],
	input[type="email"],
	input[type="password"],
	textarea {
		font-size: 16px !important;
		/* iOS won't zoom if font-size >= 16px */
	}
}

/* Enhanced Loading States for Touch */
@media (hover: none) and (pointer: coarse) {

	/* Loading button states */
	.btn[disabled],
	.btn.loading {
		opacity: 0.7 !important;
		cursor: not-allowed !important;
		transform: none !important;
	}

	.btn.loading::after {
		content: "" !important;
		display: inline-block !important;
		width: 16px !important;
		height: 16px !important;
		border: 2px solid currentColor !important;
		border-radius: 50% !important;
		border-top-color: transparent !important;
		animation: spin 1s linear infinite !important;
		margin-left: 8px !important;
	}

	@keyframes spin {
		to {
			transform: rotate(360deg);
		}
	}
}

/* Improved Modal and Overlay Interactions */
@media (hover: none) and (pointer: coarse) {

	/* Modal close button */
	.modal .close,
	.lightbox-close,
	.popup-close {
		position: absolute !important;
		top: 16px !important;
		right: 16px !important;
		width: 48px !important;
		height: 48px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: rgba(0, 0, 0, 0.8) !important;
		color: white !important;
		border: none !important;
		border-radius: 50% !important;
		font-size: 24px !important;
		cursor: pointer !important;
		z-index: 10001 !important;
	}

	/* Overlay tap-to-close area */
	.modal-overlay,
	.lightbox-overlay {
		cursor: pointer !important;
	}

	/* Prevent accidental closes on modal content */
	.modal-content,
	.lightbox-content {
		cursor: default !important;
	}
}

/* Print Styles (Accessibility) */
@media print {

	/* Hide interactive elements in print */
	.nav-toggle,
	.btn,
	.cookie-banner,
	.modal,
	.lightbox {
		display: none !important;
	}

	/* Ensure readable text */
	body {
		font-size: 12pt !important;
		line-height: 1.5 !important;
		color: black !important;
		background: white !important;
	}

	/* Show URLs for links */
	a[href]:after {
		content: " (" attr(href) ")" !important;
		font-size: 10pt !important;
		color: #666 !important;
	}
}

/* Performance Optimizations for Touch Devices */
@media (hover: none) and (pointer: coarse) {

	/* Hardware acceleration for animations */
	.btn,
	.card,
	.nav-link,
	.gallery-item {
		transform: translateZ(0) !important;
		will-change: transform !important;
	}

	/* Optimize repaints */
	.swiper-container,
	.lightbox,
	.modal {
		contain: layout style paint !important;
	}
}

/* Dark Mode Support (if system prefers) */
@media (prefers-color-scheme: dark) and (hover: none) and (pointer: coarse) {

	/* Adjust touch targets for dark mode */
	.btn {
		background: #E10600 !important;
		color: white !important;
		border: 1px solid #ff4757 !important;
	}

	.btn:active {
		background: #c70500 !important;
	}

	/* Form inputs in dark mode */
	input,
	textarea {
		background: #2c2c2c !important;
		color: white !important;
		border: 1px solid #555 !important;
	}

	input:focus,
	textarea:focus {
		border-color: #E10600 !important;
		background: #333 !important;
	}
}

/* Chi Siamo Hero Background */
.chi-siamo-hero {
	background: linear-gradient(135deg, rgba(230, 6, 0, 0.9), rgba(255, 215, 0, 0.8)), url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/tamburini.jpg');
	background-size: cover;
	background-position: center;

	position: relative;
	overflow: hidden;


}

.chi-siamo-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.chi-siamo-hero .container {
	position: relative;
	z-index: 2;
}

.chi-siamo-hero .hero-content {
	text-align: center;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.chi-siamo-hero .hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.chi-siamo-hero .lead {
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 0;
	opacity: 0.95;
}

/* Responsive per mobile */
@media (max-width: 768px) {
	.chi-siamo-hero {
		min-height: 60vh;
		background-attachment: scroll;
	}

	.chi-siamo-hero .hero-title {
		font-size: 2.5rem;
	}

	.chi-siamo-hero .lead {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.chi-siamo-hero {
		min-height: 50vh;
	}

	.chi-siamo-hero .hero-title {
		font-size: 2rem;
	}

	.chi-siamo-hero .lead {
		font-size: 1rem;
	}
}

/* Fix per sovrapposizione eventi.html */
.eventi-main {
	padding-top: 80px !important;
	margin-top: 30px !important;
	position: relative;
	z-index: 10;
	background: white;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}


.section-header {
	position: relative;
	z-index: 3;
	margin-top: 0 !important;
}

.eventi-main .section-header {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.eventi-main .section-title,
.eventi-main .main-title {
	color: #333 !important;
}

.eventi-main .section-subtitle {
	color: #666 !important;
}

.eventi-main .section-badge {
	color: #fff !important;
}

.eventi-main .animate-slide-right,
.eventi-main .animate-slide-left {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* === Privacy Page Styles === */
/* Privacy UX Enhancements */
.page-header {
  background: linear-gradient(135deg, rgba(230, 6, 0, 0.9), rgba(255, 215, 0, 0.8)), url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/privacy-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.privacy-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
  border: 2px solid rgba(225, 6, 0, 0.1);
  margin: 40px 0;
}

.privacy-section {
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  border-left: 4px solid #E10600;
}

.privacy-section h2 {
  color: #E10600;
  margin-bottom: 20px;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .page-header h1 {
	font-size: 2.5rem;
  }
  
  .privacy-content {
	padding: 25px;
  }
}
/* Partner UX Enhancements */
.page-header {
  background: linear-gradient(135deg, rgba(230, 6, 0, 0.9), rgba(255, 215, 0, 0.8)), url('https://ciezrbsolxpjxswdkkpo.supabase.co/storage/v1/object/public/gallery/html/partner-hero.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  font-size: 3.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.partner-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 2px solid rgba(225, 6, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #E10600, #FFD700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(225, 6, 0, 0.15);
  border-color: rgba(225, 6, 0, 0.3);
}

.partner-logo {
  max-height: 100px;
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.1);
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .partner-card {
    margin-bottom: 30px;
  }
}