/* ============================================
   TREK EVENTS — Listing + Detail Pages
   ============================================ */

/* ── Shared ── */

.events-page,
.sev-page {
	max-width: 100%;
	overflow-x: hidden;
}

/* ============================================
   EVENTS LISTING PAGE
   ============================================ */

.events-page-hero {
	background: #fff;
	padding: 52px 40px 44px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Particle overlay styles */
.events-page-hero .particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.events-page-hero .events-page-hero-inner {
    position: relative;
    z-index: 1;
}




.events-page-title {
	font-size: clamp(26px, 5vw, 42px);
	font-weight: 800;
	color: #000;
	margin: 0 0 10px !important;
	line-height: 1.15;
}

.events-page-sub {
	font-size: 15px;
    color: #000;
	margin: 0 auto !important;
	max-width: 520px;
	line-height: 1.6;
	text-transform: none !important;
}

/* Admin create button */
.events-admin-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	background: rgba(255,255,255,0.18);
	border: 1.5px solid rgba(255,255,255,0.5);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.events-admin-btn:hover {
	background: rgba(255,255,255,0.28);
	color: #fff;
}

/* ── Events Grid ── */

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	padding: 36px 32px 80px;
	max-width: 1280px;
	margin: 0 auto;
}

/* ── Event Card ── */

.event-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(0,0,0,0.13);
}

.ec-img-wrap {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f3f3;
	text-decoration: none;
}

.ec-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.event-card:hover .ec-img {
	transform: scale(1.05);
}

.ec-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fce4ec, #fbe9e7);
}

/* Date badge */
.ec-date-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	border-radius: 8px;
	padding: 6px 10px;
	text-align: center;
	line-height: 1;
	min-width: 42px;
}

.ec-date-day {
	display: block;
	font-size: 20px;
	font-weight: 800;
}

.ec-date-month {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
	opacity: 0.9;
}

/* Card body */
.ec-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ec-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	margin: 0 0 10px !important;
	line-height: 1.35 !important;
}

.ec-title a {
	color: #1a1a2e;
	text-decoration: none;
	transition: color 0.15s;
}

.ec-title a:hover {
	color: #E91E63;
}

.ec-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ec-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666;
	background: #f7f7f7;
	padding: 4px 8px;
	border-radius: 20px;
}

.ec-meta-item svg {
	stroke: #E91E63;
	flex-shrink: 0;
}

/* Card footer */
.ec-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f2f2f2;
	flex-wrap: wrap;
}

.ec-price {
	font-size: 15px;
	font-weight: 700;
	color: #E91E63;
}

.ec-actions {
	display: flex;
	gap: 8px;
}

.ec-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	padding: 7px 13px;
	border-radius: 6px;
	text-decoration: none;
	transition: opacity 0.18s, transform 0.15s;
	white-space: nowrap;
}

.ec-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.ec-btn-call {
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
}

.ec-btn-more {
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
}

.ec-btn-book {
	background: #21313C;
	color: #fff;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

/* ── Empty state ── */

.events-empty {
	text-align: center;
	padding: 80px 20px;
	color: #aaa;
}

.events-empty p {
	font-size: 15px;
	margin: 16px 0 24px !important;
	color: #888;
}


/* ============================================
   SINGLE EVENT PAGE
   ============================================ */

/* Hero */
.sev-hero {
	position: relative;
	height: clamp(320px, 50vw, 520px);
	overflow: hidden;
	background: #1a1a2e;
}

.sev-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.7;
}

.sev-hero-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #E91E63, #F44336);
	opacity: 0.5;
}

.sev-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
	display: flex;
	align-items: flex-end;
	z-index: 1;
}

.sev-hero-inner {
	padding: 32px 40px;
	width: 100%;
	max-width: 900px;
}

.sev-back-link {
	display: inline-block;
	color: rgba(255,255,255,0.75);
	font-size: 13px;
	text-decoration: none;
	margin-bottom: 10px;
	transition: color 0.15s;
}

.sev-back-link:hover { color: #fff; }

.sev-hero-title {
	font-size: clamp(24px, 4vw, 38px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 0 14px !important;
	line-height: 1.2 !important;
}

.sev-hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.sev-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	font-size: 12.5px;
	padding: 5px 12px;
	border-radius: 20px;
	backdrop-filter: blur(4px);
}

.sev-chip svg { stroke: #fff; }

.sev-hero-call {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: 7px;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
}

button.sev-hero-call,
button.sev-cta-call { border: none; cursor: pointer; font-family: inherit; }
.sev-hero-call:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #fff;
}

/* Content layout */
.sev-content {
	background: #f8f9fb;
	padding: 32px 24px 80px;
}

.sev-content-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}

/* Info sidebar */
.sev-sidebar {
	position: sticky;
	top: 80px;
}

