/* ========== VELVIQ Footer ========== */
/* Modern footer with perfect desktop and mobile layouts */

.site-footer {
  background: #000000;
  border-top: 3px solid #c8a951;
  padding: 80px 0 48px;
  position: relative;
  width: 100%;
  color: #aaaaaa;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #c8a951 20%, #c8a951 80%, transparent 100%);
  opacity: 0.5;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Desktop Grid Layout - 4 columns */
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.footer__section {
  min-width: 0;
  position: relative;
}

/* Section Headings */
.footer__section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #c8a951;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 32px 0;
  position: relative;
}

.footer__section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, #c8a951, transparent);
}

/* Brand Section */
.footer__logo {
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.footer__logo img {
  height: 72px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(200, 169, 81, 0.3));
}

.footer__logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(200, 169, 81, 0.5));
}

.footer__tagline {
  font-size: 14px;
  color: #aaaaaa;
  font-style: italic;
  margin: 8px 0 24px 0;
  line-height: 1.8;
  max-width: 300px;
}

/* Navigation Links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 169, 81, 0.3) rgba(0, 0, 0, 0.2);
}

.footer__links::-webkit-scrollbar {
  width: 6px;
}

.footer__links::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.footer__links::-webkit-scrollbar-thumb {
  background-color: rgba(200, 169, 81, 0.3);
  border-radius: 4px;
}

.footer__link {
  color: #aaaaaa;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  border-radius: 4px;
  display: block;
  width: 100%;
  transition: all 0.3s ease;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #c8a951;
  transition: all 0.3s ease;
}

.footer__link:hover {
  color: #c8a951;
  padding-left: 20px;
  transform: translateX(4px);
}

.footer__link:hover::before {
  width: 16px;
}

/* Social Media Icons */
.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer__icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(200, 169, 81, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.footer__icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #c8a951, #8a7429);
  opacity: 0;
  transition: all 0.3s ease;
}

.footer__icon:hover {
  border-color: #c8a951;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.3);
}

.footer__icon:hover::after {
  opacity: 1;
}

.footer__icon svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
  color: #d5c38e;
}

.footer__icon:hover svg {
  color: #000000;
}

/* Contact Information */
.footer__p {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.7;
  margin: 0 0 14px 0;
  transition: all 0.3s ease;
}

.footer__p strong {
  color: #ffffff;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 4px;
}

.footer__p:hover {
  color: #ffffff;
}

/* Payment Methods */
.footer__payments {
  margin-top: 30px;
}

.footer__payments-title {
  font-size: 13px;
  color: #c8a951;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
  letter-spacing: 0.5px;
}

.footer__payments-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.footer__payments-logos img {
  height: 24px;
  width: auto;
  filter: brightness(1.2);
  transition: all 0.3s ease;
}

.footer__payments-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.5);
}

/* Legal Section */
.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 169, 81, 0.2);
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}

.footer__legal strong {
  color: #ffffff;
  font-weight: 600;
}

.footer__legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal-links a {
  color: #c8a951;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 2px 0;
  display: inline-block;
  font-size: 12px;
}

.footer__legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Focus states for accessibility */
.footer__link:focus,
.footer__icon:focus,
.footer__legal-links a:focus {
  outline: 2px solid #c8a951;
  outline-offset: 2px;
}

/* ======================================
   RESPONSIVE STYLES
   ====================================== */

/* Tablet breakpoint (1200px and below) */
@media (max-width: 1200px) {
  .footer__container {
    padding: 0 40px;
  }
  
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }
  
  .footer__section {
    padding: 0 20px 40px;
  }
  
  .footer__section:nth-child(1),
  .footer__section:nth-child(2) {
    border-bottom: 1px solid rgba(200, 169, 81, 0.1);
    margin-bottom: 40px;
    padding-bottom: 50px;
  }
  
  .footer__links {
    max-height: 260px;
  }
}

/* Mobile breakpoint (768px and below) */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 40px;
  }
  
  .footer__container {
    padding: 0 24px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  /* Re-order sections for mobile */
  .footer__section--brand { order: 1; text-align: center; }
  .footer__section--links { order: 2; text-align: center; }
  .footer__section--social { order: 3; text-align: center; }
  .footer__section--contact { order: 4; text-align: center; }
  
  .footer__section {
    text-align: center;
    padding: 0;
    border-bottom: 1px solid rgba(200, 169, 81, 0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
  
  .footer__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .footer__section-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
  }
  
  .footer__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  
  .footer__logo img {
    height: 60px;
  }
  
  .footer__tagline {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 32px;
  }
  
  .footer__links {
    align-items: center;
    gap: 16px;
    max-height: none;
  }
  
  .footer__link {
    padding: 10px 0;
    font-size: 15px;
    text-align: center;
    width: 100%;
  }
  
  .footer__link:hover {
    padding-left: 0;
    transform: translateY(-2px);
  }
  
  .footer__link::before {
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    top: auto;
    bottom: 0;
  }
  
  .footer__link:hover::before {
    width: 30px;
  }
  
  .footer__social {
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
  }
  
  .footer__icon {
    width: 48px;
    height: 48px;
  }
  
  .footer__p {
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  .footer__payments-title {
    text-align: center;
  }
  
  .footer__payments-logos {
    justify-content: center;
    margin: 0 auto;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
}

/* Small mobile breakpoint (480px and below) */
@media (max-width: 480px) {
  .site-footer {
    padding: 40px 0 32px;
  }
  
  .footer__container {
    padding: 0 16px;
    gap: 30px;
  }
  
  .footer__section {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  
  .footer__logo img {
    height: 50px;
  }
  
  .footer__section-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .footer__links {
    gap: 12px;
  }
  
  .footer__link {
    font-size: 14px;
    padding: 8px 0;
  }
  
  .footer__social {
    gap: 14px;
  }
  
  .footer__icon {
    width: 40px;
    height: 40px;
  }
  
  .footer__icon svg {
    width: 18px;
    height: 18px;
  }
  
  .footer__p {
    font-size: 13px;
  }
  
  .footer__payments-logos {
    gap: 12px;
  }
  
  .footer__payments-logos img {
    height: 20px;
  }
  
  .footer__legal {
    font-size: 11px;
  }
}
