@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i');

:root {
	--primary-color: #333;
	--secondary-color: #f9f9f9;
	--accent-color: #2a3d66;
	--text-color: grey;
	--hover-color: white;
	--background-color: black;
	--shadow-color: rgba(0, 0, 0, 0.1);
	--font-family: "Source Sans Pro", Helvetica, sans-serif;
	--transition-speed: 0.3s ease;
}

.top-bar {
	background-color: var(--background-color);
	color: var(--text-color);
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9em;
	flex-wrap: wrap;
}

.contact-info,
.language-options {
	display: flex;
	gap: 20px;
	font-weight: 700;
}

.contact-info span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-info i,
.language-options i {
	color: var(--text-color);
}

.contact-info a,
.language-options a {
	text-decoration: none;
	color: var(--text-color);
	transition: color var(--transition-speed);
}

.contact-info a:hover,
.language-options a:hover {
	color: var(--hover-color);
}

nav {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px var(--shadow-color);
	z-index: 1000;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	backdrop-filter: blur(10px);
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 2rem;
}

nav ul li {
	margin: 0;
	padding: 0;
}

nav ul li a {
	color: #000000;
	text-decoration: none;
	font-weight: 400;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0.5rem 0;
	transition: all 0.2s ease-in-out;
	display: inline-block;
}

nav ul li a:hover {
	color: #666666;
	text-decoration: none;
}

nav ul li a.active {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	color: #000000;
	font-weight: 600;
}

nav ul li a.active:hover {
	text-decoration: underline;
	color: inherit;
	transition: none;
}

nav ul li a.active::after {
	content: none !important;
	display: none !important;
}

nav ul li a.active:hover::after {
	content: none !important;
	display: none !important;
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #000000;
}

@media screen and (max-width: 1366px) {
	nav {
		padding: 1rem;
	}

	.menu-toggle {
		display: block;
	}

	nav ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(255, 255, 255, 0.98);
		padding: 1rem 0;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		gap: 0;
	}

	nav ul.show {
		display: flex !important;
	}

	nav ul li {
		width: 100%;
		text-align: center;
		padding: 0.75rem 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	nav ul li:last-child {
		border-bottom: none;
	}

	nav ul li a {
		display: block;
		padding: 0.5rem 1rem;
	}

	nav ul li a.active {
		text-decoration: underline;
	}

	nav ul li a.cta-button {
		display: inline-block;
		margin: 0.5rem 0;
	}

	nav ul li a.cta-button.active {
		text-decoration: none;
	}

	/* Top-bar changes for hamburger breakpoint */
	.top-bar {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		padding: 8px 15px;
		font-size: 0.85em;
	}
	
	.contact-info {
		justify-content: center;
		margin-bottom: 10px;
		gap: 15px;
	}
	
	.language-options {
		display: none;
	}
	
	/* Mobile divider between contact info and language options */
	.mobile-divider {
		display: block;
		border: none;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		margin: 10px 0;
	}
	
	.mobile-language-options {
		display: flex;
		justify-content: center;
		gap: 15px;
		margin-top: 10px;
	}
	
	.mobile-language-options a {
		text-decoration: none;
		color: var(--text-color);
		font-weight: 700;
		transition: color var(--transition-speed);
	}

	.mobile-language-options a:hover,
	.mobile-language-options a.active-lang {
		color: var(--hover-color);
	}
	
	/* Fix navbar overlap on mobile - add padding to first section */
	#wrapper > .simple-slider:first-child,
	#wrapper > section:first-child,
	#wrapper > .banner:first-child,
	#wrapper > .spotlight:first-child {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	
	/* Ensure slider starts right under nav */
	.simple-slider.fullwidth,
	.simple-slider.fullscreen {
		height: calc(100vh - 60px); /* subtract approximate nav height */
		margin-top: 0;
	}
}

