/* ==========================================================================
 * Aluminium Metal Ceilings Page — ceiling.css
 * ========================================================================== */

.cel-page {
	padding: 0;
}

/* Width-constrained wrapper */
.cel-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* ==========================================================================
 * Layout — main 2/3 + sidebar 1/3
 * ========================================================================== */
.cel-layout {
	display: block;
	padding-top: 60px;
	padding-bottom: 60px;
}

/* ==========================================================================
 * Title + intro
 * ========================================================================== */
.cel-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: #222;
	text-align: center;
	margin: 0 0 24px;
}

.cel-intro,
.cel-section__desc {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

.cel-intro p,
.cel-section__desc p {
	margin: 0 0 12px;
}

/* Note line under the intro (small ▸ icon + text) */
.cel-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 28px;
	padding: 0;
}

.cel-note__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #607d8b;
	color: #fff;
	font-size: 11px;
	margin-top: 2px;
}

.cel-note__text {
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}

.cel-note__text a {
	color: #2ba0a3;
	text-decoration: none;
}

.cel-note__text a:hover {
	text-decoration: underline;
}

/* ==========================================================================
 * Section (heading + description + portfolio grid)
 * ========================================================================== */
.cel-section {
	margin-top: 36px;
}

.cel-section__heading {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 28px;
	font-weight: 700;
	color: #222;
	line-height: 1.2;
	margin: 0 0 12px;
}

.cel-section__arrow {
	color: #607d8b;
	font-size: 20px;
	display: inline-block;
	transform: translateY(-1px);
}

.cel-section__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 18px;
}

/* ==========================================================================
 * Card
 * ========================================================================== */
.cel-card {
	background: #fff;
	border: 1px solid #ebeaea;
	border-bottom-width: 3px;
}

.cel-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.cel-card__media {
	position: relative;
	overflow: hidden;
}

.cel-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 300 / 214;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cel-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(96, 125, 139, 0.85);
	color: #fff;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.cel-card__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	text-align: center;
	line-height: 1.35;
}

.cel-card:hover .cel-card__overlay {
	opacity: 1;
}

.cel-card:hover .cel-card__media img {
	transform: scale(1.04);
}

/* ==========================================================================
 * Separator
 * ========================================================================== */
.cel-sep {
	width: 100%;
	height: 0;
	border-top: 1px solid #e0dede;
	border-bottom: 1px solid #e0dede;
	margin: 36px 0;
}

/* ==========================================================================
 * Sharing strip
 * ========================================================================== */
.cel-sharing {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: #f6f6f6;
	padding: 18px 24px;
	border-radius: 4px;
}

.cel-sharing__title {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin: 0;
}

.cel-sharing__icons {
	display: flex;
	gap: 8px;
}

.cel-social {
	display: inline-flex;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	background: #607d8b;
	transition: filter 0.2s ease;
}

.cel-social:hover {
	filter: brightness(1.1);
}

.cel-social--facebook  { background: #3b5998; }
.cel-social--x         { background: #000; }
.cel-social--reddit    { background: #ff4500; }
.cel-social--linkedin  { background: #0077b5; }
.cel-social--tumblr    { background: #35465c; }
.cel-social--pinterest { background: #bd081c; }

/* ==========================================================================
 * Contact form (inline)
 * ========================================================================== */
.cel-contact {
	margin-top: 28px;
}

.cel-contact__heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 19px;
	font-weight: 600;
	color: #000;
	margin: 0 0 18px;
	line-height: 1.4;
}

.cel-contact__icon {
	color: #607d8b;
}

.cel-contact__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.cel-contact__field {
	display: flex;
	flex-direction: column;
}

.cel-contact__field label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.cel-required {
	color: #e53935;
}

.cel-contact__field input,
.cel-contact__field textarea {
	width: 100%;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	color: #333;
	line-height: 1.4;
	border: 1px solid #ccc;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.cel-contact__field input:focus,
.cel-contact__field textarea:focus {
	border-color: #607d8b;
	outline: none;
	box-shadow: 0 0 0 3px rgba(96, 125, 139, 0.15);
}

.cel-contact__submit {
	align-self: flex-start;
	padding: 12px 32px;
	background: #607d8b;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.cel-contact__submit:hover {
	background: #4a6571;
}

/* ==========================================================================
 * Sidebar
 * ========================================================================== */
.cel-sidebar {
	position: sticky;
	top: 100px;
}

.cel-sidebar__widget {
	margin-bottom: 28px;
}

.cel-search {
	display: flex;
	align-items: stretch;
}

.cel-search input[type="search"] {
	flex: 1 1 auto;
	padding: 10px 12px;
	font-size: 14px;
	color: #333;
	border: 1px solid #ccc;
	border-right: none;
	background: #fff;
	box-sizing: border-box;
}

.cel-search input[type="search"]:focus {
	outline: none;
	border-color: #607d8b;
}

.cel-search button {
	width: 42px;
	background: #f2f2f2;
	border: 1px solid #ccc;
	color: #333;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.cel-search button:hover {
	background: #e6e6e6;
}

.cel-sidebar__title {
	font-size: 18px;
	font-weight: 700;
	color: #222;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0dede;
}

.cel-sidebar__menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cel-sidebar__menu li {
	margin: 0;
}

.cel-sidebar__menu a {
	display: block;
	padding: 10px 0;
	font-size: 14px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #efefef;
	transition: color 0.2s;
}

.cel-sidebar__menu a:hover {
	color: #2ba0a3;
}

.cel-sidebar__menu li:last-child a {
	border-bottom: none;
}

/* ==========================================================================
 * Responsive
 * ========================================================================== */
@media (max-width: 960px) {
	.cel-layout {
		grid-template-columns: 1fr;
	}

	.cel-sidebar {
		position: static;
	}

	.cel-title {
		font-size: 30px;
	}

	.cel-section__heading {
		font-size: 22px;
	}

	.cel-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.cel-container {
		padding: 0 16px;
	}

	.cel-title {
		font-size: 26px;
	}

	.cel-section__grid {
		grid-template-columns: 1fr;
	}
}
