/* Footer Section CSS - Modern Design */

/* === FOOTER SECTION === */
#footer.footer-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #000000 100%);
  color: var(--light);
  padding: 8rem 0 2rem;
  overflow: hidden;
}

/* Container */
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* === MAIN FOOTER CONTENT === */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

/* Footer Brand */
.footer-brand {
  max-width: 400px;
}

.footer-logo {
  margin-bottom: 2rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--light);
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
}

.logo-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
}

/* Footer Stats */
.footer-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.3rem;
}

/* === FOOTER NAVIGATION === */
.footer-nav {
  display: flex;
  gap: 3rem;
  justify-content: center;
}

.nav-column {
  min-width: 140px;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 1.5rem;
  position: relative;
}

.nav-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin-bottom: 0.8rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s var(--easing);
  position: relative;
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--easing);
}

.nav-link:hover {
  color: var(--light);
  transform: translateX(5px);
}

.nav-link:hover::before {
  width: 100%;
}

/* === FOOTER CONTACT === */
.footer-contact {
  text-align: left;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s var(--easing);
}

.contact-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s var(--easing);
}

.contact-item:hover .contact-icon {
  background: var(--primary);
  color: var(--light);
  transform: scale(1.1);
}

.contact-item:hover .contact-link {
  color: var(--light);
}

/* Footer CTA Button */
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), #8b1020);
  color: var(--light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}

.footer-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(167, 22, 35, 0.4);
}

.footer-cta-btn:hover::before {
  left: 100%;
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s var(--easing);
}

.footer-cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* === SOCIAL MEDIA === */
.footer-social {
  margin-bottom: 4rem;
  text-align: center;
}

.social-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.4s var(--easing);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left 0.4s var(--easing);
  z-index: -1;
}

.social-link:hover {
  color: var(--light);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-link:hover::before {
  left: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.social-name {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Platform Colors */
.social-link[data-platform="instagram"]:hover {
  border-color: #E4405F;
}

.social-link[data-platform="instagram"]:hover::before {
  background: linear-gradient(45deg, #E4405F, #C13584);
}

.social-link[data-platform="linkedin"]:hover {
  border-color: #0077B5;
}

.social-link[data-platform="linkedin"]:hover::before {
  background: #0077B5;
}

.social-link[data-platform="dribbble"]:hover {
  border-color: #EA4C89;
}

.social-link[data-platform="dribbble"]:hover::before {
  background: #EA4C89;
}

.social-link[data-platform="behance"]:hover {
  border-color: #1769FF;
}

.social-link[data-platform="behance"]:hover::before {
  background: #1769FF;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s var(--easing);
}

.footer-link:hover {
  color: var(--light);
}

.footer-bottom-right .made-with {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heart {
  color: #ff4757;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* === BACKGROUND DECORATION === */
.footer-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.footer-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(167, 22, 35, 0.1);
  filter: blur(60px);
}

.footer-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: -10%;
  animation: float 20s ease-in-out infinite;
}

.footer-shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 30%;
  left: -5%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .footer-main {
    gap: 3rem;
  }
  
  .footer-nav {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #footer.footer-section {
    padding: 6rem 0 2rem;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-nav {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-stats {
    justify-content: center;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-link {
    padding: 0.8rem 1.2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-bottom-left {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-column {
    min-width: auto;
  }
  
  .footer-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-link {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }
}