/* ==========================================================================
   Jhumar Foods - Master Royal Footer Styles (Teal Midnight Theme)
   ========================================================================== */

.royal-footer {
  background: linear-gradient(180deg, #092B2B 0%, #061F1F 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 1.8rem;
  border-top: 3px solid #1A6A6A;
  position: relative;
}

.royal-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr 1.35fr;
  gap: 2.5rem;
}

.royal-footer .footer-brand .brand-logo-wrap {
  display: inline-block;
  margin-bottom: 1.15rem;
}

.royal-footer .footer-logo-img,
.royal-footer .footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.06);
  display: block;
}

.royal-footer .footer-brand p {
  color: #B4D8D8;
  font-size: 0.85rem;
  line-height: 1.7;
}

.royal-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.royal-footer .footer-links a {
  color: #B4D8D8;
  text-decoration: none;
  font-size: 0.84rem;
  display: inline-block;
  transition: color 0.22s ease, transform 0.22s ease;
}

.royal-footer .footer-links a:hover {
  color: #8CE8D8;
  transform: translateX(4px);
}

.royal-footer h4 {
  color: #FFFFFF;
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.royal-footer h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #8CE8D8;
  border-radius: 2px;
}

.royal-footer .footer-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.royal-footer .social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.royal-footer .social-icon-btn:hover {
  background: #8CE8D8;
  border-color: #8CE8D8;
  transform: translateY(-2px);
}

.royal-footer .social-icon-btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.royal-footer .social-icon-btn:hover img {
  filter: brightness(0);
}

.royal-footer .footer-contact-details p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #B4D8D8;
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.royal-footer .footer-contact-details a {
  color: #B4D8D8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.royal-footer .footer-contact-details a:hover {
  color: #8CE8D8;
}

.royal-footer .footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #8CE8D8;
  transition: color 0.2s ease, transform 0.2s ease;
}

.royal-footer .footer-contact-icon i {
  font-size: 0.95rem;
  color: #8CE8D8;
  line-height: 1;
  display: inline-block;
}

.royal-footer .footer-contact-icon img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  display: block;
}

.royal-footer .footer-contact-details p:hover .footer-contact-icon {
  color: #FFFFFF;
  transform: translateY(-1px);
}

.royal-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.8rem;
  margin-top: 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8BAAAA;
  font-size: 0.82rem;
}

.royal-footer .footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.royal-footer .footer-bottom a:hover {
  color: #8CE8D8;
}

@media (max-width: 1024px) {
  .royal-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .royal-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .royal-footer .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }
}
