
/* modal_Photo Styles */
.modal_Photo {
	display: none; /* Ẩn modal_Photo mặc định */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3); /* Hiệu ứng nền mờ */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
}

.modal_Photo.active {
	display: flex; /* Hiện modal_Photo khi active */
}

.modal_Photo-content {
	position: relative;
	width: 800px;
	height: 456px;
	background: #000;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
	overflow: hidden;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 24px;
	color: #fff;
	cursor: pointer;
	z-index: 10;
}

/* Carousel Styles */
.carousel {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.slides {
	display: flex;
	transition: transform 0.5s ease;
	width: calc(800px * 7); /* 5 ảnh + 2 ảnh nhân bản */
}

.slide {
	width: 800px;
	height: 456px;
	flex-shrink: 0;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
	
}

.controls_arrows {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	z-index: 10;
}
.controls_arrows button {
    box-shadow: none;
    cursor: pointer;
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.arrow {
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	font-size: 24px;
	padding: 10px;
	cursor: pointer;
	opacity: 0.8;
    background-image: none;
    padding: 7px 10px 7px 10px;
	
	
}

.arrow:hover {
	opacity: 1;
}

.dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
}

.dot {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.3s;
}

.dot.active {
	background: rgba(255, 255, 255, 1);
}