:root {
  --dark: #0e0e0e;
  --white: #ffffff;
  --muted: #d0d0d0;
  --gold: #c7a34b;
  --soft-gold: rgba(199,163,75,0.3);
  --link-hover: #e0c786;
}


/* MAIN FOOTER */
.penham-footer {
  background: var(--dark);
  color: var(--muted);
  padding: 60px 40px 30px;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 10;
}

/* RESPONSIVE CONTAINER */
.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

/* LEFT COLUMN */
.footer-left {
  flex: 1.2;
  min-width: 260px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--white);
  font-size: 20px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: var(--soft-gold);
  color: var(--white);
}

/* RIGHT SECTION */
.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 30px 40px;
}

.footer-links h5 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--link-hover);
  padding-left: 5px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.9rem;
}


/* FLOATING BUTTONS */
.float-btn {
  position: fixed;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.25s ease;
}

.float-btn.whatsapp {
  bottom: 90px;
  background: #25D366;
}

.float-btn.call {
  bottom: 155px;
  background: #007bff;
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.1);
}


/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--gold);
  border: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  transition: 0.3s ease;
}

#backToTop:hover {
  background: var(--link-hover);
}


/* -------------------------
   RESPONSIVE DESIGN
------------------------- */

/* TABLET & MEDIUM DEVICES */
@media (max-width: 1024px) {
  .penham-footer {
    padding: 50px 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* MOBILE DEVICES */
@media (max-width: 600px) {

  .penham-footer {
    padding: 40px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    right: 12px;
  }

  .float-btn.whatsapp {
    bottom: 80px;
  }

  .float-btn.call {
    bottom: 140px;
  }

  #backToTop {
    right: 12px;
  }
}

