/* Classes copied from style.css for index.html sections */

.our-work {
	position: relative;
    background: linear-gradient(180deg, var(--primary) 50%, var(--secondary) 100%);
    padding: 8rem 5% 1.5rem;
    text-align: center;
    overflow: hidden;
}

.work-section {
	padding: 1.5rem 5%;
	background-color: var(--secondary);

}

.work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 1400px;
	margin: 0 auto;
}

.work-card {
	position: relative;
	height: 280px;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
	animation: fadeInUp 0.5s ease forwards;
	opacity: 0;
}

.work-card:hover {
	transform: scale(1.03);
}

.work-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	/* backdrop-filter blurs the image behind this layer */
	backdrop-filter: blur(8px) brightness(0.55);
	-webkit-backdrop-filter: blur(8px) brightness(0.55);
	padding: 1.2rem 1.5rem;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.work-card-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.work-card-subtitle {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0.5rem;
}

.work-card:nth-child(1) {
	animation-delay: 0.1s;
}

.work-card:nth-child(2) {
	animation-delay: 0.2s;
}

.work-card:nth-child(3) {
	animation-delay: 0.3s;
}

.work-card:nth-child(4) {
	animation-delay: 0.4s;
}

.work-card:nth-child(5) {
	animation-delay: 0.5s;
}

.work-card:nth-child(6) {
	animation-delay: 0.6s;
}

.work-card.hidden {
	display: none;
}

.view-more-container {
	text-align: center;
	margin-top: 3rem;
	padding-bottom: 1rem;
}

.view-more-container:hover .view-more-btn {
	background: var(--primary);
	transform: translateY(-3px);}

.view-more-btn {
	display: block;
	width: fit-content;
	margin: 0 auto;
	background: var(--gold);
	color: var(--light);
	padding: 1rem 2.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	
}


.view-more-btn:hover {
	background: var(--primary);
    color: var(--gold);
    transform: translateY(-3px);

	
}

.view-more-container.hidden {
	display: none;
}

.lightbox-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.92);
	animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

