body {
	background-color: #111111 !important;
	
	&.is-startpage {
		.c-top-menu-wrap, .c-site-head {
			display: none;
		}
	}
}

.c-site-head__home {
	position: relative !important;
}

/* Fix for Highway.js router transition issues on homepage */
main[data-router-view="home"] {
	opacity: 1 !important;
	position: relative !important;
	transform: none !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
}

/* Override default background colors during homepage transitions */
body:has(main[data-router-view="home"]) {
	background-color: #111111 !important;
}

main[data-router-view="home"].js-smooth-section,
main[data-router-view="home"].o-smooth-section {
	background-color: #111111 !important;
}

/* ========================================
   Three Themes Homepage Styling
   Restaurant Jord - City, Farm, Forest
   ======================================== */

/* Main wrapper */
.three-themes-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	/* Mobile: allow natural height expansion */
	min-height: 100vh;
}

/* Desktop: fixed viewport height */
@media (min-width: 700px) {
	.three-themes-wrapper {
		height: 100vh;
		min-height: auto;
	}
}

/* Themes container */
.themes-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	/* Mobile: no overflow, natural expansion */
	overflow: visible;
}

@media (min-width: 700px) {
	.themes-container {
		flex-direction: row;
		overflow: hidden;
	}
}

/* Individual theme column */
.theme-column {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 30px 30px 30px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #D3D5CB;
	/* Mobile: fixed min-height, no internal scroll */
	min-height: 100vh;
	overflow: visible;
}

@media (min-width: 700px) {
	.theme-column {
		flex: 1;
		padding: 60px 40px 40px 40px;
		min-height: auto;
		overflow-y: auto;
		overflow-x: hidden;
	}
}

/* Background images for each theme */
.theme-city {
	background-image: url('../img/staden.jpg');
	/* TODO: Replace with actual City theme background image */
}

.theme-farm {
	background-image: url('../img/landet.jpg');
	/* TODO: Replace with actual Farm theme background image */
}

.theme-forest {
	background-image: url('../img/skogen.jpg');
	/* TODO: Replace with actual Forest theme background image */
}

/* Optional: Add overlay for better text readability */
.theme-column::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 0;
	pointer-events: none;
}

/* Theme title - at top */
.theme-title {
	position: relative;
	z-index: 1;
	/*font-size: 42px;
	font-family: "Pitch", serif;
	font-weight: 400; */
	margin: 0 0 30px 0;
	text-align: center;
	letter-spacing: 2px;
	text-transform: capitalize;
	font-family: "Beatrice";
	/* 
	font-family: "Ogg";
	font-size: 50px;
	font-weight: 400;
	*/
}

/*
@media (min-width: 700px) {
	.theme-title {
		font-size: 52px;
	}
}
*/

/* Bottom content wrapper - contains intro and events */
.theme-bottom-content {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 20px;
}

/* Theme intro text */
.theme-intro {
	margin: 0 auto;
	text-align: left;
	font-weight: 900;
	width: 100%;
}

.theme-intro p {
	color: #ffffff;
	margin: 20px 0 0 0;
	line-height: 2;
}

@media (min-width: 1000px) {
	.theme-intro {
		width: 80%;
	}
}

/* Event content - uses existing event styling */
.theme-column .eventContent {
	/* Existing event styles from app.bundle.css will apply */
}

/* No events message */
.no-events {
	text-align: center;
	padding: 20px 0;
	opacity: 0.6;
}

/* Logo header - at top */
.logo-header {
	width: 100%;
	height: 70px;
	min-height: 70px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	position: relative;
	z-index: 10;
	color: white;
	text-align: center;
	text-wrap: balance;
	font-size: 14px;
}

.logo-header .jord-logo {
	height: 30px;
	width: auto;
	filter: brightness(0.9);
}

/* Navigation footer - at bottom */
.nav-footer {
	width: 100%;
	height: 50px;
	min-height: 50px;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	/* Mobile: fixed to bottom of viewport */
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1000;
}

/* Desktop: relative positioning */
@media (min-width: 700px) {
	.nav-footer {
		position: relative;
		z-index: 10;
	}
}

.nav-footer-links {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.nav-footer-links a {
	color: #D3D5CB;
	text-decoration: none;
	font-size: 12px;
	transition: opacity 0.3s;
	font-family: "Beatrice", sans-serif;
}

.nav-footer-links a:hover {
	opacity: 0.7;
}

.nav-footer-links a span {
	display: inline-block;
}

/* Mobile-specific adjustments */
@media (max-width: 699px) {
	.theme-column {
		/* Each column fills at least one viewport minus header */
		min-height: calc(100vh - 120px);
	}

	.theme-title {
		margin-bottom: 40px;
	}

	/* Add padding to bottom of last column to account for fixed footer */
	.theme-column:last-child .theme-bottom-content {
		padding-bottom: 90px; /* 70px footer + 20px extra space */
	}
}

/* Desktop adjustments */
@media (min-width: 700px) {
	.three-themes-wrapper {
		/* Account for both header and footer on desktop */
		height: 100vh;
	}

	.themes-container {
		/* Fill space between header and footer */
		flex: 1;
	}
}

/* Scrollbar styling for theme columns */
.theme-column::-webkit-scrollbar {
	width: 6px;
}

.theme-column::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
}

.theme-column::-webkit-scrollbar-thumb {
	background: rgba(211, 213, 203, 0.3);
	border-radius: 3px;
}

.theme-column::-webkit-scrollbar-thumb:hover {
	background: rgba(211, 213, 203, 0.5);
}

/* Override any conflicting styles for event dates in this context */
.theme-column .eventDate {
	/* Existing styles from app.bundle.css apply */
	/* Date format is now "13–14 Nov" with month included */
}

/* Ensure proper spacing in event lists within theme columns */
.theme-column .eventFacts {
	margin-bottom: 15px;
}



.eventContent a {
	font-family: "Beatrice";
}

.eventContent, .eventFacts {
	width: 100% !important;
}

.eventFacts {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.129);
	margin-bottom: 0 !important;
	position: relative;
	align-items: center;
	justify-content: space-between;
}

@media (min-width: 700px) {
	.theme-column .eventFacts {
		margin-bottom: 0 !important;
	}
}

img.top-logo {
	height: 50px;
	width: auto;
	margin: 0 auto;
}

.eventDate {
	width: 25%;
}
.eventDescription {
	width: 55%;
}
.event-status {
	width: 20%;
}

.eventSummary {
	display: none;
}
