/* =========================================================
   Aardvark Pest Control – Base Styles
   Last updated: 2025-04-25
   ========================================================= */

/* --- GLOBAL RESET / BASE TYPOGRAPHY -------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #fff;
}

/* --- LAYOUT -------------------------------------------- */
#container {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
}

#header {
  padding: 20px 10px;
  border-bottom: 1px solid #ccc;
}

#header table { width: 100%; }

#sidebar1 {
  float: left;
  width: 30%;
  padding: 15px;
  border-right: 1px solid #ccc;
  min-height: 400px;
}

#mainContent {
  float: left;
  width: 70%;
  padding: 15px;
  min-height: 400px;
}

.clearfloat { clear: both; height: 0; }

/* --- HEADER -------------------------------------------- */
#logo { margin-right: 12px; }

#tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #666;
}

/* --- NAVIGATION BUTTONS -------------------------------- */
#button a {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 6px 14px;
  background: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
}
#button a:hover { background: #ddd; }

/* --- SIDEBAR ------------------------------------------- */
#sidebar1 h3 { margin-top: 0; }
#sidebar1 a { color: #006699; }
#sidebar1 a:hover { text-decoration: underline; }

/* --- MAIN CONTENT -------------------------------------- */
#mainContent h3 { margin-top: 0; }
#mainContent ul  { padding-left: 20px; }
#mainContent li  { margin-bottom: 6px; }
#mainContent li img {
  margin-left: 12px;
  margin-bottom: 4px;
  border: 1px solid #ccc;
}

/* --- FOOTER -------------------------------------------- */
#footer {
  clear: both;
  text-align: center;
  padding: 18px 10px;
  border-top: 1px solid #ccc;
  font-size: 0.875rem;
}
#footer a { color: #006699; }
#footer a:hover { text-decoration: underline; }

/* --- RESPONSIVE TWEAKS --------------------------------- */
@media (max-width: 767px) {
  #sidebar1,
  #mainContent {
    float: none;
    width: 100%;
    min-height: 0;
  }
  #sidebar1 { border-right: none; border-bottom: 1px solid #ccc; }
}
