/* ════════════════════════════════════════════════════════════════════════
   Venue Card for Elementor — v1.0.0
   ════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────────────────── */

.vcfe-card {
	--vcfe-duration : 350ms;
	--vcfe-easing   : ease;
}

/* ── Base Card ─────────────────────────────────────────────────────────── */

.vcfe-card {
	display        : flex;
	flex-direction : column;
	border-radius  : 16px;
	overflow       : hidden;
	position       : relative;
	will-change    : transform;
}

/* ── Card Body ─────────────────────────────────────────────────────────── */

.vcfe-card-body {
	position            : relative;
	min-height          : 280px;
	padding             : 22px;
	display             : flex;
	flex-direction      : column;
	justify-content     : space-between;
	background-size     : cover;
	background-position : center center;
	background-repeat   : no-repeat;
	background-color    : #f5f0e8;
}

/* Overlay layer (colour tint over background image) */
.vcfe-card-body::before {
	content        : '';
	position       : absolute;
	inset          : 0;
	pointer-events : none;
	z-index        : 0;
}

/* Keep all children above the overlay */
.vcfe-card-body > * {
	position : relative;
	z-index  : 1;
}

/* ── Top Bar ───────────────────────────────────────────────────────────── */

.vcfe-topbar {
	display         : flex;
	justify-content : space-between;
	align-items     : flex-start;
	gap             : 12px;
}

.vcfe-brand { flex : 1; min-width : 0; }

.vcfe-brand-text {
	font-family : Georgia, 'Times New Roman', serif;
	font-size   : 18px;
	font-weight : 400;
	color       : #1a1a1a;
	line-height : 1.2;
	white-space : nowrap;
}

.vcfe-brand-logo img {
	width      : 110px;
	height     : auto;
	display    : block;
	object-fit : contain;
}

.vcfe-topright {
	font-size      : 11px;
	letter-spacing : 0.1em;
	text-transform : uppercase;
	color          : #1a1a1a;
	white-space    : nowrap;
	flex-shrink    : 0;
	line-height    : 1.6;
	padding-top    : 2px;
}

/* ── Body Content ──────────────────────────────────────────────────────── */

.vcfe-body-content {
	margin-top : auto;
	padding-top: 28px;
}

.vcfe-label {
	font-size      : 11px;
	letter-spacing : 0.12em;
	text-transform : uppercase;
	color          : #1a1a1a;
	margin         : 0 0 10px;
	line-height    : 1.4;
}

.vcfe-headline {
	display        : flex;
	flex-direction : column;
	line-height    : 1;
}

.vcfe-headline-l1 {
	font-family : Georgia, 'Times New Roman', serif;
	font-size   : 42px;
	font-weight : 400;
	font-style  : normal;
	color       : #1a1a1a;
	display     : block;
	line-height : 1.05;
}

