html {
	scroll-behavior: smooth;
}

@font-face {
	font-family: "Raleway";
	src: url("/fonts/Raleway-Regular.ttf") format("truetype");
}

body {
	padding: 0;
	font-family: "Raleway", sans-serif;
	font-size: 1rem;
	color: #333;
	line-height: 1.75;
	background-size: auto;
	background-color: var(--color-bg);
}

@font-face {
	font-family: "Permanent Marker";
	src: url("/fonts/PermanentMarker-Regular.ttf") format("truetype");
}

.secfont {
	font-family: 'Permanent Marker', cursive;
}

/* ===== THEME COLORS ===== */
#main-content {
	background-color: rgba(var(--color-bg-rgb), 0.92);
}

a {
	color: var(--color-primary-dark);
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: var(--color-accent);
}

::selection {
	background: var(--color-primary);
	color: white;
}

/* ===== NAVBAR ===== */
.navbar {
	background-color: var(--color-primary-dark);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
	padding: 0.25rem 1rem;
	transition: background-color 0.3s;
	min-height: 0;
}

.navbar-brand {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.navbar-brand-h1 {
	margin: 0;
	padding: 0;
	font-size: 1.1rem;
	font-weight: bold;
	color: inherit;
	display: inline;
	letter-spacing: 1px;
}

.navbar .nav-link {
	color: var(--color-accent) !important;
	font-size: 0.85rem;
	padding: 0.4rem 0.75rem !important;
	transition: color 0.2s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
	color: #FFFFFF !important;
}

.navbar-brand, .navbar-brand-h1 {
	color: #FFFFFF !important;
}

.navbar-toggler {
	padding: 0.2rem 0.5rem;
	font-size: 0.9rem;
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
	background-color: var(--color-accent);
	color: var(--color-text-dark);
	margin-top: 46px;
	padding: 10px 20px;
	text-align: center;
	font-weight: bold;
	font-size: 0.95rem;
	overflow: hidden;
	position: relative;
}

.announcement-text {
	display: inline-block;
	white-space: nowrap;
	animation: announcement-scroll 20s linear infinite;
}

@keyframes announcement-scroll {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
	.announcement-banner {
		margin-top: 46px;
	}
}

/* ===== HERO SECTION ===== */
.hero-section {
	position: relative;
	width: 100%;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
}

.hero-image-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	display: none;
}

.hero-card {
	position: relative;
	z-index: 2;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 2rem;
	margin: 2rem;
	max-width: 420px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	border: 2px solid var(--color-primary);
	color: var(--color-text-dark);
}

.hero-card a {
	color: var(--color-primary-dark);
}

.hero-card a:hover {
	color: var(--color-accent);
}

.hero-card-title {
	font-size: 1.5rem;
	font-weight: 900;
	margin: 0 0 0.25rem 0;
	letter-spacing: 1px;
	padding: 0;
	color: var(--color-primary-dark);
}

.hero-card-subtitle {
	margin: 0;
	font-size: 1.05rem;
	font-weight: bold;
}

.hero-card-address {
	margin: 0 0 0.75rem 0;
	font-size: 0.95rem;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
	display: inline-flex;
	border-radius: 20px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.lang-toggle-item {
	padding: 0.15rem 0.75rem;
	font-size: 0.75rem;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: 1px;
	transition: background-color 0.2s, color 0.2s;
	color: rgba(255, 255, 255, 0.5);
}

.lang-toggle-item:hover {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8);
}

.lang-toggle-item.active {
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
}

.hero-card-divider {
	border: none;
	border-top: 2px solid var(--color-accent);
	opacity: 1;
	width: 60px;
	margin: 0.75rem auto;
}

.hero-card-cta {
	margin: 0 0 0.5rem 0;
	font-size: 0.85rem;
	color: #222;
}

.hero-contact-list {
	font-size: 0.82rem;
	line-height: 2;
	color: #222;
}

.hero-contact-list a {
	word-break: break-all;
	font-weight: 600;
	color: #222;
}

.hero-contact-list a:hover {
	color: var(--color-accent);
}

@media (max-width: 768px) {
	.hero-section {
		flex-direction: column;
		min-height: auto;
	}

	.hero-image-wrapper {
		position: relative;
		height: 300px;
	}

	.hero-card {
		margin: -2rem 1rem 1rem 1rem;
		max-width: 100%;
	}
}

/* ===== CONTAINER ===== */
.container {
	min-height: 200px;
	padding-bottom: 40px;
}

/* ===== SECTION BLOCKS ===== */
.section-block {
	padding-top: 50px;
	padding-bottom: 10px;
}

.section-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 40px auto 20px;
}

.section-divider-sun {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}


.section-heading {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
}

.section-heading::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	margin: 8px auto 0;
	border-radius: 2px;
	background-color: var(--color-accent);
}

.section-title-bar {
	border-radius: 10px;
	padding: 10px 20px;
	text-align: center;
	transition: box-shadow 0.3s, transform 0.3s;
}

.section-title-bar h2 {
	margin: 0;
	padding: 5px 0;
	font-size: 1.4rem;
	letter-spacing: 1px;
}

/* ===== COLOURED SECTIONS ===== */
.coloured {
	background-color: var(--color-primary);
	color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.3s, transform 0.3s;
}

