/* === Base === */
body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background-color: #ffffff;
  color: #222;
}

.site-container {
  width: 80%;
  max-width: 1200px;
  min-width: 800px;
  margin: 0 auto;
}

/* === Header: Edge-fill + Centered Logo === */
/* Outer wrapper: rounds edges and limits width */
.top-header-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 24px;
  background-color: #fff;
  overflow: hidden;        /* ✅ Clips all inside — including slices */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Logo bar container (no flex!) */
.top-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 232px;            /* Match logo height */
  width: 100%;
  font-size: 0;
}


/* Repeating 2px edges */
.logo-fill {
  flex: 1;
  height: 100%;
  background-repeat: repeat-x;
  background-size: 2px 232px;
  background-position: center;
}


.left-fill {
  background-image: url('../images/logo/detailed_logo/logoEdgeLeft.jpg');
}

.right-fill {
  background-image: url('../images/logo/detailed_logo/logoEdgeRight.jpg');
}

/* Center logo image */
.company-logo-detailed {
  display: inline-block;
  height: 232px;
  width: auto;
  vertical-align: top;
  margin: 0;
  padding: 0;
  border: none;
}


/* === Separator === */
.simple-separator {
  height: 8px;
  background-color: #ccc;
  margin: 0 auto 20px;
  width: 100%;
}

/* === Navigation Wrapper === */
.nav-wrapper {
  padding-top: 10px;
}

/* === Navbar === */
.navbar {
  background-color: #fff;
  position: relative;
  z-index: 1000;
  margin: 0;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-home .excavator-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.nav-button {
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  padding: 12px 21px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 21px;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #e6b800;
}

.nav-button.active {
  background-color: #ffe066;
}

/* === Page Content === */
.page-content {
  padding: 30px 20px;
  text-align: center;
}

.services-title {
  font-size: 40px;
  margin-bottom: 20px;
  color: #222;
}

.services-intro {
  font-size: 20px;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* === Info Section === */
.info-section {
  padding: 0 20px 60px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.info-row.alt .info-image {
  order: 2;
}

.info-row.alt .info-text {
  order: 1;
}

.info-image,
.info-text {
  flex: 1;
  min-width: 280px;
}

.info-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-text {
  text-align: center;
  padding: 0 20px;
}

.info-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.info-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.5;
}

.toggle-button {
  display: block;
  margin: 40px auto 20px;
  padding: 12px 20px;
  font-size: 16px;
  background-color: #0077aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.toggle-button:hover {
  background-color: #005f88;
}