.sev-info-card {
	background: #fff;
	border-radius: 14px;
	padding: 22px 20px 20px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.sev-ie-card { margin-top: 14px; }

.sev-info-heading {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #111 !important;
	margin: 0 0 16px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #f0f0f0;
}

.sev-info-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f7f7f7;
	font-size: 13.5px;
}

.sev-info-row:last-of-type { border-bottom: none; }

.sir-label {
	color: #888;
	font-weight: 500;
	flex-shrink: 0;
}

.sir-value {
	color: #1a1a2e;
	font-weight: 600;
	text-align: right;
}

.sev-info-price .sir-value {
	color: #E91E63;
	font-size: 15px;
}

/* CTA in sidebar */
.sev-cta-call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 18px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 16px;
	border-radius: 8px;
	text-decoration: none;
	transition: opacity 0.2s;
	box-sizing: border-box;
}

.sev-cta-call:hover { opacity: 0.88; color: #fff; }

.sev-cta-note {
	font-size: 11px !important;
	color: #aaa !important;
	text-align: center;
	margin: 8px 0 0 !important;
}

/* Main content sections */
.sev-main { min-width: 0; }

.sev-section {
	background: #fff;
	border-radius: 14px;
	padding: 24px 24px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sev-section-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1a1a2e !important;
	margin: 0 0 20px !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sev-section-icon { font-size: 18px; }

/* Itinerary timeline */
.sev-day-row {
	display: flex;
	gap: 14px;
	padding-bottom: 14px;
	position: relative;
}

.sev-day-row::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 20px;
	bottom: 0;
	width: 2px;
	background: #f0f0f0;
}

.sev-day-row:last-child::before { display: none; }

.sev-day-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #E91E63, #F44336);
	flex-shrink: 0;
	margin-top: 2px;
}

.sev-day-dot-sm {
	width: 10px;
	height: 10px;
	background: #ddd;
	margin-top: 5px;
	margin-left: 4px;
}

.sev-day-detail { padding-left: 4px; }

.sev-day-content {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	padding-top: 1px;
}

.sev-day-content strong {
	color: #1a1a2e;
	font-size: 14.5px;
}

/* Activities list */
.sev-activities-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
}

.sev-activities-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	color: #444;
	padding: 10px 12px;
	background: #fafafa;
	border-radius: 8px;
	border-left: 3px solid #E91E63;
}