.coloured:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.coloured a {
	color: var(--color-accent);
}

.coloured a:hover {
	color: #FFFFFF;
}

/* ===== CONTENT TEXT ===== */
.content-text {
	padding: 10px 0;
	font-size: 1rem;
	line-height: 1.8;
}

.content-text h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
	padding: 0;
}

/* ===== PARTNER LOGOS ===== */
.partner-logo {
	height: 80px;
	width: auto;
	opacity: 0.8;
	transition: opacity 0.3s;
}

.partner-logo:hover {
	opacity: 1;
}

/* ===== FEATURE CARD (Apartment amenities) ===== */
.feature-card {
	padding: 1rem;
}

.feature-item {
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	background: rgba(var(--color-primary-rgb), 0.06);
	font-size: 0.9rem;
	line-height: 1.5;
	height: 100%;
}

.feature-item i {
	margin-right: 6px;
	width: 20px;
	text-align: center;
}

/* ===== EXTRAS CARDS (Service) ===== */
.extras-card {
	text-align: center;
	padding: 1.5rem 1rem;
	border-radius: 12px;
	background: rgba(var(--color-primary-rgb), 0.05);
	border: 1px solid rgba(var(--color-primary-rgb), 0.12);
	height: 100%;
	transition: transform 0.2s, box-shadow 0.2s;
}

.extras-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.extras-icon {
	font-size: 2rem;
	display: block;
	margin-bottom: 0.75rem;
}

.extras-card p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* ===== SPORT CARDS ===== */
.sport-card {
	border-radius: 12px;
	overflow: hidden;
	background: rgba(var(--color-primary-rgb), 0.03);
	border: 1px solid rgba(var(--color-primary-rgb), 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	height: 100%;
}

.sport-card .section-title-bar {
	border-radius: 0;
}

.sport-card-body {
	padding: 1.25rem;
}

/* ===== SPORT ITEMS (icon + text rows) ===== */
.sport-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 0.5rem 0.6rem;
	border-radius: 8px;
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 4px;
}

.sport-item:nth-child(odd) {
	background: rgba(0, 0, 0, 0.03);
}

.sport-item i {
	flex-shrink: 0;
	width: 20px;
	text-align: center;
	margin-top: 2px;
}

/* ===== LINK CARDS (useful links grid) ===== */
.link-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	background: rgba(var(--color-primary-rgb), 0.05);
	border: 1px solid rgba(var(--color-primary-rgb), 0.12);
	color: var(--color-primary-dark);
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9rem;
	height: 100%;
	transition: transform 0.2s, box-shadow 0.2s;
}

.link-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	text-decoration: none;
	color: var(--color-accent);
}

.link-card i {
	flex-shrink: 0;
	font-size: 1.3rem;
	width: 24px;
	text-align: center;
}

/* ===== IMKEREI CARDS ===== */
.imkerei-card {
	padding: 1.5rem;
	border-radius: 12px;
	background: rgba(var(--color-primary-rgb), 0.05);
	border: 1px solid rgba(var(--color-primary-rgb), 0.12);
	height: 100%;
	transition: transform 0.2s, box-shadow 0.2s;
}

.imkerei-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.imkerei-card-icon {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.imkerei-card h3 {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.imkerei-card p {
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

/* ===== COOKIE CONSENT BUTTONS ===== */
.btn-cookie {
	background-color: var(--color-primary);
	border-radius: 25px;
	padding: 0.5rem 1.5rem;
	font-weight: bold;
	font-size: 0.9rem;
	color: white;
	border: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cookie:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	color: white;
}

.btn-cookie i {
	margin-right: 5px;
}

/* ===== CAROUSELS ===== */
.carousel-inner {
	max-height: 550px;
	overflow: hidden;
	border-radius: 12px;
}

.carousel-inner img {
	width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 550px;
}

.carousel-fade .carousel-item {
	transition: opacity 0.6s ease-in-out;
}

.carousel-indicators [data-bs-target] {
	background-color: rgba(var(--color-primary-rgb), 0.5);
}

.carousel-indicators .active {
	background-color: var(--color-accent);
}

/* ===== FOOTER ===== */
#footer {
	background-color: var(--color-primary-dark);
	color: rgba(255, 255, 255, 0.9);
	margin-top: 0;
	font-size: 0.9rem;
}

#footer a {
	color: var(--color-accent);
}

#footer a:hover {
	color: #FFFFFF;
}

.footer-separator {
	background-color: var(--color-primary-dark);
	height: 2px;
	margin: 0 auto;
	max-width: 80%;
	opacity: 0.3;
}

.footer-social a {
	color: rgba(255, 255, 255, 0.8);
	display: inline-block;
	margin: 0 10px;
	font-size: 1.4rem;
	transition: transform 0.2s, opacity 0.2s;
	opacity: 0.7;
}

.footer-social a:hover {
	color: var(--color-accent);
	transform: translateY(-2px);
	opacity: 1;
}

/* ===== GENERAL IMAGE RESET ===== */
img {
	max-width: 100%;
	height: auto;
}

img::selection {
	background: #ececec;
}

/* ===== HEADING RESETS ===== */
h1, h2, h3 {
	margin: 0;
	padding: 0;
}

h1 {
	font-size: 2rem;
}
