/* Installation Booking Page Styles */

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* ===== FOOTER STYLES - MODERN & PROFESSIONAL ===== */
/* Developed by Team Digital Loomers */

.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: #e2e8f0;
  padding: 60px 0 0;
  font-family: var(--font-family-primary);
  border-top: 3px solid var(--primary-blue);
  position: relative;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-blue) 0%, 
    var(--primary-blue-light) 50%, 
    var(--primary-blue) 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.footer-container {
  max-width: 100%;
  margin: 0;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: brightness(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.3);
}

.footer-about .footer-logo h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-description {
  color: #cbd5e0;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--primary-blue);
  transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease;
  z-index: 0;
}

.social-links a:hover::before {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(49, 130, 206, 0.5);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-blue-light);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e0;
  font-size: 15px;
}

.footer-contact li i {
  color: var(--primary-blue);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.footer-contact li:hover i {
  color: var(--primary-blue-light);
}

.footer-contact a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--primary-blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #a0aec0;
}

.copyright {
  font-weight: 400;
}

.developer-credit {
  font-size: 13px;
  color: #718096;
}

.team-name {
  color: var(--primary-blue-light);
  font-weight: 600;
  font-family: var(--font-family-secondary);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.team-name:hover {
  color: var(--primary-blue);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.footer-bottom-right a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-right a:hover {
  color: var(--primary-blue-light);
}

.footer-bottom-right .separator {
  color: rgba(255, 255, 255, 0.2);
}

.footer-visible {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .footer-container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
    margin-top: 60px;
  }
  
  .footer-container {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-about {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom-right {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    max-width: 100%;
    padding: 0 12px;
    overflow-x: hidden;
  }
  
  .footer-content {
    gap: 24px;
  }
  .footer-section h4 {
    font-size: 16px;
  }
  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-bottom-right {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .footer-logo-img {
    width: 40px;
    height: 40px;
  }
  .footer-about .footer-logo h3 {
    font-size: 18px;
  }
}
