/* assets/css/styles.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

header, footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

main {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

h1, h2 {
  margin-top: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

input, select, textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.admin-table th {
  background-color: #004080;
  color: white;
}

#map {
  width: 100%;
  height: 400px;
  margin-top: 20px;
}

nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: underline;
}

section.contact-form, section.zip-entry, section.rate-form, section.live-ratings {
  margin-bottom: 40px;
}

#error {
  color: red;
  font-weight: bold;
  margin-top: 10px;
}

@media(max-width: 600px) {
  form, table {
    width: 100%;
  }
  nav a {
    display: block;
    margin: 10px 0;
  }
}
/* ✅ Mobile-only tweaks for index.php hero section */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    gap: 20px;
  }
  .hero-text {
    text-align: center;
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 26px;
  }
  .hero-text h2 {
    font-size: 18px;
  }
  .hero-map {
    max-width: 300px;
    border-width: 6px;
  }
}
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 15px 20px;
  background: #fff; /* ✅ make it white globally */
  border-bottom: 1px solid #eee;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo {
  width: 36px;
  height: 36px;
}
.site-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}
.cta-btn {
  background: #28c76f;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.2s;
}
.cta-btn:hover {
  background: #21b85e;
}
@media (max-width: 768px) {
  .main-nav {
    margin-left: 0;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 10px 0 0 0;
  }
}
