/**
 * Slideout Navigation Styles
 * CSS only - no Sass
 */

.slideout-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slideout-menu.slideout-open {
	opacity: 1;
	visibility: visible;
}

.slideout-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.slideout-container {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	z-index: 2;
	transform: translateX(100%);
	transition: transform 0.4s ease;
}

.slideout-menu.slideout-open .slideout-container {
	transform: translateX(0);
}

/* Left Section (40%) */
.slideout-left {
	width: 50%;
	background-color: #DBBD9A;
	position: relative;
	overflow: hidden;
}
.slideout-pos {
	width: 432px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	height: auto;
	max-height: 560px;
	object-fit: cover;
	z-index: 2;
	top: 0;
	margin: auto;
}
.slideout-logo-circle {
	position: absolute;
	top: -90px;
	left: -82px;
	width: 182px;
	height: 182px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}

.slideout-logo-text {
	font-family: "bicyclette", sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #585853;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1.2;
	padding: 10px;
	transform: rotate(-15deg);
}

@keyframes rotate-slow {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.slideout-logo-icon {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	animation: rotate-slow 30s linear infinite;
}

.slideout-portrait {
	width:100%;
	height:100%;
	object-fit:cover;
}

/* Right Section (60%) */
.slideout-right {
	width: 50%;
	background-color: #FCFBFA;
	position: relative;
	padding: 80px 10%;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.slideout-close {
	position: absolute;
	top: 30px;
	right: 30px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
	transition: opacity 0.3s ease;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slideout-close:hover {
	opacity: 0.7;
}

.slideout-close-icon {
	display: block;
	width: 18px;
	height: 18px;
}

.slideout-navigation {
	flex: 1;
	display: flex;
	align-items: center;
}

.slideout-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.slideout-menu-list li {
	margin-bottom: 5px;
}

.slideout-menu-list a {
	color: #585853;
	text-decoration: none;
	font-family: "ivypresto-display", serif;
	font-size: 55px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: capitalize;
	letter-spacing: 0;
	transition: color 0.3s ease;
	display: block;
}
.slideout-menu-list .slideout-newsletter-button a {
	text-decoration:underline;
	font-family: 'bicyclette';
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 100px;
}
.slideout-menu-list a:hover {
	color: #F19B92;
}

/* Responsive */
@media (max-width: 900px) {
	.slideout-left {
		width: 50%;
	}
	.slideout-pos {
		width:80%;
		max-height: max-content;
	}
	.slideout-right {
		width: 50%;
		padding: 60px 40px;
	}
	
	.slideout-logo-circle {
		width: 116px;
		height: 116px;
		top: -30px;
		left: -27px;
	}
	
	.slideout-logo-text {
		font-size: 9px;
		padding: 8px;
	}
	
	.slideout-menu-list a {
		font-size: 35px;
	}
}

@media (max-width: 580px) {
	.slideout-left {
		width: 100%;
		overflow: visible;
		flex-shrink: 0;
		min-height: auto;
	}
	.slideout-logo-circle {
		top: 29px;
		left: -37px;
	}
	.slideout-pos {
		position:relative;
		top: inherit;
		left: inherit;
		right: inherit;
		margin: 0 auto;
		transform: translateX(0%);
		padding: 75px 10px;
		width: 66%;
	}
	
	.slideout-right {
		width: 100%;
		padding: 25px 30px 60px;
	}
	.slideout-menu {
		height: 100vh;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		overscroll-behavior: contain;
	}
	
	.slideout-menu.slideout-open {
		touch-action: pan-y;
	}
	
	.slideout-container {
		flex-direction:column-reverse;
		height: auto;
		min-height: 100vh;
		flex-shrink: 0;
		touch-action: pan-y;
	}
	
	.slideout-backdrop {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		min-height: 100vh;
		height: 100%;
	}
	
	.slideout-menu-list a {
		font-size: 27px;
		text-align: center;
	}
	
	.slideout-menu-list li {
		margin-bottom: 15px;
	}
	.slideout-navigation {
		margin-top:50px;
	}
}

