/* general */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Helvetica, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	color: #fff;
	background: linear-gradient(to top, #111, #333);
}

i {
	color: #1188ff;
}

a {
	color: #1188ff;
	text-decoration: none;
}

.booking-button {
	background: #ffffff;
	color: #000000;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: 0.3s;
	display: inline-block;
}

.booking-button:hover {
	background: #1188ff;
	color: #ffffff;
}
@keyframes shake {
	0% {
		transform: rotate(0deg);
	}
	10% {
		transform: rotate(-5deg);
	}
	20% {
		transform: rotate(5deg);
	}
	30% {
		transform: rotate(-4deg);
	}
	40% {
		transform: rotate(4deg);
	}
	50% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

.shake {
	animation: shake 2s ease-in-out infinite;
}

/* nav */

nav {
	position: fixed;
	width: 100%;
	background: #000000cc;
	box-shadow: 0 4px 8px #0000004d;
	z-index: 10;
}

nav ul {
	display: flex;
	justify-content: center;
	padding: 15px 0;
	list-style: none;
}

nav ul a {
	display: flex;
	color: #dddddd;
	padding: 15px 20px;
	font-weight: bold;
	transition: color 0.3s;
	font-size: 1rem;
	text-decoration: none;
}

nav ul a:hover {
	color: #1188ff;
}

#navbar-logo {
	margin: 0px;
	display: none;
	background-image: url("res/logo/logo_weiss.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: auto;
}

nav .menu-btn,
nav .menu-icon {
	display: none;
}

@media (max-width: 960px) {
	nav {
		background: #000000ee;
	}

	nav ul {
		width: 100%;
		flex-direction: column;
		overflow: hidden;
		height: 0;
		transition: height 0.4s ease-out;
		padding: 0;
		justify-content: unset;
	}

	nav ul a {
		padding: 30px 0;
		margin: 0 auto;
		font-size: 1.5rem;
		width: 100%;
	}

	#navbar-logo {
		display: inline;
		padding: 50px 0;
		margin-bottom: 50px;
	}

	nav ul a li {
		margin: 0 auto;
	}

	nav .menu-icon {
		display: inline-block;
		cursor: pointer;
		float: right;
		padding: 32px 20px;
	}

	nav .menu-icon .navicon {
		background: #ffffff;
		display: block;
		height: 2px;
		position: relative;
		transition: background 0.2s ease-out;
		width: 18px;
	}

	nav .menu-icon .navicon:before,
	nav .menu-icon .navicon:after {
		background: #ffffff;
		content: "";
		height: 100%;
		position: absolute;
		transition: all 0.2s ease-out;
		width: 100%;
	}

	nav .menu-icon .navicon:before {
		top: 5px;
	}

	nav .menu-icon .navicon:after {
		top: -5px;
	}

	nav .menu-btn {
		display: none;
	}

	nav .menu-btn:checked ~ ul {
		height: 100vh;
	}

	nav .menu-btn:checked ~ .menu-icon .navicon {
		background: transparent;
	}

	nav .menu-btn:checked ~ .menu-icon .navicon:before {
		transform: rotate(-45deg);
	}

	nav .menu-btn:checked ~ .menu-icon .navicon:after {
		transform: rotate(45deg);
	}

	nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
	nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
		top: 0;
	}
}

/* sections */
section h2 {
	margin-bottom: 50px;
	font-size: 2.5rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* home section */
.home-section {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	border-bottom: 1px solid black;
}

.home-logo {
	width: 200px;
	margin-bottom: 1rem;
	animation: fadeIn 1s ease forwards;
}

/* optional weiches Einblenden */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-100px);
		transform: rotate(100);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.home-section .home-text {
	display: inline-table;
	text-align: left;
	width: 80%;
}

.home-section h2 {
	margin-bottom: 10px;
}

#matterhorn {
	position: absolute;
	bottom: 0;
	left: 65%;
	transform: translateX(-50%);
	width: 200%;
	z-index: -2;
}
#matterhorn svg {
	width: 100%;
	height: auto;
	display: block;
}

.home-text p {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.home-section .paraglider {
	width: 150px;
	height: 100px;
	background: url("res/start/glider.png") no-repeat center/contain;
	position: absolute;
	top: 50%;
	left: 50%;
	filter: grayscale(100%);
	z-index: -1;
}

@media (max-width: 960px) {
	#matterhorn {
		width: 250%;
	}
}

@media (max-width: 700px) {
	#matterhorn {
		width: 300%;
		left: 60%;
	}
}

@media (max-width: 550px) {
	.home-logo {
		width: 150px;
	}

	#matterhorn {
		width: 400%;
		left: 50%;
	}
}

/* flights */
.flights-section {
	padding: 100px 50px;
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
	overflow-x: hidden;
}

.flights-section h2 {
	margin-bottom: 50px;
	font-size: 2.5rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.flights-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 30px;
	padding: 20px 0;
}

.flight-card {
	position: relative;
	background: rgba(0, 0, 0, 0.65);
	padding: 30px 25px;
	border-radius: 15px;
	text-align: left;
	transition: transform 0.3s, box-shadow 0.3s;
	overflow: hidden;
}

