/* Footer styles */
:root {
  --primary-color: #0066CC;
  --primary-hover: #004499;
  --footer-bg: #F2F2F2;
  --footer-text: #333333;
  --footer-link-hover: var(--primary-hover);
  --padding-standard: 30px;
  --max-width: 1920px;
}

.site-footer {
  background-color: var(--footer-bg);
  padding: 50px 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #E0E0E0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-standard);
  width: 100%;
  box-sizing: border-box;
}

/* Logo section */
.footer-logo-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
}

.footer-logo-img {
  max-width: 201px;
  width: 100%;
  height: auto;
  margin-top: 0;
  object-fit: contain;
}

/* Navigation sections */
.footer-nav-section {
  display: flex;
  flex-direction: column;
}

/* Links sections */
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a, .footer-contacts li, .footer-contacts li a {
  font-size: 14px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.footer-links li a:hover, .footer-contacts li a:hover {
  color: var(--footer-link-hover);
}

.footer-contacts-section {
  padding-right: 30px;
}

/* Container */
.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--padding-standard);
  box-sizing: border-box;
  overflow: hidden;
}


/* Tablets (768px - 1439px) */
@media (min-width: 768px) and (max-width: 1439px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
  }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
  /* Footer responsive styles for mobile */
  .site-footer {
    padding: 40px 0;
    margin-top: 40px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 0 15px;
    width: 100%;
  }
  
  .footer-logo-section {
    margin-bottom: 20px;
    width: 100%;
    padding-left: 0;
  }
  
  .footer-logo {
    justify-content: center;
    display: flex;
    width: 100%;
  }
  
  .footer-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
  }
  
  .footer-links,
  .footer-contacts {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-nav-section {
    align-items: center;
  }
  
  .footer-heading {
    font-size: 16px;
  }
  
  .footer-links li a, .footer-contacts li, .footer-contacts li a {
    font-size: 15px;
  }
  
  .footer-links-section,
  .footer-products-section,
  .footer-services-section,
  .footer-contacts-section {
    width: 100%;
    padding-right: 0;
  }
}

/* Footer Bottom */
.footer-bottom {
  background-color: var(--footer-bg);
  border-top: 1px solid #E0E0E0;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-address,
.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: var(--footer-text);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
  .site-footer {
    padding: 30px 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }
  
  .footer-logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
  }

  .footer-heading {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-links li a, 
  .footer-contacts li, 
  .footer-contacts li a {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-address,
  .footer-copyright {
    text-align: center;
    font-size: 13px;
  }
}