/* Side-by-side: image left, info panel right */
.lightbox-inner {
	display: flex;
	align-items: stretch;
	max-width: 1100px;
	width: 100%;
	max-height: 88vh;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.lightbox-img-wrap {
	flex: 1 1 65%;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lightbox-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Right info panel */
.lightbox-info-panel {
	flex: 0 0 300px;
	background: #0d1a2b;
	padding: 3rem 2rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	border-left: 2px solid var(--gold, #b8972a);
}

.lightbox-info-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--gold, #b8972a);
	margin-bottom: 1rem;
	line-height: 1.3;
}

.lightbox-info-subtitle {
	font-size: 1rem;
	color: rgba(255,255,255,0.85);
	line-height: 1.6;
}

.lightbox-close {
	position: absolute;
	top: 1rem;
	right: 1.2rem;
	color: white;
	font-size: 2.2rem;
	font-weight: 300;
	cursor: pointer;
	background: transparent;
	border: none;
	line-height: 1;
	transition: transform 0.3s ease, color 0.2s;
}

.lightbox-close:hover {
	transform: rotate(90deg);
	color: var(--gold, #b8972a);
}

/* Mobile: stack vertically */
@media (max-width: 700px) {
	.lightbox-inner {
		flex-direction: column;
		max-height: 92vh;
	}
	.lightbox-img-wrap {
		flex: 0 0 55%;
		max-height: 55vh;
	}
	.lightbox-info-panel {
		flex: 1 1 auto;
		border-left: none;
		border-top: 2px solid var(--gold, #b8972a);
		padding: 1.5rem;
	}
	.lightbox-info-title {
		font-size: 1.2rem;
	}
}

.why-choose {
	padding: 5rem 5%;
	background-color: var(--secondary);
}

.why-choose-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.why-choose-image {
	width: 100%;
	height: 100%;
	min-height: 400px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: transform 0.3s ease;
}

.why-choose-image:hover {
	transform: scale(1.02);
}

.why-choose-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.why-choose-content {
	padding: 2rem 0;
}

.why-choose-title {
	font-size: 2.5rem;
	color: var(--gold);
	margin-bottom: 2rem;
	font-weight: 700;
}

.features-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.feature-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 1.5rem;
}

.feature-item:last-child {
	border-bottom: none;
}

.feature-item h3 {
	font-size: 1.3rem;
	color: #ffffff;
	margin-bottom: 0.8rem;
	font-weight: 600;
}

.feature-item a {
	color: var(--gold);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

.feature-item a:hover {
	gap: 0.8rem;
	color: #ffffff;
}

.feature-item a::after {
	content: '->';
	font-size: 1.2rem;
}

.hero-home {
	margin-top: 0px;
	position: relative;
	height: 100vh;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 0 5%;
	overflow: hidden;
}

.hero-home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
	z-index: 1;
}

.hero-home img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.hero-home-content {
	max-width: 500px;
	position: relative;
	z-index: 2;
}

.hero-home h1 {
	font-size: 1.8rem;
	margin-bottom: 0.8rem;
	line-height: 1.2;
	font-weight: 700;
}

.hero-home p {
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	color: #e0e0e0;
	line-height: 1.5;
}

.btn-home {
    background-color: var(--gold);
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-home a {
    color: var(--light);
    text-decoration: none;
}

.btn-home a:hover {
    color: var(--gold);
    text-decoration: none;
}

.btn-home:hover {
    color: var(--gold);
    background-color: var(--primary);
    transform: translateY(-2px);

}

.section-title-home {
	text-align: center;
	font-size: 2rem;
	color: var(--gold);
	margin: 1rem 0 1rem 0;
	position: relative;
}

.section-title-home-ourwork {
	background-color:linear-gradient(180deg, var(--primary) 40%, var(--secondary) 100%);
	text-align: center;
	font-size: 2rem;
	color: var(--gold);
	margin: 5rem 0 3rem 0;
	position: relative;
}
.section-subtitle-home {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



.testimonials-home {
	padding: 0 5%;
	max-width: 1200px;
	margin: 0 auto;
	background-color: var(--secondary);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.why-choose-container {
		gap: 3rem;
	}

	.why-choose-title {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.hero-home {
		height: 100vh;
		min-height: 100vh;
	}
	.work-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.work-card-subtitle {
		display: none;
	}

	.view-more-btn {
		padding: 0.8rem 2rem;
		font-size: 0.9rem;
	}

	.why-choose-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.why-choose-image {
		min-height: 300px;
	}

	.why-choose-title {
		font-size: 1.8rem;
		text-align: center;
	}

	.features-list {
		gap: 1.5rem;
	}

	.feature-item h3 {
		font-size: 1.1rem;
	}

	.hero-home {
		min-height: 450px;
	}

	.hero-home h1 {
		font-size: 1.5rem;
	}

	.hero-home p {
		font-size: 0.85rem;
	}

	.btn-home {
		padding: 0.6rem 1.5rem;
		font-size: 0.8rem;
	}

	.hero-home-content {
		max-width: 400px;
	}

	.hero-home::before {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
	}
}

@media (max-width: 480px) {
	.work-card-subtitle {
		display: none;
	}

	.view-more-btn {
		padding: 0.7rem 1.5rem;
		font-size: 0.85rem;
	}

	.why-choose {
		padding: 3rem 5%;
	}

	.why-choose-image {
		min-height: 250px;
	}

	.why-choose-title {
		font-size: 1.5rem;
	}

	.feature-item h3 {
		font-size: 1rem;
	}

	.feature-item a {
		font-size: 0.85rem;
	}

	.hero-home {
		min-height: 350px;
		padding: 2rem 3%;
	}

	.hero-home h1 {
		font-size: 1.3rem;
	}

	.hero-home p {
		font-size: 0.8rem;
		margin-bottom: 1.2rem;
	}

	.btn-home {
		padding: 0.6rem 1.3rem;
		font-size: 0.75rem;
	}

	.hero-home-content {
		max-width: 100%;
	}
}