/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #1a1a1a;
  color: #e0e0e0;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #4caf50; text-decoration: none; transition: color 0.2s; }
a:hover { color: #81c784; }

img { max-width: 100%; height: auto; display: block; }

/* ===== Navbar ===== */
.navbar {
  background: #2d2d2d;
  border-bottom: 1px solid #3a3a3a;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0.5rem 1.1rem;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(76, 175, 80, 0.15);
}

.nav-search {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.5rem;
  transition: color 0.2s;
}
.nav-search:hover { color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* ===== Hero ===== */
.hero {
  background: #222;
  text-align: center;
  padding: 2rem 2rem 1rem;
  width: 100%;
}

.hero img {
  max-width: 700px;
  width: 60%;
  margin: 0 auto;
}

/* ===== Panels (Home) ===== */
.panels {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.panel {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #e0e0e0;
  display: block;
}

.panel:hover img {
  transform: scale(1.05);
}

.panel img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.panel-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.panel-label h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  text-transform: capitalize;
}

.panel-label span {
  font-size: 0.85rem;
  color: #81c784;
  font-style: italic;
  letter-spacing: 2px;
}

/* ===== Page Content ===== */
.page-banner {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  flex: 1;
}

.page-content h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 0.5rem;
}

.page-content .intro {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.page-content .closing {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3a3a3a;
  font-size: 1.05rem;
  color: #4caf50;
  font-weight: 500;
}

/* Service sections */
.service-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2d2d2d;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section h2 {
  font-size: 1.25rem;
  color: #4caf50;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.service-section p {
  color: #ccc;
  line-height: 1.8;
}

/* About page */
.about-image {
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ===== Footer ===== */
.footer {
  background: #2d2d2d;
  border-top: 1px solid #3a3a3a;
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

.footer-contact {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ccc;
}

.footer-contact a { color: #4caf50; }
.footer-contact span { color: #888; margin: 0 0.5rem; }

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #999;
  font-size: 0.9rem;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #666;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #2d2d2d;
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid #3a3a3a;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    padding: 0.8rem 2rem;
    border-radius: 0;
  }

  .nav-search { display: none; }

  .panels {
    grid-template-columns: 1fr;
  }

  .page-content h1 { font-size: 1.5rem; }

  .hero img { max-width: 90%; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 1rem; }
  .page-content { padding: 2rem 1rem 3rem; }
  .panels { padding: 1rem; }
}
