:root {
--primary: #49634B;
--secondary: #7A9C6D;
--light: #f6f6f6;
--text: #2B2B2B;
}

* {
box-sizing: border-box;
scroll-behavior: smooth;
}

html, body {
margin: 0;
padding: 0;
}

body {
font-family: 'Segoe UI', sans-serif;
color: var(--text);
background: var(--light);
}

.local-caption {
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  padding: 0 1rem;
}

.local-caption hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 2rem auto;
  width: 60%;
}

.dev-hidden {
display: none;
}

/* 🖝️ Top Header */
.top-header {
display: flex;
justify-content: space-between;
align-items: center;
background: #f6f6f6;
padding: 0.75rem 1.5rem;
border-bottom: 1px solid #ddd;
flex-wrap: wrap;
}

.top-left {
display: flex;
align-items: center;
}

.top-logo {
height: 125px;
width: auto;
padding: 0.5rem 1rem;
}

.top-right {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
gap: 0.25rem;
}

.top-contact {
color: var(--text);
font-size: 0.95rem;
text-decoration: none;
font-weight: 500;
}

.top-contact:hover {
color: #7DC136;
}

/* ✅ Hero Section */
.hero-split {
display: flex;
flex-wrap: wrap;
height: auto;
min-height: 400px;
margin-bottom: 0;
}

.hero-left,
.hero-right {
flex: 1;
min-width: 300px;
position: relative;
max-height: 500px;
overflow: hidden;
}

.hero-left-image,
.hero-banner-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.hero-button-group {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
gap: 0.75rem;
align-items: center;
}

.hero-button-group .cta-button {
width: 220px;
text-align: center;
white-space: normal;
padding: 1rem;
line-height: 1.3;
background: var(--primary);
color: white;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
font-size: 1rem;
transition: background 0.3s ease;
}

.hero-button-group .cta-button:hover {
background: var(--secondary);
}

/* ✅ Navbar */
.navbar {
background: var(--primary);
padding: 0.75rem 0;
text-align: center;
position: sticky;
top: 0;
z-index: 1000;
}

.navbar a {
color: white;
margin: 0 1rem;
text-decoration: none;
font-weight: 500;
}

/* ✅ Main Content */
main {
padding: 2rem 1rem;
max-width: 1000px;
margin: auto;
}

h2 {
text-align: center;
color: var(--primary);
}

ul {
list-style-type: none;
padding: 0;
}

ul li::before {
content: "\2713\0020";
color: var(--primary);
font-weight: bold;
}

/* ✅ Gallery */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}

.gallery-grid img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ✅ Waste Info Section */
.waste-info {
background: #f0b11c;
padding: 3rem 1rem;
width: 100%;
margin: 0;
overflow-x: hidden;
}

.waste-info h2 {
color: white;
margin-bottom: 2rem;
font-size: 2rem;
}

.waste-cards {
display: flex;
gap: 1.5rem;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 1rem;
}

.waste-card {
background: white;
padding: 2rem;
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
min-width: 280px;
flex: 0 0 auto;
scroll-snap-align: start;
text-align: left;
}

.icon-circle {
width: 60px;
height: 60px;
border-radius: 50%;
font-size: 1.8rem;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}

.icon-circle.green { background: #83c756; color: white; }
.icon-circle.orange { background: #fcb638; color: white; }
.icon-circle.red { background: #ec4e65; color: white; }

.waste-title.green { color: #5a9c3c; }
.waste-title.orange { color: #e5902e; }
.waste-title.red { color: #d33444; }

/* ✅ Forms */
form {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
max-width: 600px;
margin: auto;
}

input, textarea {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 6px;
}

button {
background: var(--primary);
color: white;
border: none;
padding: 0.8rem 2rem;
border-radius: 6px;
font-size: 1rem;
cursor: pointer;
}

/* ✅ Footer */
footer {
background: var(--primary);
color: white;
text-align: center;
padding: 2rem 1rem;
margin-top: 3rem;
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
.hero-split {
flex-direction: column;
}

.hero-left,
.hero-right {
max-height: 300px;
}

.hero-banner-img {
object-position: center 80%;
}

.top-header {
flex-direction: column;
align-items: center;
text-align: center;
padding: 1rem;
}

.top-logo {
height: 80px;
margin-bottom: 0.5rem;
}

.top-right {
align-items: center;
}

.top-contact {
font-size: 0.9rem;
}

.navbar {
padding: 0.5rem 0;
}

.hide-on-mobile {
display: none !important;
}

.waste-cards {
flex-direction: column;
align-items: center;
}
}

@media (min-width: 769px) {
.waste-cards {
overflow-x: unset;
flex-wrap: wrap;
justify-content: center;
}

.waste-card {
flex: 1;
max-width: 300px;
}

.navbar a {
margin: 0 2rem;
}
}
