/* =========================================
   FOOTER GLOBAL CSS
========================================= */
:root {
  --gold: #cda274;
  --text-light: #ffffff;
  --text-muted: #a3a3a3;
}

.text-gold {
  color: var(--gold);
}

/* --- Main Footer Container --- */
.footer-section {
  position: relative;
  background-color: #0d0d0d; /* Slightly darker/richer black */
  color: var(--text-light);
  padding: 100px 0 30px;
  overflow: hidden;
  font-family: var(--font-main, sans-serif);
}

.footer-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
    center/cover;
  opacity: 0.05; /* Made it slightly more subtle so text is readable */
  z-index: 1;
}

.footer-watermark {
  position: absolute;
  bottom: -8%; /* Adjusted so it fits better */
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 24vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  z-index: 1;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
}

/* --- Layout Grid --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
  position: relative;
  z-index: 5;
}

/* --- Column Headings --- */
.footer-heading {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Brand & Contact Column --- */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-logo-img {
  height: 45px;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-phone {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-email {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-phone:hover,
.contact-email:hover {
  opacity: 0.8;
  color: var(--gold);
}

/* --- Links Column --- */
.links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-col li {
  margin-bottom: 16px;
}

.links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.links-col a:hover {
  color: var(--gold);
  transform: translateX(5px); /* Nice subtle slide effect on hover */
}

/* --- Address/Branches Column --- */
.branch-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.branch-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 2px solid rgba(205, 162, 116, 0.3); /* Gold accent line */
}

.branch-list strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 3px;
}

/* --- Social Links Column --- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(205, 162, 116, 0.3);
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  z-index: 5;
}

.gold-dot-center {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(205, 162, 116, 0.5);
}

/* =========================================
   RESPONSIVE LAYOUT FIXES
========================================= */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* Switch to 2 columns on tablets/small laptops */
    row-gap: 60px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 70px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr; /* Stack everything in 1 column on phones */
    gap: 45px;
  }

  .brand-text {
    max-width: 100%;
  }

  .contact-phone {
    font-size: 1.4rem;
  }

  .footer-watermark {
    font-size: 32vw;
    bottom: -2%;
  }

  .social-links {
    justify-content: flex-start;
  }
}
