/**
 * Little Sunny Kitchen Footer Styles for WordPress
 * Responsive footer component with logo, navigation, and links
 */

/* Footer Container */
.main-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin-top: auto;
}

/* Footer Content */
.footer-content {
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Logo Column */
.footer-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.footer-logo img {
  height: auto;
  max-width: 150px;
}

/* Explore Section */
.footer-explore {
  text-align: center;
}

.footer-explore h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
}

.footer-search {
  position: relative;
  margin-bottom: 20px;
}

.footer-search input {
  width: 100%;
  max-width: 280px;
  padding: 12px 40px 12px 20px;
  border: 2px solid #333;
  border-radius: 25px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  background-color: #fff;
}

.footer-search input::placeholder {
  color: #666;
}

.footer-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #333;
  font-size: 16px;
}

.footer-search button:hover {
  color: var(--global-palette1);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--global-palette1);
}

/* Widget Section */
.footer-widget {
  text-align: center;
}

.footer-widget h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-widget-content {
  width: 100%;
  min-height: 200px;
}

/* WordPress Widget Area Styling */
.footer-widget-content .widget {
  margin-bottom: 20px;
}

.footer-widget-content .widget:last-child {
  margin-bottom: 0;
}

.footer-widget-content .widget-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.footer-widget-content .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-content .widget li {
  margin-bottom: 8px;
  text-align: center;
}

.footer-widget-content .widget a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-widget-content .widget a:hover {
  color: var(--global-palette1);
}

/* Bottom Bar */
.footer-bottom {
  background-color: var(--global-palette1);
  padding: 15px 0;
  border-top: 1px solid var(--global-palette1);
}

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

.footer-back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-back-to-top:hover {
  color: #ffffff;
}

.footer-back-to-top i {
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.footer-copyright a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.footer-copyright a:hover {
  color: #ffffff;
}

/* WordPress Footer Menu Styling */
.footer-menu {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-menu a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .footer-logo {
    width: 100px;
    height: 100px;
  }
  
  .footer-explore h3 {
    font-size: 20px;
  }
  
  .footer-search input {
    max-width: 100%;
  }
  
  .footer-nav {
    gap: 20px;
  }
  
  .footer-nav a {
    font-size: 14px;
  }
  
  .footer-widget h3 {
    font-size: 16px;
  }
  
  .footer-widget-content {
    min-height: 150px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-links,
  .footer-menu {
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 40px 0 20px;
  }
  
  .footer-grid {
    gap: 30px;
  }
  
  .footer-logo {
    width: 80px;
    height: 80px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-links,
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-back-to-top {
    font-size: 12px;
  }
}