/* =====================================================
   waste.css — Solid Waste page styles
   Depends on ../assets/css/main.css
===================================================== */
/* =====================================================
   1) TITLE BLOCK (HERO)
===================================================== */

.waste-hero {
	background: #f4f6f8;
	padding: 3rem 1rem 2rem;
	text-align: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: url("../../images/service.JPG") center / cover no-repeat;
	height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.waste-hero-overlay {
	background-color: rgba(0, 0, 0, 0.3);
}

.waste-hero-content {
	max-width: 900px;
	height: fit-content;
	margin: 0 auto;
	margin: auto ;
}

.waste-hero-content h1 {
	font-size: 0.85rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #cacaca;
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.waste-hero-content p {
	font-size: 2.75rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

.waste-hero-content::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: #f2a900;
	margin: 1.25rem auto 0;
	border-radius: 2px;
}

/* =====================================================
   2) PAGE LAYOUT (BREAK OUT OF TEMPLATE CENTERING)
===================================================== */

/* Some templates apply margins/padding that fight custom layouts */
#main.wrapper {
	margin-top: 0 !important;
}

#main .inner {
	/* Critical: remove template max-width constraints so sidebar can sit further left */
	max-width: none !important;
	width: 100%;
	padding-top: 0;
	padding-bottom: 2rem;
	margin-top: 0 !important;

	/* Page gutters */
	padding-left: 2rem;
	padding-right: 2rem;
}

/* Optional content wrapper (kept in your markup) */
.content-wrapper {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* Two-column layout: fixed sidebar + wide main */
.layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;

	/* Left-anchored feel like your screenshot */
	max-width: 1500px;
	margin-left: auto;
	margin-right: auto;
}

.main-content {
	min-width: 0;
	max-width: 100%;
}

/* =====================================================
   3) SIDEBAR
===================================================== */

.sidebar {
	width: 100%;
	max-width: 300px;
	background: #fff;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-right: 1px solid rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 100px;
}

.sidebar h3 {
	margin-top: 0;
	font-size: 1.1rem;
	color: #374151;
}

.sidebar p {
	font-size: 0.95rem;
	color: #555;
	margin-bottom: 1rem;
}

.sidebar a {
	color: #0077cc;
	text-decoration: none;
}

.sidebar a:hover {
	text-decoration: underline;
}

.sidebar hr {
	margin: 1.5rem 0;
	opacity: 0.2;
}

/* =====================================================
   4) GLOBAL TYPOGRAPHY + SPACING
===================================================== */

h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

p {
	line-height: 1.6;
	margin-bottom: 1rem;
}

hr {
	margin: 2rem 0;
	opacity: 0.2;
}

/* Keep section spacing consistent inside main content */
.main-content section {
	margin-bottom: 3rem;
}

/* =====================================================
   5) INFO CARDS
===================================================== */

.info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.card {
	background: #fff;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
	margin: 0 0 0.5rem 0;
	font-size: 0.95rem;
	color: #6b7280;
}

.card p {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

/* =====================================================
   6) ALERTS
===================================================== */

.battery-alert {
	padding: 1rem 1.5rem;
	border-radius: 10px;
	border-left: 4px solid #e53935;
	background: #fff5f5;
	margin: 1.5rem 0;
}

.battery-alert h3 {
	margin: 0 0 0.25rem 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: #b91c1c;
	letter-spacing: 1px;
}

.battery-alert p {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111827;
}

/* =====================================================
   7) CONTENT SECTIONS
===================================================== */

.notice {
	background: #f8fafc;
	padding: 1.5rem;
	border-radius: 8px;
}

/* Feature list */
.about .feature-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list li {
	background: #fff;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   8) MAP
===================================================== */

iframe.map {
	width: 100%;
	height: 450px;
	border: none;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-section iframe {
	margin-top: 1rem;
}

/* =====================================================
   9) COVER FEATURE
===================================================== */

.cover-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	background: rgba(242, 169, 0, 0.15);
	color: #374151;
	padding: 2rem;
	border-radius: 12px;
}

.cover-feature ul {
	padding-left: 1rem;
	margin: 0;
}

.cover-image img {
	width: 100%;
	border-radius: 10px;
}

/* =====================================================
   10) IMAGE POLISH
===================================================== */

.image.fit {
	border-radius: 8px;
	margin-top: 1rem;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   11) RESPONSIVE
===================================================== */

@media (max-width: 900px) {
	#main .inner {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.layout {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.sidebar {
		position: static;
		max-width: none;
	}
}

@media (max-width: 768px) {
	.waste-hero {
		padding: 2rem 1rem 1.5rem;
	}

	.waste-hero-content p {
		font-size: 1.75rem;
	}

	iframe.map {
		height: 300px;
	}

	.cover-feature {
		grid-template-columns: 1fr;
		padding: 1.5rem;
	}

	.info-cards {
		grid-template-columns: 1fr;
	}
}