:root {
	--gis-primary: #14213d;
	--gis-primary-dark: #0f172a;
	--gis-accent: #2b9348;
	--gis-accent-light: #55a630;
	--gis-accent-soft: rgba(43, 147, 72, 0.1);
	--gis-text: #1e293b;
	--gis-muted: #64748b;
	--gis-bg: #f8fafc;
	--gis-card: #ffffff;
	--gis-border: rgba(15, 23, 42, 0.08);
	--gis-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
	--gis-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
	--gis-radius: 18px;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	background-color: var(--gis-bg);
	color: var(--gis-text);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
	font-family: 'Plus Jakarta Sans', 'Inter', 'Open Sans', sans-serif;
	letter-spacing: -0.015em;
}

/* MODERN GLASS NAVBAR */
.gis-navbar {
	background-color: rgba(255, 255, 255, 0.94) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gis-border) !important;
	padding-top: 0.85rem !important;
	padding-bottom: 0.85rem !important;
	transition: box-shadow 0.2s ease;
}

.gis-navbar .nav-link {
	color: #334155 !important;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	transition: color 0.18s ease;
}

.gis-navbar .nav-item.active .nav-link,
.gis-navbar .nav-link:hover {
	color: var(--gis-accent) !important;
}

.gis-navbar .dropdown-menu {
	border: 1px solid var(--gis-border);
	border-radius: 12px;
	box-shadow: var(--gis-shadow-md);
	padding: 0.5rem;
	font-size: 0.875rem;
}

.gis-navbar .dropdown-item {
	border-radius: 8px;
	padding: 0.5rem 0.9rem;
	font-weight: 500;
	color: var(--gis-text);
}

.gis-navbar .dropdown-item:hover {
	background-color: var(--gis-accent-soft);
	color: var(--gis-accent);
}

/* AUTOCOMPLETE NAV SEARCH */
.nav-search-container {
	position: relative;
	display: flex;
	align-items: center;
}

.search-trigger-btn {
	background: #f1f5f9;
	border: 1px solid transparent;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	cursor: pointer;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.search-trigger-btn:hover {
	color: var(--gis-accent);
	background: var(--gis-accent-soft);
}

.search-wrapper {
	max-width: 0;
	overflow: hidden;
	transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
	opacity: 0;
}

.search-wrapper.active {
	max-width: 250px;
	margin-left: 8px;
	opacity: 1;
	overflow: visible;
}

#menuClubSearch {
	width: 225px;
	padding: 7px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	font-size: 14px;
	background-color: #f8fafc;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#menuClubSearch:focus {
	border-color: var(--gis-accent);
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(43, 147, 72, 0.14);
}

.search-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 270px;
	background: #ffffff;
	border: 1px solid var(--gis-border);
	border-radius: 14px;
	box-shadow: var(--gis-shadow-md);
	margin-top: 10px;
	padding: 6px;
	list-style: none;
	max-height: 300px;
	overflow-y: auto;
	z-index: 1080;
	display: none;
}

