/* public/css/partials/footer.css */

.site-footer {
  background-color: #0f172a; /* Deep Navy */
  color: #e2e8f0;
  padding-top: 80px;
  font-family: "Montserrat", sans-serif;
  position: relative;
  border-top: 4px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 50px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

/* --- LOGO FIX --- */
.footer-logo-container {
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
  /* Removed the 'invert' filter so logo shows in original colors */
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* Headings */
.footer-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* Links */
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* Contact Items */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.contact-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 4px;
}
.contact-item div h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item div p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

/* Socials */
.social-icons {
  display: flex;
  gap: 12px;
}
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  background: #020617;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 60px; /* Slightly reduced top padding for tablets */
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 30px 40px 30px; /* Increased side padding for better containment */
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding-top: 50px; /* Compact top padding for mobile */
  }

  .footer-content {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 35px; /* Consistent vertical spacing between sections */
    padding: 0 25px 40px 25px; /* Safe-zone padding from screen edges */
    text-align: left; /* Maintains professional left-alignment */
  }

  .footer-col {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator for mobile */
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-logo-container {
    margin-bottom: 20px;
  }

  .footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.15rem; /* Scaled down heading for small screens */
  }

  .contact-item {
    margin-bottom: 15px;
  }

  .footer-bottom {
    padding: 25px 20px; /* More vertical room for the copyright text */
    line-height: 1.5;
  }
}
