/* ==========================================================================
   FOOTER COMPONENT STYLES (Figma Specification #9779:5133)
   Veromon Pest Control Website
   ========================================================================== */

:root {
  --ft-green-primary: #029B3F;
  --ft-green-600: #15944B;
  --ft-green-100: #B1E0C3;
  --ft-text-heading: #333333;
  --ft-text-body: #333333;
  --ft-font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-footer {
  width: 100%;
  background-color: #FFFFFF;
  color: var(--ft-text-heading);
  padding: 48px 0 28px 0;
  position: relative;
  z-index: 2;
  font-family: var(--ft-font-inter);
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

/* Main Content Row */
.footer-main-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

/* Left Logo Column */
.footer-logo-col {
  flex: 0 0 192px;
  display: flex;
  align-items: flex-start;
}

.footer-logo-img {
  width: 192px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

/* Right 3-Column Grid */
.footer-links-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 1.2fr);
  gap: 24px 40px;
}

/* Footer Column Shared */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--ft-font-inter);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--ft-text-heading);
  margin: 0;
}

/* Column 1: Contact List */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon-link {
  display: inline-flex;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
}

.footer-contact-icon-link:hover .footer-contact-icon {
  opacity: 0.8;
  transform: scale(1.06);
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-contact-text,
.footer-contact-link {
  font-family: var(--ft-font-inter);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ft-text-body);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact-link:hover {
  color: var(--ft-green-primary);
}

/* Column 2 & 3: Menu Links List */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu-list li a {
  font-family: var(--ft-font-inter);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ft-text-body);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-menu-list li a:hover {
  color: var(--ft-green-primary);
  transform: translateX(3px);
}

/* Divider Line */
.footer-divider {
  width: 100%;
  border: 0;
  height: 1px;
  background-color: var(--ft-green-100);
  margin: 8px 0 0 0;
}

/* Bottom Copyright */
.footer-copyright {
  width: 100%;
  text-align: center;
  font-family: var(--ft-font-inter);
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  color: var(--ft-text-heading);
}

.footer-copyright a {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: var(--ft-green-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Laptop / Desktop medium (max-width: 1100px) */
@media screen and (max-width: 1100px) {
  .footer-container {
    padding: 0 32px;
  }

  .footer-links-grid {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 3fr) minmax(0, 1.5fr);
    gap: 24px 30px;
  }
}

/* Tablet (max-width: 900px) */
@media screen and (max-width: 900px) {
  .site-footer {
    padding: 40px 0 24px 0;
  }

  .footer-main-row {
    flex-direction: column;
    gap: 32px;
  }

  .footer-logo-col {
    flex: none;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    width: 100%;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }
}

/* Mobile (max-width: 600px) */
@media screen and (max-width: 600px) {
  .site-footer {
    padding: 32px 0 20px 0;
  }

  .footer-container {
    padding: 0 20px;
    gap: 20px;
  }

  .footer-logo-img {
    width: 160px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-copyright {
    font-size: 13px;
    line-height: 22px;
  }
}