@media screen and (max-width: 980px) {
	.simple-slider .slides img {
		height: 30vh;
	}
	
	.simple-slider .slider-title {
		font-size: 1.3rem;
	}
	
	.simple-slider .slider-controls .prev,
	.simple-slider .slider-controls .next {
		font-size: 48px;
	}
	
	.simple-slider .slider-content {
		padding: 1rem 1.5rem;
		max-width: 90%;
	}
	
	/* Further adjust for smaller screens */
	.simple-slider.fullwidth,
	.simple-slider.fullscreen {
		height: calc(100vh - 140px); /* subtract top-bar + nav height */
	}
	
	/* Adjust slider overlay position */
	.simple-slider .slider-overlay {
		top: 45%;
	}
	
	/* Reduce slider content padding */
	.simple-slider .slider-content {
		padding: 1rem 1.5rem;
		max-width: 90%;
	}
	
	.simple-slider .slider-title {
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
	}
	
	.simple-slider .slider-overlay p.major {
		font-size: 0.9rem;
		margin-bottom: 1rem;
	}
}

@media screen and (max-width: 736px) {
	/* Ultra small screens */
	.simple-slider.fullwidth,
	.simple-slider.fullscreen {
		height: calc(100vh - 150px);
	}
	
	.simple-slider .slider-content {
		padding: 0.75rem 1rem;
		max-width: 95%;
	}
	
	.simple-slider .slider-title {
		font-size: 1rem;
	}
	
	.simple-slider .slider-overlay p.major {
		font-size: 0.85rem;
	}
}

.simple-slider {
	position: relative;
}

.simple-slider .slides img {
	display: none;
	width: 100%;
	height: 45vh;
	object-fit: cover;
}

.simple-slider.fullwidth,
.simple-slider.fullscreen {
	height: 100vh;
}

.simple-slider.fullwidth .slides,
.simple-slider.fullscreen .slides {
	height: 100%;
}

.simple-slider.fullwidth .slides img,
.simple-slider.fullscreen .slides img {
	height: 100%;
}

.simple-slider .slider-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	pointer-events: none;
}

.simple-slider .slider-overlay .actions {
	pointer-events: auto;
}

.simple-slider .slider-overlay .button {
	background-color: #ffffff !important;
	color: #000000 !important;
	border: 2px solid #ffffff !important;
	box-shadow: none !important;
}

.simple-slider .slider-overlay .button:hover {
	background-color: rgba(255, 255, 255, 0.9) !important;
	color: #000000 !important;
	border-color: #ffffff !important;
}

.simple-slider .slider-overlay h1,
.simple-slider .slider-overlay h2,
.simple-slider .slider-overlay p {
	color: #ffffff !important;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.simple-slider .slider-title {
	font-size: 1.7rem;
	font-weight: bold;
	margin-bottom: 1rem;
	line-height: 1.375;
	letter-spacing: -0.05em;
}

.simple-slider .slider-controls {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.simple-slider .slider-controls .prev,
.simple-slider .slider-controls .next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 64px;
	padding: 0 15px;
	cursor: pointer;
	opacity: 0.95;
	transition: opacity 0.2s ease-in-out;
	outline: none;
}

.simple-slider .slider-controls .prev {
	left: 12px;
}

.simple-slider .slider-controls .next {
	right: 12px;
}

.simple-slider .slider-controls .prev:hover,
.simple-slider .slider-controls .next:hover {
	opacity: 1;
}

.simple-slider .slider-content {
	background: rgba(0, 0, 0, 0.3);
	padding: 1.5rem 2rem;
	border-radius: 8px;
	text-align: center;
	max-width: 700px;
}

.cta-button,
a.cta-button,
.button.cta-button,
body #wrapper .cta-button,
body #wrapper .button.cta-button {
	background-color: #cc6600 !important;
	color: #ffffff !important;
	border: 2px solid #cc6600 !important;
	box-shadow: 0 4px 15px 0 rgba(204, 102, 0, 0.3) !important;
	transition: all 0.3s ease-in-out !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.cta-button:hover,
a.cta-button:hover,
.button.cta-button:hover,
body #wrapper .cta-button:hover,
body #wrapper .button.cta-button:hover {
	background-color: #ff8c1a !important;
	color: #ffffff !important;
	border-color: #ff8c1a !important;
	box-shadow: 0 8px 25px 0 rgba(255, 140, 26, 0.5) !important;
	transform: none !important;
	animation: cta-button-pulse 1.5s infinite !important;
}

.cta-button:active,
a.cta-button:active,
.button.cta-button:active,
body #wrapper .cta-button:active,
body #wrapper .button.cta-button:active {
	background-color: #b35900 !important;
	color: #ffffff !important;
	border-color: #b35900 !important;
	box-shadow: 0 2px 10px 0 rgba(179, 89, 0, 0.4) !important;
	transform: none !important;
}

