/* ============================================
   VARIKA ENHANCEMENTS - Header, Events, Partners, Marketplace
   ============================================ */

/* ==========================================
   HEADER LOGO ENHANCEMENT
   ========================================== */

.brand-mark-logo-only {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.brand-logo-large {
	width: 240px !important;
	height: auto;
	min-width: 240px;
}

.brand-logo-large .brand-logo-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ==========================================
   EVENTS & TICKETS SECTION
   ========================================== */

.event-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
}

.event-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.event-visual {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f0f0f0;
	border-radius: 8px 8px 0 0;
	border-bottom: 3px solid #e0e0e0;
}

.event-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.event-img-placeholder i {
	font-size: 3rem;
	color: rgba(255, 255, 255, 0.3);
	z-index: 1;
}

.event-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #333;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	backdrop-filter: blur(4px);
	z-index: 2;
}

.event-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.event-body h3 {
	margin: 0 0 1rem 0;
	color: #2c3e50;
	font-size: 1.1rem;
	font-weight: 600;
}

.event-meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0.75rem 0;
	font-size: 0.9rem;
	color: #666;
}

.event-meta span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.event-meta i {
	width: 16px;
	color: #667eea;
}

.event-body p {
	color: #777;
	font-size: 0.9rem;
	margin: 0.75rem 0 1rem 0;
	flex: 1;
}

.btn-block {
	width: 100%;
	margin-top: auto;
}

/* ==========================================
   PARTNERS SECTION - HORIZONTAL SCROLL
   ========================================== */

.partners-section {
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.partners-carousel {
	position: relative;
	overflow: hidden;
	padding: 1rem 0;
}

.partners-scroll {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	padding: 1rem 0;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: #d0d0d0 transparent;
}

.partners-scroll::-webkit-scrollbar {
	height: 8px;
}

.partners-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.partners-scroll::-webkit-scrollbar-thumb {
	background: #d0d0d0;
	border-radius: 4px;
}

.partners-scroll::-webkit-scrollbar-thumb:hover {
	background: #b0b0b0;
}

.partner-item {
	min-width: 140px;
	flex-shrink: 0;
	text-align: center;
	padding: 1.5rem 1rem;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	cursor: pointer;
}

.partner-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.partner-logo-box {
	margin-bottom: 1rem;
	display: flex;
	justify-content: center;
}

.partner-logo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.8rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo {
	transform: scale(1.1) rotate(5deg);
}

.partner-item p {
	font-weight: 600;
	color: #2c3e50;
	margin: 0.5rem 0 0.25rem 0;
	font-size: 0.95rem;
}

.partner-label {
	display: block;
	font-size: 0.75rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Gradient background for scroll indication */
.partners-carousel::before,
.partners-carousel::after {
	content: '';
	position: absolute;
	top: 0;
	width: 40px;
	height: 100%;
	pointer-events: none;
	z-index: 10;
}

.partners-carousel::before {
	left: 0;
	background: linear-gradient(90deg, #f5f7fa 0%, transparent 100%);
}

.partners-carousel::after {
	right: 0;
	background: linear-gradient(270deg, #f5f7fa 0%, transparent 100%);
}

/* ==========================================
   MARKETPLACE CAROUSEL - ENHANCED
   ========================================== */

.marketplace-ad-carousel {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	margin-bottom: 2rem;
}

.marketplace-ad-carousel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.marketplace-ad-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.6s ease;
	visibility: hidden;
}

.marketplace-ad-slide.is-active {
	opacity: 1;
	visibility: visible;
	position: relative;
	transition: opacity 0.6s ease;
}

.marketplace-ad-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 3rem;
	min-height: 300px;
	position: relative;
	z-index: 2;
}

.marketplace-ad-left {
	flex: 1;
	animation: slideInLeft 0.6s ease forwards;
}

.marketplace-ad-right {
	flex: 0 1 40%;
	animation: slideInRight 0.6s ease forwards 0.1s;
	animation-fill-mode: both;
}

.marketplace-ad-left .ad-pill {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
	animation: fadeIn 0.6s ease 0.2s both;
}

.marketplace-ad-left h2 {
	font-size: 2.2rem;
	color: #2c3e50;
	margin: 0.5rem 0 1rem 0;
	font-weight: 700;
	animation: fadeIn 0.6s ease 0.3s both;
}

.marketplace-ad-left p {
	font-size: 1rem;
	color: #666;
	margin: 0 0 1.5rem 0;
	line-height: 1.5;
	animation: fadeIn 0.6s ease 0.4s both;
}

.marketplace-ad-left .btn {
	animation: fadeIn 0.6s ease 0.5s both;
}

/* Navigation buttons */
.marketplace-ad-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: 2px solid #ddd;
	background: white;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: #667eea;
	transition: all 0.3s ease;
	z-index: 3;
}

.marketplace-ad-nav:hover {
	background: #667eea;
	color: white;
	border-color: #667eea;
	transform: translateY(-50%) scale(1.1);
}

.marketplace-ad-nav.prev {
	left: 1.5rem;
}

.marketplace-ad-nav.next {
	right: 1.5rem;
}

/* Dots navigation */
.marketplace-ad-dots {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 3;
}

.marketplace-ad-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	backdrop-filter: blur(4px);
}