.vcfe-headline-l2 {
	font-family : Georgia, 'Times New Roman', serif;
	font-size   : 42px;
	font-weight : 400;
	font-style  : italic;
	color       : #1a1a1a;
	display     : block;
	line-height : 1.05;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.vcfe-card-footer {
	display          : flex;
	align-items      : center;
	justify-content  : space-between;
	padding          : 16px 20px;
	background-color : #ffffff;
	gap              : 12px;
}

.vcfe-footer-info {
	display        : flex;
	flex-direction : column;
	gap            : 2px;
	flex           : 1;
	min-width      : 0;
}

.vcfe-footer-name {
	font-size      : 14px;
	font-weight    : 700;
	color          : #1a1a1a;
	display        : block;
	line-height    : 1.3;
	white-space    : nowrap;
	overflow       : hidden;
	text-overflow  : ellipsis;
}

.vcfe-footer-subtitle {
	font-size     : 12px;
	color         : #777777;
	display       : block;
	line-height   : 1.4;
	white-space   : nowrap;
	overflow      : hidden;
	text-overflow : ellipsis;
}

/* ── Icon Button ───────────────────────────────────────────────────────── */

.vcfe-icon-btn {
	width            : 44px;
	height           : 44px;
	background-color : #1a1a1a;
	border-radius    : 50%;
	display          : flex;
	align-items      : center;
	justify-content  : center;
	flex-shrink      : 0;
	text-decoration  : none;
	transition       : background-color 220ms ease, transform 220ms ease;
	cursor           : pointer;
	border           : none;
	outline          : none;
}

.vcfe-icon-btn:focus-visible {
	outline        : 2px solid #1a1a1a;
	outline-offset : 3px;
}

.vcfe-icon-btn i {
	font-size   : 17px;
	color       : #ffffff;
	line-height : 1;
}

.vcfe-icon-btn svg {
	width  : 17px;
	height : 17px;
	fill   : #ffffff;
	color  : #ffffff;
}

.vcfe-icon-btn:hover {
	background-color : #444444;
	transform        : scale(1.1);
}

/* ══════════════════════════════════════════════════════════════════════════
   HOVER ANIMATION VARIANTS
   ══════════════════════════════════════════════════════════════════════════ */

/* None */
.vcfe-anim-none {
	transition : none;
}

/* Lift ------------------------------------------------------------------ */
.vcfe-anim-lift {
	transition : transform var(--vcfe-duration) var(--vcfe-easing),
	             box-shadow var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-lift:hover {
	transform  : translateY(-8px);
	box-shadow : 0 24px 48px rgba(0, 0, 0, .18);
}

/* Zoom In --------------------------------------------------------------- */
.vcfe-anim-zoom-in {
	transition : transform var(--vcfe-duration) var(--vcfe-easing),
	             box-shadow var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-zoom-in:hover {
	transform  : scale(1.04);
	box-shadow : 0 16px 40px rgba(0, 0, 0, .16);
}

/* Zoom Out -------------------------------------------------------------- */
.vcfe-anim-zoom-out {
	transition : transform var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-zoom-out:hover {
	transform : scale(0.96);
}

/* Glow ------------------------------------------------------------------ */
.vcfe-anim-glow {
	transition : box-shadow var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-glow:hover {
	box-shadow : 0 0 0 3px rgba(80, 80, 80, .25),
	             0 14px 40px rgba(0, 0, 0, .22);
}

/* Tilt (JS-driven) ------------------------------------------------------ */
.vcfe-anim-tilt {
	transform-style : preserve-3d;
}

/* Float (continuous loop) ----------------------------------------------- */
@keyframes vcfe-float {
	0%   { transform : translateY(0); }
	50%  { transform : translateY(-10px); }
	100% { transform : translateY(0); }
}
.vcfe-anim-float {
	animation : vcfe-float 3s ease-in-out infinite;
}
.vcfe-anim-float:hover {
	animation-play-state : paused;
}

/* Pulse (continuous loop) ----------------------------------------------- */
@keyframes vcfe-pulse {
	0%, 100% { transform : scale(1); }
	50%      { transform : scale(1.025); }
}
.vcfe-anim-pulse {
	animation : vcfe-pulse 2.5s ease-in-out infinite;
}
.vcfe-anim-pulse:hover {
	animation-play-state : paused;
}

/* Slide Up -------------------------------------------------------------- */
.vcfe-anim-slide-up {
	transition : box-shadow var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-slide-up .vcfe-card-body {
	transition : transform var(--vcfe-duration) var(--vcfe-easing);
}
.vcfe-anim-slide-up:hover .vcfe-card-body {
	transform : translateY(-6px);
}
.vcfe-anim-slide-up:hover {
	box-shadow : 0 20px 44px rgba(0, 0, 0, .16);
}

/* ── Elementor Editor: keep card visible ─────────────────────────────── */
.elementor-editor-active .vcfe-anim-float,
.elementor-editor-active .vcfe-anim-pulse {
	animation : none;
}
