/* ============================================
   FOOTER STYLES - MyRoyalChef.com
   ============================================ */
/**
 * 
 *                .      .      .
         .        .    *    .
    .         .         .        .
         .       _.-^^---....,,--.
         _--                  --_
        <                        >
        |   \  /\/\  __  /\/\   |
         \   \/ /  \/  \/  /   /
          |   Y  U  N  F  X   |
         /   _/\/\_/\  /\/\_   \
        |   /        \/     \   |
        <                        >
         --_                  _--
             --..__..--^^--..--

         ~ Y ~   ~ U ~   ~ N ~
              ~ F ~   ~ X ~

 * 
 * 
 */
/* Main Footer Container */
.custom-footer {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: white;
  padding: 4rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(212, 175, 55, 0.7) 20%, 
    rgba(184, 134, 11, 0.9) 50%,
    rgba(212, 175, 55, 0.7) 80%, 
    transparent);
  opacity: 0.8;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Newsletter Section */
.newsletter-section {
  text-align: center;
}

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  max-width: 350px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.4);
  transform: scale(1.02);
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-button {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.newsletter-button:hover {
  background: linear-gradient(135deg, var(--gold-secondary), var(--gold-primary));
  transform: scale(1.05);
}

.newsletter-button i {
  font-size: 1.1rem;
}

.newsletter-turnstile {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Social Media Section */
.social-section {
  text-align: center;
}

.social-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-link i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: transparent;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover i {
  color: white !important;
  transform: scale(1.1);
}

/* Individual Social Media Colors */
.social-link.youtube {
  color: #FF0000;
}

.social-link.youtube::before {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.social-link.instagram {
  color: #E4405F;
}

.social-link.instagram::before {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-link.twitter {
  color: white;
}

.social-link.twitter::before {
  background: linear-gradient(135deg, #000000, #333333);
}

.social-link.twitter:hover {
  color: white !important;
}

/* Badges Section */
.badges-section {
  text-align: center;
}

.badges-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.badges-section .culinary-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.badges-section .culinary-badge {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(30%) brightness(0.8);
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.badges-section .culinary-badge:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1.2);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: white;
}

/* Copyright */
.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1023px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
  
  .newsletter-input-group {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .social-link {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  
  .badges-section .culinary-badges {
    justify-content: center;
  }
  
  .badges-section .culinary-badge {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .custom-footer {
    padding: 3rem 1rem 1.5rem;
  }
  
  .newsletter-title,
  .social-title,
  .badges-title {
    font-size: 1.5rem;
  }
  
  .newsletter-subtitle {
    font-size: 0.9rem;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 25px;
  }
  
  .newsletter-input {
    padding: 0.8rem 1.2rem;
  }
  
  .newsletter-button {
    padding: 0.8rem 1.2rem;
    border-radius: 0 0 25px 25px;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .badges-section .culinary-badges {
    gap: 1rem;
  }
  
  .badges-section .culinary-badge {
    height: 30px;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
}

/* RTL Support */
[dir="rtl"] .newsletter-input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .social-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .badges-section .culinary-badges {
  flex-direction: row-reverse;
}

/* Animation Enhancements */
@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-footer {
  animation: footerFadeIn 0.8s ease-out;
}

.newsletter-section,
.social-section,
.badges-section {
  animation: footerFadeIn 0.8s ease-out 0.2s both;
}

.footer-copyright {
  animation: footerFadeIn 0.8s ease-out 0.4s both;
} 