/* Advanced Responsive Footer Styles */
:root {
  --background-light: #F3E9DC;
  --background-dark: #D6CFC2;
  --text-light: #3A2E1F;
  --text-dark: #1E1810;
  --primary-light: #7A5F3D;
  --primary-dark: #5C4425;
  /* Derived values for footer use */

  --transition-speed: 0.3s;
  --border-radius: 6px;
  --box-shadow: 0 4px 12px rgba(30, 24, 16, 0.15);
}

.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
  font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

/* Safari-inspired decorative element */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-dark), var(--primary-light));
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

/* Footer About Section */
.footer-about {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-logo i {
  color: var(--accent-color);
  margin-right: 0.75rem;
  font-size: 1.75rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--primary-light);
  color: var(--background-light);
  transform: translateY(-3px);
}

/* Footer Links Sections */
.footer-links h3,
.footer-contact h3 {
  position: relative;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-light);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: "›";
  opacity: 0;
  position: absolute;
  left: -12px;
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 12px;
  color: var(--primary-light);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Contact Section */
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact ul li i {
  color: var(--primary-light);
  margin-right: 0.75rem;
  margin-top: 4px;
}

.footer-contact ul li span {
  opacity: 0.9;
}

.footer-contact a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-contact a:hover {
  color: var(--primary-light);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(58, 46, 31, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-speed) ease;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.designer-link,
.footer-hire-us {
  color: var(--primary-light);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.designer-link:hover,
.footer-hire-us:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

/* Safari-themed background patterns */
@media (min-width: 992px) {
  .footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23e9b44c' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.343 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
  }
}

/* Animation for links - subtle bounce */
@keyframes subtle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Add current year script */
#current-year {
  display: inline-block;
}

/* Add Font Awesome if needed */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');