.marketplace-ad-dot:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: scale(1.2);
}

.marketplace-ad-dot.is-active {
	background: white;
	border-color: #667eea;
	transform: scale(1.3);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
	.marketplace-ad-content {
		gap: 2rem;
		padding: 2rem;
		min-height: 280px;
	}

	.marketplace-ad-left h2 {
		font-size: 1.8rem;
	}

	.marketplace-ad-nav {
		width: 45px;
		height: 45px;
		font-size: 1rem;
	}
}

@media (max-width: 768px) {
	.brand-logo-large {
		width: 65px !important;
		height: 65px !important;
	}

	.marketplace-ad-content {
		flex-direction: column;
		gap: 1.5rem;
		padding: 1.5rem;
		min-height: auto;
		text-align: center;
	}

	.marketplace-ad-left {
		animation: slideInLeft 0.6s ease forwards !important;
	}

	.marketplace-ad-right {
		flex: 0 1 100%;
		animation: slideInRight 0.6s ease forwards 0.1s !important;
		animation-fill-mode: both !important;
	}

	.marketplace-ad-left h2 {
		font-size: 1.5rem;
	}

	.marketplace-ad-nav {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}

	.marketplace-ad-nav.prev {
		left: 0.75rem;
	}

	.marketplace-ad-nav.next {
		right: 0.75rem;
	}

	.event-card {
		margin-bottom: 1rem;
	}

	.event-body {
		padding: 1rem;
	}

	.event-meta {
		font-size: 0.85rem;
	}

	.partners-scroll {
		gap: 1rem;
	}

	.partner-item {
		min-width: 120px;
		padding: 1rem 0.75rem;
	}

	.partner-logo {
		width: 50px;
		height: 50px;
		font-size: 1.5rem;
	}

	.partner-item p {
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.brand-logo-large {
		width: 55px !important;
		height: 55px !important;
	}

	.marketplace-ad-content {
		padding: 1rem;
		gap: 1rem;
	}

	.marketplace-ad-left h2 {
		font-size: 1.2rem;
	}

	.marketplace-ad-left p {
		font-size: 0.9rem;
	}

	.marketplace-ad-nav {
		width: 36px;
		height: 36px;
		font-size: 0.8rem;
	}

	.marketplace-ad-dots {
		bottom: 1rem;
		gap: 0.4rem;
	}

	.marketplace-ad-dot {
		width: 10px;
		height: 10px;
	}

	.event-visual {
		aspect-ratio: 4 / 3;
	}

	.event-img-placeholder i {
		font-size: 2rem;
	}

	.partner-item {
		min-width: 100px;
		padding: 0.75rem 0.5rem;
	}

	.partner-logo {
		width: 45px;
		height: 45px;
		font-size: 1.2rem;
	}

	.partner-item p {
		font-size: 0.8rem;
		margin: 0.4rem 0 0.2rem 0;
	}

	.partner-label {
		font-size: 0.65rem;
	}
}

/* ==========================================
   DARK MODE SUPPORT (Optional)
   ========================================== */

@media (prefers-color-scheme: dark) {
	.partner-item {
		background: #1a1a1a;
	}

	.marketplace-ad-left h2 {
		color: #f0f0f0;
	}

	.marketplace-ad-left p {
		color: #bbb;
	}

	.event-body h3 {
		color: #f0f0f0;
	}

	.event-body p {
		color: #aaa;
	}

	.marketplace-ad-nav {
		background: #222;
		border-color: #444;
	}

	.marketplace-ad-nav:hover {
		background: #667eea;
		border-color: #667eea;
	}
}

/* ==========================================
   FOOTER LOGO ENHANCEMENT
   ========================================== */

.footer-logo-section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.footer-logo-wrap {
	width: 100px;
	height: 100px;
	background: white;
	border-radius: 12px;
	padding: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.footer-contact {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #666;
	margin: 0;
}

.footer-contact strong {
	display: block;
	color: #2c3e50;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.footer-contact i {
	width: 16px;
	margin-right: 0.5rem;
	color: #667eea;
}

/* ==========================================
   USER PROFILE SECTION
   ========================================== */

.profile-card {
	text-align: center;
	padding: 2rem 1.5rem;
}

.profile-header {
	margin-bottom: 1.5rem;
}

.profile-avatar-upload {
	position: relative;
	display: inline-block;
	margin: 0 auto;
}

.profile-avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 3.5rem;
	color: white;
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
	position: relative;
	overflow: hidden;
}

.profile-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-upload-label {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 45px;
	height: 45px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	color: #667eea;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.avatar-upload-label:hover {
	background: #667eea;
	color: white;
	transform: scale(1.1);
}

.profile-info {
	margin: 1.5rem 0;
}

.profile-info h2 {
	margin: 0 0 0.5rem 0;
	color: #2c3e50;
	font-size: 1.5rem;
}

.profile-email {
	color: #666;
	font-size: 0.95rem;
	margin: 0.25rem 0;
}

.profile-phone {
	color: #999;
	font-size: 0.9rem;
	margin: 0;
}

.profile-actions {
	margin-top: 1.5rem;
}

/* Profile Stats */
.profile-stats h3 {
	margin-top: 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.stat-item {
	padding: 1rem;
	background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
	border-radius: 8px;
	text-align: center;
}

.stat-value {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
	color: #667eea;
	margin-bottom: 0.5rem;
}

.stat-label {
	display: block;
	font-size: 0.85rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Profile Details */
.profile-details h3 {
	margin-top: 0;
	padding-bottom: 1rem;
	border-bottom: 2px solid #f0f0f0;
}

.profile-details-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.detail-row {
	display: flex;
	flex-direction: column;
}

.detail-row label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #667eea;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
}

.detail-row p {
	margin: 0;
	color: #2c3e50;
	font-size: 1rem;
}

/* Account Policy */
.account-policy {
	padding: 1.5rem;
}

.account-policy h2 {
	margin-top: 0;
	color: #2c3e50;
	font-size: 1.3rem;
}

.policy-highlight {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 1rem;
	border-radius: 8px;
	margin: 1rem 0;
	line-height: 1.8;
	font-weight: 500;
}

.policy-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.policy-list li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #f0f0f0;
	color: #555;
}

.policy-list li:last-child {
	border-bottom: none;
}

.policy-list strong {
	color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
	.profile-avatar {
		width: 100px;
		height: 100px;
		font-size: 2.5rem;
	}

	.avatar-upload-label {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.profile-info h2 {
		font-size: 1.2rem;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.profile-details-grid {
		grid-template-columns: 1fr;
	}
}

.slim-bottom {
	margin-bottom: 1.5rem;
}
