/* ===============================
GALLERY SECTION
=============================== */
.dr1055galleryimage {
	padding: 120px 6%;
	background: linear-gradient(180deg, #0f172a, #020617);
	color: white;
	overflow: hidden;
	font-family: system-ui, -apple-system, sans-serif;
}

/* container */
.dr1055galleryimage .container {
	max-width: 1400px;
	margin: auto;
}

/* ===============================
HEADER
=============================== */
.dr1055galleryimage .section-header {
	text-align: center;
	margin-bottom: 70px;
}

.dr1055galleryimage .section-header h2 {
	font-size: 44px;
	font-weight: 700;
	letter-spacing: 1px;
	background: linear-gradient(90deg, #ffffff, #d4af37);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dr1055galleryimage .section-header p {
	max-width: 750px;
	margin: auto;
	margin-top: 15px;
	font-size: 17px;
	opacity: 0.85;
	line-height: 1.7;
}

/* ===============================
GALLERY GRID
=============================== */
.dr1055galleryimage .gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 35px;
	align-items: start;
}

/* ===============================
CARD
=============================== */
.dr1055galleryimage .card {
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	transition: all 0.45s ease;
	opacity: 0;
	transform: translateY(40px) scale(0.96);
	display: flex;
	flex-direction: column;
}

/* visible animation */
.dr1055galleryimage .card.show {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* hover effect */
.dr1055galleryimage .card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

/* ===============================
IMAGE
=============================== */
.dr1055galleryimage .image {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.dr1055galleryimage .image img {
	width: 100%;
	height: auto; /* maintain aspect ratio */
	max-height: 400px; /* desktop max height */
	object-fit: contain; /* prevents cropping */
	transition: transform 0.7s ease;
}

/* image zoom on hover */
.dr1055galleryimage .card:hover img {
	transform: scale(1.05);
}

/* ===============================
CONTENT
=============================== */
.dr1055galleryimage .content {
	padding: 20px 28px;
	flex: 1;
}

.dr1055galleryimage .content h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.dr1055galleryimage .content p {
	font-size: 15px;
	opacity: 0.85;
	line-height: 1.6;
}

/* ===============================
CTA BUTTON
=============================== */
.dr1055galleryimage .cta {
	text-align: center;
	margin-top: 60px;
}

.dr1055galleryimage .cta a {
	display: inline-block;
	padding: 14px 34px;
	border-radius: 50px;
	background: linear-gradient(90deg, #d4af37, #facc15);
	color: #000;
	font-weight: 600;
	text-decoration: none;
	transition: 0.3s;
}

.dr1055galleryimage .cta a:hover {
	transform: scale(1.08);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* ===============================
TABLET
=============================== */
@media ( max-width : 900px) {
	.dr1055galleryimage .section-header h2 {
		font-size: 34px;
	}
	.dr1055galleryimage .gallery-grid {
		gap: 25px;
	}
	.dr1055galleryimage .image img {
		max-height: 300px;
	}
}

/* ===============================
MOBILE
=============================== */
@media ( max-width : 768px) {
	.dr1055galleryimage {
		padding: 80px 20px;
	}
	.dr1055galleryimage .gallery-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.dr1055galleryimage .image img {
		max-height: 250px;
	}
	.dr1055galleryimage .section-header h2 {
		font-size: 28px;
	}
	.dr1055galleryimage .section-header p {
		font-size: 15px;
	}
}