/* Mobile CTA (hidden on desktop) */
.sev-mobile-cta {
	display: none;
	background: #fff;
	border-radius: 14px;
	padding: 18px 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	margin-bottom: 20px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sev-mobile-price {
	font-size: 18px;
	font-weight: 800;
	color: #E91E63;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
	.sev-content-inner {
		grid-template-columns: 1fr;
	}
	.sev-sidebar {
		order: 2;
		position: static;
	}
	.sev-main { order: 1; }
	.sev-mobile-cta { display: flex; }
	.sev-info-card .sev-cta-call { display: none; }
	.sev-cta-note { display: none; }
}

@media (max-width: 768px) {
	.events-page-hero { padding: 36px 20px 32px; }
	.events-grid { padding: 24px 16px 80px; gap: 16px; }
	.sev-hero-inner { padding: 24px 20px; }
	.sev-content { padding: 20px 16px 80px; }
	.sev-section { padding: 18px 16px; }
	.sev-activities-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.events-grid { grid-template-columns: 1fr; }
	.ec-footer { flex-direction: column; align-items: flex-start; }
	.ec-actions { width: 100%; }
	.ec-btn { flex: 1; justify-content: center; }
}

/* Countdown timer styling */
.events-eyebrow {
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sev-countdown {
    font-weight: 600;
    color: #E91E63;
    font-size: 14px;
    margin-top: 6px;
}

/* Remaining days badge on archive cards */
.ec-remaining-badge {
    background: #f0f0f0;
    color: #333;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ============================================================
   INCLUSIONS / EXCLUSIONS / CANCELLATION / HOW TO BOOK (tw-*)
   ============================================================ */
.tw-ie-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 !important;
    overflow: hidden;
}
.tw-ie-block { padding: 24px 22px; }
.tw-ie-block + .tw-ie-block { border-left: 1px solid rgba(0,0,0,0.07); }

.tw-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 9px;
}
.tw-list li {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 14px; line-height: 1.55; color: #444;
    text-transform: none !important;
}
.tw-list li svg { flex-shrink: 0; margin-top: 2px; }

.tw-sidebar-upi, .tw-sidebar-pdf {
    display: flex; align-items: center; gap: 7px;
    width: 100%; margin-top: 10px; padding: 10px 14px;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: opacity 0.2s;
    text-transform: none !important;
}
.tw-sidebar-upi { background: linear-gradient(45deg, #F44336, #E91E63); color: #fff; }
.tw-sidebar-pdf { background: #f5f5f5; color: #333; border: 1px solid #e0e0e0; }
.tw-sidebar-upi:hover, .tw-sidebar-pdf:hover { opacity: 0.85; color: inherit; }

.tw-book-body { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.tw-book-qr { flex-shrink: 0; text-align: center; }
.tw-book-qr-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase !important; color: #888; margin: 0 0 8px;
}
.tw-qr-code-img {
    width: 140px; height: 140px; object-fit: contain;
    border: 1px solid #e0e0e0; border-radius: 10px; display: block;
}
.tw-book-actions { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.tw-book-steps-title { font-size: 13px; font-weight: 700; color: #333; margin: 0; text-transform: none !important; }
.tw-book-steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.tw-book-steps li { font-size: 13px; color: #555; line-height: 1.5; text-transform: none !important; }
.tw-book-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 50px; font-size: 14px; font-weight: 600;
    text-decoration: none; width: fit-content;
    transition: opacity 0.2s, transform 0.2s; text-transform: none !important;
}
.tw-book-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.tw-book-upi { background: linear-gradient(45deg, #F44336, #E91E63); color: #fff !important; }
.tw-book-pdf { background: #f5f5f5; color: #333 !important; border: 1px solid #ddd; }

@media (max-width: 640px) {
    .tw-ie-grid { grid-template-columns: 1fr; }
    .tw-ie-block + .tw-ie-block { border-left: none; border-top: 1px solid rgba(0,0,0,0.07); }
}

/* ── Book Now button row ── */
.tw-booknow-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.tw-booknow-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(45deg,#F44336,#E91E63); color: #fff;
    font-size: 15px; font-weight: 700; padding: 13px 30px; border-radius: 50px;
    border: none; cursor: pointer; text-transform: none !important;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(244,67,54,0.3);
}
.tw-booknow-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.tw-brochure-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #f5f5f5; color: #444; font-size: 13px; font-weight: 600;
    padding: 12px 22px; border-radius: 50px; border: 1px solid #ddd;
    text-decoration: none; text-transform: none !important; transition: background 0.2s;
}
.tw-brochure-btn:hover { background: #ebebeb; color: #333; }

/* ── Sidebar Book Now ── */
.tw-sidebar-upi { background: linear-gradient(45deg,#F44336,#E91E63); color: #fff; border: none; cursor: pointer; }
.tw-sidebar-upi:hover { opacity: 0.85; color: #fff; }

/* ── Modal ── */
.tw-modal-overlay {
    display: none;
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 99999; align-items: center; justify-content: center;
    padding: 20px;
}
.tw-modal-overlay.is-open { display: flex; }
.tw-modal {
    background: #fff; border-radius: 20px; padding: 36px 32px 32px;
    width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto;
    text-align: center; position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.tw-modal-overlay.is-open .tw-modal { transform: translateY(0) scale(1); }
.tw-modal-close {
    position: absolute; top: 14px; right: 14px; background: #f5f5f5;
    border: none; border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #555; transition: background 0.2s;
}
.tw-modal-close:hover { background: #ebebeb; color: #111; }
.tw-modal-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase !important; color: #E91E63; margin: 0 0 6px; }
.tw-modal-title { font-size: 18px; font-weight: 700; color: #21313C; margin: 0 0 20px; line-height: 1.3; text-transform: none !important; }
.tw-modal-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.tw-modal-qr-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #666; letter-spacing: 0.4px; text-transform: uppercase !important; margin: 0; }
.tw-modal-qr-img { width: 200px; height: 200px; object-fit: contain; border: 1px solid #e8e8e8; border-radius: 14px; padding: 8px; background: #fff; }
.tw-modal-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #bbb; font-size: 13px; }
.tw-modal-or::before,.tw-modal-or::after { content: ''; flex: 1; height: 1px; background: #e8e8e8; }
.tw-modal-upi-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: linear-gradient(45deg,#F44336,#E91E63); color: #fff !important;
    font-size: 15px; font-weight: 700; padding: 14px 36px; border-radius: 50px;
    text-decoration: none; width: 100%; box-sizing: border-box;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(244,67,54,0.28); text-transform: none !important;
}
.tw-modal-upi-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff !important; }

@keyframes tw-call-ring {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    60%  { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.tw-modal-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 20px;
    margin-top: 4px;
    border-radius: 10px;
    background: #16a34a;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: none !important;
    animation: tw-call-ring 1.6s ease-out infinite;
}
.tw-modal-call-btn:hover { opacity: 0.88; transform: translateY(-1px); color: #fff !important; }
.tw-modal-note { font-size: 12px; color: #888; margin: 18px 0 0; line-height: 1.6; text-transform: none !important; }

@media (max-width: 480px) {
    .tw-modal { padding: 28px 20px 24px; border-radius: 16px; }
    .tw-modal-qr-img { width: 160px; height: 160px; }
    .tw-booknow-btn { width: 100%; justify-content: center; }
}