@keyframes cta-button-pulse {
	0% {
		box-shadow: 0 8px 25px 0 rgba(255, 140, 26, 0.5);
	}
	50% {
		box-shadow: 0 8px 30px 0 rgba(255, 140, 26, 0.7);
	}
	100% {
		box-shadow: 0 8px 25px 0 rgba(255, 140, 26, 0.5);
	}
}

input[type="submit"].primary,
.button.primary {
	background-color: transparent !important;
	box-shadow: inset 0 0 0 1px #000000 !important;
	color: #000000 !important;
	border: 1px solid #000000 !important;
	transition: all 0.2s ease-in-out !important;
}

input[type="submit"].primary:hover,
.button.primary:hover {
	background-color: #000000 !important;
	color: #ffffff !important;
}

input[type="submit"].primary:active,
.button.primary:active {
	background-color: #000000 !important;
	color: #ffffff !important;
}

a.active {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px !important;
	color: inherit !important;
	transition: none !important;
}

a.active:hover {
	text-decoration: underline !important;
}

a.cta-button.active {
	text-decoration: none !important;
}

/* Invert buttons globally (except CTA/Reserve) */
.button:not(.cta-button):not(.btn-reserve),
a.button:not(.cta-button):not(.btn-reserve),
button.button:not(.cta-button):not(.btn-reserve) {
	background-color: transparent !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
	transition: all 0.2s ease-in-out !important;
	text-decoration: none !important;
}

/* Hover: black background, white text (override old blue) */
.button:hover:not(.cta-button):not(.btn-reserve),
a.button:hover:not(.cta-button):not(.btn-reserve),
button.button:hover:not(.cta-button):not(.btn-reserve) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
	text-decoration: none !important;
}

/* Active: keep inverted */
.button:active:not(.cta-button):not(.btn-reserve),
a.button:active:not(.cta-button):not(.btn-reserve),
button.button:active:not(.cta-button):not(.btn-reserve) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
}

/* Keep CTA/Reserve buttons as defined above */
.simple-slider .slider-overlay .actions a.button.big.wide.smooth-scroll-middle,
.simple-slider .slider-overlay .button.primary {
	background-color: #ffffff !important;
	color: #000000 !important;
	border: 2px solid #ffffff !important;
	box-shadow: none !important;
}

/* Hover/active states: keep strong white contrast */
.simple-slider .slider-overlay .actions a.button.big.wide.smooth-scroll-middle:hover,
.simple-slider .slider-overlay .button.primary:hover {
	background-color: rgba(255,255,255,0.92) !important;
	color: #000000 !important;
	border-color: #ffffff !important;
}

.simple-slider .slider-overlay .actions a.button.big.wide.smooth-scroll-middle:active,
.simple-slider .slider-overlay .button.primary:active {
	background-color: #ffffff !important;
	color: #000000 !important;
	border-color: #ffffff !important;
}

/* Plain form buttons (submit/reset/button) - black invert like other buttons */
input[type="submit"]:not(.cta-button):not(.btn-reserve),
input[type="reset"]:not(.cta-button):not(.btn-reserve),
input[type="button"]:not(.cta-button):not(.btn-reserve),
button:not(.cta-button):not(.btn-reserve) {
	background-color: transparent !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
	transition: all 0.2s ease-in-out !important;
	text-decoration: none !important;
}

input[type="submit"]:hover:not(.cta-button):not(.btn-reserve),
input[type="reset"]:hover:not(.cta-button):not(.btn-reserve),
input[type="button"]:hover:not(.cta-button):not(.btn-reserve),
button:hover:not(.cta-button):not(.btn-reserve) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
}

input[type="submit"]:active:not(.cta-button):not(.btn-reserve),
input[type="reset"]:active:not(.cta-button):not(.btn-reserve),
input[type="button"]:active:not(.cta-button):not(.btn-reserve),
button:active:not(.cta-button):not(.btn-reserve) {
	background-color: #000 !important;
	color: #fff !important;
	border-color: #000 !important;
	box-shadow: inset 0 0 0 1px #000 !important;
}
