/* Base styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.site-logo {
  height: 100px;
  width: auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 30px;
  flex-wrap: wrap;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.social-icons img {
  width: 48px;
  height: 48px;
}

.contact-info {
  text-align: left;
  font-size: 14px;
}

.contact-info p {
  margin: 0;
}

/* Navigation Bar */
.nav-bar {
  background-color: #f5f5f5;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.nav-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.nav-bar a,
.nav-inner a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav-bar a:hover,
.nav-inner a:hover {
  background-color: #e0e0e0;
  color: #0077cc;
}
.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* Top Info Bar */.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px; 
  width: 100%;
  background-color: #eee;
  font-size: 18px; /* increased font size */
  line-height: 1; /* keeps text tighter vertically */
  text-align: center;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.top-bar span {
  flex: 1;
}

.top-bar span:nth-child(2) {
  text-align: center;
}

.top-bar span:first-child {
  text-align: left;
}

.top-bar span:last-child {
  text-align: right;
}

/* Machine Intro */
.machine-intro {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 6px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.machine-intro p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}

/* Collapsible Sections */
.collapsible {
  width: 100%;
  max-width: 800px;
  background: #f2f2f2;
  border: none;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  text-align: left;
}

.collapsible:hover {
  background-color: #e0e0e0;
  color: #005fa3;
}

.arrow {
  transition: transform 0.3s ease;
}

.collapsible.active .arrow {
  transform: rotate(180deg);
}

.collapsible-content {
  display: none;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 0 auto 20px;
  max-width: 1000px;
}

/* Machine Grid Layout */
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Machine Items */
.machine-item {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.machine-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-height: 180px;
}

.machine-item p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Highlighted Links */
.machine-item a {
  text-decoration: none;
  font-weight: 600;
  color: #0077cc;
  display: inline-block;
  transition: color 0.3s;
}

.machine-item a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: #f5f5f5;
  padding: 40px 20px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ccc;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 200px;
  text-align: center;
}

.footer-hours h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
  font-weight: bold;
}

.footer-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
}

.footer-hours li {
  margin: 6px 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0077cc;
}

.footer-legal {
  margin-top: 20px;
}

.footer-legal p {
  margin: 6px 0;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 13px;
  }

  .nav-inner {
    flex-direction: column;
    gap: 15px;
  }

  .machine-grid {
    grid-template-columns: 1fr;
  }
 .site-footer {
   padding: 20px 10px; /* Reduce vertical padding */
 }
 .footer-top {
   gap: 20px; /* Reduce space between sections */
   margin-bottom: 10px; /* Shrink spacing before bottom legal text */
 }
 .footer-section {
   margin-bottom: 10px; /* Reduce spacing between sections */
 }
 .footer-legal {
   margin-top: 10px; /* Shrink space above legal text */
   font-size: 13px;
   line-height: 1.4;
 }
 .footer-legal p {
   margin: 4px 0;


}
 .nav-toggle-label {
    display: block;
  }

  /* Hide nav links by default */
  .nav-inner {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #f5f5f5;
    padding: 10px 0;
    border-radius: 5px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* Show nav links when checkbox checked */
  .nav-toggle:checked + .nav-toggle-label + .nav-bar .nav-inner {
    display: flex;
  }
}