.search-dropdown li a {
	display: block;
	padding: 9px 14px;
	color: var(--gis-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border-radius: 8px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.search-dropdown li a:hover {
	background-color: var(--gis-accent-soft);
	color: var(--gis-accent);
}

@media (max-width: 991px) {
	.nav-search-container {
		margin-top: 14px;
		width: 100%;
	}
	.search-wrapper {
		max-width: none;
		opacity: 1;
		width: 100%;
		overflow: visible;
	}
	#menuClubSearch {
		width: 100%;
		max-width: 360px;
	}
	.search-dropdown {
		left: 0;
		right: auto;
		width: 100%;
		max-width: 360px;
	}
	.search-trigger-btn {
		display: none;
	}
}

/* MODERN CARDS & BUTTONS */
.gis-card {
	background: var(--gis-card);
	border: 1px solid var(--gis-border);
	border-radius: var(--gis-radius);
	box-shadow: var(--gis-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-gis-primary {
	background-color: var(--gis-accent);
	border-color: var(--gis-accent);
	color: #ffffff !important;
	font-weight: 600;
	border-radius: 12px;
	padding: 0.65rem 1.35rem;
	transition: all 0.2s ease;
}

.btn-gis-primary:hover {
	background-color: #237a3b;
	border-color: #237a3b;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(43, 147, 72, 0.28);
}

.btn-gis-outline {
	background-color: transparent;
	border: 1.5px solid #cbd5e1;
	color: var(--gis-primary) !important;
	font-weight: 600;
	border-radius: 12px;
	padding: 0.62rem 1.3rem;
	transition: all 0.2s ease;
}

.btn-gis-outline:hover {
	border-color: var(--gis-accent);
	color: var(--gis-accent) !important;
	background-color: var(--gis-accent-soft);
}

/* ADS CONTAINER (PREVENT CLS) */
.ad-slot-wrapper {
	min-height: 110px;
	border-radius: 14px;
	background-color: #f1f5f9;
	padding: 12px;
}

/* COOKIE ALERT (BAKÅTKOMPATIBILITET) */
.page-ads {
	width: 320px;
	height: 120px;
}

.cookiealert {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	margin: 0 !important;
	z-index: 999;
	opacity: 0;
	transform: translateY(100%);
	transition: all 500ms ease-out;
	border-radius: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
	color: #ffffff;
	background: #0f172a;
}

.cookiealert.show {
	opacity: 1;
	transform: translateY(0%);
	transition-delay: 1000ms;
}

.cookiealert .acceptcookies {
	margin-left: 10px;
	vertical-align: baseline;
}

/* LEGACY UTILITY CLASSES (FÖR ÖVRIGA SIDOR PÅ SAJTEN) */
.parallax-window {
	position: relative;
	width: 100%;
	min-height: 45vh;
	background: #0f172a;
	background-position: center center;
	background-size: cover;
}

.parallax-window::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.35) 100%);
	z-index: 0;
	pointer-events: none;
}

.parallax-window .container {
	position: relative;
	z-index: 1;
}

.btn-secondary {
	color: #fff;
	background-color: #334155;
	border-color: #334155;
}

.btn-secondary.active-filter {
	background-color: var(--gis-accent);
	border-color: var(--gis-accent);
}

.height-35vh { min-height: 35vh; }
.height-45vh { min-height: 45vh; }
.height-40vh { min-height: 50vh; }

.section {
	padding-top: 100px;
	margin-top: -100px;
}

.text-shadow {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hvr-underline-from-center {
	display: inline-block;
	vertical-align: middle;
	transform: perspective(1px) translateZ(0);
	position: relative;
	overflow: hidden;
}

.hvr-underline-from-center:before {
	content: "";
	position: absolute;
	z-index: 2;
	left: 51%;
	right: 51%;
	bottom: 0;
	background: var(--gis-accent);
	height: 4px;
	transition: left 0.3s ease-out, right 0.3s ease-out;
}

.hvr-underline-from-center:hover:before,
.hvr-underline-from-center:focus:before,
.hvr-underline-from-center:active:before {
	left: 0;
	right: 0;
}

.background-color-ffffff { background-color: #ffffff; }
.background-color-f6f6f6 { background-color: #f1f5f9; }
.background-color-primary-dark { background-color: #0f172a; }
.background-color-primary-regular { background-color: #1e293b; }

.border-color-primary-dark { border-color: #0f172a; }
.border-color-gray { border-color: #cbd5e1; }

.text-color-white { color: #ffffff; }
.text-color-black { color: #000000; }
.text-color-primary-dark { color: #0f172a; }

.text-size-60 { font-size: 60px; }
.text-size-50 { font-size: 50px; }
.text-size-40 { font-size: 40px; }
.text-size-35 { font-size: 35px; }
.text-size-30 { font-size: 30px; }
.text-size-25 { font-size: 25px; }
.text-size-24 { font-size: 24px; }
.text-size-20 { font-size: 20px; }
.text-size-15 { font-size: 15px; }

.text-bold { font-weight: 700; }
.text-semi-bold { font-weight: 600; }
.text-semi-medium { font-weight: 500; }
.text-normal { font-weight: 400; }

/* FOOTER */
.gis-footer {
	background-color: var(--gis-primary-dark);
	color: rgba(255, 255, 255, 0.78);
	padding: 56px 0;
	margin-top: 72px;
	font-size: 0.94rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gis-footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.gis-footer a:hover {
	color: #7ae582;
}