/* ============================================================
   Penetang Sand & Gravel — v9 Single Page (Green/Dark based on v2)
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:      #8dc63f;
  --green-dark: #6ea52e;
  --charcoal:   #1a1a1a;
  --charcoal-light: #2d2d2d;
  --black:     #0a0a0a;
  --white:     #ffffff;
  --light:     #f5f5f5;
  --mid:       #e8e8e8;
  --text:      #e8f5e9;
  --text-muted:#a8cfa8;
  --radius:    8px;
  --max-w:     1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-alt { background: var(--charcoal); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.section-title .accent { color: var(--green); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
}

.btn-primary {
  background: var(--green);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--green-dark);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--green);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--charcoal-light);
  color: #bbb;
  font-size: .8rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.top-bar a { color: #bbb; }
.top-bar a:hover { color: var(--green); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid #333;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.navbar-brand img { height: 40px; }

.navbar-menu {
  display: flex;
  gap: 4px;
}
.navbar-menu a {
  color: #aaa;
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--white);
  background: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero-hero {
  background: linear-gradient(135deg, #0a1a0a 0%, #1a2e1a 50%, #0a0a0a 100%);
  padding: 80px 0;
  color: var(--white);
}

.hero-content { max-width: 560px; }

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 24px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-hero h1 span { color: var(--green); }

.hero-sub {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 12px;
}

.product-card {
  background: var(--charcoal);
  border: 1px solid #333;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  padding: 16px 16px 8px;
}
.product-card p {
  font-size: .85rem;
  color: var(--text-muted);
  padding: 0 16px 16px;
}

/* ---------- Service Section ---------- */
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-section {
  background: var(--charcoal);
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 24px;
}
.service-section h3 {
  color: var(--green);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-section p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ---------- About ---------- */
.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 16px;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.contact-block {
  background: var(--charcoal);
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 24px;
}
.contact-block h3 {
  color: var(--green);
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-block p {
  color: var(--text-muted);
  font-size: .95rem;
}
.contact-block a { color: var(--green); }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  border-top: 1px solid #333;
}
.footer-main { padding: 48px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--green); }
.footer-col p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid #333;
  padding: 16px 0;
  text-align: center;
  font-size: .85rem;
  color: #666;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .top-bar { display: none; }
  
  .nav-toggle { display: flex; flex-direction: column; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid #333;
  }
  .navbar-menu.open { display: flex; }
  
  .hero-hero { padding: 48px 0; }
  
  .section { padding: 48px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}