/* footer.css */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* SITE FOOTER CONTAINER */
.site-footer {
  /* Gradient: black (#000) to brand green (#00A650) */
  background: linear-gradient(135deg, #000 20%, #00A650 120%);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 14px; /* Keeps footer compact */
  position: relative;
}

/* ========== TOP ROW: ACCORDION COLUMNS ========== */
.footer-top {
  padding: 1rem 2rem; /* Tighter padding for smaller vertical space */
  border-bottom: 1px solid #222;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-column {
  flex: 1 1 150px;
  min-width: 120px;
}

/* Accordion Headings */
.footer-accordion-title {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.footer-toggle-icon {
  font-size: 1.2rem;
}

/* Accordion Content */
.footer-accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 0; /* collapsed by default on mobile */
  margin-bottom: 0.5rem; /* ensures spacing below when expanded */
}
.footer-accordion-content ul {
  list-style: none;
  line-height: 1.4;
}
.footer-accordion-content li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-accordion-content li a:hover {
  color: #004f2c; /* Slightly darker green on hover or #00B85C for a lighter effect */
}

/* ========== BOTTOM ROW ========== */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Addresses */
.footer-address {
  display: flex;
  gap: 1rem;
}
.footer-address p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  color: #ccc;
}
.footer-address strong {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  margin-right: 0.3rem;
  color: #fff;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}
.footer-social img:hover {
  transform: scale(1.1);
}

/* Disclaimer */
.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: right;
  max-width: 300px;
  color: #ccc;
}
.footer-disclaimer p {
  margin-bottom: 0.3rem;
}

/* ========== SUPPORT BUTTON ========== */
.support-button {
  background-color: #00A650; /* brand green */
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 1rem;
  transition: background-color 0.3s;
}
.support-button:hover {
  background-color: #00B85C;
}

/* ========== MODAL STYLES ========== */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999; /* above everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* translucent overlay */
}
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
  color: #000;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}
/* Contact form inside the modal */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.modal-send {
  background-color: #00A650;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  align-self: flex-start;
}
.modal-send:hover {
  background-color: #00B85C;
}

/* ========== DESKTOP OVERRIDES (≥ 992px): Submenus Always Open ========== */
@media (min-width: 992px) {
  .footer-toggle-icon {
    display: none;
  }
  .footer-accordion-title {
    cursor: default;
  }
  .footer-accordion-content {
    max-height: none !important;
    overflow: visible;
  }
}