.flight-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.flight-card h3 {
	color: #fff;
	margin-bottom: 8px;
	font-size: 1.4rem;
	font-weight: 600;
}

.flight-card .subtitle {
	color: #1188ff;
	font-size: 0.95rem;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.flight-card ul {
	list-style: none;
	padding: 0;
	color: #ddd;
}

.flight-card ul li {
	margin-bottom: 10px;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.flight-card .price-badge {
	float: right;
	background: #1188ff;
	color: #000;
	font-weight: bold;
	padding: 5px 8px;
	border-radius: 12px;
	font-size: 0.95rem;
}

.gtc-container {
	margin-top: 50px;
	margin-bottom: 30px;
	font-weight: bold;
	font-size: 18px;
}

@media (min-width: 660px) and (max-width: 960px) {
	.flights-container {
		width: 80%;
		margin: auto;
	}
}

@media (min-width: 960px) {
	.flights-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1850px) {
	.flights-container {
		grid-template-columns: repeat(4, 1fr);
	}
}

.flight-optional {
	margin: 50px 0 75px 0;
}

.flight-optional .subtitle {
	color: #1188ff;
	font-size: 0.95rem;
	margin: 10px 0;
	text-align: center;
	gap: 8px;
}

.flight-optional .price-badge {
	background: #1188ff;
	color: #000;
	font-weight: bold;
	padding: 5px 8px;
	border-radius: 12px;
	margin-top: 10px;
	display: inline-block;
	font-size: 0.95rem;
}

/* about section */
.about-section {
	padding: 100px 50px;
	text-align: center;
	overflow-x: hidden;
}

.about-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.about-image-container {
	overflow: hidden;
	border-radius: 15px;
	display: contents;
}

.about-content img {
	width: 400px;
	height: auto;
	border-radius: 15px;
	animation: float 5s ease-in-out infinite alternate;
}

@keyframes float {
	0% {
		transform: rotateZ(0) scale(1.05);
	}
	25% {
		transform: rotateZ(-1.5deg) scale(1.05);
	}
	50% {
		transform: rotateZ(0) scale(1.05);
	}
	75% {
		transform: rotateZ(-1.5deg) scale(1.05);
	}
	100% {
		transform: rotateZ(0) scale(1.05);
	}
}

.about-text {
	max-width: 500px;
	text-align: left;
}

.about-text p {
	margin-bottom: 20px;
	color: #ccc;
	font-size: 1.1rem;
}

.about-text .attributes {
	list-style: none;
	padding: 0;
}

.about-text .attributes li {
	margin-bottom: 12px;
	font-size: 1rem;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}

@media (max-width: 600px) {
	.about-content img {
		width: 80%;
	}
}

/* gallery */
.gallery-section {
	padding: 100px 50px;
	background: rgba(255, 255, 255, 0.05);
	text-align: center;
}

.video-container {
	margin: 0 25%;
}

.video-container iframe {
	width: 100%;
	height: 600px;
	border-radius: 15px;
}

.gallery-section .images {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
	overflow: hidden;
}
.gallery-section img {
	width: 400px;
	height: 300px;
	object-fit: cover;
	border-radius: 15px;
}

@media (max-width: 1000px) {
	.gallery-section img {
		width: 500px;
		height: 400px;
	}
}

@media (max-width: 1200px) {
	.video-container {
		margin: 0 10%;
	}
}

@media (max-width: 650px) {
	.gallery-section img {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.video-container {
		margin: 0;
	}
}

/* booking modal */
.modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
}

.modal-content {
	background-color: #fff;
	border-radius: 12px;
	padding: 2rem;
	width: 90%;
	max-width: 420px;
	text-align: center;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	animation: fadeInUp 0.4s ease;
	position: relative;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-content h2 {
	margin-bottom: 0.5rem;
}

.modal-content p {
	color: #555;
	margin-bottom: 1.5rem;
}

.modal-content a {
	font-weight: bold;
}

.close-btn {
	position: absolute;
	right: 20px;
	top: 15px;
	font-size: 1.5rem;
	color: #333;
	cursor: pointer;
}

.whatsapp-btn {
	display: inline-block;
	background-color: #25d366;
	color: #fff;
	padding: 12px 18px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1rem;
	transition: background-color 0.2s;
}

.whatsapp-btn i {
	margin-right: 8px;
	color: white;
}

.whatsapp-btn:hover {
	background-color: #1ebe5a;
}

.qr-code {
	display: none;
	width: 200px;
	margin: 1rem auto 0;
	border-radius: 10px;
}

.gtc-link {
	margin-top: 30px;
	display: block;
}

.contact-button {
	background-color: #0073e6;
	color: white;
	border: none;
	padding: 10px 18px;
	margin: 5px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.2s;
}

.contact-button i {
	color: white;
}

.contact-button:hover {
	background-color: #005bb5;
}

@media (min-width: 768px) {
	#whatsappButton {
		display: none;
	}
	#qrCode {
		display: block;
	}
}

/* footer */
footer {
	text-align: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.7);
	color: #aaa;
}
