/* General Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; /* Allow content to scroll if necessary, but no forced scrollbar */
	background-color: rgba(0, 0, 0, 0.9); /* Slightly darker for better contrast */
	padding: 20px;
	box-sizing: border-box;
}

.modal-content {
	background-color: #fff;
	margin: auto;
	padding: 20px;
	border-radius: 10px;
	max-width: 1000px; /* Cap width for larger screens */
	width: 90%; /* Adjust for smaller screens */
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.modal-header {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 15px;
	text-align: center;
	color: #333;
}

.modal-body {
	font-size: 16px;
	line-height: 1.6;
	color: #555;
	text-align: center;
}

.modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image.instagram {
    width: calc(33.333% - 10px);
    max-width: 300px;
}

.image.instagram img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video {
	width: 100%; /* Make videos responsive */
	max-width: 450px; /* Limit max width per video */
}


.video iframe {
	width: 100%; /* Full width within the video container */
    height: 100%;
	aspect-ratio: 16 / 9; /* Maintain 16:9 aspect ratio */
	border-radius: 10px;
	border: none; /* Remove iframe borders */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
