/* --- Main Layout Grid --- */
.main-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-top: 25px;
}

/* --- Sidebar --- */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 40px;
	position: sticky;
	top: 20px;
}

.search-bar {
	position: relative;
}

.search-bar input {
	width: 100%;
	padding: 12px 16px 12px 40px;
	background-color: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font-size: 1rem;
}

.search-bar input:focus {
	outline: none;
	box-shadow: 0 0 0 2px #F87171;
}

.search-bar .icon {
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: #6b7280;
}

/* --- Carousel Styles --- */
#mainCarousel {
	margin: 0 auto 1rem auto;
	--carousel-button-color: #170724;
	--carousel-button-bg: #fff;
	--carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%), 0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
	--carousel-button-svg-width: 20px;
	--carousel-button-svg-height: 20px;
	--carousel-button-svg-stroke-width: 2.5;
	aspect-ratio: 16 / 9;
}

#mainCarousel .carousel__slide {
	width: 100%;
	padding: 0;
	max-width: 900px;
	max-height: 600px;
	margin: 0 auto;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

#mainCarousel .carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: 100%;
	max-height: 600px;
	display: block;
	border-radius: 6px;
}

#mainCarousel .carousel__button.is-prev {
	left: -1.5rem;
}

#mainCarousel .carousel__button.is-next {
	right: -1.5rem;
}

#mainCarousel .carousel__button:focus {
	outline: none;
	box-shadow: 0 0 0 4px #A78BFA;
}

#thumbCarousel .carousel__slide {
	opacity: 0.5;
	padding: 0;
	margin: 0.25rem;
	width: 96px;
	height: 64px;
}

#thumbCarousel .carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	max-width: 100%;
	max-height: 100%;
}

#thumbCarousel .carousel__slide.is-nav-selected {
	opacity: 1;
}

/* --- Project Info Styles --- */
.project-info {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 24px 0;
}

.info-item {
	text-align: center;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background-color: #f9fafb;
}

.info-item label {
	display: block;
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 8px;
	font-weight: 500;
}

.info-item .value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2937;
}

@media (min-width: 1024px) {
	.main-grid {
		grid-template-columns: 75% 25%;
		gap: 30px;
	}
}

/* --- Specifications Styles --- */
.specifications {
	margin: 24px 0;
}

.specifications-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 16px;
}

.specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.specs-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
}

.spec-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: #6b7280;
	font-weight: 500;
}

.spec-label svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: #6b7280;
}

.spec-value {
	font-size: 0.95rem;
	color: #1f2937;
	font-weight: 600;
}


/* --- Contact Card Styles --- */
.contact-card {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.contact-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 12px;
}

.contact-posted {
	font-size: 0.75rem;
	color: #9ca3af;
	margin-bottom: 4px;
}

.contact-name {
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 16px;
	line-height: 1.4;
}

.contact-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.contact-card .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #e5e7eb;
	background-color: #fff;
	color: #1f2937;
	cursor: pointer;
	transition: all 0.2s;
}

.contact-card contact-card .btn:hover {
	background-color: #f3f4f6;
}

.contact-card .btn-call {
	background-color: #dc2626;
	color: #fff;
	border-color: #dc2626;
}

.contact-card .btn-call:hover {
	background-color: #b91c1c;
}

.contact-card .btn svg {
	width: 16px;
	height: 16px;
}

.contact-card .btn img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

@media (max-width: 1024px) {
	.project-info {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.specs-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.project-info {
		grid-template-columns: 1fr;
	}
	#mainCarousel .carousel__button.is-prev	{
		left: -1rem;
	}#mainCarousel .carousel__button.is-next {
    right: -2rem;
}

}