header {
	background: #f7f7f7d9;
}
.logo {
	filter: invert(1);
}

.hamburger-line {
	stroke: black;
}

.header-book-button {
	color: black;
}
.header-book-button:hover {
	color: white;
	border-color: white;
}

#hamburger-icon {
	background-color: #00000024;
}
main {
	z-index: 2;
}


.villa-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1440px;
	margin-bottom: 50px;
}

.villa-images-container {
    display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
	gap: 10px;
    cursor: pointer;
}
.villa-images-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    aspect-ratio: 16 / 9;
}
.image-container-view-all {
    position: absolute;
	bottom: 20px;
	right: 20px;
	background-color: white;
	padding: 10px 15px;
	border-radius: 8px;
	font-family: Averta;
	font-weight: 400;
    cursor: pointer;
}
.image-container-view-all:hover {
    opacity: 0.7;
}

.villa-details-container {
	width: calc(100% - 40px);
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	max-width: 1350px;
}
.villa-details-left,
.villa-details-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.villa-details-right {
	justify-content: center;
	align-items: end;
	position: sticky;
	top: 0;
}
.villa-name {
	margin: 0;
	margin-top: 20px;
	font-size: 60px;
	font-family: 'HattonLight';
	font-weight: 300;
}
.villa-specs-container {
	display: flex;
	align-items: center;
	gap: 15px;
}
.villa-spec-item {
	display: flex;
	align-items: center;
	gap: 5px;
    font-family: Averta;
}
.villa-spec-item img {
	height: 20px;
    opacity: 0.7;
}
.villa-description {
	font-family: Averta;
	font-weight: 300;
	line-height: 1.7;
	font-size: 17px;
	color: #444;
	white-space: break-spaces;
	text-align: justify;
}
.about-stay-container {
    display: flex;
	flex-direction: column;
	gap: 20px;
    margin-top: 20px;
}
.about-stay-title {
    font-size: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}
.amenities-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Averta;
}
#amenities-container {
    max-height: 260px;
    overflow: hidden;
    transition: max-height 1.2s ease;
}

#amenities-container.expanded {
    max-height: 2000px;
}

#amenities-view-all button {
	cursor: pointer;
	background: none;
	border: none;
	color: var(--olive-bg);
	font-size: 16px;
	transition: opacity 0.3s ease;
	font-weight: 400;
	font-family: Averta;
}

#amenities-view-all.fade-out {
    opacity: 0;
    pointer-events: none;
}

.amenities-container.additional {
	margin-top: 20px;
}
.amenities-title {
    font-size: 19px;
}
.amenities-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.amenities-grid.additional {
	grid-template-columns: 1fr;
}
.amenity-item {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}
.amenity-item svg {
	flex-shrink: 0;
	opacity: 0.8;
}

.villa-book-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: calc(100% - 40px);
	max-width: 560px;
	margin-top: 20px;
	padding: 20px;
	border-radius: 30px;
	box-shadow: 0 0 5px #a2a2a2;
	background-color: white;
	font-family: Averta;
}
.villa-book-container span {
	font-size: 22px;
}

.booking-buttons-container {
	display: flex;
	gap: 10px;
}
.booking-button {
	height: 50px;
	border-radius: 25px;
	border: 1px solid #b3b3b3;
	display: flex;
	align-items: center;
	padding: 0 15px;
	gap: 10px;
	justify-content: center;
	width: calc(100% - 30px);
	cursor: pointer;
	transition: opacity 0.3s
}
.booking-button:hover {
	opacity: 0.7;
}

.booking-button.check-availability {
	background-color: var(--olive-bg);
	color: white;
	border: none;
}
.booking-button svg {
	fill: var(--olive-bg);
	width: 20px;
	height: 20px;
}
.booking-button.check-availability svg {
	fill: white;
}

.villa-video-container {
	width: 100%;
	max-width: 600px;
}
.villa-video-container video {
	width: 100%;
	border-radius: 30px;
}

.top-view-container {
	width: 100%;
}
.top-view-container img {
	width: 100%;
}


.villa-map-container {
	z-index: 0;
	aspect-ratio: 1.38;
}
.villa-map {
	height: 100%;
	width: 100%;
	border-radius: 20px;
	background-color: #ffffff;
	overflow: hidden;
	box-shadow: 0 0 1px #000000;
}

.get-directions {
	position: absolute;
	padding: 15px;
	background-color: var(--olive-bg);
	color: white;
	border-radius: 20px 0;
	z-index: 2;
	font-family: 'Averta';
	cursor: pointer;
}

.services-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 15px;
	font-family: 'HattonLight';
	font-weight: bold;
	font-size: 18px;
}
.service-item img {
	width: 45px;
	height: 70px;
}
@media (max-width: 1200px) {
	.services-list {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 1000px) {
	.villa-name {
		font-size: 28px;
	}
	.villa-spec-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.villa-spec-item img {
		height: 17px;
	}
}


@media (max-width: 768px) {
	.villa-description {
		font-size: 16px;
	}
    .villa-details-container {
        flex-direction: column;
    }
	.villa-video-container {
		z-index: 1;
	}

	.villa-video-container video {
		border-radius: 15px;
	}

	.villa-book-container {
		z-index: 2;
		position: fixed;
		bottom: 0;
		max-width: unset;
		left: 0;
		padding: 15px;
		border-radius: 30px 30px 0 0;
		box-shadow: 0 0 10px #00000059;
		padding-bottom: 5px;
		gap: 10px;
		width: calc(100% - 30px);
	}

	footer {
		margin-bottom: 135px;
	}
}

@media (max-width: 500px) {
	.service-item {
		gap: 15px;
		font-size: 16px;
	}
	.service-item img {
		width: 35px;
		height: 50px;
	}
}