@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

html, body {
	margin: 0;
	padding: 0;
	background-color: #f1f1f1;
	height: 100%;
}

* {
	box-sizing: border-box;
	font-family: "Quicksand", sans-serif;
	font-size: 15pt;
}

#main {
	width: 900px;
	min-height: 100vh;
	margin: 0 auto;
	background-color: #ffffff;
	border-left: 1px solid #1a1a1a;
	border-right: 1px solid #1a1a1a;
	box-shadow: 0 6px 5px 5px rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 6px 5px 5px rgba(0, 0, 0, 0.19);
	-webkit-box-shadow: 0 6px 5px 5px rgba(0, 0, 0, 0.19);
	display: flex;
	flex-direction: column;
}

#header {
	width: 100%;
	height: 60px;
	padding: 8px;
	font-size: 11pt;
	line-height: 11pt;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#header i {
	margin-right: 5px;
}

#header a, #header a:visited {
	text-decoration: none;
}

#header a:hover {
	text-decoration: underline;
}

#header .left {
	font-size: inherit;
}

#header .right {
	font-size: inherit;
}

#header .right i:last-child {
	margin-left: 3px;
}

#top {
	max-width: 100%;
	height: 200px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 10px 8px;
	background-image: url('images/banner.jpg');
	background-repeat: no-repeat;
}

#logo {
	max-width: 100%;
	height: auto;
}

#book-button {
	display: block;
	width: 155px;
	height: 65px;
	line-height: 60px;
	background-color: rgb(242,242,242,0.8);
	border: 2px solid #1f1f1f;
	border-radius: 6px;
	box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.19);
	-webkit-box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.19);
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	outline: 0;
	font-size: 18pt;
	font-weight: bold;
	transition: all 0.5s ease;
}

#book-button:hover {
	background-color: rgb(255,255,255,0.4);
	color: #f1f1f1;
	text-shadow: 2px 2px 3px #000;
}

#content {
	padding: 8px;
	height: 100%;
}

#content h3 {
	margin: 0px;
	padding: 0px;
	color: #8d5a6e;
	font-size: 1.3em;
}

.section-title {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 15px -8px 15px -8px;
	padding: 0px 8px;
	background-repeat: no-repeat;
}

.section-title span {
	animation: fade-and-slide 1.5s ease-out forwards;
	font-size: 2em;
	font-weight: bold;
	font-family: "Nunito Sans", sans-serif;
	color: #8d5a6e;
	text-shadow: 2px 1px 3px #000;
}

@keyframes fade-and-slide {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translateX(0);
	}
}

.section-title.services {
	background-image: url('images/section_services.jpg');
}

.section-title.contact {
	background-image: url('images/section_contact.jpg');
}

#content-wrapper {
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	gap: 30px;
	align-items: flex-start;
}

#content-wrapper figure {
	margin: 0 auto;
	padding: 0;
	width: 300px;
}

#content-wrapper figcaption {
	font-size: 0.9em;
	font-weight: 500;
	color: #888;
	text-align: center;
	padding-top: 10px;
}

#content-wrapper img {
	width: 300px;
	height: auto;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid #e0b4c8;
	box-shadow: 0px 4px 10px #666, 0px -1px 5px #666;
}

#price-table {
	width: 60%;
	border-collapse: collapse;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	color: #333;
	letter-spacing: 0.5px;
}

#price-table thead th {
	background-color: #f8e9ed;
	color: #8d5a6e;
	padding: 14px 20px;
	text-align: left;
	font-size: 1.1em;
	font-weight: 600;
	text-transform: uppercase;
	border-bottom: 3px solid #e0b4c8;
}

#price-table tbody tr:nth-child(even) {
	background-color: #f0f0f0;
}

#price-table tbody td {
	padding: 4px;
}

#price-table th:last-child, #price-table td:last-child {
	text-align: right;
}

#price-table tbody td:last-child {
	font-weight: 500;
	color: #555;
}

.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	gap: 40px;
	font-family: 'Inter', sans-serif;
}

.contact-wrapper h3 {
	font-size: 1.4em;
	font-weight: 600;
	color: #8d5a6e;
	border-bottom: 2px solid #e0b4c8;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

.contact-info p {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	font-size: 1em;
}

.contact-info .fa-solid {
	width: 35px;
	text-align: center;
}

.opening-hours ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.opening-hours li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px dashed #eee;
	font-size: 1em;
}

.opening-hours li:last-child {
	border-bottom: none;
	padding-bottom: none;
}

.opening-hours li span {
	font-weight: 500;
	color: #333;
}

#footer {
	width: 100%;
	height: 40px;
	padding: 4px 0;
	border-top: 1px solid #000;
	background-color: #f1f1f1;
	text-align: center;
	font-size: 10pt;
	font-weight: bold;
}

a, a:visited {
	font-size: inherit;
	color: inherit;
}

a:hover {
	text-decoration: none;
}

/* responsive: mobile */
@media screen and (max-width:1023px) {
	#main {
		background-color: #ffffff;
		width: 100%;
		box-shadow: 0;
		border-left: 0;
		border-right: 0;
	}

	#header {
		padding: 8px 0px;
		margin-bottom: 20px;
	}

	#header div:first-child {
		margin-bottom: 12px;
	}

	#header .left, #header .right {
		width: 100%;
		text-align: center;
	}

	#top {
		padding: 0;
		justify-content: space-around;
		gap: 35px;
	}

	#logo {
		max-width: 90%;
		display: block;
		margin: 0 auto;
	}

	#book-button, #book-button:hover {
		outline: 0;
	}

	#content {
		padding: 25px 10px 0px 10px;
	}

	#content-wrapper {
		flex-direction: column;
		gap: 0px;
	}

	#content-wrapper img {
		width: 100%;
	}

        .section-title.services {
                background-position: 40% 0%;
        }

        .section-title.contact {
                background-position: 85% 50%;
        }

	#price-table {
		width: 100%;
	}

	.contact-wrapper {
		grid-template-columns: 1fr;
		margin: 0px;
		padding: 0px;
		gap: 10px;
	}

	.opening-hours {
		margin-top: 30px;
	}
}
